Hi Shwetha,
That helps a lot, thanks! However, after trying it with code such as:
$ad = new ExpandedTextAd();
$ad->headlinePart1 = "{=$feedName.headlinePart1:defaultText}";
What we see in ad previews is something like *"{=myFeedName.myHeadline1}"* with
no indication that default text has been applied, such as "
*{=myFeedName.myHeadline1:myDefaultText}"*. How can we confirm that the ad
is using default values?
Thanks,
Sam
On Thursday, March 30, 2017 at 11:54:20 AM UTC-7, Shwetha Vastrad (AdWords
API Team) wrote:
>
> 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
> <https://developers.google.com/adwords/api/docs/guides/ad-customizers#setting_up_an_ad>
>
> guide for more details.
>
> Regards,
> Shwetha, AdWords API Team.
>
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/dc25139b-f4c1-42aa-accd-fb270ef62c13%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.