class Google::Apis::Adexchangebuyer2V2beta1::TargetingCriteria
Advertisers can target different attributes of an ad slot. For example, they can choose to show ads only if the user is in the U.S. Such targeting criteria can be specified as part of Shared Targeting.
Attributes
The list of values to exclude from targeting. Each value is AND'd together. Corresponds to the JSON property `exclusions` @return [Array<Google::Apis::Adexchangebuyer2V2beta1::TargetingValue>]
The list of value to include as part of the targeting. Each value is OR'd together. Corresponds to the JSON property `inclusions` @return [Array<Google::Apis::Adexchangebuyer2V2beta1::TargetingValue>]
The key representing the shared targeting criterion. Targeting criteria defined by Google
ad servers will begin with GOOG_. Third parties may define their own keys. A list of permissible keys along with the acceptable values will be provided as part of the external documentation. Corresponds to the JSON property `key` @return [String]
Public Class Methods
# File lib/google/apis/adexchangebuyer2_v2beta1/classes.rb, line 3913 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/adexchangebuyer2_v2beta1/classes.rb, line 3918 def update!(**args) @exclusions = args[:exclusions] if args.key?(:exclusions) @inclusions = args[:inclusions] if args.key?(:inclusions) @key = args[:key] if args.key?(:key) end