Hi,

Your request is not formatted correctly.  Please see the following
sample request:

  
http://code.google.com/p/adwords-api-xml-samples/source/browse/trunk/src/v13/add_campaign.xml

Best,
- Eric Koleda, AdWords API Team

On Mar 2, 5:45 am, mingycarat <mark.ingle...@carat.com> wrote:
> I am new to adwords & am trying out the sandbox for the first time.
> Using the "getClientAccounts" function  I managed to create the 5
> dummy accounts (I think),
> but when I try to add a new campaign to one of them I get "an internal
> error has occured" message.
> I'm connecting through IPworks SSL
>
> Here's the XML that's being sent & received.  Any help would be
> appreciated.
>
> <?xml version="1.0" encoding="utf-8"?>
> <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/
> envelope/" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/
> encoding/">
> <SOAP-ENV:Header>
> <email>mygoogleemailaddress</email>
> <password>xxxxxxxxxx</password>
> <useragent>IPWorks</useragent>
> <clientEmail>client_1+mygoogleemailaddress</clientEmail>
> <token>mygoogleemailaddress++USD</token>
> </SOAP-ENV:Header>
> <SOAP-ENV:Body>
> <m:addCampaign xmlns:m="https://adwords.google.com/api/adwords/v13";>
> <budgetAmount>50000</budgetAmount>
> <budgetPeriod>1-12feb</budgetPeriod>
> </m:addCampaign>
> </SOAP-ENV:Body>
> </SOAP-ENV: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"">249</responseTime>
>   <operations soapenv:actor=""http://schemas.xmlsoap.org/soap/actor/
> next"" soapenv:mustUnderstand=""0"" xmlns=""https://adwords.google.com/
> api/adwords/v13"">0</operations>
>   <units soapenv:actor=""http://schemas.xmlsoap.org/soap/actor/next"";
> soapenv:mustUnderstand=""0"" xmlns=""https://adwords.google.com/api/
> adwords/v13"">0</units>
>   <requestId soapenv:actor=""http://schemas.xmlsoap.org/soap/actor/
> next"" soapenv:mustUnderstand=""0"" xmlns=""https://adwords.google.com/
> api/adwords/v13"">f80e75eab374280a035dd9952b5ebc27</requestId>
>  </soapenv:Header>
>  <soapenv:Body>
>   <soapenv:Fault>
>      <faultcode>soapenv:Server.generalException</faultcode>
>
>      <faultstring>An internal error has occurred.  Please retry your
> request.</faultstring>
>
>      <detail>
>       <ns1:fault xmlns:ns1=""https://adwords.google.com/api/adwords/
> v13"">
>        <ns1:code>0</ns1:code>
>
>        <ns1:message>An internal error has occurred.  Please retry your
> request.</ns1:message>
>
>     </ns1:fault>
>
>    </detail>
>
>   </soapenv:Fault>
>  </soapenv:Body>
> </soapenv:Envelope>"

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

Reply via email to