Hi Emanuele, This error is triggered when trying to add a campaign to an MCC account. When using the sandbox environment you must make sure to use the correct values in the clientEmail header. More information about the headers is available here:
http://code.google.com/apis/adwords/docs/developer/adwords_api_sandbox.html#requestheaders A general introduction to the sandbox, including the header information, is also available as a video: http://www.youtube.com/watch?v=cqVtUdB975M Best, - Eric Koleda, AdWords API Team On Nov 5, 10:40 am, Emanuele Cellini <[email protected]> wrote: > Hello, > I try to ADD a campain with the following SOAP code but return this > error can you help me to resolve this issue? > > The Request is: > <?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/"> > <SOAP-ENV:Header> > <RequestHeader > xmlns="https://adwords.google.com/api/adwords/cm/ > v200909"> > <authToken>XXXXX</authToken> > <developerToken>XXXXXX</developerToken> > <applicationToken>XXXXXX</applicationToken> > <userAgent>ColdFusion 8</userAgent> > <clientEmail>XXXXXX</clientEmail> > </RequestHeader> > </SOAP-ENV:Header> > <SOAP-ENV:Body> > <mutate > xmlns="https://adwords.google.com/api/adwords/cm/v200909"> > <operations> > <operator>ADD</operator> > <operand> > <name>IB - test 200912</name> > <status>ACTIVE</status> > <endDate>20091215</endDate> > <biddingStrategy xsi:type="ManualCPC" > /> > <budget> > <period>DAILY</period> > <amount> > > <microAmount>5000000</microAmount> > </amount> > > <deliveryMethod>STANDARD</deliveryMethod> > </budget> > </operand> > </operations> > </mutate> > </SOAP-ENV:Body> > </SOAP-ENV:Envelope> > > The Response is: > <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/ > envelope/"><soap:Header><ResponseHeader xmlns="https:// > adwords.google.com/api/adwords/cm/ > v200909"><requestId>2b4ed0b16cc704815d14456827daad25</ > requestId><operations>1</operations><responseTime>219</ > 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/ > v200909"><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> > > Best Regards, > Emanuele -- 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.
