"five sandbox client accounts are automatically created" - HOW?

50 views
Skip to first unread message

purdue512

unread,
Jan 5, 2009, 6:25:26 PM1/5/09
to AdWords API Forum
Your instructions for getting an Adwords account up and running in the
sandbox say:

"When you first access a web service in the sandbox, five sandbox
client accounts are automatically created for you. You can work with
these client accounts by setting the clientEmail header
appropriately."

I seem to be accessing the sandbox just fine as my request for
accounts comes back with an empty array. When I try to build a
campaign using CampaignService.addCampaign, yoru web service says:

faultString: Client managers cannot have campaigns of their own.

I'm assuming that I need to be using one of the 5 sandbox client
accounts that are automatically created for me when I first access the
sandbox. Where are those? How do I get to that information?

Thx

p.s. Someone else said something about getting a sandbox account
"approved". I did not see anything related to that process in your
sandbox instructions. It only says you need to have an active Google
account...

purdue512

unread,
Jan 5, 2009, 6:41:56 PM1/5/09
to AdWords API Forum
I also found the following posted elsewhere. This doesn't exactly
clear it up for me. Will the 5 sub-accounts be emailed to me or is
there a call to see them? I can't find any reference to this
anywhere..

Many thanks.


Patrick Chanezon Aug 17, 2006

I'm sorry about all the issues you encountered.

There is one missing warning in the documentation: the client_1 to 5
subaccounts are created in the sandbox only after your first
successful
call.
So if you first call contains a clientEmail header it fails.
But after you made a successful first call (for example getting the
amount
of free quota), the accounts have been created and then you can make
calls
using clientEmail headers.

I just tried it out and it works fine.
I guess the reason it worked last week was that you had made a first
call
without this header.
These accounts are cleaned up from the sandbox regularly.

P@

AdWords API Advisor

unread,
Jan 6, 2009, 11:14:19 AM1/6/09
to AdWords API Forum
Hello,

Here's the full process:

