Hotel Ads - how to exclude a listing group

12 views
Skip to first unread message

Nichole Clark

unread,
Sep 9, 2021, 2:31:14 PMSep 9
to AdWords API and Google Ads API Forum
Hi there,

I'm using the API to create a hotel ads commission campaign down to a listing group for a specific hotel center hotel id. The listing group requires that an "other" node be created that we wish to exclude from the commission. This is easily done in the UI, but it's not clear how set the value programmatically.  The ad group criterion object allows a status of paused and enabled, neither of which affect this field. What field is this and how do we set it programmatically?

Attached is a screenshot of the field in the UI. 

Thanks in advance.

ExcludedHotelGroup.PNG

Google Ads API Forum Advisor

unread,
Sep 10, 2021, 5:34:14 AMSep 10
to adwor...@googlegroups.com
Hi Nichole,

Thank you for raising your concern.

For mutating ad group criterion such as listing group of hotel ads, you can use the AdGroupCriterionService.MutateAdGroupCriteria. It can be used to update negative field as 'true' to exclude listing_group of hotel, specifically the other node.

Let me know if you have questions with the provided suggestion.

Regards,
Google Logo
Ernie John Blanca Tacata
Google Ads API Team
 


ref:_00D1U1174p._5004Q2NSqhU:ref

Nichole Clark

unread,
Sep 16, 2021, 11:40:35 AMSep 16
to AdWords API and Google Ads API Forum
Thank you, that did it.
Reply all
Reply to author
Forward
0 new messages