I'm new to AdWordsAPI and how do I know what is wrong with my request ?? I
put the logging, but don't know what is wrong here.
I only know it is 400 and it said "Invalid version for use with report
XML", but what to do next ??
Any help is appreciated.
POST /api/adwords/reportdownload/v201502 HTTP/1.1
User-Agent: curl, gzip
Host: adwords.google.com
Accept: */*
Accept-Encoding: gzip
Authorization: Bearer ya29.ogK7VE1R0zsd_21CljV7L4wNpkeZkk9XX18m6T14cxxxx-xxx
developerToken: some-token-xxx
clientCustomerId: xxx-xxx-xxxx
skipReportHeader: true
skipReportSummary: true
X-NewRelic-ID: VQcPVF5bGwoBU1JaDgY=
X-NewRelic-Transaction: PxRTVgMBWQcJAQQHBwkEVQcHFB8EBw8RVT8=
Content-Length: 582
Expect: 100-continue
Content-Type: multipart/form-data;
boundary=------------------------c5b963b61c100061
Parameters:
__rdxml: <?xml version="1.0"?>
<reportDefinition>
<selector>
<fields>Impressions</fields>
<fields>Clicks</fields>
<fields>Cost</fields>
</selector>
<reportName>Criteria performance report #56e25abec118a</reportName>
<reportType>CRITERIA_PERFORMANCE_REPORT</reportType>
<dateRangeType>LAST_7_DAYS</dateRangeType>
<downloadFormat>CSV</downloadFormat>
<includeZeroImpressions>false</includeZeroImpressions>
</reportDefinition>
Response Code: 400
Error Message: Invalid version for use with report XML
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
You received this message because you are subscribed to the Google
Groups "AdWords 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 Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
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/67905a0e-79bf-4758-bc7b-bf80090fc0fb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.