Hotel Ads - how to exclude a listing group

Skip to first unread message

Nichole Clark

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.


Google Ads API Forum Advisor

Sep 10, 2021, 5:34:14 AMSep 10
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.

Google Logo
Ernie John Blanca Tacata
Google Ads API Team


Nichole Clark

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
0 new messages