Issue associating adsense publisher account in sandbox

2 views
Skip to first unread message

Vinu

unread,
Nov 13, 2009, 4:36:56 AM11/13/09
to AdSense API Forum
The code for associating accounts is returning error in sandbox
environment.

The issue is as follows:


When we create new publisher accounts in sandbox we are not setting
zipcode and phone number.
Also in sandbox no email goes out to created publisher's email for him
to submit zipcode and phone number.

So how is it possible to associate accounts without giving zip code
and phone number 5 digits?
The code for association is passing zipcode and phone number.Whenever
I give blank values or some values its giving error.
Fault: 1
Code: soapenv:Server.userException
String: The account corresponding to the specified client email
address does not match with the provided zipcode or telephone number.

Is there any default values for these fields ?

What is the solution for this ?

.

Google AdSense API Support Team

unread,
Nov 17, 2009, 7:06:56 PM11/17/09
to AdSense API Forum
Vinu,

We have a set of special debugging request headers you can use in the
sandbox for testing this functionality (see
http://code.google.com/apis/adsense/developer/adsense_api_sandbox.html#requestheader
for details).

You'll want to specify these extra three SOAP headers when issuing
your createAccount request (setting debug_association_type to
NotAssociated and the others to whatever values you want). That sets
up an account on our end with the specified data. Afterwards, you
should be able to call associateAccount with the postal code or phone
number that you set.

Cheers,
Wes

DAMIEN TOROC-POW

unread,
Dec 29, 2009, 3:36:07 PM12/29/09
to adsen...@googlegroups.com
Hello
 
I don't know my Goggle ID #, I Need it for my new web site.
My zip code is 10019
 
 

--

You received this message because you are subscribed to the Google Groups "AdSense API Forum" group.
To post to this group, send email to adsen...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/adsense-api?hl=.



Kim Gormley

unread,
Dec 29, 2009, 5:10:34 PM12/29/09
to adsen...@googlegroups.com
Go to your adsense account and click on adsense setup, then account tab and scroll to bottom. This will show your ID

To unsubscribe from this group, send email to adsense-api...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/adsense-api?hl=en.

Reply all
Reply to author
Forward
0 new messages