Monday, September 21, 2015

Support for v201506 reports in AdWords Scripts

Google Ads Developer Blog
Support for v201506 reports in AdWords Scripts
We have added support for AdWords API v201506 reports in AdWords Scripts. This version adds support for FINAL_URL_REPORT, the Upgraded URLs-compatible replacement for the DESTINATION_URL_REPORT.

This version also introduces several changes to the reporting columns Gmail Sponsored Promotion ad stats are now available in multiple reports in the following columns: GmailForwards, GmailSaves, GmailSecondaryClicks. The DURING clause is now optional in AWQL report definitions when not segmenting by Date or Week. The following new columns have been added to the existing reports:

Column
Reports
AdGroupStatus
CampaignName
CampaignStatus
EndDate
FinalUrl
StartDate

If you use API versioning in your reports, then you need to modify your code to use v201506 as shown below. If you don’t use API versioning, no code changes are required.
var report = AdWordsApp.report(query, {
apiVersion: 'v201506'
});
If you have any questions about this feature or AdWords scripts in general, you can post them on our developer forum.