ReportService returns empty reports in sandbox

7 views
Skip to first unread message

shaharsol

unread,
Aug 20, 2009, 9:15:59 AM8/20/09
to AdSense API Forum
No matter which reports I try to run, I get an empty result set.
Is it an error in my request or is there no data for the test account?

Request:

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/
envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:ns1="http://www.google.com/api/adsense/v3">
<SOAP-ENV:Header>
<ns1:developer_email>adsensed...@google.com</
ns1:developer_email>
<ns1:developer_password>Q6R3l6a483</ns1:developer_password>
<ns1:client_id>ca-pub-1744271982572164</ns1:client_id>
</SOAP-ENV:Header>
<SOAP-ENV:Body>
<ns1:generateReport>
<report xsi:type="ns1:AFCAggregateReport">
<dateRange>
<endDate xsi:nil="true"/>
<isPredefined>true</isPredefined>
<predefinedDateRange>
<value>AllTime</value>
</predefinedDateRange>
<startDate xsi:nil="true"/>
</dateRange>
<outputFormat>
<value>CSV_Excel</value>
</outputFormat>
<unit>
<value>Page</value>
</unit>
</report>
</ns1:generateReport>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>

Response:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/
envelope/">
<soapenv:Body>
<ns:generateReportResponse xmlns:ns="http://www.google.com/api/adsense/
v3">
<return>
<columnCount>0</columnCount>
<data></data>
<rowCount>0</rowCount>
</return>
</ns:generateReportResponse>
</soapenv:Body>
</soapenv:Envelope>

Google AdSense API Support Team

unread,
Aug 20, 2009, 3:49:27 PM8/20/09
to AdSense API Forum
Shaharsol,

Unfortunately, there is no reports data available for the test
publisher in the sandbox. We usually recommend that partners wait to
build a ReportService implementation until they are in the production
environment. Calls to this service are non-destructive, so there
shouldn't be anything to worry about.

Cheers,
Wes
AdSense API

On Aug 20, 9:15 am, shaharsol <sha...@triond.com> wrote:
> No matter which reports I try to run, I get an empty result set.
> Is it an error in my request or is there no data for the test account?
>
> Request:
>
> <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/
> envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xmlns:ns1="http://www.google.com/api/adsense/v3">
> <SOAP-ENV:Header>
> <ns1:developer_email>adsensedevelop...@google.com</
Reply all
Reply to author
Forward
0 new messages