October 11th, 2011 | by AdWords API Team | published in Google Adwords API
With the release of v201109 we are happy to announce that we now fully support OAuth 1.0a in the AdWords API.
OAuth is an open standard for authorization. Google uses this standard to allow applications to access a user’s data (in this case AdWords) without requiring the user to give the application their Google username and password.
In OAuth, an application starts by contacting Google with an OAuth request. Next, the application redirects the user to Google to authorize the request. Once authorized, the user is directed back to the application, which can then upgrade their request token to an access token which the application can use to make requests to Google in lieu of a username and password.
The client libraries have code to handle much of the OAuth process for you. We have provided code examples in many languages to demonstrate how to use OAuth with the client libraries: DotNet, Python, Ruby, Perl, PHP.
Please note that making your first request against the sandbox using OAuth will not create accounts for you as described here. Please make your first request to the sandbox using email/password authentication to provision the sandbox accounts and make subsequent requests with OAuth.
For more information about using OAuth with Google APIs, please see this documentation.
If you have any questions about using OAuth with the client libraries, you can ask us on the forum.
Edit: the link describing how accounts are provisioned for you in the AdWords API sandbox was omitted in the original blog post. This link has been updated and is located here.
Kevin Winter, AdWords API Team
October 7th, 2011 | by AdWords API Team | published in Google Adwords API
We’re pleased to announce the launch of AdWords API v201109, which includes upgrades to targeting and reporting. We’ve highlighted some of the new features below. A complete list of changes is available in the release notes.
v201109 highlights:
-
Reporting: We have made several changes aimed at making reporting easier to use.
-
- Downloading reports is now free and does not require a stored ReportDefinition.
- We have added the ability to exclude zero impression rows, with an explicit flag.
- New “criteria” report lets you download all criteria data at once.
- We have added new data on call metrics.
-
Geo targeting: We have been making several improvements to our location targeting services and are launching these in the API. We have created a new LocationCriterionService to look up geo criteria. And we have moved all geo targeting to the CampaignCriterionService.
-
Device targeting: In May we launched the ability for advertisers to target users on tablets in our web interface. We have now added this tablet device targeting option to the API. We have also updated the available list of O/S and carrier targets.
-
Asynch and Other: We have enhanced or updated several other existing features.
-
- The new MutateJobService allows for the scheduling of large batch updates as asynchronous jobs. This service simplifies mutate jobs submissions and will eventually replace BulkMutateJobService.
- We have added support for negative keywords feature in TrafficEstimatorService.
- We have enabled PartialFailure for AdGroupAdService.
- We no longer support email addresses as identifiers, please use Customer IDs instead.
Deprecation timeline for previous versions With the release of v201109, the following versions and services will be deprecated:
- API versions v13, v200909, v201003, v201008, v201101
-
- Please note: We are not supporting cross-client reports in this release, but we have released some sample code for those of you who need to run reports across many clients.
- API version v13 AccountService will only be available on a whitelist basis.
We will be sunsetting these versions and services at the end of February 2012. As with every new version of the AdWords API, we encourage you to review the resources in the AdWords API client libraries. If you have any questions please post them on the AdWords API forum.
Posted by the AdWords API Team
October 4th, 2011 | by AdWords API Team | published in Google Adwords API
Earlier this year we released a demo that allows you to run AdWords API queries from the command line. Today, a new version is available and I’d like to point out some of its features.
Accessing production environment
We’ve made a change to reduce a risk of accidentally running the demo tool against a production environment. Since version 1.2.0, an explicit ‘–prod’ flag is required in order to query billable services. Check out ‘awcli –help’ for all available command-line options.
Automatic batch mode
AWCLI can now run in interactive or batch mode and detects the required mode automatically. In interactive mode, you will get a prompt to type your commands:
awcli:/>
In batch mode, any extra input is suppressed and the application exits after a command completes. This makes it easier to use the tool in shell scripts:
bash $ echo ls | ./awcli.sh
#1 Campaign Name [69266990]
[...]
bash $
You can also specify a command and its parameters as extra arguments to the tool itself:
bash $ ./awcli.sh --prod ls 69266990
#1 AdGroup name [2390064350]
[...]
bash $
Browsing Ad Parameters
A new CriterionLocation was added which allows you to browse Criteria. This enables you to list and view AdParams associated with your criteria:
bash $ ./awcli.sh [options] ls //
#1 $100 [1]
#2 50 [2]
bash $
…and even edit them: ‘edit #1′ will spawn your configured editor. The changes will be automatically applied when you save and exit.
Querying stats
You can combine AWCLI output with other command-line tools to retrieve parts of the information you need. For example, you can use Unix filters to obtain ad group stats:
bash $ ./awcli.sh --prod cat / | grep -E "clicks|impressions"
clicks = 12,
impressions = 160,
bash $
Getting AWCLI
AWCLI is available from the Google Code page and is part of the AdWords Java API client libraries project. You can find installation and running instructions as well as usage examples on the wiki page. Please join us to discuss the tool and report any issues on the project page or forum.
Danial Klimkin, AdWords API Team.
September 29th, 2011 | by AdWords API Team | published in Google Adwords API
The Google Developer Relations team will be holding their next series of semi-annual AdWords API Workshops in October and November. These workshops will focus on new and upcoming features in the AdWords API, as well as best practices for special topics.
We invite you to join us for our next AdWords API Workshops which will be hosted in the following cities:
- London, October 17th
- San Francisco, October 18th
- Hamburg, October 19th
- Amsterdam, October 21st
- New York City, October 25th
- Tokyo, November 8th – New Location added this year
- Singapore, November 11th – New Location added this year
In addition to presenting technical deep-dives on the topics listed below, we will also have the team on-hand to answer all your API-related questions, and also plan to give attendees a sneak peak and an opportunity to beta test a new programming feature being rolled out in the AdWords Frontend.
Workshop topics include:
- Report Service Updates
- AdWords API Authentication & Authorization Updates
- Efficient API Usage with the Simplified Mutate Job Service
- Campaign Targeting Changes
- Mobile Best Practices
All events will have the same agenda, and will run from approximately 10:00AM – 3:00PM (local time). These workshops are geared towards software engineers who are already familiar with the AdWords API. Each session will focus on writing code and there will be no non-technical track.
For more information and to register, visit: http://sites.google.com/site/awapiworkshops/home.
– Sumit Chandel, AdWords API Team
September 19th, 2011 | by AdWords API Team | published in Google Adwords API
We have recently made the following changes to the AdWords client libraries.RubyMade performance improvements.Added unit spend information to responses.Added support for Proxy servers.PythonUpdated common module to version 2.1.0, which may impact your …
September 1st, 2011 | by AdWords API Team | published in Google Adwords API, Uncategorized
Recently, we have migrated the Google Apps accounts to a new infrastructure that includes all Personal Google accounts. This has introduced a conflict for API users who have the same email address for both types of accounts. As a result, you will not…
August 29th, 2011 | by Eric Koleda | published in Google Adwords API
Last month the device targeting options in AdWords were expanded to include new settings for tablets. Previously tablets had counted as mobile devices, with the iPad listed as one such device. The AdWords API worked the same way, using the Platfo…
August 16th, 2011 | by AdWords API Team | published in Google Adwords API, Uncategorized
This is another edition of our bi-weekly client library updates blog post. DotNetClient library now supports OAuth 1.0a as an authentication mechanism.
Added support for caching authTokens.
Will now automatically retry for GOOGLE_ACCOUNT_COOKIE_INVALID…
July 22nd, 2011 | by Eric Koleda | published in Google Adwords API, Uncategorized
Since its introduction the BulkMutateJobService has provided support for partial failures, allowing some operations to succeed even though others have failed. Over the next few weeks we’ll be rolling out improvements to this functionality, allowing for…
July 21st, 2011 | by AdWords API Team | published in Google Adwords API
Back in September of 2010, we added support to manage AdWords Campaign Experiments (ACE) via the API. With the release of v201101, we are extending the API to allow you to fully manage your experiments, as we’ve included new experiment fields for use…
July 20th, 2011 | by AdWords API Team | published in Google Adwords API
We often make changes to the AdWords API client libraries that do not merit a full blog post. We’d like to start publishing a summary blog post every other week to highlight changes that might otherwise go unnoticed.PythonAdded support for OAuth as …
June 29th, 2011 | by AdWords API Team | published in Google Adwords API, Uncategorized
We’ve just released a new My Client Center (MCC) feature called multiple links, which makes it easier for agencies, SEMs, AdWords API developers, other 3rd party providers and clients to work together while taking advantage of the benefits of the MCC…
June 22nd, 2011 | by Eric Koleda | published in Google Adwords API
We understand the importance of documentation when navigating a system as complex as the AdWords API; for this reason we’ve been working to expand our reference materials to include even more information.First off, we’ve published a new Selector Fi…
June 17th, 2011 | by AdWords API Team | published in Google Adwords API
Recently, we launched the AdWords API JavaScript Client library. This blog post discusses its basic usage by explaining the GetAllCampaigns example.Including required scriptsAdWords API JS library comes with the following compiled scripts that you can …
June 14th, 2011 | by AdWords API Team | published in Google Adwords API
A common question for the AdWords API Team is “when is the best time to run reports” (and for that matter, when to retrieve statistical data via the API). The quick answer is: it depends on the type of data and report. Read on for details.The repo…