AuthenticationError.CLIENT_CUSTOMER_ID_IS_REGUIRED

163 views
Skip to first unread message

Igor Shamin

unread,
Apr 10, 2018, 6:35:10 AM4/10/18
to AdWords API Forum
Hi. We have a problem. We send a request to ChampaignService, we receive a response
AuthenticationError.CLIENT_CUSTOMER_ID_IS_REGUIRED
I ask to help you figure it out. Thank you.

Our request:

<?
xml version="1.0" encoding="UTF-8"?>
<env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope" xmlns:ns1="https://adwords.google.com/api/adwords/cm/v201802" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <env:Header> <ns1:RequestHeader xsi:type="SoapHeader"> <clientCustomerId>__CUSTOMER_ID__</clientCustomerId> <developerToken>__DEVELOPER_TOKEN__</developerToken> <userAgent>__AGENT__</userAgent> <validateOnly>false</validateOnly> <partialFailure>false</partialFailure> </ns1:RequestHeader> </env:Header> <env:Body> <ns1:get> <ns1:serviceSelector> <ns1:fields>Name</ns1:fields> <ns1:fields>Status</ns1:fields> <ns1:fields>BudgetId</ns1:fields> <ns1:fields>BiddingStrategyId</ns1:fields> <ns1:fields>BiddingStrategyType</ns1:fields> <ns1:fields>BiddingStrategyName</ns1:fields> <ns1:fields>Amount</ns1:fields> <ns1:fields>AdvertisingChannelType</ns1:fields> <ns1:fields>AdvertisingChannelSubType</ns1:fields> <ns1:fields>TargetGoogleSearch</ns1:fields> <ns1:fields>TargetSearchNetwork</ns1:fields> <ns1:fields>TargetContentNetwork</ns1:fields> <ns1:fields>TargetPartnerSearchNetwork</ns1:fields> <ns1:fields>BidCeiling</ns1:fields> <ns1:fields>BidType</ns1:fields> <ns1:fields>EnhancedCpcEnabled</ns1:fields> <ns1:fields>PricingMode</ns1:fields> <ns1:fields>Settings</ns1:fields> <ns1:ordering> <ns1:field>Name</ns1:field> <ns1:sortOrder>ASCENDING</ns1:sortOrder> </ns1:ordering> <ns1:paging> <ns1:startIndex>0</ns1:startIndex> <ns1:numberResults>500</ns1:numberResults> </ns1:paging> </ns1:serviceSelector> </ns1:get> </env:Body> </env:Envelope> 


Response: 

<?xml version="1.0" encoding="UTF-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Header> <ResponseHeader xmlns="https://adwords.google.com/api/adwords/cm/v201802"> <requestId>0005697bb2b6b6f00a37a7c1af0e8a4c</requestId> <serviceName>CampaignService</serviceName> <methodName>get</methodName> <operations>1</operations> <responseTime>51</responseTime> </ResponseHeader> </soap:Header> <soap:Body> <soap:Fault> <faultcode>soap:Client</faultcode> <faultstring>[AuthenticationError.CLIENT_CUSTOMER_ID_IS_REQUIRED @ ; trigger:'&lt;null&gt;']</faultstring> <detail> <ApiExceptionFault xmlns="https://adwords.google.com/api/adwords/cm/v201802"> <message>[AuthenticationError.CLIENT_CUSTOMER_ID_IS_REQUIRED @ ; trigger:'&lt;null&gt;']</message> <ApplicationException.Type>ApiException</ApplicationException.Type> <errors xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="AuthenticationError"> <fieldPath /> <trigger>&lt;null&gt;</trigger> <errorString>AuthenticationError.CLIENT_CUSTOMER_ID_IS_REQUIRED</errorString> <ApiError.Type>AuthenticationError</ApiError.Type> <reason>CLIENT_CUSTOMER_ID_IS_REQUIRED</reason> </errors> </ApiExceptionFault> </detail> </soap:Fault> </soap:Body> </soap:Envelope> 

pat...@tryadhawk.com

