Hi Team

58 views
Skip to first unread message

Leonel Pedraza

unread,
Feb 23, 2023, 11:17:21 AM2/23/23
to Google Ads API and AdWords API Forum
I am obtaining the data of the expenses of the accounts but when trying to obtain it of canceled accounts it does not return the data. I am using the python client library, how can I get the expense of canceled accounts?

Google Ads API Forum Advisor

unread,
Feb 23, 2023, 4:08:23 PM2/23/23
to leopedr...@gmail.com, adwor...@googlegroups.com

Hi,

Thanks for reaching out to the Google Ads API Forum.

Note that if a customer account can't be accessed because it is not yet enabled or has been deactivated,then you would encounter "authorizationError": "CUSTOMER_NOT_ENABLED" upon sending API requests to such accounts.

You may see this article on how to reactivate a cancelled Google Ads account. Once you reactivate your cancelled account, then you may send the API request. To retrieve account data, you may use customer report here https://developers.google.com/google-ads/api/fields/v13/customer

I hope this clarifies.

Regards,

Google Logo Google Ads API Team


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