I'm trying to make a call to the Google ADS API through the 
*ga_service.search_stream(my_query)* method using the 
*client.get_service("GoogleAdsService")*. However i'm getting the error: *" 
Version v10 is deprecated. Requests to this version will be blocked."*

I run the *print(google.ads.googleads.VERSION*) code and I get the response 
that the installed version is v16.0.0 however I passed the version to 
*GoogleAdsClient* like this: *GoogleAdsClient.load_from_storage("my_file.yaml", 
version=" v16")*

In response I got the following error: *Specified Google Ads API version 
"v16" does not exist. Valid API versions are: "v10", "v9"*

I made the same call to the method 
*GoogleAdsClient.load_from_storage("my_file.yaml", 
version=" v10")* and *GoogleAdsClient.load_from_storage("my_file.yaml", 
version=" v9")*

I made the same call to the method 
*GoogleAdsClient.load_from_storage("my_file.yaml", 
version=" v10")* and got response: *Version v10 is deprecated. Requests to 
this version will be blocked*."

When I run *GoogleAdsClient.load_from_storage("my_file.yaml", version=" 
v9")* I get the response: *google.api_core.exceptions.MethodNotImplemented: 
501 GRPC target method can't be resolved*

Can you help me? This issue may be associated with settings on the 
GoogleAds platform?


My code is:

https://github.com/magalha7/googleAds/blob/d2a00d2e8c4a3c4552d71544f02bca5d43bfdb07/google_ads.py

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/e859da99-749c-44d6-8fb2-130d3bd198e3n%40googlegroups.com.

Reply via email to