googleads / googleads-python-lib

The Python client library for Google's Ads APIs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Google Ad Manager API - googleads library compatibility

Morgan-cj opened this issue · comments

I am currently using googleads library https://github.com/googleads/googleads-python-lib version 32.0.0, but I can successfully use 202308 version of GAM API and this is a bit confusing as the 202308 release was in 39.0.0. So how does it actually can work?

Is it some compatibility between googleads library and GAM API or can I just use any non deprecated version of the GAM API on any version on of the googleads library?

The library will dynamically generate stubs from the SOAP WSDL based on the version you pass:

self._SOAP_SERVICE_FORMAT % (server, version, service_name),

Just updating the version number and not the library version may work but there are edge cases that could cause problems for you. I'd recommend updating the library when you update API versions. There are typically no breaking changes outside of removing support for API versions that have been turned down.