Customer Managed Accounts Selector response Unexpected error

23 views
Skip to first unread message

Toms Mārtiņš Sīmanis

unread,
Oct 9, 2018, 2:30:17 AM10/9/18
to AdWords API and Google Ads API Forum
Hello!

I am trying to retrieve accounts based on their labels.

managed_customer_service = client.GetService('ManagedCustomerService', version='v201809')
selector = {
'fields' :  [ 'CustomerId' ,  'Name' ] ,
'predicates' :  [ { 'field' : 'AccountLabels' , 'operator' : 'CONTAINS_ANY' , 'values' : [ 'Labe1' , 'Label2' ] } ]
}
page = managed_customer_service.get(selector)

What is wrong, why would I recieve such an error.

GoogleAdsServerFault('[InternalApiError.UNEXPECTED_INTERNAL_API_ERROR @ com.google.ads.api.services.common.error.InternalApiError.<init>(InternalApiErro]',)

Dannison Yao (AdWords API Team)

unread,
Oct 9, 2018, 4:23:23 AM10/9/18
to AdWords API and Google Ads API Forum
Hi Toms,

The UNEXPECTED_INTERNAL_API_ERROR you encountered during your first attempt may mean the AdWords API server had problems processing your request or it could also be due to a bug. It is advised to wait for a few minutes before doing the service call again. Could you confirm if you are encountering this consistently?

If yes, could you provide the complete SOAP request and response logs that were generated when the error was encountered via Reply privately to author so I could investigate this further?

Regards,
Dannison
AdWords API Team
Reply all
Reply to author
Forward
0 new messages