I have a TemplateAd which was put together in AdBuilder. It is a "Dynamic Display ad" and will get its contents from a Feed's FeedItems. I'm able to populate most of the ad's fields this way, but not the logo (i.e. Design_0_logoImageUrl) . I'm using AdGroupAdService to update this logo, but Adwords neither complains nor updates it. My request looks like this:
<?xml version='1.0' encoding='UTF-8'?> <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <env:Header> <RequestHeader xmlns="https://adwords.google.com/api/adwords/cm/v201409"> <clientCustomerId>XXX</clientCustomerId> <developerToken>XXX</developerToken> <userAgent>XXX</userAgent> </RequestHeader> </env:Header> <env:Body> <mutate xmlns="https://adwords.google.com/api/adwords/cm/v201409"> <operations> <operator>SET</operator> <operand> <adGroupId>AG1</adGroupId> <ad xmlns="https://adwords.google.com/api/adwords/cm/v201409" xsi:type="TemplateAd"> <id>TPL1</id> <templateElements> <uniqueName>Design_0_logoImageUrl</uniqueName> <fields> <name>Design_0_logoImageUrl</name> <type>IMAGE</type> <fieldMedia xmlns="https://adwords.google.com/api/adwords/cm/v201409" xsi:type="Image"> <mediaId>XXX</mediaId> <mimeType>IMAGE_PNG</mimeType> <Media.Type>Image</Media.Type> <data xsi:type="xsd:base64Binary">XXX=\n</data> </fieldMedia> </fields> </templateElements> <name>XXX</name> </ad> <status>ENABLED</status> </operand> </operations> </mutate> </env:Body> </env:Envelope> The response looks like this. <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Header> <ResponseHeader xmlns="https://adwords.google.com/api/adwords/cm/v201409"> <requestId>0005139c9ccfc3e80aec8ac70b0050ec</requestId> <serviceName>AdGroupAdService</serviceName> <methodName>mutate</methodName> <operations>0</operations> <responseTime>174</responseTime> </ResponseHeader> </soap:Header> <soap:Body> <mutateResponse xmlns="https://adwords.google.com/api/adwords/cm/v201409"> <rval> <ListReturnValue.Type>AdGroupAdReturnValue</ListReturnValue.Type> <value> <adGroupId>XXX</adGroupId> <ad xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="TemplateAd"> <id>XXX</id> <url>http://www.XXX.com</url> <displayUrl>www.XXX.com</displayUrl> <Ad.Type>TemplateAd</Ad.Type> <templateId>416</templateId> <adUnionId> <id>XXX</id> <AdUnionId.Type>AdUnionId</AdUnionId.Type> </adUnionId> <templateElements> <uniqueName>adData</uniqueName> <fields> <name>creationContext</name> <type>TEXT</type> <fieldText>WORKFLOW:BURDOCK,TEMPLATE_SOURCE:AD_GALLERY,SP_ID:use_case_dynamicx_416</fieldText> </fields> <fields> <name>Design_0_fontUrl</name> <type>ENUM</type> <fieldText>AGBookRoundedProMedium_basic.swf</fieldText> </fields> <fields> <name>Design_0_txtPadding</name> <type>NUMBER</type> <fieldText>5</fieldText> </fields> <fields> <name>Design_0_alignHoriz</name> <type>ENUM</type> <fieldText>center</fieldText> </fields> <fields> <name>Design_0_txtColorDisc</name> <type>ENUM</type> <fieldText>#555555</fieldText> </fields> <fields> <name>Design_0_discSize</name> <type>NUMBER</type> <fieldText>10</fieldText> </fields> <fields> <name>Design_0_cornerStyle</name> <type>ENUM</type> <fieldText>square</fieldText> </fields> <fields> <name>Design_0_txtColorDescription</name> <type>ENUM</type> <fieldText>#4d4d4d</fieldText> </fields> <fields> <name>Design_0_descriptionSize</name> <type>NUMBER</type> <fieldText>14</fieldText> </fields> <fields> <name>Design_0_txtColorSubTitle</name> <type>ENUM</type> <fieldText>#4d4d4d</fieldText> </fields> <fields> <name>Design_0_subTitleSize</name> <type>NUMBER</type> <fieldText>18</fieldText> </fields> <fields> <name>Design_0_showSubTitle</name> <type>ENUM</type> <fieldText>TRUE</fieldText> </fields> <fields> <name>Design_0_priceSize</name> <type>NUMBER</type> <fieldText>24</fieldText> </fields> <fields> <name>Design_0_txtColorPrice</name> <type>ENUM</type> <fieldText>#0073ed</fieldText> </fields> <fields> <name>Headline_0_showPrice</name> <type>ENUM</type> <fieldText>TRUE</fieldText> </fields> <fields> <name>Design_0_glowColor</name> <type>ENUM</type> <fieldText>#666666</fieldText> </fields> <fields> <name>Design_0_nameSize</name> <type>NUMBER</type> <fieldText>24</fieldText> </fields> <fields> <name>Design_0_txtColorProduct</name> <type>ENUM</type> <fieldText>#4d4d4d</fieldText> </fields> <fields> <name>Design_0_bgAlpha</name> <type>NUMBER</type> <fieldText>.3</fieldText> </fields> <fields> <name>Design_0_bgGradient</name> <type>ENUM</type> <fieldText>FALSE</fieldText> </fields> <fields> <name>Design_0_borderColor</name> <type>ENUM</type> <fieldText>#cbcbcb</fieldText> </fields> <fields> <name>Design_0_bgColorAlt</name> <type>ENUM</type> <fieldText>#e6e6e6</fieldText> </fields> <fields> <name>Design_0_bgColor</name> <type>ENUM</type> <fieldText>#ffffff</fieldText> </fields> <fields> <name>Headline_0_productClickOnly</name> <type>ENUM</type> <fieldText>TRUE</fieldText> </fields> <fields> <name>Design_0_btnShad</name> <type>ENUM</type> <fieldText>FALSE</fieldText> </fields> <fields> <name>Design_0_btnBevel</name> <type>ENUM</type> <fieldText>FALSE</fieldText> </fields> <fields> <name>Design_0_btnStyle</name> <type>ENUM</type> <fieldText>square</fieldText> </fields> <fields> <name>Design_0_btnRollColor</name> <type>ENUM</type> <fieldText>#004479</fieldText> </fields> <fields> <name>Design_0_btnColor</name> <type>ENUM</type> <fieldText>#0073ed</fieldText> </fields> <fields> <name>Design_0_txtColorCta</name> <type>ENUM</type> <fieldText>#ffffff</fieldText> </fields> <fields> <name>Headline_0_cta</name> <type>TEXT</type> <fieldText>Search now</fieldText> </fields> <fields> <name>Design_0_priceSuffixSize</name> <type>NUMBER</type> <fieldText>18</fieldText> </fields> <fields> <name>Design_0_txtColorPriceSuffix</name> <type>ENUM</type> <fieldText>#b00000</fieldText> </fields> <fields> <name>Design_0_pricePrefixSize</name> <type>NUMBER</type> <fieldText>12</fieldText> </fields> <fields> <name>Design_0_txtColorPricePrefix</name> <type>ENUM</type> <fieldText>#0073ed</fieldText> </fields> <fields> <name>Design_0_subHeadlineShadow</name> <type>ENUM</type> <fieldText>TRUE</fieldText> </fields> <fields> <name>Design_0_subHeadlineSize</name> <type>NUMBER</type> <fieldText>17</fieldText> </fields> <fields> <name>Design_0_bgColorSubHeadline</name> <type>ENUM</type> <fieldText>#b00000</fieldText> </fields> <fields> <name>Design_0_txtColorSubHeadline</name> <type>ENUM</type> <fieldText>#4d4d4d</fieldText> </fields> <fields> <name>Design_0_txtShadow</name> <type>ENUM</type> <fieldText>FALSE</fieldText> </fields> <fields> <name>Design_0_headlineSize</name> <type>NUMBER</type> <fieldText>24</fieldText> </fields> <fields> <name>Design_0_bgColorTitle</name> <type>ENUM</type> <fieldText>#ffffff</fieldText> </fields> <fields> <name>Design_0_txtColorTitle</name> <type>ENUM</type> <fieldText>#4d4d4d</fieldText> </fields> <fields> <name>Design_0_logoPadding</name> <type>NUMBER</type> <fieldText>2</fieldText> </fields> <fields> <name>Design_0_enforceLogo</name> <type>ENUM</type> <fieldText>false</fieldText> </fields> <fields> <name>Design_0_logoImageUrl</name> <type>IMAGE</type> <fieldMedia xsi:type="Image"> <mediaId>XXX</mediaId> <type>IMAGE</type> <referenceId>-XXX</referenceId> <dimensions> <key>FULL</key> <value> <width>225</width> <height>40</height> </value> </dimensions> <urls> <key>FULL</key> <value>XXX</value> </urls> <mimeType>IMAGE_PNG</mimeType> <sourceUrl>XXX</sourceUrl> <Media.Type>Image</Media.Type> </fieldMedia> </fields> <fields> <name>layout</name> <type>ENUM</type> <fieldText>Auto_SingleItem_SingleImage_01_Canyonero</fieldText> </fields> </templateElements> <dimensions> <width>300</width> <height>250</height> </dimensions> <name>XXX</name> </ad> <status>ENABLED</status> <approvalStatus>FAMILY_SAFE</approvalStatus> </value> </rval> </mutateResponse> </soap:Body> </soap:Envelope> Any thoughts? -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 http://groups.google.com/group/adwords-api. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/27b28db4-4902-44cd-9c8c-75b4dae23aa9%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
