Mauro,

In your example request above, the error is due to a mistake in your
request XML.  You are missing the <operator> element and include the
non-existent <operation>.  Please see the sample XML for adding a
campaign:
  
http://code.google.com/p/adwords-api-xml-samples/source/browse/trunk/src/v200906/add_campaign.xml

Best,
- Eric

On Aug 18, 10:56 am, Mauro <mau...@gmail.com> wrote:
> I'll post the request as well.
>
> <?xml version="1.0" encoding="UTF-8"?>
> <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/
> envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema";
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xmlns:SOAP-
> ENC="http://schemas.xmlsoap.org/soap/encoding/"; xmlns:ns2057="http://
> tempuri.org">
>         <SOAP-ENV:Header>
>                 <RequestHeader 
> xmlns="https://adwords.google.com/api/adwords/cm/
> v200906">
>
> <authToken>DQAAAHwAAACMWmX77qL1nk4o7qti1M9RqqkTPDEboquSKCmEIqM5cC9vf0upGw34 
> KtnQ3U40zORn2NgFo3VUxTRNBU_M2J7ubn8mMAZygR-
> T5N5X0RQ0v5O32uMO4rk_iaRT6wsJEukRQzA7aDxrBHvlEgjmn0qVsQcTfL8fLRULrYlg7-9dbQ </
> authToken>
>                         <userAgent>Me</userAgent>
>                         <developerToken>j...@doe.com++usd</developerToken>
>                         <applicationToken/>
>                 </RequestHeader>
>         </SOAP-ENV:Header>
>         <SOAP-ENV:Body>
>                 <mutate 
> xmlns="https://adwords.google.com/api/adwords/cm/v200906";>
>                         <operations>
>                                 <operation>
>                                         <name>Test</name>
>                                         <status>Active</status>
>                                         <startDate>20091001</startDate>
>                                         <endDate>20091225</endDate>
>                                         <budget>
>                                                 <period>Daily</period>
>                                                 
> <deliveryMethod>STANDARD</deliveryMethod>
>                                                 <amount>
>                                                         
> <currencyCode>USD</currencyCode>
>                                                         
> <microAmount>1000000</microAmount>
>                                                 </amount>
>                                         </budget>
>                                 </operation>
>                         </operations>
>                 </mutate>
>         </SOAP-ENV:Body>
> </SOAP-ENV:Envelope>
>
> On Aug 18, 10:59 am, Mauro Spivak <mau...@gmail.com> wrote:
>
>
>
> > Hi,
> > Still getting the error. Do you think I might be doing something wrong? Or
> > does the "internal" thing tells the error is in the API server?
>
> > This is the XML response I just got:
>
> > Date: Tue, 18 Aug 2009 13:49:22 GMT
>
> > <soap:Envelope 
> > xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";><soap:Header><ResponseHeader
> > xmlns="https://adwords.google.com/api/adwords/cm/v200906";><requestId>b35a146a232d6526ff8ac99cb07a8b34</requestId><operations>1</ope
> >  
> > rations><responseTime>279</responseTime><units>1</units></ResponseHeader></ 
> > soap:Header><soap:Body><soap:Fault><faultcode>soap:Server</faultcode><fault 
> > string>InternalApiError.UNEXPECTED_INTERNAL_API_ERROR
> > @ </faultstring><detail><ApiExceptionFault
> > xmlns="https://adwords.google.com/api/adwords/cm/v200906";><message>InternalApiError.UNEXPECTED_INTERNAL_API_ERROR
> > @ 
> > </message><ApplicationException.Type>ApiException</ApplicationException.Typ 
> > e><errors
> > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
> > xsi:type="InternalApiError"><fieldPath></fieldPath><trigger></trigger><ApiE 
> > rror.Type>InternalApiError</ApiError.Type><reason>UNEXPECTED_INTERNAL_API_E 
> > RROR</reason></errors></ApiExceptionFault></detail></soap:Fault></soap:Body 
> > ></soap:Envelope>
>
> > Cheers,
>
> > Mauro
>
> > On Tue, Aug 18, 2009 at 10:29 AM, AdWords API Advisor <
>
> > adwordsapiadvi...@google.com> wrote:
>
> > > Although it returned the same SOAP fault, the errors yesterday were
> > > actually caused by another problem.  That problem has now been
> > > resolved, so let us know if you still are receiving exceptions.
>
> > > Best,
> > > - Eric
>
> > > On Aug 18, 1:09 am, ernnie <ernni...@gmail.com> wrote:
> > > > It seems ok now.. the error occurred yesterday.. I'll post again if
> > > > the problem persists.
> > > > btw GMT+8 is my timezone.
>
> > > > Thanks
> > > > --Ernnie
>
> > > > On Aug 17, 10:11 pm, AdWords API Advisor
>
> > > > <adwordsapiadvi...@google.com> wrote:
> > > > > Hi Ernie,
>
> > > > > When did that error occur?  We are trying to locate it in the logs and
> > > > > knowing the time of the error (and your timezone) would help.
>
> > > > > Thanks,
> > > > > - Eric
>
> > > > > On Aug 17, 2:51 am, ernnie <ernni...@gmail.com> wrote:
>
> > > > > > same here: here's the soap request and response:
>
> > > > > > Request:
>
> > > > > > <?xml version="1.0" encoding="UTF-8"?>
> > > > > > <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/
> > > > > > envelope/" xmlns:ns1="https://adwords.goog
> > > > > > le.com/api/adwords/cm/v200906"><SOAP-ENV:Header><RequestHeader
> > > > > > xmlns="https://adwords.google.com/api/adwords/
> > > > > > cm/
>
> > > v200906"><authToken>DQAAAH8AAAC6EmNlvQyf6FVkixpw6eEwJagOsOESaYigsZ1LkqVE4Up
> > > 7guH4ej4-
> > > > > > WTsg2BEH_tIuBfzBSJQaCF
>
> > > Cz0Bf4VGWy97g17I36uWL1RvrsL8SbXMybohR98r2hfwrOnBqQIaLkMkvNOySHeGnrVldMzngrq
> > > dS3GGK9oDsEbeTbSwceNA</
> > > > > > authToken><
> > > > > > clientEmail>client_1+ernni...@gmail.com<client_1%2bernni...@gmail.com>
> > > </clientEmail><userAgent>Katana
> > > > > > Agent</userAgent><developerToken>***************</
>
> > > developerToken><applicationToken>*****************</applicationToken></
> > > > > > RequestHeader>
> > > > > > </SOAP-ENV:Header><SOAP-ENV:Body><get xmlns="https://
> > > > > > adwords.google.com/api/adwords/cm/v200906"><selector></s
> > > > > > elector></get></SOAP-ENV:Body></SOAP-ENV:Envelope>
>
> > > > > > Response:
>
> > > > > > <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/
> > > > > > envelope/"><soap:Header><ResponseHeader xmlns="htt
> > > > > > ps://adwords.google.com/api/adwords/cm/v200906"><requestId>0957b70f52f39887
> > > c81c8fc011fa1ba4</requestId><opera
>
> > > tions>1</operations><responseTime>109</responseTime><units>1</units></
>
> > > ResponseHeader></soap:Header><soap:Body><soap:Fault><faultcode>soap:Server<
> > > /faultcode><faultstring>InternalApiErro r.UNEXPECTED_INTERNAL_API_ERROR @
>
> > > > > > </faultstring><detail><ApiExceptionFault xmlns="https://
> > > > > > adwords.google.com/api/adwords/cm/v200906"><message>I
> > > > > > nternalApiError.UNEXPECTED_INTERNAL_API_ERROR @ </
> > > > > > message><ApplicationException.Type>ApiException</Applicatio
> > > > > > nException.Type><errors xmlns:xsi="http://www.w3.org/2001/XMLSchema-
> > > > > > instance" xsi:type="InternalApiError"><fi
> > > > > > eldPath></fieldPath><trigger></
> > > > > > trigger><ApiError.Type>InternalApiError</
> > > > > > ApiError.Type><reason>UNEXPECTED_INTE
> > > > > > RNAL_API_ERROR</reason></errors></ApiExceptionFault></detail></
> > > > > > soap:Fault></soap:Body></soap:Envelope>
>
> > > > > > On Aug 15, 5:53 am, AdWords API Advisor <
> > > adwordsapiadvi...@google.com>
> > > > > > wrote:
>
> > > > > > > Hi,
>
> > > > > > > Thanks for the information, I'll get in touch with the core
> > > > > > > engineering team and let them that some users are still
> > > experiencing
> > > > > > > issues.  I'll update this thread when I have more information.
>
> > > > > > > Best,
> > > > > > > - Eric
>
> > > > > > > On Aug 14, 4:47 pm, Mauro <mau...@gmail.com> wrote:
>
> > > > > > > > Yeap! I'm getting the same error.
>
> > > > > > > > Response XML:
>
> > > > > > > > <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/
> > > > > > > > envelope/"><soap:Header><ResponseHeader xmlns="https://
> > > > > > > > adwords.google.com/api/adwords/cm/
> > > > > > > > v200906"><requestId>dde29a24c3b217361ada4cece21131b6</
> > > > > > > > requestId><operations>1</operations><responseTime>177</
> > > > > > > > responseTime><units>1</units></ResponseHeader></
> > > > > > > > soap:Header><soap:Body><soap:Fault><faultcode>soap:Server</
>
> > > faultcode><faultstring>InternalApiError.UNEXPECTED_INTERNAL_API_ERROR
> > > > > > > > @ </faultstring><detail><ApiExceptionFault xmlns="https://
> > > > > > > > adwords.google.com/api/adwords/cm/
> > > > > > > > v200906"><message>InternalApiError.UNEXPECTED_INTERNAL_API_ERROR
> > > @ </
> > > > > > > > message><ApplicationException.Type>ApiException</
> > > > > > > > ApplicationException.Type><errors xmlns:xsi="
> > >http://www.w3.org/2001/
> > > > > > > > XMLSchema-instance" xsi:type="InternalApiError"><fieldPath></
> > > > > > > > fieldPath><trigger></trigger><ApiError.Type>InternalApiError</
>
> > > ApiError.Type><reason>UNEXPECTED_INTERNAL_API_ERROR</reason></errors></
>
> > > ApiExceptionFault></detail></soap:Fault></soap:Body></soap:Envelope>
>
> > > > > > > > On Aug 14, 3:34 pm, knguyen <kevin.matchcr...@gmail.com> wrote:
>
> > > > > > > > > Response XML:
>
> > > > > > > > > <?xml version="1.0" encoding="UTF-8"?><soap:Envelope
> > > > > > > > > xmlns:soap="http://schemas.xmlsoap.org/soap/
> > > > > > > > > envelope/"><soap:Header><ResponseHeader xmlns="https://
> > > > > > > > > adwords.google.com/api/adwords/cm/
> > > > > > > > > v200906"><requestId>86db7870c60f40d427b70faa0761c80d</
> > > > > > > > > requestId><operations>1</operations><responseTime>233</
> > > > > > > > > responseTime><units>1</units></ResponseHeader></
> > > > > > > > > soap:Header><soap:Body><soap:Fault><faultcode>soap:Server</
>
> > > faultcode><faultstring>InternalApiError.UNEXPECTED_INTERNAL_API_ERROR
> > > > > > > > > @ </faultstring><detail><ApiExceptionFault xmlns="https://
> > > > > > > > > adwords.google.com/api/adwords/cm/
>
> > > v200906"><message>InternalApiError.UNEXPECTED_INTERNAL_API_ERROR @ </
> > > > > > > > > message><ApplicationException.Type>ApiException</
> > > > > > > > > ApplicationException.Type><errors xsi:type="InternalApiError"
> > > > > > > > > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance
> > > "><fieldPath/><trigger/><ApiError.Type>InternalApiError</
>
> > > ApiError.Type><reason>UNEXPECTED_INTERNAL_API_ERROR</reason></errors></
>
> > > ApiExceptionFault></detail></soap:Fault></soap:Body></soap:Envelope>
>
> > > > > > > > > If you're interested, here is the code:
> > > > > > > > >  CampaignServiceInterface service = user.getService
> > > > > > > > > (AdWordsService.V200906.CAMPAIGN_SERVICE);
>
> > > > > > > > >     CampaignPage page = service.get(new CampaignSelector());
> > > > > > > > >     for (Campaign campaign : page.getEntries()) {
> > > > > > > > >       System.out.println(campaign.getName() + " " +
> > > campaign.getId());
> > > > > > > > >     }
>
> > > > > > > > > On Aug 14, 10:22 am, AdWords API Advisor
>
> > > > > > > > > <adwordsapiadvi...@google.com> wrote:
> > > > > > > > > > Hi,
>
> > > > > > > > > > Are you receiving the same fault code as reported earlier?
> > >  Can you
> > > > > > > > > > post the response SOAP XML?
>
> ...
>
> read more »
--~--~---------~--~----~------------~-------~--~----~
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 
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