Using Keyword Insertion in AdCustomizer FeedItems

68 views
Skip to first unread message

s...@feedonomics.com

unread,
Mar 30, 2017, 11:48:49 AM3/30/17
to AdWords API Forum
Is it possible to do so? For example, using something like {Keyword:cat} as the value to be inserted dynamically into the ad from an AdCustomizer FeedItem resulted in the literal string {Keyword:cat} while the static text ad showed "cat"


Shwetha Vastrad (AdWords API Team)

unread,
Mar 30, 2017, 2:54:20 PM3/30/17
to AdWords API Forum
Hi Sam,

When you include {keyword:default text} in the TextAd, the default text will be used when the text can't be replaced by a keyword. If you want to use default text in Ad Customizers in a similar manner, the syntax will be {=FeedName.AttributeName:default value}. Please see the Customizing Text Ads guide for more details.

Regards,
Shwetha, AdWords API Team.
Message has been deleted
Message has been deleted

s...@feedonomics.com

unread,
Apr 6, 2017, 1:29:43 PM4/6/17
to AdWords API Forum
Hi Shwetha,

That helps a lot, thanks! However, after trying it with code such as: 
$ad = new ExpandedTextAd();
$ad->headlinePart1 = "{=$feedName.headlinePart1:test123}";

What we see in ad previews is something like "{=myFeedName.myHeadline1}" with no indication that default text has been applied, such as "{=myFeedName.myHeadline1:test123}". How can we confirm that the ad is using default values?

Thanks,
Sam

s...@feedonomics.com

unread,
Apr 6, 2017, 1:35:38 PM4/6/17
to AdWords API Forum
Or is it safe to assume that it is in effect as long as we provide the value as in 
$ad->headlinePart1 = "{=$feedName.headlinePart1:test123}";



Shwetha Vastrad (AdWords API Team)

unread,
Apr 6, 2017, 5:37:15 PM4/6/17
to AdWords API Forum
Hi Sam, 

You could use the Ad Preview and Diagnosis Tool to see how your Ads will appear with the default text in the Ad customizer. If the Ad was uploaded successfully and approved, the default text will be used when the customized text can't be inserted into the Ad.
Reply all
Reply to author
Forward
0 new messages