1. Create a new GMail account (or use an existing GMail account, but
it's nice to keep things separate)
2. Make a getClientAccounts() call to the Sandbox with the following
headers set:
email: address of the GMail account
password: password of the GMail account
useragent: set to any identifying string
developerToken: set to the value for email, with the string '+
+USD' (or the currency code of your choice) appended
applicationToken: ignored, and could be set to anything or left out
clientEmail: should be set either to the empty string or left out
2a. Making this call is what creates the 5 client accounts in the
Sandbox's datastore. The accounts are named client_1+[email] through
client_5+[email].
3. For all future Sandbox calls, set the headers as mentioned in step
2, with one change: include a clientEmail header with the value set to
client_n+[email], e.g. 'client_1...@gmail.com'.

Whenever the Sandbox's datastore is refreshed, the client accounts
are wiped out and you'd need to start from step 2 to recreate them.
Sandbox refreshes happen about once a month.

Cheers,
-Jeff Posnick, AdWords API Team

purdue512

unread,
Jan 6, 2009, 4:34:13 PM1/6/09
to AdWords API Forum
WOW - That's really helpful. Thanks.

It worked. Now I see my trial accounts.

This should be on your "Getting Started" instructions.

The part about the clientEmail header is nowhere to be found (unless I
missed it).



On Jan 6, 11:14 am, AdWords API Advisor <adwordsapiadvi...@google.com>
wrote:
> Hello,
>
>  Here's the full process:
>
> 1. Create a new GMail account (or use an existing GMail account, but
> it's nice to keep things separate)
> 2. Make a getClientAccounts() call to the Sandbox with the following
> headers set:
>   email: address of the GMail account
>   password: password of the GMail account
>   useragent: set to any identifying string
>   developerToken: set to the value for email, with the string '+
> +USD' (or the currency code of your choice) appended
>   applicationToken: ignored, and could be set to anything or left out
>   clientEmail: should be set either to the empty string or left out
> 2a. Making this call is what creates the 5 client accounts in the
> Sandbox's datastore. The accounts are named client_1+[email] through
> client_5+[email].
> 3. For all future Sandbox calls, set the headers as mentioned in step
> 2, with one change: include a clientEmail header with the value set to
> client_n+[email], e.g. 'client_1+exam...@gmail.com'.

PSPL Noida

unread,
Jan 7, 2009, 4:18:10 AM1/7/09
to AdWords API Forum
I still getting exception.....


i have used credentials as:
email= pspl...@gmail.com
password= *******
developerToken= pspl...@gmail.com++INR
applicationToken= akjenskamlskdjaklsmnkl
useragent= INSERT_COMPANY_NAME
clientEmail= client_1+...@gmail.com
alternateUrl= https://sandbox.google.com


Error:

Exception in thread "main" AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}
Server.userException
faultSubcode:
faultString: Client managers cannot have campaigns of their own.
faultActor:
faultNode:
faultDetail:
{https://adwords.google.com/api/adwords/v12}fault:
<ns1:code>138</ns1:code>

<ns1:message>Client managers cannot have campaigns of their
own.</ns1:message>



Client managers cannot have campaigns of their own.
at sun.reflect.NativeConstructorAccessorImpl.newInstance0
(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance
(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance
(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:
494)
at java.lang.Class.newInstance0(Class.java:350)
at java.lang.Class.newInstance(Class.java:303)
at org.apache.axis.encoding.ser.BeanDeserializer.<init>
(BeanDeserializer.java:104)
at org.apache.axis.encoding.ser.BeanDeserializer.<init>
(BeanDeserializer.java:90)
at com.google.api.adwords.v12.ApiException.getDeserializer
(ApiException.java:264)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at
org.apache.axis.encoding.ser.BaseDeserializerFactory.getSpecialized
(BaseDeserializerFactory.java:154)
at
org.apache.axis.encoding.ser.BaseDeserializerFactory.getDeserializerAs
(BaseDeserializerFactory.java:84)
at
org.apache.axis.encoding.DeserializationContext.getDeserializer
(DeserializationContext.java:464)
at
org.apache.axis.encoding.DeserializationContext.getDeserializerForType
(DeserializationContext.java:547)
at org.apache.axis.message.SOAPFaultDetailsBuilder.onStartChild
(SOAPFaultDetailsBuilder.java:157)
at org.apache.axis.encoding.DeserializationContext.startElement
(DeserializationContext.java:1035)
at
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement
(AbstractSAXParser.java:533)
at
com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement
(XMLNSDocumentScannerImpl.java:330)
at
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl
$FragmentContentDispatcher.dispatch
(XMLDocumentFragmentScannerImpl.java:1693)
at
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument
(XMLDocumentFragmentScannerImpl.java:368)
at
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse
(XML11Configuration.java:834)
at
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse
(XML11Configuration.java:764)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse
(XMLParser.java:148)
at
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse
(AbstractSAXParser.java:1242)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:375)
at org.apache.axis.encoding.DeserializationContext.parse
(DeserializationContext.java:227)
at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:
696)
at org.apache.axis.Message.getSOAPEnvelope(Message.java:424)
at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke
(MustUnderstandChecker.java:62)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:
206)
at org.apache.axis.client.Call.invokeEngine(Call.java:2765)
at org.apache.axis.client.Call.invoke(Call.java:2748)
at org.apache.axis.client.Call.invoke(Call.java:2424)
at org.apache.axis.client.Call.invoke(Call.java:2347)
at org.apache.axis.client.Call.invoke(Call.java:1804)
at
com.google.api.adwords.v12.CampaignServiceSoapBindingStub.addCampaign_aroundBody0
(CampaignServiceSoapBindingStub.java:514)
at
com.google.api.adwords.v12.CampaignServiceSoapBindingStub.addCampaign_aroundBody1$advice
(CampaignServiceSoapBindingStub.java:142)
at
com.google.api.adwords.v12.CampaignServiceSoapBindingStub.addCampaign
(CampaignServiceSoapBindingStub.java:1)
at example.CampaignServiceDemo.main(CampaignServiceDemo.java:
89)
Java Result: 1
BUILD SUCCESSFUL (total time: 4 seconds)

AdWords API Advisor

unread,
Jan 7, 2009, 11:28:34 AM1/7/09
to AdWords API Forum, PSPL Noida
Hello,

I don't have any other potential cause for that error other than not
including a clientEmail header in your addCampaign() request. I know
that you say your credentials are set up to include that header, but
if your credentials are being read from an external file, are you sure
that you're editing the right copy of that file? Can you log your
outgoing SOAP messages and take a look at exactly which headers are
being set?

Cheers,
-Jeff Posnick, AdWords API Team


On Jan 7, 4:18 am, PSPL Noida <pspl...@gmail.com> wrote:
> I still getting exception.....
>
> i have used credentials as:
> email= pspl...@gmail.com
>           password= *******
>   developerToken= pspl...@gmail.com++INR
>  applicationToken= akjenskamlskdjaklsmnkl
> useragent= INSERT_COMPANY_NAME
> clientEmail= client_1+...@gmail.com
> alternateUrl=https://sandbox.google.com

square

unread,
Jan 29, 2009, 3:41:58 AM1/29/09
to AdWords API Forum
Please look into requestId=71afca10d39ccda1c1bf8571fc67f504 in
sandbox. Thanks.

<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:Header>
<responseTime soapenv:actor="http://schemas.xmlsoap.org/soap/actor/
next" soapenv:mustUnderstand="0" xmlns="https://adwords.google.com/api/
adwords/v13">24</responseTime>
<operations soapenv:actor="http://schemas.xmlsoap.org/soap/actor/
next" soapenv:mustUnderstand="0" xmlns="https://adwords.google.com/api/
adwords/v13">1</operations>
<units soapenv:actor="http://schemas.xmlsoap.org/soap/actor/next"
soapenv:mustUnderstand="0" xmlns="https://adwords.google.com/api/
adwords/v13">1</units>
<requestId soapenv:actor="http://schemas.xmlsoap.org/soap/actor/
next" soapenv:mustUnderstand="0" xmlns="https://adwords.google.com/api/
adwords/v13">71afca10d39ccda1c1bf8571fc67f504</requestId>
</soapenv:Header>
<soapenv:Body>
<soapenv:Fault>
<faultcode>soapenv:Server.userException</faultcode>
<faultstring>Client managers cannot have campaigns of their own.</
faultstring>
<detail>
<ns1:fault xmlns:ns1="https://adwords.google.com/api/adwords/
v13">
<ns1:code>138</ns1:code>
<ns1:message>Client managers cannot have campaigns of their
own.</ns1:message>
</ns1:fault>
</detail>
</soapenv:Fault>
</soapenv:Body>
</soapenv:Envelope>


On Jan 7, 8:28 am, AdWords API Advisor <adwordsapiadvi...@google.com>
wrote:
> Hello,
>
>  I don't have any other potential cause for that error other than not
> including a clientEmail header in your addCampaign() request. I know
> that you say your credentials are set up to include that header, but
> if your credentials are being read from an external file, are you sure
> that you're editing the right copy of that file? Can you log your
> outgoing SOAP messages and take a look at exactly which headers are
> being set?
>
> Cheers,
> -Jeff Posnick, AdWords API Team
>
> On Jan 7, 4:18 am, PSPL Noida <psplno...@gmail.com> wrote:> I still getting exception.....
>
> > i have used credentials as:
> > email= psplno...@gmail.com
> >           password= *******
> >   developerToken= psplno...@gmail.com++INR
> >  applicationToken= akjenskamlskdjaklsmnkl
> > useragent= INSERT_COMPANY_NAME
> > clientEmail= client_1+psplno...@gmail.com

AdWords API Advisor

unread,
Jan 29, 2009, 11:29:16 AM1/29/09
to AdWords API Forum
Hello,

I unfortunately don't have a straightforward way of looking up
Sandbox requests based solely on the request id. Could you please take
a look at the actual SOAP request XML and check to make sure that
there is both an "email" and "clientEmail" header set, and that
they're set to the values you expect?

Cheers,
-Jeff Posnick, AdWords API Team


> ...
>
> read more »

square

unread,
Jan 29, 2009, 11:45:29 PM1/29/09
to AdWords API Forum

Pasting both request and response. Please note the response is
<faultstring>Client managers cannot have campaigns of their own.</
faultstring> while the request includes <clientemail xmlns="https://
adwords.google.com/api/adwords/v13">client_1...@gmail.com</
clientemail>

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/
envelope/"><soap:Header><developerToken xmlns="https://
adwords.google.com/api/adwords/v13">test...@gmail.com++USD</
developerToken><password xmlns="https://adwords.google.com/api/adwords/
v13">XXXXXXXX</password><clientemail xmlns="https://adwords.google.com/
api/adwords/v13">client_1...@gmail.com</
clientemail><applicatinToken xmlns="https://adwords.google.com/api/
adwords/v13">AAAAAAAA</applicatinToken><clientCustomerId
xmlns="https://adwords.google.com/api/adwords/v13" /><useragent
xmlns="https://adwords.google.com/api/adwords/v13">google adwords for
SEM</useragent><email xmlns="https://adwords.google.com/api/adwords/
v13">test...@gmail.com</email></
soap:Header><soap:Body><addCampaignList xmlns="https://
adwords.google.com/api/adwords/
v13"><campaigns><budgetAmount>1000000000</
budgetAmount><budgetOptimizerSettings xmlns:xsi="http://www.w3.org/
2001/XMLSchema-instance" xsi:nil="true"/><budgetPeriod>Monthly</
budgetPeriod><contentTargeting xmlns:xsi="http://www.w3.org/2001/
XMLSchema-instance" xsi:nil="true"/><geoTargeting xmlns:xsi="http://
www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/><id>0</
id><languageTargeting xmlns:xsi="http://www.w3.org/2001/XMLSchema-
instance" xsi:nil="true"/><name>campaignclie...@gmail.com00</
name><networkTargeting xmlns:xsi="http://www.w3.org/2001/XMLSchema-
instance" xsi:nil="true"/><schedule><status>Enabled</status></
schedule><status xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:nil="true"/></campaigns><campaigns><budgetAmount>1000000000</
budgetAmount><budgetOptimizerSettings xmlns:xsi="http://www.w3.org/
2001/XMLSchema-instance" xsi:nil="true"/><budgetPeriod>Monthly</
budgetPeriod><contentTargeting xmlns:xsi="http://www.w3.org/2001/
XMLSchema-instance" xsi:nil="true"/><geoTargeting xmlns:xsi="http://
www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/><id>0</
id><languageTargeting xmlns:xsi="http://www.w3.org/2001/XMLSchema-
instance" xsi:nil="true"/><name>campaignclie...@gmail.com01</
name><networkTargeting xmlns:xsi="http://www.w3.org/2001/XMLSchema-
instance" xsi:nil="true"/><schedule><status>Enabled</status></
schedule><status xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:nil="true"/></campaigns><campaigns><budgetAmount>1000000000</
budgetAmount><budgetOptimizerSettings xmlns:xsi="http://www.w3.org/
2001/XMLSchema-instance" xsi:nil="true"/><budgetPeriod>Monthly</
budgetPeriod><contentTargeting xmlns:xsi="http://www.w3.org/2001/
XMLSchema-instance" xsi:nil="true"/><geoTargeting xmlns:xsi="http://
www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/><id>0</
id><languageTargeting xmlns:xsi="http://www.w3.org/2001/XMLSchema-
instance" xsi:nil="true"/><name>campaignclie...@gmail.com02</
name><networkTargeting xmlns:xsi="http://www.w3.org/2001/XMLSchema-
instance" xsi:nil="true"/><schedule><status>Enabled</status></
schedule><status xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:nil="true"/></campaigns></addCampaignList></soap:Body></
soap:Envelope>

<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:Header>
<responseTime soapenv:actor="http://schemas.xmlsoap.org/soap/actor/
next" soapenv:mustUnderstand="0" xmlns="https://adwords.google.com/api/
adwords/v13">21</responseTime>
<operations soapenv:actor="http://schemas.xmlsoap.org/soap/actor/
next" soapenv:mustUnderstand="0" xmlns="https://adwords.google.com/api/
adwords/v13">1</operations>
<units soapenv:actor="http://schemas.xmlsoap.org/soap/actor/next"
soapenv:mustUnderstand="0" xmlns="https://adwords.google.com/api/
adwords/v13">1</units>
<requestId soapenv:actor="http://schemas.xmlsoap.org/soap/actor/
next" soapenv:mustUnderstand="0" xmlns="https://adwords.google.com/api/
adwords/v13">eb966155b519c98cce277d55e6d6d071</requestId>
</soapenv:Header>
<soapenv:Body>
<soapenv:Fault>
<faultcode>soapenv:Server.userException</faultcode>

<faultstring>Client managers cannot have campaigns of their own.</
faultstring>

<detail>
<ns1:fault xmlns:ns1="https://adwords.google.com/api/adwords/
v13">
<ns1:code>138</ns1:code>

<ns1:message>Client managers cannot have campaigns of their
own.</ns1:message>

</ns1:fault>

</detail>

</soapenv:Fault>
</soapenv:Body>
</soapenv:Envelope>


On Jan 29, 8:29 am, AdWords API Advisor <adwordsapiadvi...@google.com>
wrote:
> Hello,
>

AdWords API Advisor

unread,
Jan 30, 2009, 11:04:05 AM1/30/09
to AdWords API Forum
Hello,

You have two errors in your headers. "applicatinToken" should be
"applicationToken". More to the point, "clientemail" should be
"clientEmail". If you take care of the capitalization error then the
clientEmail header should be recognized.

Cheers,
-Jeff Posnick, AdWords API Team


On Jan 29, 11:45 pm, square <testr...@gmail.com> wrote:
> Pasting both request and response. Please note the response is
> <faultstring>Client managers cannot have campaigns of their own.</
> faultstring> while the request includes <clientemail xmlns="https://
> adwords.google.com/api/adwords/v13">client_1+testr...@gmail.com</
> clientemail>
>
> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/
> envelope/"><soap:Header><developerToken xmlns="https://
> adwords.google.com/api/adwords/v13">testr...@gmail.com++USD</
> developerToken><password xmlns="https://adwords.google.com/api/adwords/
> v13">XXXXXXXX</password><clientemail xmlns="https://adwords.google.com/
> api/adwords/v13">client_1+testr...@gmail.com</
> clientemail><applicatinToken xmlns="https://adwords.google.com/api/
> adwords/v13">AAAAAAAA</applicatinToken><clientCustomerId
> xmlns="https://adwords.google.com/api/adwords/v13" /><useragent
> xmlns="https://adwords.google.com/api/adwords/v13">google adwords for
> SEM</useragent><email xmlns="https://adwords.google.com/api/adwords/
> v13">testr...@gmail.com</email></
> soap:Header><soap:Body><addCampaignList xmlns="https://
> adwords.google.com/api/adwords/
> v13"><campaigns><budgetAmount>1000000000</
> budgetAmount><budgetOptimizerSettings xmlns:xsi="http://www.w3.org/
> 2001/XMLSchema-instance" xsi:nil="true"/><budgetPeriod>Monthly</
> budgetPeriod><contentTargeting xmlns:xsi="http://www.w3.org/2001/
> XMLSchema-instance" xsi:nil="true"/><geoTargeting xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/><id>0</
> id><languageTargeting xmlns:xsi="http://www.w3.org/2001/XMLSchema-
> instance" xsi:nil="true"/><name>campaignclient_1+testr...@gmail.com00</
> name><networkTargeting xmlns:xsi="http://www.w3.org/2001/XMLSchema-
> instance" xsi:nil="true"/><schedule><status>Enabled</status></
> schedule><status xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xsi:nil="true"/></campaigns><campaigns><budgetAmount>1000000000</
> budgetAmount><budgetOptimizerSettings xmlns:xsi="http://www.w3.org/
> 2001/XMLSchema-instance" xsi:nil="true"/><budgetPeriod>Monthly</
> budgetPeriod><contentTargeting xmlns:xsi="http://www.w3.org/2001/
> XMLSchema-instance" xsi:nil="true"/><geoTargeting xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/><id>0</
> id><languageTargeting xmlns:xsi="http://www.w3.org/2001/XMLSchema-
> instance" xsi:nil="true"/><name>campaignclient_1+testr...@gmail.com01</
> name><networkTargeting xmlns:xsi="http://www.w3.org/2001/XMLSchema-
> instance" xsi:nil="true"/><schedule><status>Enabled</status></
> schedule><status xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xsi:nil="true"/></campaigns><campaigns><budgetAmount>1000000000</
> budgetAmount><budgetOptimizerSettings xmlns:xsi="http://www.w3.org/
> 2001/XMLSchema-instance" xsi:nil="true"/><budgetPeriod>Monthly</
> budgetPeriod><contentTargeting xmlns:xsi="http://www.w3.org/2001/
> XMLSchema-instance" xsi:nil="true"/><geoTargeting xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/><id>0</
> id><languageTargeting xmlns:xsi="http://www.w3.org/2001/XMLSchema-
> instance" xsi:nil="true"/><name>campaignclient_1+testr...@gmail.com02</

Peer Jakobsen (AdWords API Guru)

unread,
Feb 2, 2009, 8:21:56 PM2/2/09
to AdWords API Forum
Hi Jeff,

Our old sandbox account started behaving the way described above. So I
followed your advice and created a new one, but I still see the
"internal error" message for some SOAP calls like adding a campaign.
Our test scripts ran just fine last Friday, so I think something weird
is going on in the sandbox. Here follows a SOAP call that works, and a
second one that does not work.

SOAP call that works:
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Header>
<applicationToken xmlns="https://adwords.google.com/api/adwords/
v13">xxx</applicationToken>
<clientEmail xmlns="https://adwords.google.com/api/adwords/
v13">client_1+s...@esearchvision.com</clientEmail>
<developerToken xmlns="https://adwords.google.com/api/adwords/
v13">synchr...@esearchvision.com++EUR</developerToken>
<email xmlns="https://adwords.google.com/api/adwords/
v13">synchr...@esearchvision.com</email>
<password xmlns="https://adwords.google.com/api/adwords/v13">xxx</
password>
<useragent xmlns="https://adwords.google.com/api/adwords/
v13">eSearchVision</useragent>
</soap:Header>
<soap:Body>
<getAccountInfo xmlns="https://adwords.google.com/api/adwords/v13" /
>
</soap:Body>
</soap:Envelope>

SOAP call that gives "internal error" message.:
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Header>
<applicationToken xmlns="https://adwords.google.com/api/adwords/
v13">xxx</applicationToken>
<clientEmail xmlns="https://adwords.google.com/api/adwords/
v13">client_1+s...@esearchvision.com</clientEmail>
<developerToken xmlns="https://adwords.google.com/api/adwords/
v13">synchr...@esearchvision.com++EUR</developerToken>
<email xmlns="https://adwords.google.com/api/adwords/
v13">synchr...@esearchvision.com</email>
<password xmlns="https://adwords.google.com/api/adwords/v13">xxx</
password>
<useragent xmlns="https://adwords.google.com/api/adwords/
v13">eSearchVision</useragent>
</soap:Header>
<soap:Body>
<addCampaign xmlns="https://adwords.google.com/api/adwords/v13">
<campaign>
<budgetAmount>10000000</budgetAmount>
<budgetOptimizerSettings xsi:nil="true" />
<budgetPeriod>Daily</budgetPeriod>
<contentTargeting>AllPlacements</contentTargeting>
<endDay>2037-12-30</endDay>
<geoTargeting>
<cityTargets />
<countryTargets />
<metroTargets />
<proximityTargets />
<regionTargets />
<targetAll>true</targetAll>
</geoTargeting>
<id>0</id>
<languageTargeting xsi:nil="true" />
<name>310.GOOG</name>
<networkTargeting xsi:nil="true" />
<schedule xsi:nil="true" />
<startDay>2009-02-02</startDay>
<status>Active</status>
</campaign>
</addCampaign>
</soap:Body>
</soap:Envelope>


Thanks

AdWords API Advisor

unread,
Feb 3, 2009, 12:59:31 PM2/3/09
to AdWords API Forum
Hello Peer,

Yes, I'll be posting updates in this thread:

http://groups.google.com/group/adwords-api/browse_thread/thread/204c399980c019b1#

Cheers,
-Jeff Posnick, AdWords API Team


On Feb 2, 8:21 pm, "Peer Jakobsen (AdWords API Guru)"
<peer.jakob...@gmail.com> wrote:
> Hi Jeff,
>
> Our old sandbox account started behaving the way described above. So I
> followed your advice and created a new one, but I still see the
> "internal error" message for some SOAP calls like adding a campaign.
> Our test scripts ran just fine last Friday, so I think something weird
> is going on in the sandbox. Here follows a SOAP call that works, and a
> second one that does not work.
>
> SOAP call that works:
> <?xml version="1.0" encoding="utf-8"?>
> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xmlns:xsd="http://www.w3.org/2001/XMLSchema">
>         <soap:Header>
>                 <applicationToken xmlns="https://adwords.google.com/api/adwords/
> v13">xxx</applicationToken>
>                 <clientEmail xmlns="https://adwords.google.com/api/adwords/
> v13">client_1+synchro_t...@esearchvision.com</clientEmail>
>                 <developerToken xmlns="https://adwords.google.com/api/adwords/
> v13">synchro_t...@esearchvision.com++EUR</developerToken>
>                 <email xmlns="https://adwords.google.com/api/adwords/
> v13">synchro_t...@esearchvision.com</email>
>                 <password xmlns="https://adwords.google.com/api/adwords/v13">xxx</
> password>
>                 <useragent xmlns="https://adwords.google.com/api/adwords/
> v13">eSearchVision</useragent>
>         </soap:Header>
>         <soap:Body>
>                 <getAccountInfo xmlns="https://adwords.google.com/api/adwords/v13" /
>
>         </soap:Body>
> </soap:Envelope>
>
> SOAP call that gives "internal error" message.:
> <?xml version="1.0" encoding="utf-8"?>
> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xmlns:xsd="http://www.w3.org/2001/XMLSchema">
>         <soap:Header>
>                 <applicationToken xmlns="https://adwords.google.com/api/adwords/
> v13">xxx</applicationToken>
>                 <clientEmail xmlns="https://adwords.google.com/api/adwords/
> v13">client_1+synchro_t...@esearchvision.com</clientEmail>
>                 <developerToken xmlns="https://adwords.google.com/api/adwords/
> v13">synchro_t...@esearchvision.com++EUR</developerToken>
>                 <email xmlns="https://adwords.google.com/api/adwords/
> v13">synchro_t...@esearchvision.com</email>
Reply all
Reply to author
Forward
0 new messages