Class: Google::Apis::AdexchangebuyerV1_4::TargetingValue
- Inherits:
-
Object
- Object
- Google::Apis::AdexchangebuyerV1_4::TargetingValue
- 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
-
#creative_size_value ⇒ Google::Apis::AdexchangebuyerV1_4::TargetingValueCreativeSize
The creative size value to exclude/include.
-
#day_part_targeting_value ⇒ Google::Apis::AdexchangebuyerV1_4::TargetingValueDayPartTargeting
The daypart targeting to include / exclude.
-
#long_value ⇒ Fixnum
The long value to exclude/include.
-
#string_value ⇒ String
The string value to exclude/include.
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
3423 3424 3425 |
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 3423 def initialize(**args) update!(**args) end |
Instance Attribute Details
#creative_size_value ⇒ Google::Apis::AdexchangebuyerV1_4::TargetingValueCreativeSize
The creative size value to exclude/include.
Corresponds to the JSON property creativeSizeValue
3405 3406 3407 |
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 3405 def creative_size_value @creative_size_value end |
#day_part_targeting_value ⇒ Google::Apis::AdexchangebuyerV1_4::TargetingValueDayPartTargeting
The daypart targeting to include / exclude. Filled in when the key is
GOOG_DAYPART_TARGETING.
Corresponds to the JSON property dayPartTargetingValue
3411 3412 3413 |
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 3411 def day_part_targeting_value @day_part_targeting_value end |
#long_value ⇒ Fixnum
The long value to exclude/include.
Corresponds to the JSON property longValue
3416 3417 3418 |
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 3416 def long_value @long_value end |
#string_value ⇒ String
The string value to exclude/include.
Corresponds to the JSON property stringValue
3421 3422 3423 |
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 3421 def string_value @string_value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3428 3429 3430 3431 3432 3433 |
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 3428 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 |