Class: Google::Apis::Adexchangebuyer2V2beta1::TargetingValue
- Inherits:
-
Object
- Object
- Google::Apis::Adexchangebuyer2V2beta1::TargetingValue
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/adexchangebuyer2_v2beta1/classes.rb,
generated/google/apis/adexchangebuyer2_v2beta1/representations.rb,
generated/google/apis/adexchangebuyer2_v2beta1/representations.rb
Overview
A polymorphic targeting value used as part of Shared Targeting.
Instance Attribute Summary collapse
-
#creative_size_value ⇒ Google::Apis::Adexchangebuyer2V2beta1::CreativeSize
Specifies the size of the creative.
-
#day_part_targeting_value ⇒ Google::Apis::Adexchangebuyer2V2beta1::DayPartTargeting
Specifies the day part targeting criteria.
-
#long_value ⇒ Fixnum
The long value to include/exclude.
-
#string_value ⇒ String
The string value to include/exclude.
Instance Method Summary collapse
-
#initialize(**args) ⇒ TargetingValue
constructor
A new instance of TargetingValue.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ TargetingValue
Returns a new instance of TargetingValue
3984 3985 3986 |
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 3984 def initialize(**args) update!(**args) end |
Instance Attribute Details
#creative_size_value ⇒ Google::Apis::Adexchangebuyer2V2beta1::CreativeSize
Specifies the size of the creative.
Corresponds to the JSON property creativeSizeValue
3967 3968 3969 |
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 3967 def creative_size_value @creative_size_value end |
#day_part_targeting_value ⇒ Google::Apis::Adexchangebuyer2V2beta1::DayPartTargeting
Specifies the day part targeting criteria.
Corresponds to the JSON property dayPartTargetingValue
3972 3973 3974 |
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 3972 def day_part_targeting_value @day_part_targeting_value end |
#long_value ⇒ Fixnum
The long value to include/exclude.
Corresponds to the JSON property longValue
3977 3978 3979 |
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 3977 def long_value @long_value end |
#string_value ⇒ String
The string value to include/exclude.
Corresponds to the JSON property stringValue
3982 3983 3984 |
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 3982 def string_value @string_value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3989 3990 3991 3992 3993 3994 |
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 3989 def update!(**args) @creative_size_value = args[:creative_size_value] if args.key?(:creative_size_value) @day_part_targeting_value = args[:day_part_targeting_value] if args.key?(:day_part_targeting_value) @long_value = args[:long_value] if args.key?(:long_value) @string_value = args[:string_value] if args.key?(:string_value) end |