I could added The same image via UI.
SOAP log, target image attached.
Thanking you in advance.

2018年5月31日木曜日 2時51分22秒 UTC+9 Dhanya Sundararaju (AdWords API Team):
>
> Hi,
>
> Could you please confirm if you are able to add the same image via UI? If 
> yes, could you please reply back with complete SOAP logs including request 
> and response so that I can troubleshoot further?
>
> Regards,
> Dhanya, AdWords API Team
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/3f8c40a0-948b-4547-816a-623a43a2a533%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
●MediaService

REQUEST:<?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/v201802"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
<SOAP-ENV:Header><ns1:RequestHeader><ns1:clientCustomerId>XXX-XXX-XXXX</ns1:clientCustomerId><ns1:developerToken>XXX</ns1:developerToken>
<ns1:userAgent>AccessLog:v1.00 (AwApi-PHP, googleads-php-lib/34.0.0, 
PHP/7.1.17)</ns1:userAgent><ns1:validateOnly>false</ns1:validateOnly>
<ns1:partialFailure>false</ns1:partialFailure></ns1:RequestHeader></SOAP-ENV:Header><SOAP-ENV:Body><ns1:upload><ns1:media
 xsi:type="ns1:Image"><ns1:type>IMAGE</ns1:type>
<ns1:data>R0lGODlhAQABAAAAACH5BAEAAAEALAAAAAABAAEAgAAAAAAAAAICTAEAOw==</ns1:data></ns1:media>
</ns1:upload></SOAP-ENV:Body></SOAP-ENV:Envelope>

RESPONSE:<soap:Envelope 
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";><soap:Header>
<ResponseHeader 
xmlns="https://adwords.google.com/api/adwords/cm/v201802";><requestId>00056d7695274e990a629342f80056d1</requestId>
<serviceName>MediaService</serviceName><methodName>upload</methodName><operations>1</operations><responseTime>250</responseTime></ResponseHeader></soap:Header><soap:Body>
<uploadResponse xmlns="https://adwords.google.com/api/adwords/cm/v201802";><rval 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:type="Image">
<mediaId>4028941674</mediaId>
<type>IMAGE</type><referenceId>-1018064403280429056</referenceId><dimensions><key>FULL</key><value><width>1</width><height>1</height></value></dimensions>
<urls><key>FULL</key><value>https://tpc.googlesyndication.com/simgad/12621510045203930421</value></urls><mimeType>IMAGE_GIF</mimeType><sourceUrl></sourceUrl>
<name></name><fileSize>43</fileSize><Media.Type>Image</Media.Type></rval></uploadResponse></soap:Body></soap:Envelope>

●AdGroupAdService
REQUEST:
<?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/v201802"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
<SOAP-ENV:Header><ns1:RequestHeader><ns1:clientCustomerId>XXX-XXX-XXXX</ns1:clientCustomerId>
<ns1:developerToken>XXX</ns1:developerToken><ns1:userAgent>AccessLog:v1.00 
(AwApi-PHP, googleads-php-lib/34.0.0, PHP/7.1.17)</ns1:userAgent>
<ns1:validateOnly>false</ns1:validateOnly><ns1:partialFailure>false</ns1:partialFailure></ns1:RequestHeader></SOAP-ENV:Header>
<SOAP-ENV:Body><ns1:mutate><ns1:operations><ns1:operator>ADD</ns1:operator><ns1:operand><ns1:adGroupId>54976051599</ns1:adGroupId><ns1:ad
 xsi:type="ns1:ResponsiveDisplayAd">
<ns1:finalUrls>http://www.yahoo.co.jp</ns1:finalUrls>
<ns1:marketingImage><ns1:mediaId>4028941674</ns1:mediaId></ns1:marketingImage>
<ns1:logoImage><ns1:mediaId>4028728067</ns1:mediaId></ns1:logoImage>
<ns1:squareMarketingImage><ns1:mediaId>4029276621</ns1:mediaId></ns1:squareMarketingImage>
<ns1:shortHeadline>\xe6\xa5\xad\xe5\x8b\x99\xe3\x83\xbb\xe7\x9f\xad\xe3\x81\x84\xe8\xa6\x8b\xe5\x87\xba\xe3\x81\x97</ns1:shortHeadline><ns1:longHeadline>\xe6\xa5\xad\xe5\x8b\x99\xe3\x83\xbb\xe9\x95\xb7\xe3\x81\x84\xe8\xa6\x8b\xe5\x87\xba\xe3\x81\x97</ns1:longHeadline><ns1:description>\xe6\xa5\xad\xe5\x8b\x99\xe3\x83\xbb\xe9\x95\xb7\xe3\x81\x84\xe8\xa6\x8b\xe5\x87\xba\xe3\x81\x97</ns1:description><ns1:businessName>\xe3\x82\xbd\xe3\x83\x95\xe3\x83\x88\xe3\x83\x86\xe3\x83\x8b\xe3\x82\xb9</ns1:businessName></ns1:ad><ns1:status>ENABLED</ns1:status></ns1:operand></ns1:operations></ns1:mutate></SOAP-ENV:Body></SOAP-ENV:Envelope>

RESPONSE:
<soap:Envelope 
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";><soap:Header>
<ResponseHeader 
xmlns="https://adwords.google.com/api/adwords/cm/v201802";><requestId>00056d76954a18d80a623c0c5f009924</requestId><serviceName>AdGroupAdService</serviceName>
<methodName>mutate</methodName><operations>1</operations><responseTime>110</responseTime></ResponseHeader></soap:Header><soap:Body><soap:Fault><faultcode>soap:Client</faultcode>
<faultstring>[ImageError.ASPECT_RATIO_NOT_ALLOWED @ 
operations[0].operand.ad.marketingImage.mediaId]</faultstring>
<detail><ApiExceptionFault 
xmlns="https://adwords.google.com/api/adwords/cm/v201802";>
<message>[ImageError.ASPECT_RATIO_NOT_ALLOWED @ 
operations[0].operand.ad.marketingImage.mediaId]</message><ApplicationException.Type>ApiException</ApplicationException.Type>
<errors xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xsi:type="ImageError">
<fieldPath>operations[0].operand.ad.marketingImage.mediaId</fieldPath><fieldPathElements><field>operations</field><index>0</index></fieldPathElements>
<fieldPathElements><field>operand</field></fieldPathElements><fieldPathElements><field>ad</field></fieldPathElements>
<fieldPathElements><field>marketingImage</field></fieldPathElements><fieldPathElements><field>mediaId</field></fieldPathElements><trigger></trigger>
<errorString>ImageError.ASPECT_RATIO_NOT_ALLOWED</errorString><ApiError.Type>ImageError</ApiError.Type><reason>ASPECT_RATIO_NOT_ALLOWED</reason>
</errors></ApiExceptionFault></detail></soap:Fault></soap:Body></soap:Envelope>
  • ... dspapp . 1stlink
    • ... 'Dhanya Sundararaju (AdWords API Team)' via AdWords API and Google Ads API Forum
      • ... dspapp . 1stlink
      • ... dspapp . 1stlink
        • ... 'Dhanya Sundararaju (AdWords API Team)' via AdWords API and Google Ads API Forum
          • ... dspapp . 1stlink
          • ... dspapp . 1stlink

Reply via email to