I am trying to get the campaign performance report but I get back an
INVALID_TOKEN_HEADER error. This *used* to work, but off late has been
returning the following data:

!!!2|||371826503|||QuotaCheckError.INVALID_TOKEN_HEADER @ ;
trigger:'<null>'???

Here's the outgoing SOAP message to create the report:

*** Outgoing HTTP headers
**********************************************
POST /api/adwords/cm/v201101/ReportDefinitionService HTTP/1.0
Host:adwords.google.com
User-agent:SOAPpy 0.12.0 (pywebsvcs.sf.net)
XML-parser: xml.etree.cElementTree v1.0.6
Content-type:text/xml; charset="UTF-8"
Content-length:1857
SOAPAction:
************************************************************************
*** Outgoing SOAP
******************************************************
<?xml version='1.0' encoding='UTF-8'?>
<ns0:Envelope ns0:encodingStyle="http://schemas.xmlsoap.org/soap/
encoding/" xmlns:ns0="http://schemas.xmlsoap.org/soap/envelope/";>
<ns0:Header>
  <ns1:RequestHeader xmlns:ns1="https://adwords.google.com/api/adwords/
cm/v201101">
   <ns1:authToken ns2:type="xsd3:string" xmlns:ns2="http://www.w3.org/
2001/XMLSchema-instance">
</ns1:authToken>
   <ns1:userAgent ns2:type="xsd3:string" xmlns:ns2="http://www.w3.org/
2001/XMLSchema-instance">AwApi-Python-14.2.1|User1</ns1:userAgent>
   <ns1:clientCustomerId ns2:type="xsd3:string" xmlns:ns2="http://
www.w3.org/2001/XMLSchema-instance">xxx-xxx-xxxx</ns1:clientCustomerId>
   <ns1:developerToken ns2:type="xsd3:string" xmlns:ns2="http://
www.w3.org/2001/XMLSchema-instance">xxxxxxxxxxxxxxxx</ns1:developerToken>
   <ns1:validateOnly ns2:type="xsd3:string" xmlns:ns2="http://
www.w3.org/2001/XMLSchema-instance">false</ns1:validateOnly>
  </ns1:RequestHeader>
</ns0:Header>
<ns0:Body>
  <ns1:mutate xmlns:ns1="https://adwords.google.com/api/adwords/cm/
v201101">
   <ns1:operations ns2:type="ReportDefinitionOperation"
xmlns:ns2="http://www.w3.org/2001/XMLSchema-instance";>
    <ns1:operator>ADD</ns1:operator>
    <ns1:operand ns2:type="ReportDefinition">
     <ns1:selector ns2:type="Selector">
      <ns1:fields>CampaignId</ns1:fields>
      <ns1:fields>CampaignName</ns1:fields>
      <ns1:fields>Clicks</ns1:fields>
      <ns1:fields>Impressions</ns1:fields>
      <ns1:fields>ImpressionShare</ns1:fields>
      <ns1:fields>Cost</ns1:fields>
      <ns1:dateRange ns2:type="DateRange">
       <ns1:min>20120210</ns1:min>
       <ns1:max>20120212</ns1:max>
      </ns1:dateRange>
     </ns1:selector>
     <ns1:reportName>Campaign performance report #8702864419191322012</
ns1:reportName>
     <ns1:reportType>CAMPAIGN_PERFORMANCE_REPORT</ns1:reportType>
     <ns1:dateRangeType>CUSTOM_DATE</ns1:dateRangeType>
     <ns1:downloadFormat>CSV</ns1:downloadFormat>
    </ns1:operand>
   </ns1:operations>
  </ns1:mutate>
</ns0:Body>
</ns0:Envelope>
************************************************************************

After this step, a DownloadReport call with the report id return the
above error.

Any insights on why this is happening, or info on any recent change in
the reporting API will be much appreciated.

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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