adwordsClient = getAdwordsClient(refreshToken, clientCustomerId=None)
customerService = adwordsClient.GetService('CustomerService', version='v201802')
accounts = customerService.getCustomers()
To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/c292da88-c7cc-429e-98cf-819230bc95a5%40googlegroups.com.--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwor...@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscribe@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 a topic in the Google Groups "AdWords API and Google Ads API Forum" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/adwords-api/cAMNjosWT9M/unsubscribe.
To unsubscribe from this group and all its topics, send an email to adwords-api+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
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 a topic in the Google Groups "AdWords API and Google Ads API Forum" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/adwords-api/cAMNjosWT9M/unsubscribe.
To unsubscribe from this group and all its topics, send an email to adwords-api...@googlegroups.com.
AdwordsApi::Errors::ReportXmlError: #<AdwordsApi::Errors::ReportXmlError: HTTP code: 400, error type: "AuthorizationError.CUSTOMER_NOT_ACTIVE", trigger: "<null>", field path: ''>
AFAIK the client has not being running ads since Jan '18 which I wouldn't think is the cause of the issue.
Is there something I need to check on their account? How do I fix this issue?
Thanks.
Google.Api.Ads.AdWords.Util.Reports.AdWordsReportsException: AdWordsReportsException: One or more AdWords Report download errors have occurred.
AuthorizationError.CUSTOMER_NOT_ACTIVE. (Error: AuthorizationError.CUSTOMER_NOT_ACTIVE, FieldPath: , Trigger: <null>)
Error Type: AuthorizationError.CUSTOMER_NOT_ACTIVE Field Path: Trigger: <null> AccountId: xxxxxxxxxxxxxxxx
we have the same problem here. We are using a manager account with many different customer accounts, some of them active, some of them inactive.
Can you check that? What would you need?
Hi Wyatt,
Thanks for reaching out. Could you check if you have specified the client customer id in the file? Could you give it a try and let me know if the issue still persists?
Thanks and regards,
Xiaoming, Google Ads API Team