--- v22/common/criteria.proto 2026-01-23 15:36:15.000000000 +0000 +++ v23/common/criteria.proto 2026-01-23 15:36:25.000000000 +0000 @@ -896,3 +896,32 @@ // The PlacementListInfo shared set resource name. optional string shared_set = 1; } + +// A criterion for targeting a shared set of rules for item groups in Vertical +// Ads (e.g., for hotel ads). +message VerticalAdsItemGroupRuleListInfo { + // The shared set resource name of the vertical ads item group rule list. + optional string shared_set = 1; +} + +// A criterion to represent a single item group rule in Vertical Ads. +message VerticalAdsItemGroupRuleInfo { + // Each value represents a dimension for which we can set an item group rule. + oneof dimension { + // The id specifying a particular Vertical Ad listing. + string item_code = 1; + + // The resource name of the Geo Target Constant for the country. + string country_criterion_id = 2; + + // The resource name of the Geo Target Constant for the region. + string region_criterion_id = 3; + + // The resource name of the Geo Target Constant for the city. + string city_criterion_id = 4; + + // Integer value specifying the class rating for a hotel. Ranges from 1 to 5 + // stars. + int64 hotel_class = 6; + } +}
/common/criteria.proto
Kecuali dinyatakan lain, konten di halaman ini dilisensikan berdasarkan Lisensi Creative Commons Attribution 4.0, sedangkan contoh kode dilisensikan berdasarkan Lisensi Apache 2.0. Untuk mengetahui informasi selengkapnya, lihat Kebijakan Situs Google Developers. Java adalah merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2026-01-28 UTC.