Hi Eric I'm still getting UNEXPECTED_INTERNAL_API_ERROR @ responses to my soap calls. I have generated this using your add_campaign.php script although I slightly moved the position of the <endDate> tag and removed the <currencyCode> from your code so it exactly matches what you showed in the example, (the one in the link below) just in case this matters. I'm assuming the order of these fields doesn't matter anyway, but swapped it to be on the safe side.
http://code.google.com/p/adwords-api-xml-samples/source/browse/trunk/src/v200906/add_campaign.xml So here is our header with the tags the order suggested in the link above (authToken, userAgent,developerToken, applicationToken, clientEmail) (note that I've changed the email but everything else is the same) <RequestHeader xmlns="https://adwords.google.com/api/adwords/cm/ v200906"> <authToken>DQAAAHUAAABmo4KIjOHn- ytmhAg_j_ZqLtKnXUUOvvt6Sy3KIxamrvRPlQrOtP9L_ueEryLHmicXwe3KhSQ8gXw0hxqWR_6zdDdjuo- TSnVW53RZV8LwudeRIRveU4dJK1BbM6mW5d4L08bVplDBpaH7MaKK_B9GMMOIAFL6b6MncgOkWiFgOg</ authToken> <userAgent>blah</userAgent> <developerToken>[email protected]++gbp</ developerToken><applicationToken>blah</applicationToken> <clientEmail>[email protected]</clientEmail> </RequestHeader> I've also tried several different versions of the header, ordering it in several ways in case the problem is with my header. I've tried the following arrangements but none have worked. These include : -the order you hard coded in your example code (authToken, clientEmail, userAgent, developerToken, applicationToken) - the order Mauro used in this thread above (authToken, userAgent, developerToken, applicationToken) Can you please clarify, does it matter which of the above formats we ought to be using? Or do they all work? and the request is : <mutate xmlns="https://adwords.google.com/api/adwords/cm/v200906"> <operations> <operator>ADD</operator> <operand> <name>Test Campaign - 1250690230</name> <status>PAUSED</status> <endDate>20101001</endDate> <biddingStrategy xsi:type="ManualCPC"/> <budget> <period>DAILY</period> <amount> <microAmount>1000000</microAmount> </amount> <deliveryMethod>STANDARD</deliveryMethod> </budget> </operand> </operations> </mutate> Have you any thoughts why this API call might still be failing please? Apologies if this is something stupid but I'm baffled! Kind Regards Tam On Aug 18, 7:31 pm, AdWords API Advisor <[email protected]> wrote: > Hi Tam, > > It is possible that your errors are caused by malformed requests. Can > you please post the request id of the request that failed? > > Thanks, > - Eric > > On Aug 18, 11:02 am, Tam <[email protected]> wrote: > > > Hi There > > > We're also still getting similar error messages, (i.e. > > 'UNEXPECTED_INTERNAL_API_ERROR ') to what Mauro's getting above. Can > > you please clarify whether this message could conceivably be generated > > in response to a problem at our end or something we are doing wrong, > > (for example, due to the soap or xml being incorrectly formatted) or > > is it always / usually going to be indicative of a problem with the > > actual web service? > > > Regards > > > Tam Laniado > > > On Aug 18, 3:56 pm, Mauro <[email protected]> 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>[email protected]++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 <[email protected]> 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 < > > > > > [email protected]> 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 <[email protected]> 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 > > > > > > > <[email protected]> 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 <[email protected]> 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>[email protected]<client_1%[email protected]> > > > > > </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 < > > > > > [email protected]> > > > > > > > > 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 <[email protected]> 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=" > > ... > > 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 [email protected] 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 -~----------~----~----~----~------~----~------~--~---
