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";>
         <ns2:message>[AuthenticationError.CUSTOMER_NOT_FOUND @ ]</
ns2:message>
         <ns2:ApplicationException.Type>ApiException</
ns2:ApplicationException.Type>
         <ns2:errors xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xsi:type="ns2:AuthenticationError">
           <ns2:fieldPath></ns2:fieldPath>
           <ns2:trigger></ns2:trigger>
           <ns2:errorString>AuthenticationError.CUSTOMER_NOT_FOUND</
ns2:errorString>
           <ns2:ApiError.Type>AuthenticationError</ns2:ApiError.Type>
           <ns2:reason>CUSTOMER_NOT_FOUND</ns2:reason>
         </ns2:errors>
       </ApiExceptionFault>
     </detail>
   </soap:Fault>
 </soap:Body>
</soap:Envelope>


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/24322853-83de-4ec1-898e-ec062c159478%40googlegroups.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