Hello Bartek,

 The underlying exception has to do with confusion over the period in
which your campaign's budget is active. There's an old bug that could
have triggered this if multiple updates to the same campaign took
place concurrently, but this behavior was fairly uncommon and in any
case the underlying bug should have been resolved several months ago.
So I think this is something unrelated.

 As a first step, could you try going in to the AdWords web interface
and make a change to the campaign's budget from there? Does the change
go through properly, and if so, do subsequent updates via the AdWords
API succeed?

 If manually editing the campaign's budget doesn't resolve the issue,
I'll re-open the old bug with the engineering team and see if they can
track down what's going on.

Cheers,
-Jeff Posnick, AdWords API Team


On Aug 26, 4:19 am, Bartek Jakubski <[EMAIL PROTECTED]> wrote:
> Another problem we have with one account is that we are unable to
> update any campaign in this account in any way (budget change for
> example). Error is always "An internal error has occurred. Please
> retry your request.". You'll find sample request/response at the end
> of my post.
>
> I checked with other account and exactly the same request in other
> account (differences are: clientemail, id, name, budgetAmount and
> status) works just fine.
>
> I don't give any account data (only requestId). If you can't get
> account data from requestID please let me know.
>
> Does anyone have an idea what may cause such an failure?
>
> POSThttps://adwords.google.com/api/adwords/v12/CampaignService
>
> Accept: text/xml
> Accept: multipart/*
> Accept: application/soap
> Content-Length: 2149
> Content-Type: ; charset=utf-8
> SOAPAction: ""
>
> <?xml version="1.0" encoding="utf-8"?>
> <SOAP-ENV:Envelope xmlns:namesp1="http://namespaces.soaplite.com/perl";
> xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/";
> xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"; xmlns:SOAP-
> ENC="http://schemas.xmlsoap.org/soap/encoding/"; 
> xmlns:xsd="http://www.w3.org/1999/XMLSchema"; SOAP-ENV:encodingStyle="htt
> p://schemas.xmlsoap.org/soap/encoding/">
>   <SOAP-ENV:Header>
>     <impl:email xmlns:impl="https://adwords.google.com/api/adwords/
> v12">XXXXXXXXXXXXXXXXx</impl:email>
>     <impl:password xmlns:impl="https://adwords.google.com/api/adwords/
> v12">XXXXXXXXXXXXXxx</impl:password>
>     <impl:useragent xmlns:impl="https://adwords.google.com/api/adwords/
> v12">XXXXXXXXXXXXXXXXXXXXXXXXXxxx</impl:useragent>
>     <impl:applicationToken xmlns:impl="https://adwords.google.com/api/
> adwords/v12">XXXXXXXXXXXXXXXXXXXXXXXXx</impl:applicationToken>
>     <impl:developerToken xmlns:impl="https://adwords.google.com/api/
> adwords/v12">XXXXXXXXXXXXXXXXXXXXXXX</impl:developerToken>
>     <impl:clientEmail xmlns:impl="https://adwords.google.com/api/
> adwords/v12">XXXXXXXXXXXXXXXXx</impl:clientEmail>
>   </SOAP-ENV:Header>
>   <SOAP-ENV:Body>
>     <updateCampaign xmlns="">
>       <parameters xsi:type="namesp1">
>         <enableSeparateContentBids>1</enableSeparateContentBids>
>         <geoTargeting>
>           <cityTargets />
>           <metroTargets />
>           <countryTargets>
>             <countries>DE</countries>
>           </countryTargets>
>           <regionTargets />
>         </geoTargeting>
>         <status>Active</status>
>         <budgetPeriod>Daily</budgetPeriod>
>         <name>XXXXXXXXXXXX</name>
>         <endDay>2010-01-01</endDay>
>         <networkTargeting>
>           <networkTypes>SearchNetwork</networkTypes>
>           <networkTypes>GoogleSearch</networkTypes>
>         </networkTargeting>
>         <languageTargeting />
>         <id>XXXXXXXXXXXX</id>
>         <budgetAmount>5000000000</budgetAmount>
>       </parameters>
>     </updateCampaign>
>   </SOAP-ENV:Body>
> </SOAP-ENV:Envelope>
>
> ---------------
> HTTP/1.1 500 Internal Server Error
> Cache-Control: private, max-age=0
> Connection: Close
> Date: Wed, 20 Aug 2008 13:26:48 GMT
> Server: GFE/1.3
> Content-Type: text/xml; charset=utf-8
> Expires: Wed, 20 Aug 2008 13:26:48 GMT
> Client-Date: Wed, 20 Aug 2008 13:26:48 GMT
> Client-Peer: 64.233.187.112:443
> Client-Response-Num: 1
> Client-SSL-Cert-Issuer: /C=US/O=Equifax/OU=Equifax Secure Certificate
> Authority
> Client-SSL-Cert-Subject: /C=US/ST=California/L=Mountain View/O=Google
> Inc./CN=adwords.google.com
> Client-SSL-Cipher: RC4-SHA
> Client-SSL-Warning: Peer certificate not verified
> Client-Transfer-Encoding: chunked
>
> <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/v12">1424</responseTime>
>   <operations soapenv:actor="http://schemas.xmlsoap.org/soap/actor/
> next" soapenv:mustUnderstand="0" xmlns="https://adwords.google.com/api/
> adwords/v12">0</operations>
>   <units soapenv:actor="http://schemas.xmlsoap.org/soap/actor/next";
> soapenv:mustUnderstand="0" xmlns="https://adwords.google.com/api/
> adwords/v12">0</units>
>   <requestId soapenv:actor="http://schemas.xmlsoap.org/soap/actor/
> next" soapenv:mustUnderstand="0" xmlns="https://adwords.google.com/api/
> adwords/v12">0dc411f3ea0060c84fb4547d28b969c6</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/
> v12">
>        <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-api@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/adwords-api?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to