Hello! 

So I try to get some data from any report via HTML requests.

I use this documentation:
https://developers.google.com/adwords/api/docs/guides/reporting#supported_download_formats

And copy exactly everything.

My URL:
https://adwords.google.com/api/adwords/reportdownload/v201809

Body:
<?xml version="1.0"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"; 
xmlns:xsd="http://www.w3.org/2001/XMLSchema"; xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance";>
<soapenv:Header>
    <ns1:RequestHeader xmlns:ns1="
https://adwords.google.com/api/adwords/cm/v201809"; soapenv:actor="
http://schemas.xmlsoap.org/soap/actor/next"; soapenv:mustUnderstand="0">
      <ns1:clientCustomerId>*****</ns1:clientCustomerId>
      <ns1:developerToken>*****</ns1:developerToken>
      <ns1:userAgent>Calltouch Manual AdWords Collector v1.0</ns1:userAgent>
      <ns1:validateOnly>false</ns1:validateOnly>
      <ns1:partialFailure>false</ns1:partialFailure>
    </ns1:RequestHeader>
  </soapenv:Header>
  <soapenv:Body>
<reportDefinition xmlns="https://adwords.google.com/api/adwords/cm/v201809";>
<selector>
<fields>CampaignId</fields>
<fields>AdGroupId</fields>
<fields>Impressions</fields>
<fields>Clicks</fields>
<fields>Cost</fields>
</selector>
<reportType>ADGROUP_PERFORMANCE_REPORT</reportType>
<dateRangeType>LAST_7_DAYS</dateRangeType>
<downloadFormat>XML</downloadFormat>
</reportDefinition>
</soapenv:Body>
</soapenv:Envelope>

And i get error : 404 Bad Request.

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<reportDownloadError>
<ApiError>
<type>ReportDownloadError.MISSING_PARAMETER</type>
<trigger>Missing report definition</trigger>
<fieldPath></fieldPath>
</ApiError>
<ApiError>
<type>ReportDownloadError.INVALID_PARAMETER</type>
<trigger>Missing client information</trigger>
<fieldPath></fieldPath>
</ApiError>
</reportDownloadError>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/8afce49e-5212-40a3-acbe-9ac9aee01cd5n%40googlegroups.com.

Reply via email to