Upgraded google_ads version from 19.0.0 to 22.1.0 (v12-v15)

97 views
Skip to first unread message

Winston Jacob

unread,
Nov 5, 2023, 7:55:14 PM11/5/23
to Google Ads API and AdWords API Forum

Upgraded google_ads version from v12-v15 in a python project, which is now causing an invalid grant issue. The project has a frontend flask component that accesses the google ads api and that has no issues.

However when accessing other scripts it throws this error
Deadline of 5.0s exceeded while calling target function, last exception: 503 G from plugin failed with error: ('invalid_grant: Bad Request', {'error': 'invaror_description': 'Bad Request'})

Google Ads API Forum Advisor

unread,
Nov 6, 2023, 5:47:45 AM11/6/23
to adwor...@googlegroups.com

Hi,

Thank you for reaching out to the Google Ads API support team.

After reviewing your concern, I understand that you have upgraded Google Ads version from v12 to v15 which is causing invalid grant issue. I would suggest you refer to this Common Errors guide on invalid grant and deadline exceeded errors for more information.

In order to assist you further, please provide us with the uncropped UI screenshot of the issue you are facing. Also if you are getting any error message, provide us the error message along with complete API logs (request and response with request-id and request header).

If you are using a client library and haven't enabled the logging yet, I would request you to enable logging for the specific client library that you are using. You can refer to the guides Java, .Net, PHP, Python, Ruby or Perl to enable logging at your end. For REST interface requests, you can enable logging via the curl command by using the -i flag.

You can send the details via Reply privately to the author option, or direct private reply to this email.
 
This message is in relation to case "ref:!00D1U01174p.!5004Q02qAeBW:ref"

Thanks,
 
Google Logo Google Ads API Team


Reply all
Reply to author
Forward
0 new messages