views:

21

answers:

0

Google Adsnse has an API that you can use (if you qualify) to generate Adsense ads on your site. The core feature is the function generateAdCode that returns "an HTML snippet that can be dropped into an HTML page for the page to start receiving Google Ads."

Try as hard as I could, I couldn't find a basic example of what that returned "HTML snippet" will look like.

Can anyone please enlighten me?

(Of course, I can make some strong assumptions, but I rather see something more definite.)

FYI, I am simply trying to understand the intricacies of using Google Adsense from all the different angles.

Thanks!