Hello Team,
These are the steps i am following
*
1. I have created one account by passing the following values (the
publisher id for this is ca-pub-1744271982572164 )*
Following is the xml
*Request*
POST /api/adsense/v2/ReportService HTTP/1.0
Host:
sandbox.google.com
User-Agent: NuSOAP/0.7.3 (1.114)
Content-Type: text/xml; charset=UTF-8
SOAPAction: ""
Content-Length: 955
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope
xmlns:SOAP-ENV="
http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="
http://www.w3.org/2001/XMLSchema"
xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance"
xmlns:SOAP-ENC="
http://schemas.xmlsoap.org/soap/encoding/"
xmlns:impl="
http://www.google.com/api/adsense/v2">
<SOAP-ENV:Header>
<developer_email>
adsensed...@google.com
</developer_email>
<developer_password>Q6R3l6a483
</developer_password>
<client_id>ca-pub-1744271982572164
</client_id>
</SOAP-ENV:Header>
<SOAP-ENV:Body>
<generateReport>
<report xsi:type="ns4:AFCAggregateReport"
xmlns:ns4="
http://www.google.com/api/adsense/v2">
<dateRange>
<startDate>2005-11-11T08:00:00.000Z
</startDate>
<endDate>2009-11-26T08:00:00.000Z
</endDate>
<isPredefined>false
</isPredefined>
<predefinedDateRange>AllTime
</predefinedDateRange>
</dateRange>
<outputFormat>CSV_Excel
</outputFormat>
<unit>Page
</unit>
</report>
</generateReport>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Response
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Transfer-Encoding: chunked
Date: Fri, 27 Nov 2009 23:38:59 GMT
Expires: Fri, 27 Nov 2009 23:38:59 GMT
Cache-Control: private, max-age=0
X-Content-Type-Options: nosniff
X-XSS-Protection: 0
X-Frame-Options: SAMEORIGIN
Server: GFE/2.0
<soapenv:Envelope
xmlns:soapenv="
http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="
http://www.w3.org/2001/XMLSchema"
xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body>
<generateReportResponse
xmlns="">
<ns1:generateReportReturn
xmlns:ns1="
http://www.google.com/api/adsense/v2">
<ns1:columnCount>0
</ns1:columnCount>
<ns1:data>
</ns1:data>
<ns1:rowCount>0
</ns1:rowCount>
</ns1:generateReportReturn>
</generateReportResponse>
</soapenv:Body>
</soapenv:Envelope>