Hi AdSense API Team
I think there is still a problem with generating performance reports
in the sandbox. I get the "Unable to resolve the 'client_id' header."
error when requesting reports for test publisher account ca-
pub-1744271982572164.
I would really appreciate if this could be fixed soon (and populated
with some relevant report data), so we could send our implementation
for review next week.
Thank you
Aleksandar
Here is an example REQUEST:
xmlns:ns1="
http://www.google.com/api/adsense/v3"
xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Header>
<ns1:developer_email SOAP-ENV:actor="http://
schemas.xmlsoap.org/soap/actor/next">
adsensed...@google.com</
ns1:developer_email>
<ns1:developer_password SOAP-ENV:actor="http://
schemas.xmlsoap.org/soap/actor/next">Q6R3l6a483</
ns1:developer_password>
<ns1:client_id SOAP-ENV:actor="
http://schemas.xmlsoap.org/soap/
actor/next">ca-pub-1744271982572164</ns1:client_id>
</SOAP-ENV:Header>
<SOAP-ENV:Body>
<ns1:generateReport>
<report xsi:type="ns1:AFCSiteReport">
<dateRange>
<endDate>
</endDate>
<isPredefined>true</isPredefined>
<predefinedDateRange>
<value>AllTime</value>
</predefinedDateRange>
<startDate>
</startDate>
</dateRange>
<outputFormat>
<value>CSV_Excel</value>
</outputFormat>
<unit>
<value>Page</value>
</unit>
</report>
</ns1:generateReport>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
RESPONSE:
<faultstring>Unable to resolve the 'client_id' header.</
faultstring>
<detail>
<axis2ns298:AdSenseApiExceptionFaultxmlns:axis2ns298="http://
www.google.com/api/adsense/v3">
<AdSenseApiException>
<code>106</code>
<internal>false</internal>
<message>Unable to resolve the 'client_id'
header.</message>
<trigger>
</trigger>
<triggerDetails>
</triggerDetails>
</AdSenseApiException>
</axis2ns298:AdSenseApiExceptionFault>