On Oct 9, 2009, at 4:50 PM, AdWords API Advisor wrote:

>
> Hi Valentino,
>
> That's the most complete set of image rules that I am aware of.  Do
> you have the SOAP XML Request/Response or requestId from a request
> that demonstrates behavior?  If so I will look through the logs to see
> if I can get more information about why it failed.



Sure, request id is 1732f3f6e2ea3269cf22bde958f3399c.

Thanks for the help.

Here's the full XML SOAP Request:

<?xml version='1.0' encoding='UTF-8'?>
<ns0:Envelope xmlns:ns0="http://schemas.xmlsoap.org/soap/envelope/";>
  <ns0:Header>
   <ns1:RequestHeader 
xmlns:ns1="https://adwords.google.com/api/adwords/cm/v200906 
">
    <ns1:authToken>xxxxxx</ns1:authToken>
    <ns1:applicationToken>1234567890123456789012</ns1:applicationToken>
    <ns1:developerToken>[email protected]++usd</ns1:developerToken>
    <ns1:clientEmail>[email protected]</ns1:clientEmail>
    <ns1:userAgent>AWAPI PyLib v7.1.0: Adroll Sync Client v0.1</ 
ns1:userAgent>
   </ns1:RequestHeader>
  </ns0:Header>
  <ns0:Body>
   <ns1:mutate xmlns:ns1="https://adwords.google.com/api/adwords/cm/v200906 
">
    <ns1:operations>
     <ns1:operator>ADD</ns1:operator>
     <ns1:operand>
      <ns1:adGroupId>5000204284</ns1:adGroupId>
      <ns1:ad ns2:type="ns1:ImageAd" 
xmlns:ns2="http://www.w3.org/2001/XMLSchema-instance 
">
       <ns1:url>http://www.adroll.com</ns1:url>
       <ns1:displayUrl>www.adroll.com</ns1:displayUrl>
       <ns1:image ns2:type="ns1:Image">
        <ns1:mediaTypeDb>IMAGE</ns1:mediaTypeDb>
        <ns1:mimeType>IMAGE_JPEG</ns1:mimeType>
        <ns1:fileSize>9937</ns1:fileSize>
        <ns1:data>
<<<BASE64 ENCODED DATA>>
</ns1:data>
       </ns1:image>
       <ns1:name>3_728x90-adroll-VT226I5VTNBIZCTONCKRWC</ns1:name>
      </ns1:ad>
      <ns1:status>ENABLED</ns1:status>
     </ns1:operand>
    </ns1:operations>
    <ns1:operations>
     <ns1:operator>ADD</ns1:operator>
     <ns1:operand>
      <ns1:adGroupId>5000204287</ns1:adGroupId>
      <ns1:ad ns2:type="ns1:ImageAd" 
xmlns:ns2="http://www.w3.org/2001/XMLSchema-instance 
">
       <ns1:url>http://www.adroll.com</ns1:url>
       <ns1:displayUrl>www.adroll.com</ns1:displayUrl>
       <ns1:image ns2:type="ns1:Image">
        <ns1:mediaTypeDb>IMAGE</ns1:mediaTypeDb>
        <ns1:mimeType>IMAGE_PNG</ns1:mimeType>
        <ns1:fileSize>5657</ns1:fileSize>
        <ns1:data>
<<<BASE64 ENCODED DATA>>
</ns1:data>
       </ns1:image>
       <ns1:name>1_468x60-adroll-6HENCMK5T5FQRC53IPA32X</ns1:name>
      </ns1:ad>
      <ns1:status>ENABLED</ns1:status>
     </ns1:operand>
    </ns1:operations>
    <ns1:operations>
     <ns1:operator>ADD</ns1:operator>
     <ns1:operand>
      <ns1:adGroupId>5000204286</ns1:adGroupId>
      <ns1:ad ns2:type="ns1:ImageAd" 
xmlns:ns2="http://www.w3.org/2001/XMLSchema-instance 
">
       <ns1:url>http://www.adroll.com</ns1:url>
       <ns1:displayUrl>www.adroll.com</ns1:displayUrl>
       <ns1:image ns2:type="ns1:Image">
        <ns1:mediaTypeDb>IMAGE</ns1:mediaTypeDb>
        <ns1:mimeType>IMAGE_PNG</ns1:mimeType>
        <ns1:fileSize>5389</ns1:fileSize>
        <ns1:data>
<<<BASE64 ENCODED DATA>>
</ns1:data>
       </ns1:image>
       <ns1:name>7_160x600-adroll-H3JOF4CUKVHMNEWEQRSREP</ns1:name>
      </ns1:ad>
      <ns1:status>ENABLED</ns1:status>
     </ns1:operand>
    </ns1:operations>
   </ns1:mutate>
  </ns0:Body>
</ns0:Envelope>


Here's the full SOAP XML Response:

<?xml version='1.0' encoding='UTF-8'?>
<ns0:Envelope xmlns:ns0="http://schemas.xmlsoap.org/soap/envelope/";>
  <ns0:Header>
   <ns1:ResponseHeader 
xmlns:ns1="https://adwords.google.com/api/adwords/cm/v200906 
">
    <ns1:requestId>1732f3f6e2ea3269cf22bde958f3399c</ns1:requestId>
    <ns1:operations>2</ns1:operations>
    <ns1:responseTime>353</ns1:responseTime>
    <ns1:units>2</ns1:units>
   </ns1:ResponseHeader>
  </ns0:Header>
  <ns0:Body>
   <ns0:Fault>
    <faultcode>soap:Server</faultcode>
    <faultstring>[ImageError.INVALID_IMAGE @ operations 
[2].adGroupAd.ad.image.data, ImageError.INVALID_IMAGE @ operations 
[1].adGroupAd.ad.image.data]</faultstring>
    <detail>
     <ns1:ApiExceptionFault 
xmlns:ns1="https://adwords.google.com/api/adwords/cm/v200906 
">
      <ns1:message>[ImageError.INVALID_IMAGE @ operations 
[2].adGroupAd.ad.image.data, ImageError.INVALID_IMAGE @ operations 
[1].adGroupAd.ad.image.data]</ns1:message>
      <ns1:ApplicationException.Type>ApiException</ 
ns1:ApplicationException.Type>
      <ns1:errors ns2:type="ImageError" 
xmlns:ns2="http://www.w3.org/2001/XMLSchema-instance 
">
       <ns1:fieldPath>operations[2].adGroupAd.ad.image.data</ 
ns1:fieldPath>
       <ns1:trigger />
       <ns1:ApiError.Type>ImageError</ns1:ApiError.Type>
       <ns1:reason>INVALID_IMAGE</ns1:reason>
      </ns1:errors>
      <ns1:errors ns2:type="ImageError" 
xmlns:ns2="http://www.w3.org/2001/XMLSchema-instance 
">
       <ns1:fieldPath>operations[1].adGroupAd.ad.image.data</ 
ns1:fieldPath>
       <ns1:trigger />
       <ns1:ApiError.Type>ImageError</ns1:ApiError.Type>
       <ns1:reason>INVALID_IMAGE</ns1:reason>
      </ns1:errors>
     </ns1:ApiExceptionFault>
    </detail>
   </ns0:Fault>
  </ns0:Body>
</ns0:Envelope>



-- 
Valentino Volonghi aka Dialtone
Now Running MacOSX 10.6
http://www.adroll.com/


--~--~---------~--~----~------------~-------~--~----~
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