Skip to content

Commit 667ac6d

Browse files
authored
added comment to validate_text_ad example (googleads#231)
1 parent 77f9271 commit 667ac6d

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

examples/campaign_management/validate_text_ad.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@ def main(client, customer_id, ad_group_id):
3838
ad_group_ad.ad.expanded_text_ad.description.value = 'Luxury Cruise to Mars'
3939
ad_group_ad.ad.expanded_text_ad.headline_part1.value = (
4040
'Visit the Red Planet in style.')
41+
# Adds a headline that will trigger a policy violation to demonstrate error
42+
# handling.
4143
ad_group_ad.ad.expanded_text_ad.headline_part2.value = (
4244
'Low-gravity fun for everyone!!')
4345
final_url = ad_group_ad.ad.final_urls.add()

0 commit comments

Comments
 (0)