RESPONSIVE_DISPLAY_AD no image square

17 views
Skip to first unread message

priye...@gmail.com

unread,
Aug 1, 2017, 2:48:15 AM8/1/17
to AdWords API Forum
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
            <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&amp;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&amp;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?

Reply all
Reply to author
Forward
0 new messages