unread,
Apr 10, 2018, 11:05:22 AM4/10/18
to AdWords API Forum
  1. Getting the same issue on v201710:

  2. REQUEST:

  3. <?xml version="1.0" encoding="UTF-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cm="https://adwords.google.com/api/adwords/cm/v201710" xmlns:ns0="https://adwords.google.com/api/adwords/cm/v201710" xmlns:wsdl="https://adwords.google.com/api/adwords/cm/v201710" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <soap:Header> <wsdl:RequestHeader> <developerToken>__ADWORDS_DEVELOPER_TOKEN__</developerToken> <userAgent>Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.181 Safari/537.36</userAgent> <clientCustomerId>142632XXXX</clientCustomerId> </wsdl:RequestHeader> </soap:Header> <soap:Body> <query xmlns="https://adwords.google.com/api/adwords/cm/v201710"> <query>SELECT Id,Name WHERE Status = 'ENABLED' ORDER BY Name</query> </query> </soap:Body> </soap:Envelope>

  4. RESPONSE:

  1. <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    1. <soap:Header>
      1. <ResponseHeader xmlns="https://adwords.google.com/api/adwords/cm/v201710">
        1. <requestId>0005697fca2900280a376653XXXXXXXX</requestId>
        2. <serviceName>CampaignService</serviceName>
        3. <methodName>query</methodName>
        4. <operations>1</operations>
        5. <responseTime>61</responseTime>
        6. </ResponseHeader>
      2. </soap:Header>
    2. <soap:Body>
      1. <soap:Fault>
        1. <faultcode>soap:Client</faultcode>
        2. <faultstring>[AuthenticationError.CLIENT_CUSTOMER_ID_IS_REQUIRED @ ; trigger:'<null>']</faultstring>
        3. </soap:Fault>
      2. </soap:Body>
    3. </soap:Envelope>

Ian Ker-Seymer

unread,
Apr 10, 2018, 11:55:40 AM4/10/18
to AdWords API Forum
We are getting the same issue even though the clientCustomerId is in the SOAP body.

Milind Sankeshware (AdWords API Team)

unread,
Apr 10, 2018, 4:25:45 PM4/10/18
to AdWords API Forum
Hi,

Could you please share the failing client customer ids along with SOAP request and response so that I can troubleshoot the issue? You could choose to reply privately to author while sharing the information.

Thanks,
Milind, AdWords API Team.

Igor Shamin

unread,
Apr 11, 2018, 11:55:46 AM4/11/18
to AdWords API Forum
Dear support. When will it be possible to give an answer?

вторник, 10 апреля 2018 г., 13:35:10 UTC+3 пользователь Igor Shamin написал:

Anash P. Oommen (AdWords API Team)

unread,
Apr 12, 2018, 3:18:04 PM4/12/18
to AdWords API Forum
Hi Igor,

This issue should be fixed already, are you still seeing errors? If yes, could you respond privately to send me a new SOAP request / response XML for a failing request?

Cheers
Anash P. Oommen,
AdWords API Advisor.

Adwords account

unread,
Apr 13, 2018, 4:03:34 PM4/13/18
to AdWords API Forum
Hi,
 
We also experiencing same issue when posting to /api/adwords/ch/v201802/CustomerSyncService service since around 2018-04-12 02:00:00 EET.
 
<?xml version="1.0" encoding="utf-16"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Header>
      <requestId>_RequestID_</requestId>
      <serviceName>CustomerSyncService</serviceName>
      <methodName>get</methodName>
      <operations>1</operations>
      <responseTime>142</responseTime>
    </ns2:ResponseHeader>
  </soap:Header>
  <soap:Body>
    <soap:Fault>
      <faultcode>soap:Server</faultcode>
      <faultstring>[AuthenticationError.CLIENT_CUSTOMER_ID_IS_REQUIRED @ ; trigger:'&lt;null&gt;']</faultstring>
      <detail>
          <message>[AuthenticationError.CLIENT_CUSTOMER_ID_IS_REQUIRED @ ; trigger:'&lt;null&gt;']</message>
          <ApplicationException.Type>ApiException</ApplicationException.Type>
          <errors xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="AuthenticationError">
            <fieldPath></fieldPath>
            <trigger>&lt;null&gt;</trigger>
            <errorString>AuthenticationError.CLIENT_CUSTOMER_ID_IS_REQUIRED</errorString>
            <ApiError.Type>AuthenticationError</ApiError.Type>
            <reason>CLIENT_CUSTOMER_ID_IS_REQUIRED</reason>
          </errors>
        </ns2:ApiExceptionFault>
      </detail>
    </soap:Fault>
  </soap:Body>
</soap:Envelope>

j...@tryadhawk.com

unread,
Apr 17, 2018, 5:12:40 PM4/17/18
to AdWords API Forum
We're still experiencing the issue on our end at this time. 

Still receiving a 'CLIENT_CUSTOMER_ID_IS_REQUIRED' error even though it is being passed in the SOAP body.

Is there an ETA on a full fix? :( 

Anash P. Oommen (AdWords API Team)

unread,
Apr 25, 2018, 1:05:11 PM4/25/18
to AdWords API and Google Ads API Forum
Hi Joe,

All the services should have the fix in place as of last week. If you continue seeing this error, please update this thread and we will look into it.

Cheers,
Anash P. Oommen,
AdWords API Advisor.
Reply all
Reply to author
Forward
0 new messages