【问题标题】:Google AdWords api - Invalid version for use with report XMLGoogle AdWords api - 用于报告 XML 的版本无效
【发布时间】:2016-03-15 18:55:44
【问题描述】:

我是 AdWords API 的新手,我怎么知道我的请求有什么问题?我放了日志,但不知道这里出了什么问题。

我只知道它是 400,它说“与报告 XML 一起使用的版本无效”,但接下来该怎么办??

以下来自调试日志

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>

响应代码:400 错误消息:与报告 XML 一起使用的版本无效

我有点忘记我的请求有什么问题,我们将不胜感激。

谢谢

【问题讨论】:

    标签: google-ads-api


    【解决方案1】:

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多