Hi Eric,

To better investigate the issue, could you confirm if the OAuth2 credentials
<https://developers.google.com/adwords/api/docs/guides/authentication> you
used were created using an email address which has access to your AdWords
account(s)? Also, could you send to me the said email address so I can also
verify this on my end? You may reply in private via the *Reply privately to
author* option.

Thanks and regards,
Peter
Google Ads API Team

On 04/06/19 04:29:42 ecole...@360psg.com wrote:

We are calling CustomerService.getCustomers without a customer id, so that
we can obtain their customer ID.

This failure happens for any google account that belongs to our G Suite
domain. I also verified that each G Suite account has permission to use ads.

Soap Request:

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
  xmlns:tns="https://adwords.google.com/api/adwords/mcm/v201806";
  xmlns:jaxb="http://java.sun.com/xml/ns/jaxb";
  xmlns:cm="https://adwords.google.com/api/adwords/cm/v201806";>
 <soap:Header>
   <ns1:RequestHeader xmlns:ns1="
https://adwords.google.com/api/adwords/mcm/v201806";
      xmlns="https://adwords.google.com/api/adwords/mcm/v201806";>
     <ns1:developerToken>XXXXXXXXXXXXXXXXX</ns1:developerToken>
     <ns1:userAgent>XXXXXXXXXX</ns1:userAgent>
     <ns1:validateOnly>false</ns1:validateOnly>
   </ns1:RequestHeader>
 </soap:Header>
 <soap:Body>
   <getCustomers xmlns="https://adwords.google.com/api/adwords/mcm/v201806";
</getCustomers>
 </soap:Body>
</soap:Envelope>


And the response:

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";>
 <soap:Header>
   <ResponseHeader xmlns:ns2="
https://adwords.google.com/api/adwords/cm/v201806";
      xmlns="https://adwords.google.com/api/adwords/mcm/v201806";>
     <ns2:requestId>000585cdf1da819a0ac12647de09cb39</ns2:requestId>
     <ns2:serviceName>CustomerService</ns2:serviceName>
     <ns2:methodName>getCustomers</ns2:methodName>
     <ns2:operations>1</ns2:operations>
     <ns2:responseTime>230</ns2:responseTime>
   </ResponseHeader>
 </soap:Header>
 <soap:Body>
   <soap:Fault>
     <faultcode>soap:Server</faultcode>
     <faultstring>[AuthenticationError.CUSTOMER_NOT_FOUND @ ]</faultstring>
     <detail>
       <ApiExceptionFault xmlns="
https://adwords.google.com/api/adwords/mcm/v201806";
          xmlns:ns2="https://adwords.google.com/api/adwords/cm/v201806<

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@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 the Google Groups "AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@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/4g2oh176f00000000scqnu0008k5igy6cmjcd9g6co30c1g68qjgc9o%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
  • v201806... Eric Coleman
    • RE... googleadsapi-forumadvisor via AdWords API and Google Ads API Forum

Reply via email to