My favorites | English | Sign in

Faster JavaScript with Closure Tools New!

Getting Started Guide

This document outlines the process of integrating AdSense API with your site. We encourage you to thoroughly review all steps before you begin working on your implementation. If you have any questions along the way, please feel free to email us at adsenseapi-support@google.com.

Here are the steps to become an API partner:

  1. Confirm your eligibility
  2. Develop your AdSense API business model
  3. Read the Terms and Conditions
  4. Read the Technical and Policy Requirements
  5. Process administrative tasks
  6. Integrate the AdSense API into your application
  7. Submit your implementation for review
  8. Launch your implementation "live"

1. Confirm eligibility

Only websites with over 100,000 daily page views across user pages are eligible to participate in the AdSense API program. The AdSense API team will strictly enforce this limit at the time you submit your implementation, so please apply only if you meet this criteria. Note that your expected traffic growth after integration with the API does not count towards this requirement. For more information, see What does the page view requirement mean to me?. If you aren't sure that your site will meet this requirement, please send us an email that includes any relevant statistics on your site's active user base and traffic; our support team will be able to guide you further.

You must have an approved AdSense account. If you already use AdSense, you should use your current account; if your site doesn't have one yet, now is the time to apply for one via the AdSense home page.

Note: If your site does not meet the AdSense API page view requirement, you can still monetize your site by using Google AdSense.

2. Develop your AdSense API business model

The API can be a good business fit for any website or product that wants to share ad revenue with its users.

As the partner website, you can earn revenue in two ways. First, you are eligible to earn referral bonuses for referring new AdSense publishers. Additionally, you elect how AdSense revenue is split with your users through our revenue sharing program.

The three main choices you need to make about your AdSense API plan are outlined below. Click on each link to read how we recommend you approach these decisions.

Note: Now is the time to send an email to adsenseapi-support@google.com and include a short description of how you plan to use the API. Our friendly AdSense API team has experience reviewing and guiding integrations and may be able to make the process a bit easier for you. We may determine that part of your site or planned implementation is not a good fit for the AdSense API program, and it's better to find this out sooner rather than later.

3. Read the Terms and Conditions

AdSense API participants must agree and adhere to the following:

All policies will be strictly enforced. Partners who fail to comply with these policies will be prohibited from going live with their AdSense API implementation. If you have any questions regarding our policies, please email adsenseapi-support@google.com.

4. Read the Technical and Policy Requirements

Reading our requirements now will help guide your implementation plans. Your implementation will be reviewed against these requirements and must meet all of them prior to going live:

5. Process administrative tasks

These are the steps you should take to prepare for your integration development:

6. Integrate the AdSense API into your application

Once you have received confirmation from our support team that your proposed implementation is a good fit for the AdSense API, you can start developing by following the Getting Started instructions in our Developer Guide. Also, please make sure you pay extra attention to our Technical Requirements and Policy Requirements as you build your implementation.

An excellent resource at this time is the AdSense-API Google Group, where experienced and new developers pose and answer questions. This group is also moderated by the knowledgeable developer support team at Google. You can contact adsenseapi-support@google.com with any questions about your overall integration or policy compliance, and our technical support team is available at adsenseapi-tech@google.com for any questions about SOAP calls or your actual code.

Note: Email support for AdSense API development is currently only available in English. For reference, our core AdSense API support team is currently located in Mountain View, California.

7. Submit your implementation for review

Please verify that your implementation meets both the Technical Requirements and Policy Requirements, then follow the review process located here. All applications are reviewed in the order in which they are received. Also, please note that non-English implementations will require extra time for review.

The time from submission to final approval will vary, and may involve several rounds of feedback and changes to your implementation. The entire process usually takes on the order of weeks as opposed to days.

8. Launch your implementation "live"

Before your service can launch, you must complete the following tasks:

  1. Submit your implementation for review by following the the Review Process.
  2. Once you have passed both reviews and are notified that your account has been promoted to be a live developer, accept the AdSense API Terms and Conditions by logging into your account.
  3. Change the WSDL location in your code and regenerate your stubs.

That's it! Your code should now be connected to our live database and your users should be able to create new accounts and generate ad code. Congratulations!