Invalid version for use with report XML ??

152 views
Skip to first unread message

Roy Yu

unread,
Mar 11, 2016, 8:57:10 AM3/11/16
to AdWords API Forum
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
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

Anthony Madrigal

unread,
Mar 11, 2016, 3:51:09 PM3/11/16
to AdWords API Forum
Hi,

The reason you are getting this error is because you are using AdWords API v201502, which was deprecated last year. Once you migrate to v201601, you should not get this error.

Cheers,
Anthony
AdWords API Team
Reply all
Reply to author
Forward
0 new messages