Hi, https://adwords.google.com/api/adwords/cm/v201705/AdGroupAdService get
method for RESPONSIVE_DISPLAY_AD ads
Returns only <marketingImage> of type landscape.
How to get information on the squared image
Example query
<v:get>
<v:serviceSelector>
<v:fields>AdGroupId</v:fields>
<v:fields>Name</v:fields>
<v:fields>Url</v:fields>
<v:fields>CreativeFinalUrls</v:fields>
<v:fields>Status</v:fields>
<v:fields>CreativeFinalMobileUrls</v:fields>
<v:fields>CreativeFinalAppUrls</v:fields>
<v:fields>CreativeTrackingUrlTemplate</v:fields>
<v:fields>CreativeUrlCustomParameters</v:fields>
<v:fields>DevicePreference</v:fields>
<v:fields>MimeType</v:fields>
<v:fields>Dimensions</v:fields>
<v:fields>HeadlinePart1</v:fields>
<v:fields>HeadlinePart2</v:fields>
<v:fields>Description</v:fields>
<v:fields>MarketingImage</v:fields>
<v:predicates>
<v:field>Status</v:field>
<v:operator>IN</v:operator>
<v:values>ENABLED</v:values>
<v:values>PAUSED</v:values>
</v:predicates>
<v:predicates>
<v:field>Id</v:field>
<v:operator>IN</v:operator>
<v:values>210471842132</v:values>
</v:predicates>
<v:paging>
<v:startIndex>0</v:startIndex>
<v:numberResults>10000</v:numberResults>
</v:paging>
</v:serviceSelector>
</v:get>
Answer
<getResponse xmlns="https://adwords.google.com/api/adwords/cm/v201705">
<rval>
<totalNumEntries>1</totalNumEntries>
<Page.Type>AdGroupAdPage</Page.Type>
<entries>
<adGroupId>41661489005</adGroupId>
<ad
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:type="ResponsiveDisplayAd">
<id>210471842132</id>
<finalUrls>http://priyem.ru</finalUrls>
<trackingUrlTemplate>{lpurl}?cm_id={campaignid}_{adgroupid}_{creative}_{targetid}_{device}_{adposition}_{network}_{placement}</trackingUrlTemplate>
<type>RESPONSIVE_DISPLAY_AD</type>
<Ad.Type>ResponsiveDisplayAd</Ad.Type>
<marketingImage>
<mediaId>2980978007</mediaId>
<type>IMAGE</type>
<referenceId>-3858012292541054976</referenceId>
<dimensions>
<key>FULL</key>
<value>
<width>844</width>
<height>442</height>
</value>
</dimensions>
<urls>
<key>FULL</key>
<value>https://tpc.googlesyndication.com/simgad/3278765837866862553</value>
</urls>
<mimeType>IMAGE_JPEG</mimeType>
<sourceUrl>media://cnext?source=scan.default.cropped&uuId=c098bea4-ca7a-435f-bcd4-0e2090024bf7</sourceUrl>
<name></name>
<fileSize>30149</fileSize>
<Media.Type>Image</Media.Type>
</marketingImage>
<logoImage>
<mediaId>2926325475</mediaId>
<type>IMAGE</type>
<referenceId>7966167363521347584</referenceId>
<dimensions>
<key>FULL</key>
<value>
<width>162</width>
<height>162</height>
</value>
</dimensions>
<urls>
<key>FULL</key>
<value>https://tpc.googlesyndication.com/simgad/4657363166152521298</value>
</urls>
<mimeType>IMAGE_PNG</mimeType>
<sourceUrl>media://cnext?source=scan.default&uuId=9425f6a9-7534-4e02-abc9-b8c0709fc086</sourceUrl>
<name></name>
<fileSize>11611</fileSize>
<Media.Type>Image</Media.Type>
</logoImage>
<description>Скупка электроники</description>
</ad>
<status>ENABLED</status>
</entries>
</rval>
</getResponse>
Only the logo and landscape picture is returned, how to return the
square? http://joxi.ru/n2Y8e5Euo6aaem
How do I then change the clients' ad data if we can not create an image
square?
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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
---
You received this message because you are subscribed to the Google Groups
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
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/643cd0f3-7fd7-4b9a-acdc-f0d52aefb3bf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.