Skip to content

Update responsive search ad example#529

Merged
dorasun merged 2 commits intomainfrom
add_responsive_search_ad_example
Oct 6, 2025
Merged

Update responsive search ad example#529
dorasun merged 2 commits intomainfrom
add_responsive_search_ad_example

Conversation

@dorasun
Copy link
Copy Markdown
Contributor

@dorasun dorasun commented Oct 2, 2025

Change-Id: I651119d3ff975115c48dcc3dd8149ed070ad6f37

Change-Id: I651119d3ff975115c48dcc3dd8149ed070ad6f37
@dorasun dorasun requested a review from a team as a code owner October 2, 2025 15:16
@dorasun dorasun requested review from BenRKarl, sarahcaseybot and sundquist and removed request for sarahcaseybot October 2, 2025 15:16
#
# Returns:
# Ad group resource name.
def create_ad_group(client, customer_id, campaign_resource_name, customizer_attribute_resource_name)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The function was defined to accept four arguments, including one called customizer_attribute_resource_name. However, this parameter is not actually needed or used for creating an ad group is it?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah oops, thanks for catching that! Updated

#
# Returns:
# Ad group ad resource name.
def create_ad_group_ad(client, customer_id, ad_group_resource_name)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Doesn't this function does need the customizer_attribute_resource_name to customize the ad text. The function was defined to accept only three arguments.

Check me on this since I'm working in Python in my mind.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you're right, the customizer_attribute_resource_name should be passed to this function, not to create_ad_group.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You're both correct, sorry I missed that! Updated

#
# Returns:
# Ad group ad resource name.
def create_ad_group_ad(client, customer_id, ad_group_resource_name)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you're right, the customizer_attribute_resource_name should be passed to this function, not to create_ad_group.

Change-Id: If70201bd75e6d53d3102e8c00bbd4070daaca8b4
Copy link
Copy Markdown
Contributor

@sundquist sundquist left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Raibaz Raibaz self-requested a review October 6, 2025 09:10
@dorasun dorasun merged commit 5840362 into main Oct 6, 2025
3 checks passed
@dorasun dorasun deleted the add_responsive_search_ad_example branch October 6, 2025 15:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants