Skip to content

Commit b8525ad

Browse files
authored
add description field for update_expanded_text_ad.py (googleads#250)
* code example for update expanded text ads * fixed argument wording * wording tweaks, use f-string * add punctuation * quote around resource name, and end sentence with a period * filename change * add description field * removing empty line Co-authored-by: Fei Xiang <[email protected]>
1 parent b591e25 commit b8525ad

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

examples/basic_operations/update_expanded_text_ad.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ def main(client, customer_id, ad_id):
3838
ad.expanded_text_ad.headline_part1.value = (
3939
f'Cruise to Pluto {str(uuid.uuid4())[:8]}')
4040
ad.expanded_text_ad.headline_part2.value = 'Tickets on sale now'
41+
ad.expanded_text_ad.description.value = 'Best space cruise ever.'
4142
final_url = ad.final_urls.add()
4243
final_url.value = 'http://www.example.com'
4344
final_mobile_url = ad.final_mobile_urls.add()

0 commit comments

Comments
 (0)