Utilizing the Google Ads API for Advanced Hotel Ads Management I am currently leveraging the Google Ads API via the REST method to address two specific challenges related to managing hotel ads. 1. Identifying Hotel IDs in "Everything Else" Categories
The first challenge arises from the categorization of multiple hotel items under the "Everything else" grouping within various ad groups. This classification makes it inconvenient to assess the performance of individual hotel item ads. At present, the method I employ involves navigating through the Google Ads UI: 1. Go to *Campaigns* → *Ad Groups* → *Hotel Groups*. 2. Select *All Hotels* → *US* → *California*. 3. Edit the subdivision, select a specific hotel item, and save without modifying the bids. Using the Google Ads API, I utilize the /googleAds:search method to retrieve details about "Everything else in California." The API response indicates that "Everything else in California" is marked as a *unit*, which seems to imply it is the smallest subdivision. However, I am unable to identify the individual hotel IDs within this category using the API. *Question*: Is there a way to utilize the Google Ads API to identify the hotel IDs grouped under "Everything else" in a specified category? 2. Automating Ad Exclusion Based on Specific Performance Targets The second goal is to design an automated process to exclude ads when specific performance thresholds are exceeded. For instance, if the *average CPC* surpasses my predefined limit, I need to: 1. Navigate through the UI to the relevant campaign → ad group → hotel item. 2. Adjust the bid strategy from *maximize conversion value* to *exclude*. Currently, I use the *Hotel Performance* data from /googleAds:search to monitor the performance of hotel items within specific ad groups. However, when attempting to programmatically adjust the ad_group_criterion's negative property from false to true, I encounter a limitation: the API does not allow direct modification of this property. Instead, I must: 1. Use the *mutate (remove)* method to remove the existing ad_group_criterion. 2. Recreate a new ad_group_criterion with the updated settings. While I am able to remove the ad_group_criterion without issue, I encounter challenges when attempting to create a new criterion for the same hotel ID under the current ad group. *Question*: - Is there a method in the Google Ads API to directly change the negative property of an existing ad_group_criterion? - Alternatively, what is the correct approach to recreate a new hotel group criterion in the current ad group? -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog: https://googleadsdeveloper.blogspot.com/ =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords API and Google Ads API Forum" group. To post to this group, send email to adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com 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 "Google Ads API and AdWords API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. To view this discussion visit https://groups.google.com/d/msgid/adwords-api/de90ba6c-665e-490b-8197-e200ee0d9f48n%40googlegroups.com.