RE: 503 Getting metadata from plugin failed with error: 'GoogleRefreshTokenClient' object has no attribute 'before_request'

274 views
Skip to first unread message
Message has been deleted

Google Ads API Forum Advisor

unread,
Jul 28, 2022, 10:57:43 AM7/28/22
to ja...@helloclicks.co.uk, adwor...@googlegroups.com

Hi Jake,

Thanks for reaching out to the Google Ads API Support.

Since you encountered an error while uploading the offline conversions, could you provide us with the complete request and response logs with the request-id, so our team can better check?

For the client library, logging can be enabled by navigating to the Client libraries > Your client library (ex Java) > Logging documentation, which you can access from this link. You may then send the requested information via reply privately to author option.

Regards,

Google Logo
Yasar
Google Ads API Team
 


ref:_00D1U1174p._5004Q2d2PgD:ref
Message has been deleted

Google Ads API Forum Advisor

unread,
Jul 28, 2022, 11:56:55 AM7/28/22
to ja...@helloclicks.co.uk, adwor...@googlegroups.com
Hi Jake,

Thank you for the reply. I work with Yasar and allow me to assist you here. If you mean the logging instructions for this "required code in python please" that you mentioned. Here are logging instructions for our Python Ads API Client Libraries. However, if you mean this is the Upload Click Conversion sample code in Python, you can refer to this document.

Best regards,
Google Logo
Jinky
Google Ads API Team
 

 

ref:_00D1U1174p._5004Q2d2PgD:ref
Message has been deleted

Google Ads API Forum Advisor

unread,
Jul 28, 2022, 1:55:37 PM7/28/22
to ja...@helloclicks.co.uk, adwor...@googlegroups.com
Hi Jake,

Thank you for getting back to us.

I can see that you've already set the log level to DEBUG. That said, once you rerun your code, the request and response logs, and request-id should then be generated. When sending the logs, you may send those over via the Reply privately to author option. If this option is not available, you may send the details directly to our googleadsa...@google.com alias instead.

Going back to the error as you described in the subject, could you confirm as well if you have configured your Python client library, specifically for the refresh token, as discussed here?

Best regards,

Google Logo
Peter Laurence
Google Ads API Team
 


ref:_00D1U1174p._5004Q2d2PgD:ref
Reply all
Reply to author
Forward
Message has been deleted
Message has been deleted
Message has been deleted
Message has been deleted
0 new messages