Hi,
I am trying to retrieve data from Google Adwords Ad PerformanceReport.
I am using following configurations,
URL: 
https://adwords.google.com/api/adwords/reportdownload/v201809
Request Body:
Parameters:
__rdxml: <?xml version="1.0" encoding="UTF-8"?>
<reportDefinition xmlns="https://adwords.google.com/api/adwords/cm/v201809";>
<selector>
<fields>Date</fields>
<fields>Impressions</fields>
<fields>Clicks</fields>
<fields>Cost</fields>
<fields>Conversions</fields>
<predicates>
  <field>Status</field>
  <operator>IN</operator>
  <values>ENABLED</values>
  <values>PAUSED</values>
</predicates>
</selector>
<reportName>Custom Ad Performance Report</reportName>
<reportType>AD_PERFORMANCE_REPORT</reportType>
<selector>
<dateRange>
  <min>20180801</min>
  <max>20180901</max>
</dateRange>
</selector>
<dateRangeType>CUSTOM_DATE</dateRangeType>
<downloadFormat>CSV</downloadFormat>
</reportDefinition>

Is there anything wrong with the above request body?


HTTP Headers:
developerToken: xxxxxxxxxxxxxxxxxxx
clientCustomerId: xxx-xxx-xxx
Authorization: Bearer <accesstoken>
Content-Type: multipart/form-data; 

I am getting below error message. I've also tried using AWQL instead of XML 
for reportdefinition still it is returning same error.
Response Body: 
<HTML>
<HEAD>
<TITLE>Bad Request</TITLE>
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>Bad Request</H1>
<H2>Error 400</H2>
</BODY>
</HTML>


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/6f155be5-c757-4187-b55a-889c70cc9ef8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • ... Meghana Boddu
    • ... 'Luis Xander Talag (AdWords API Team)' via AdWords API and Google Ads API Forum

Reply via email to