Skip to content

Commit

Permalink
added comment to validate_text_ad example (#231)
Browse files Browse the repository at this point in the history
  • Loading branch information
wihl authored Feb 24, 2020
1 parent 77f9271 commit 667ac6d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions examples/campaign_management/validate_text_ad.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ def main(client, customer_id, ad_group_id):
ad_group_ad.ad.expanded_text_ad.description.value = 'Luxury Cruise to Mars'
ad_group_ad.ad.expanded_text_ad.headline_part1.value = (
'Visit the Red Planet in style.')
# Adds a headline that will trigger a policy violation to demonstrate error
# handling.
ad_group_ad.ad.expanded_text_ad.headline_part2.value = (
'Low-gravity fun for everyone!!')
final_url = ad_group_ad.ad.final_urls.add()
Expand Down

0 comments on commit 667ac6d

Please sign in to comment.