Class: Google::Apis::AdexchangebuyerV1_4::SharedTargeting
- Inherits:
-
Object
- Object
- Google::Apis::AdexchangebuyerV1_4::SharedTargeting
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/adexchangebuyer_v1_4/classes.rb,
generated/google/apis/adexchangebuyer_v1_4/representations.rb,
generated/google/apis/adexchangebuyer_v1_4/representations.rb
Instance Attribute Summary collapse
-
#exclusions ⇒ Array<Google::Apis::AdexchangebuyerV1_4::TargetingValue>
The list of values to exclude from targeting.
-
#inclusions ⇒ Array<Google::Apis::AdexchangebuyerV1_4::TargetingValue>
The list of value to include as part of the targeting.
-
#key ⇒ String
The key representing the shared targeting criterion.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SharedTargeting
constructor
A new instance of SharedTargeting.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ SharedTargeting
Returns a new instance of SharedTargeting
3386 3387 3388 |
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 3386 def initialize(**args) update!(**args) end |
Instance Attribute Details
#exclusions ⇒ Array<Google::Apis::AdexchangebuyerV1_4::TargetingValue>
The list of values to exclude from targeting. Each value is AND'd together.
Corresponds to the JSON property exclusions
3373 3374 3375 |
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 3373 def exclusions @exclusions end |
#inclusions ⇒ Array<Google::Apis::AdexchangebuyerV1_4::TargetingValue>
The list of value to include as part of the targeting. Each value is OR'd
together.
Corresponds to the JSON property inclusions
3379 3380 3381 |
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 3379 def inclusions @inclusions end |
#key ⇒ String
The key representing the shared targeting criterion.
Corresponds to the JSON property key
3384 3385 3386 |
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 3384 def key @key end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3391 3392 3393 3394 3395 |
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 3391 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 |