Upgrading Google Ads API v8 to v9

337 views
Skip to first unread message

Pierrie Kirby

unread,
May 13, 2022, 5:01:41 AM5/13/22
to Google Ads API and AdWords API Forum
Hi,

I've inherited the google ads api project which we use to import data and since yesterday, our processes started failing. After some investigation, I found that the sunset date for v7 and v8 were on the 11th of May.

Being the noob to google ads api that I am, I started looking for a step-by-step guide on how to upgrade from v8 to v9 but could only find one. However, I did find this : https://developers.google.com/google-ads/api/docs/version-migration

So I can see what services and components changed from one version to another, but how do you actually do the upgrade? Do I need to be logging into a management console somewhere where the actual upgrade would happen?

My approach is simple... I don't think we use any of the services/components which changed, so I'm thinking of doing the upgrade to see what breaks, then fix the issues. Is this a good approach?

Any help would be appreciated.

Regards
Pierrie

Google Ads API Forum Advisor

unread,
May 17, 2022, 4:47:07 PM5/17/22
to pie...@hyvemobile.co.za, adwor...@googlegroups.com
Hi Pierrie,

Your query has reached Google Ads API support. You found the right documentation. One thing. that may help is that the API versions have similar naming convention, to switch from one version to another usually requires just a change in version number. For example, the campaign report in v8 is here- https://developers.google.com/google-ads/api/fields/v8/campaign while the campaign report for v9 is https://developers.google.com/google-ads/api/fields/v9/campaign. Of course, we recommend upgrading to the highest version available, v10 and updating your client library to match v10.

You may follow general programming procedures when an API changes. We are here to support your upgrade, any 'DEBUG' log level request and response log of API communication showing unexpected results and sent privately to us is welcome here.

The request and response appears similar to the JSON Mappings in our REST documentation with additional headers and information such as request Id. Our client libraries have loggers with logging instructions, to see these instructions you can click on the client library you use in the sidebar of our client library guide and click on "Logging”.

If you are using our REST interface then the full multi line curl command line is a request log and adding curl command line option '-i' will also generate a response log.

Regards,

Google Logo
Aryeh
Google Ads API Team
 


 

ref:_00D1U1174p._5004Q2asZ24:ref
Reply all
Reply to author
Forward
0 new messages