问题描述
尝试使用v9获取报告,似乎永远不会完成。报告定义为:
Trying to fetch reports with v9, it seems to never finish. The report definition is:
<?xml version = \'1.0 \'encoding = \'UTF-8 \'?>< SOAP-ENV:Envelope xmlns:SOAP-ENV = \'http://schemas.xmlsoap.org/soap/envelope/\'xmlns:ns1 = \'https://bingads.microsoft.com/Reporting/v9 \'xmlns :ns2 = \'http://schemas.microsoft.com/2003/10/Serialization/Arrays\'
xmlns:xsi = \'http://www.w3.org/2001/XMLSchema -instance\'>< SOAP-ENV:页眉和GT;< NS1:DeveloperToken> X< / NS1:DeveloperToken>< NS1:AuthenticationToken> X< / NS1:AuthenticationToken>< / SOAP-ENV:页眉和GT; < SOAP-ENV:Body>< ns1:SubmitGenerateReportRequest>< ns1:ReportRequest
xsi:type = \'ns1:AccountPerformanceReportRequest \'>< ns1:Format> Xml< / ns1:Format> ;< NS1:汇聚>每周< / NS1:汇聚>< NS1:柱体和GT;< NS1:AccountPerformanceReportColumn> TIMEPERIOD< / NS1:AccountPerformanceReportColumn>< NS1:AccountPerformanceR eportColumn>曝光< / NS1:AccountPerformanceReportColumn>< NS1:AccountPerformanceReportColumn>点击< / NS1:AccountPerformanceReportColumn>< NS1:AccountPerformanceReportColumn>花< / NS1:AccountPerformanceReportColumn>< NS1:AccountPerformanceReportColumn>帐户名< / NS1:AccountPerformanceReportColumn>< / NS1:柱体和GT;< NS1:范围>< NS1:AccountIds>< NS2:长> X< / NS2:长>< / NS1:AccountIds>< / NS1:范围>< NS1:时间> < ns1:CustomDateRangeEnd>
&NBSP; &NBSP; &NBSP; < ns1:Day> 3< / ns1:Day>
&NBSP; &NBSP; &NBSP; < ns1:Month> 1< / ns1:Month>
&NBSP; &NBSP; &NBSP; < ns1:Year> 2016< / ns1:Year>
&NBSP; &NBSP; &NBSP; < / ns1:CustomDateRangeEnd>< ns1:CustomDateRangeStart>
&NBSP; &NBSP; &NBSP; < ns1:Day> 1< / ns1:Day>
&NBSP; &NBSP; &NBSP; < ns1:Month> 1< / ns1:Month>
&NBSP; &NBSP; &NBSP; < ns1:Year> 2016< / ns1:Year>
&NBSP; &NBSP; &NBSP; &NBSP;< / NS1:CustomDateRangeStart>< / NS1:时间>< / NS1:的ReportRequest>< / NS1:SubmitGenerateReportRequest>< / SOAP-ENV:身体与GT;< / SOAP-ENV:信封>
<?xml version=\'1.0\' encoding=\'UTF-8\'?><SOAP-ENV:Envelope xmlns:SOAP-ENV=\'http://schemas.xmlsoap.org/soap/envelope/\' xmlns:ns1=\'https://bingads.microsoft.com/Reporting/v9\' xmlns:ns2=\'http://schemas.microsoft.com/2003/10/Serialization/Arrays\' xmlns:xsi=\'http://www.w3.org/2001/XMLSchema-instance\'><SOAP-ENV:Header><ns1:DeveloperToken>X</ns1:DeveloperToken><ns1:AuthenticationToken>X</ns1:AuthenticationToken></SOAP-ENV:Header><SOAP-ENV:Body><ns1:SubmitGenerateReportRequest><ns1:ReportRequest xsi:type=\'ns1:AccountPerformanceReportRequest\'><ns1:Format>Xml</ns1:Format><ns1:Aggregation>Weekly</ns1:Aggregation><ns1:Columns><ns1:AccountPerformanceReportColumn>TimePeriod</ns1:AccountPerformanceReportColumn><ns1:AccountPerformanceReportColumn>Impressions</ns1:AccountPerformanceReportColumn><ns1:AccountPerformanceReportColumn>Clicks</ns1:AccountPerformanceReportColumn><ns1:AccountPerformanceReportColumn>Spend</ns1:AccountPerformanceReportColumn><ns1:AccountPerformanceReportColumn>AccountName</ns1:AccountPerformanceReportColumn></ns1:Columns><ns1:Scope><ns1:AccountIds><ns2:long>X</ns2:long></ns1:AccountIds></ns1:Scope><ns1:Time><ns1:CustomDateRangeEnd>
<ns1:Day>3</ns1:Day>
<ns1:Month>1</ns1:Month>
<ns1:Year>2016</ns1:Year>
</ns1:CustomDateRangeEnd><ns1:CustomDateRangeStart>
<ns1:Day>1</ns1:Day>
<ns1:Month>1</ns1:Month>
<ns1:Year>2016</ns1:Year>
</ns1:CustomDateRangeStart></ns1:Time></ns1:ReportRequest></ns1:SubmitGenerateReportRequest></SOAP-ENV:Body></SOAP-ENV:Envelope>
我收到一份报告ID:
< s:Envelope xmlns:s =" http://schemas.xmlsoap.org/soap/envelope /">< s:Header>< h:TrackingId xmlns:h =" https://guideads.microsoft.com/Reporting/v9"> 8862a743-c955-43de-9ac9-d9e4db2ded80< / h :TrackingId>< / s:Header>< s:Body>< SubmitGenerateReportResponse
xmlns =" https://guideads.microsoft.com/Reporting/v9">< ReportRequestId> X< / ReportRequestId>< / SubmitGenerateReportResponse>< / s:Body>< / s:Envelope>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"><s:Header><h:TrackingId xmlns:h="https://bingads.microsoft.com/Reporting/v9">8862a743-c955-43de-9ac9-d9e4db2ded80</h:TrackingId></s:Header><s:Body><SubmitGenerateReportResponse xmlns="https://bingads.microsoft.com/Reporting/v9"><ReportRequestId>X</ReportRequestId></SubmitGenerateReportResponse></s:Body></s:Envelope>
但无论我们重试多久,轮询此报告都会返回待处理状态:
But polling this report just returns Pending no matter how long we retry:
< s:Envelope xmlns:s =" http://schemas.xmlsoap.org/soap/envelope/">< s:Header>< h:TrackingId xmlns:h = QUOT; HTTPS://bingads.microsoft.com/Reporting/v9"> ff00a713-4707-494d- b0d2-54e1f8054012< / h:TrackingId>< / s:Header>< s:Body>< PollGenerateReportResponse
xmlns =" https://guideads.microsoft.com/Reporting/v9">< ; ReportRequestStatus xmlns:i =" http://www.w3.org/2001/XMLSchema-instance">< ReportDownloadUrl i:nil =" true" />< Status> Pending< / Status>< ; / ReportRequestStatus>< / PollGenerateReportResponse>< / s:Body>< / s:Envelope>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"><s:Header><h:TrackingId xmlns:h="https://bingads.microsoft.com/Reporting/v9">ff00a713-4707-494d-b0d2-54e1f8054012</h:TrackingId></s:Header><s:Body><PollGenerateReportResponse xmlns="https://bingads.microsoft.com/Reporting/v9"><ReportRequestStatus xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><ReportDownloadUrl i:nil="true"/><Status>Pending</Status></ReportRequestStatus></PollGenerateReportResponse></s:Body></s:Envelope>
推荐答案
我也可以重新发布这个问题,即每周汇总的账户业绩报告陷入待定,已达到向功能所有者请求ETA解决。作为一种解决方法,我将聚合从Weekly更改为Daily。
I can repro the issue also i.e. Account performance report with Weekly aggregation is stuck in Pending, and have reached out to the feature owners to request an ETA for resolution. As a workaround I changed the aggregation from Weekly to Daily.
感谢您的耐心等待,
Eric
这篇关于无限期报告的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!