Hi Allvin,

It looks like your request is missing an operator inside of the
operation.  See the following example XML for the correct format of an
operation: 
http://code.google.com/p/adwords-api-xml-samples/source/browse/trunk/src/v200906/add_text_ad.xml.

Best,
- Eric Koleda, AdWords API Team

On Aug 26, 1:11 pm, allvin <[email protected]> wrote:
> Hello
>
> When I call AdGroupAdService.mutate. I get following response.
>
> -----SoapResponse at 26.08.2009 20:02:34-----
> Content-type: text/xml; charset=UTF-8
> Content-length: 976
> SOAPAction: "mutate"
> --------------------------------------------------
> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";>
>   <soap:Header>
>     <ResponseHeader xmlns="https://adwords.google.com/api/adwords/cm/
> v200906">
>       <requestId>f56f99513312322290d760122ac7368e</requestId>
>       <operations>1</operations>
>       <responseTime>160</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>
> --------------------------------------------------
>
> There is part of request:
>
> -----SoapRequest at 26.08.2009 20:02:33-----
> POST /api/adwords/cm/v200906/AdGroupAdService HTTP/1.0
> Host: adwords.google.com:443
> User-agent: Mozilla/4.0 (compatible; MSIE 6.0; MS Web Services Client
> Protocol 2.0.50727.3074)
> Content-type: text/xml; charset=utf-8
> Content-length: 13795
> SOAPAction: "mutate"
> --------------------------------------------------
> <?xml version="1.0" encoding="utf-8"?>
> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
> xmlns:xsd="http://www.w3.org/2001/XMLSchema";>
>   <soap:Header>
>     <RequestHeader xmlns="https://adwords.google.com/api/adwords/cm/
> v200906">
>       <applicationToken>********FcMg</applicationToken>
>       <authToken>********</authToken>
>       <clientEmail>[email protected]</clientEmail>
>       <developerToken>********WSzA</developerToken>
>       <userAgent>AWAPI DotNetLib 4.1.0 - Электровоз</userAgent>
>     </RequestHeader>
>   </soap:Header>
>   <soap:Body>
>     <mutate xmlns="https://adwords.google.com/api/adwords/cm/v200906";>
>       <operations>
>         <operand>
>           <adGroupId>1418479825</adGroupId>
>           <ad xsi:type="TextAd">
>             <url>http://www.electrovoz.com.ua/78186/Canon+ACK-
> DC10+IXUS/details.htm</url>
>             <displayUrl>www.electrovoz.com.ua</displayUrl>
>             <headline>Canon ACK-DC10 IXUS</headline>
>             <description1>Всего за 70$!</description1>
>             <description2>Доставка по всей Украине</description2>
>           </ad>
>           <status>ENABLED</status>
>         </operand>
>       </operations>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to