Yes, you need to call the API for every unique piece of ad code you want to create. Modifying ad code is not allowed by the AdSense Terms & Conditions and it is no different with the AdSense API. You are required to call generateAdCode (for AdSense for Content), generateSearchBoxCode (for AdSense for Search), and getReferralData (for Referrals) to insure that the ad code you are using is correct. You should then store this snippet on your servers and retrieve it for use when your pages are actually served. Even if all you want to change is a color value, you need to use the API methods to create new code snippets.
Below are some restrictions on using the AdSense logo with your API Client. Your permission to use the logo is granted in the AdSense API Terms and is subject to these restrictions.
The AdSense API Terms are written to permit you to:
On September 13, 2007 Google changed its policy on who is be able to launch a live implementation of the AdSense API. To be eligible for the AdSense API a website must have user content pages that are receiving at least one hundred thousand (100,000) page views per day. All developers will need to fill out the Developer Information Form, even if you have already done so. Filling out this form will provide you with new credentials to use in the sandbox.
Yes! You need to fill out the Developer Information Form so you can get new developer credentials for use in the AdSense API Sandbox.
Yes. You can still use the sandbox, but we won't be able to approve your application to launch your implementation live. If you are a growing site, it still may be a good idea to build your implementation and then you will be ready to "flip the switch" when you hit the page view requirement.
Google will use one or more industry standard metrics to determine the amount of traffic your site receives.
We originally opened the AdSense API to anyone who wanted to use it. We were very pleased at the enthusiastic response that we received from a variety of partners, but the response was greater than anticipated. As a result, we were not been able to provide the high level of support to our developers that we would have liked to. This requirement allows us to build out our support resources and processes to handle higher volumes of developers. We hope to lower the page view requirement over time so more and more developers can take advantage of the AdSense API.
While Google will handle support issues related to publishers' AdSense accounts, you should use your existing support model to answer customer questions related to your specific implementation of the AdSense API. As customers may contact Google for concerns about your API implemetation, you must provide Google with an email address to forward publisher issues. Google will provide first-level triaging of publisher issues and will escalate those associated with implementation issues to this email address. For AdSense account-related issues, we will provide you with a URL pointing to the AdSense Help Center; you may not publish any Google email addresses on your website.