Updating Version of API

35 views
Skip to first unread message

Connor McManus

unread,
Apr 20, 2016, 10:57:40 AM4/20/16
to AdWords API Forum
Just dipping my toe in the water to the AdWords API, so I'm a bit new to how the process of updating to the newest version works. The current version I'm running, v201506, has hit the sunset period, and that explains why that part of my reports are broken. I'm needing to migrate over to the v201509 version. Other than bringing over that version of the API and changing the version number to reflect, are there any other kinds of maintenance that need to be done before I start following the migration guide? 

In addition, is there a fairly simple guide to getting started with being able to view SOAP errors to see where things are failing?

Shwetha Vastrad (AdWords API Team)

unread,
Apr 20, 2016, 2:49:08 PM4/20/16
to AdWords API Forum
Hi Connor,

I suggest that you go through the release notes for AdWords API version v201509 as well as the v201509 migration guide. The updated client libraries and code examples for API version v201509 are available here

Please note that the version v201509 is being sunset on 21 June 2016. I encourage you to skip v201509 and migrate straight to v201601 or v201603.

Depending on the client library you are using, you can find instructions to enable logging in their source distributions. For example, instructions to enable logging for the Java client library can be found here.

Cheers,
Shwetha, AdWords API Team.

Connor McManus

unread,
Apr 20, 2016, 3:13:32 PM4/20/16
to AdWords API Forum
Shwetha, 

It seems that regardless of which version of the API I'm running, everything seems to be failing with this call:

$report=ReportUtils::DownloadReportWithAwql($reportQuery, null, $user, $reportFormat, $options);
$report = explode("\n", $report);

I have gone through seemingly endless trials of figuring out which part of that is causing the failure, and have ruled out the query, reportFormat, and options. I'm fairly certain it's not the user either, as no errors seem to be drawing from that call - things just fail.

Is there something I'm missing after updating, perhaps on that ReportUtils class?

Shwetha Vastrad (AdWords API Team)

unread,
Apr 20, 2016, 4:55:48 PM4/20/16
to AdWords API Forum
Hi Connor,

Could you provide the complete report definition as well as your client customer id, so I can further look into it? Please use Reply privately to author when responding.

Thanks,
Shwetha, AdWords API Team.
Reply all
Reply to author
Forward
0 new messages