header error

0 views
Skip to first unread message

seeman

unread,
Aug 3, 2009, 3:25:37 PM8/3/09
to AdSense API Forum, seem...@gmail.com
All sandbox requests return header errors "Login with this username/
password failed" or "The specified account has been blocked due to
excessive failed logins." for account:
developer_email: adsensed...@google.com
developer_password: Q6R3l6a483

For example:

Request
<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:si="http://soapinterop.org/xsd"
xmlns:ns0="http://www.google.com/api/adsense/v3">
<SOAP-ENV:Header>
<developer_email>adsensed...@google.com
</developer_email>
<developer_password>Q6R3l6a483
</developer_password>
<client_id>NOT RELEVANT
</client_id>
</SOAP-ENV:Header>
<SOAP-ENV:Body>
<ns1:createAccount
xmlns:ns1="http://www.google.com/api/adsense/v3">
<loginEmail>somen...@example.com
</loginEmail>
<entityType>
<value>Individual
</value>
</entityType>
<websiteUrl>http://test.newste.com
</websiteUrl>
<websiteLocale>en
</websiteLocale>
<usersPreferredLocale>en_US
</usersPreferredLocale>
<emailPromotionPreferences>true
</emailPromotionPreferences>
<synServiceTypes>
<value>ContentAds
</value>
</synServiceTypes>
<developerUrl>code.google.com
</developerUrl>
</ns1:createAccount>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>

Response:
<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Body>
<soapenv:Fault>
<faultcode>soapenv:Server.userException
</faultcode>
<faultstring>Login with this username/password failed.
</faultstring>
<detail>
<axis2ns1564:AdSenseApiExceptionFault
xmlns:axis2ns1564="http://www.google.com/api/adsense/v3">
<AdSenseApiException>
<code>110
</code>
<internal>false
</internal>
<message>Login with this username/password failed.
</message>
<trigger>
</trigger>
<triggerDetails>
</triggerDetails>
</AdSenseApiException>
</axis2ns1564:AdSenseApiExceptionFault>
</detail>
</soapenv:Fault>
</soapenv:Body>
</soapenv:Envelope>

Could you, please help me to find a solution for this problem?

Ricky

unread,
Aug 4, 2009, 7:57:58 AM8/4/09
to AdSense API Forum
We have exactly the same problem. We would like to send a request for
approval this week, so a solution to this problem would we greatly
appreciated.

Google AdSense API Support Team

unread,
Aug 4, 2009, 4:54:27 PM8/4/09
to AdSense API Forum
Hi all,

I believe these errors are symptomatic of our monthly sandbox database
flip, but I'll need Wes to confirm. Unfortunately, he's out of the
office until Thursday; if I can find someone to fill in for him and
get things back up before then, I'll be sure to post an update.

Sorry for the inconvenience.

Thanks,

Ryan
Google AdSense API

Google AdSense API Support Team

unread,
Aug 6, 2009, 11:12:37 PM8/6/09
to AdSense API Forum
Apologies guys, Ryan was correct: the sandbox was cleaned while I was
away. I've repopulated it, and everything should now be working as it
used to. Please let me know if you encounter any additional issues.

Cheers,
Wes
AdSense API

On Aug 4, 1:54 pm, Google AdSense API Support Team <adsenseapi-

Aleksandar

unread,
Aug 7, 2009, 5:57:33 AM8/7/09
to AdSense API Forum
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:

<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
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:

<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Body>
<soapenv:Fault>
<faultcode>soapenv:Server.userException</faultcode>
<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>
Reply all
Reply to author
Forward
0 new messages