AuthenticationError.CUSTOMER_NOT_FOUND returned when calling CustomerService.getCustomers using v201806

542 views
Skip to first unread message

Zack Grannan

unread,
Jul 26, 2018, 5:56:05 AM7/26/18
to AdWords API and Google Ads API Forum
Hello,

For one of our customer's accounts, we are receiving an error AuthenticationError.CUSTOMER_NOT_FOUND when querying the CustomerService.getCustomers using the v201806 version of the API. This issue was also present when using the v201802 version.

We are not passing in a clientCustomerId in the header, and the Adwords account is at least a few days old.

This same code works for our other customers without any problem.

Anyone have any ideas on how to resolve this?

Teja Makani

unread,
Jul 26, 2018, 3:35:54 PM7/26/18
to AdWords API and Google Ads API Forum
Hello Zack,

The AuthenticationError.CUSTOMER_NOT_FOUND error usually occurs when there is no account found for the customer ID provided in the header. But CustomerService.getcustomers should work even without passing client customer Id in the header. Could you please share the entire SOAP logs (request and response) without redacting any data to investigate further on this issue? You could use reply privately to author option while sharing the logs. 

Regards,
Sai Teja, AdWords API Team.

Zack Grannan

unread,
Jul 26, 2018, 11:24:23 PM7/26/18
to adwordsapia...@google.com, AdWords API and Google Ads API Forum
Hey there,

The customer has since disconnected their account, so it's not possible to
replicate this issue currently. If it occurs again I will let you know!

- Zack

On Thu, Jul 26, 2018 at 12:35:54PM -0700, 'Teja Makani' via AdWords API and Google Ads API Forum wrote:
> Hello Zack,
>
> The AuthenticationError.CUSTOMER_NOT_FOUND
> <https://developers.google.com/adwords/api/docs/common-errors?authuser=3&hl=id#AuthenticationError.CUSTOMER_NOT_FOUND> error
> usually occurs when there is no account found for the customer ID provided
> in the header. But CustomerService.getcustomers
> <https://developers.google.com/adwords/api/docs/reference/v201806/CustomerService#getcustomers> should
> work even without passing client customer Id in the header. Could you
> please share the entire SOAP logs (request and response) without redacting
> any data to investigate further on this issue? You could use reply
> privately to author option while sharing the logs.
>
> Regards,
> Sai Teja, AdWords API Team.
>
> --
> --
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
> 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...@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/1fswjYBmvLo/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to adwords-api...@googlegroups.com.
> Visit this group at https://groups.google.com/group/adwords-api.
> To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/941e3983-be02-4d8f-b4f6-699b86331a04%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

Milos Bejda

unread,
Feb 7, 2019, 10:17:37 PM2/7/19
to AdWords API and Google Ads API Forum
I get this issue randomly....

googleadsapi...@google.com

unread,
Feb 8, 2019, 1:48:18 PM2/8/19
to AdWords API and Google Ads API Forum
Hello Milos,

The AuthenticationError.CUSTOMER_NOT_FOUND errors when there is no AdWords account found for the customer Id provided in the header. Please double check the property files or from where you are picking up the ClientCustomerId(CID) and make sure that belongs to a valid AdWords account. If the problem persists, you could share the SOAP logs of the (request and response) of the operation you are performing without redacting any information. You could use reply privately to the author option while sharing the information requested.


Regards,
Sai Teja, AdWords API Team


=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
    http://googleadsdeveloper.blogspot.com/search/label/adwords_api
    https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

Was your question answered? Please rate your experience with us by taking a short survey.
If not -- reply to this email and tell us what else we can do to help.

Take Survey

Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com/search/label/adwords_api
https://developers.google.com/adwords/api/community/

Reply all
Reply to author
Forward
0 new messages