AuthtToken is new so why i get this error?
i'm using php library *v201209.*
My request:

<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"; 
xmlns:ns1="https://adwords.google.com/api/adwords/cm/v201209"; 
xmlns:ns2="https://adwords.google.com/api/adwords/info/v201209";>
  <SOAP-ENV:Header>
    <ns2:RequestHeader>
      <ns1:authToken>****</ns1:authToken>
      <ns1:clientCustomerId>****</ns1:clientCustomerId>
      <ns1:developerToken>*****</ns1:developerToken>
      <ns1:userAgent>INSERT_COMPANY_NAME_HERE (AwApi/3.1.1, 
php/5.4.7)</ns1:userAgent>
    </ns2:RequestHeader>
  </SOAP-ENV:Header>
  <SOAP-ENV:Body>
    <ns2:get>
      <ns2:selector>
        <ns2:dateRange>
          <ns1:min>20130107</ns1:min>
          <ns1:max>20130107</ns1:max>
        </ns2:dateRange>
        <ns2:includeSubAccounts>true</ns2:includeSubAccounts>
        <ns2:apiUsageType>UNIT_COUNT_FOR_CLIENTS</ns2:apiUsageType>
      </ns2:selector>
    </ns2:get>
  </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

My response:

<?xml version="1.0"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";>
  <soap:Header>
    <ResponseHeader 
xmlns:ns2="https://adwords.google.com/api/adwords/cm/v201209"; 
xmlns="https://adwords.google.com/api/adwords/info/v201209";>
      <ns2:requestId>0004d2c54358adb00ae54424000020ea</ns2:requestId>
      <ns2:serviceName>InfoService</ns2:serviceName>
      <ns2:methodName>get</ns2:methodName>
      <ns2:operations>0</ns2:operations>
      <ns2:responseTime>27</ns2:responseTime>
      <ns2:units>0</ns2:units>
    </ResponseHeader>
  </soap:Header>
  <soap:Body>
    <soap:Fault>
      <faultcode>soap:Server</faultcode>
      <faultstring>[AuthenticationError.GOOGLE_ACCOUNT_COOKIE_INVALID @ ; 
trigger:'&lt;null&gt;']</faultstring>
      <detail>
        <ApiExceptionFault 
xmlns="https://adwords.google.com/api/adwords/info/v201209"; 
xmlns:ns2="https://adwords.google.com/api/adwords/cm/v201209";>
          <ns2:message>[AuthenticationError.GOOGLE_ACCOUNT_COOKIE_INVALID @ ; 
trigger:'&lt;null&gt;']</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:trigger>&lt;null&gt;</ns2:trigger>
            
<ns2:errorString>AuthenticationError.GOOGLE_ACCOUNT_COOKIE_INVALID</ns2:errorString>
            <ns2:ApiError.Type>AuthenticationError</ns2:ApiError.Type>
            <ns2:reason>GOOGLE_ACCOUNT_COOKIE_INVALID</ns2:reason>
          </ns2:errors>
        </ApiExceptionFault>
      </detail>
    </soap:Fault>
  </soap:Body>
</soap:Envelope>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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



Reply via email to