Google released a new Python Google App Engine demo - that demonstrates AdHoc reports running on Google App Engine using OAuth 1.0a for the authentication.
"This demo allows you to select as many or as few child accounts as you wish to run a report against and will download the reports asynchronously using a Task Queue one by one. Reports are stored in the Google App Engine Blobstore and can be downloaded by the user once they have been processed," informs Kevin Winter, AdWords API Team.
Adding, he said "new demo also shows how to perform the OAuth flow in a web application context and how to store the oauth_token and oauth_token_secret in the Google App Engine datastore. OAuth is used both to query the API for a list of accounts as well as to download the reports."
You can download the Google App Engine demo and use the Python Development Google App Engine Server to play around with the code without the need for an existing Google App Engine account. If you have any questions or would like to discuss this new demo, please post on the forum.
Also, the AdWords API team reminded of deprecating the following versions and services:
- AdWords API versions v13, v200909, v201003, v201008, v201101
- AdWords API version v13 AccountService will only be available on a whitelist basis.