My favorites | Sign in
Project Home Downloads Wiki Issues Source
Checkout   Browse   Changes    
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope
SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/1999/XMLSchema"
>
<SOAP-ENV:Header>
<developer_email xsi:type="xsd:string" SOAP-ENC:root="1">INSERT_DEVELOPER_EMAIL_HERE</developer_email>
<display_locale xsi:type="xsd:string" SOAP-ENC:root="1">en_US</display_locale>
<developer_password xsi:type="xsd:string" SOAP-ENC:root="1">INSERT_PASSWORD_HERE</developer_password>
</SOAP-ENV:Header>
<SOAP-ENV:Body>
<ns1:createAccount xmlns:ns1="http://www.google.com/api/adsense/v3" SOAP-ENC:root="1">
<loginEmail>INSERT_PUBLISHER_EMAIL_HERE</loginEmail>
<entityType>
<value xsi:type="xsd:string">Individual</value>
</entityType>
<websiteUrl>INSERT_PUBLISHER_URL_HERE</websiteUrl>
<websiteLocale>en</websiteLocale>
<usersPreferredLocale>en_US</usersPreferredLocale>
<emailPromotionsPreference>true</emailPromotionsPreference>
<synServiceTypes>
<value xsi:type="xsd:string">ContentAds</value>
</synServiceTypes>
<developerUrl>INSERT_DEVELOPER_URL_HERE</developerUrl>
</ns1:createAccount>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>

Change log

r3 by api.wes on Jul 23, 2009   Diff
emailPromotionPreferences->emailPromotions
Preference to be consistent with wsdl
Go to: 
Project members, sign in to write a code review

Older revisions

r2 by api.wes on Oct 20, 2008   Diff
Added initial v3 xml samples
All revisions of this file

File info

Size: 1363 bytes, 30 lines
Powered by Google Project Hosting