Hi, Please ensure you are specifying a valid clientEmail in the header, and that the email address in that header is not an MCC account.
Best, - Eric Koleda, AdWords API Team On May 17, 4:00 pm, cenus <[email protected]> wrote: > Welcome > > I want to integrate your web page (PHP) from your system through the > API. I'm trying to remotely create a campaign, however, I get an error > unexpected_internal_api_error and did not admit that I do not know > what to do. Here's the entry from the file soap_xml.log: > > [May 10 2010 15:05:04.000000 - INFO] POST /api/adwords/cm/v200909/ > CampaignService HTTP/1.1 > > Host: adwords.google.com > > Connection: Keep-Alive > > User-Agent: PHP-SOAP/5.2.6, gzip > > Accept-Encoding: gzip, deflate > > Content-Encoding: gzip > > Content-Type: text/xml; charset=utf-8 > > SOAPAction: "" > > Content-Length: 839 > > <?xml version="1.0" encoding="UTF-8"?> > <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/ > envelope/" xmlns:ns1="https://adwords.google.com/api/adwords/cm/ > v200909" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> > <SOAP-ENV:Header> > <ns1:RequestHeader xsi:type="ns1:RequestHeader"> > <ns1:applicationToken>************</ns1:applicationToken> > <ns1:authToken>*****</ns1:authToken> > <ns1:clientEmail>[email protected]</ns1:clientEmail> > <ns1:developerToken>*****************</ns1:developerToken> > <ns1:userAgent>AwApi-PHP-2.1.0-BoxSystem</ns1:userAgent> > </ns1:RequestHeader> > </SOAP-ENV:Header> > <SOAP-ENV:Body> > <ns1:mutate> > <ns1:operations xmlns:ns1="https://adwords.google.com/api/ > adwords/cm/v200909" xsi:type="ns1:CampaignOperation"> > <ns1:operator>ADD</ns1:operator> > <ns1:operand xmlns:ns1="https://adwords.google.com/api/adwords/ > cm/v200909" xsi:type="ns1:Campaign"> > <ns1:name>[email protected] 1273496688</ns1:name> > <ns1:status>ACTIVE</ns1:status> > <ns1:budget xmlns:ns1="https://adwords.google.com/api/ > adwords/cm/v200909" xsi:type="ns1:Budget"> > <ns1:period>DAILY</ns1:period> > <ns1:amount xmlns:ns1="https://adwords.google.com/api/ > adwords/cm/v200909" xsi:type="ns1:Money"> > <ns1:microAmount>15000000</ns1:microAmount> > </ns1:amount> > <ns1:deliveryMethod>STANDARD</ns1:deliveryMethod> > </ns1:budget> > <ns1:biddingStrategy xmlns:ns1="https://adwords.google.com/ > api/adwords/cm/v200909" xsi:type="ns1:ManualCPC"/> > </ns1:operand> > </ns1:operations> > </ns1:mutate> > </SOAP-ENV:Body> > </SOAP-ENV:Envelope> > > HTTP/1.1 500 Internal Server Error > > Content-Type: text/xml; charset=UTF-8 > > Content-Encoding: gzip > > Transfer-Encoding: chunked > > Date: Mon, 10 May 2010 13:05:05 GMT > > Expires: Mon, 10 May 2010 13:05:05 GMT > > Cache-Control: private, max-age=0 > > X-Content-Type-Options: nosniff > > X-Frame-Options: SAMEORIGIN > > X-XSS-Protection: 1; mode=block > > Server: GSE > > <?xml version="1.0"?> > <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> > <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/> > <trigger/> > <ApiError.Type>InternalApiError</ApiError.Type> > <reason>UNEXPECTED_INTERNAL_API_ERROR</reason> > </errors> > </ApiExceptionFault> > </detail> > </soap:Fault> > </soap:Body> > </soap:Envelope> > > Thanks in advance for your help. > > -- > =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ > Also find us on our blog and discussion > group:http://adwordsapi.blogspot.comhttp://groups.google.com/group/adwords-api > =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ > > 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 > athttp://groups.google.com/group/adwords-api?hl=en -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and discussion group: http://adwordsapi.blogspot.com http://groups.google.com/group/adwords-api =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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
