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
Next Id: 7 Corresponds to the JSON property
creativeSizeValue
. -
#day_part_targeting_value ⇒ Google::Apis::AdexchangebuyerV1_4::TargetingValueDayPartTargeting
The daypart targeting to include / exclude.
-
#demog_age_criteria_value ⇒ Google::Apis::AdexchangebuyerV1_4::TargetingValueDemogAgeCriteria
Corresponds to the JSON property
demogAgeCriteriaValue
. -
#demog_gender_criteria_value ⇒ Google::Apis::AdexchangebuyerV1_4::TargetingValueDemogGenderCriteria
Corresponds to the JSON property
demogGenderCriteriaValue
. -
#long_value ⇒ Fixnum
The long value to exclude/include.
-
#request_platform_targeting_value ⇒ Google::Apis::AdexchangebuyerV1_4::TargetingValueRequestPlatformTargeting
Corresponds to the JSON property
requestPlatformTargetingValue
. -
#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.
Constructor Details
#initialize(**args) ⇒ TargetingValue
Returns a new instance of TargetingValue.
3557 3558 3559 |
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 3557 def initialize(**args) update!(**args) end |
Instance Attribute Details
#creative_size_value ⇒ Google::Apis::AdexchangebuyerV1_4::TargetingValueCreativeSize
Next Id: 7
Corresponds to the JSON property creativeSizeValue
3524 3525 3526 |
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 3524 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
3530 3531 3532 |
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 3530 def day_part_targeting_value @day_part_targeting_value end |
#demog_age_criteria_value ⇒ Google::Apis::AdexchangebuyerV1_4::TargetingValueDemogAgeCriteria
Corresponds to the JSON property demogAgeCriteriaValue
3535 3536 3537 |
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 3535 def demog_age_criteria_value @demog_age_criteria_value end |
#demog_gender_criteria_value ⇒ Google::Apis::AdexchangebuyerV1_4::TargetingValueDemogGenderCriteria
Corresponds to the JSON property demogGenderCriteriaValue
3540 3541 3542 |
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 3540 def demog_gender_criteria_value @demog_gender_criteria_value end |
#long_value ⇒ Fixnum
The long value to exclude/include.
Corresponds to the JSON property longValue
3545 3546 3547 |
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 3545 def long_value @long_value end |
#request_platform_targeting_value ⇒ Google::Apis::AdexchangebuyerV1_4::TargetingValueRequestPlatformTargeting
Corresponds to the JSON property requestPlatformTargetingValue
3550 3551 3552 |
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 3550 def request_platform_targeting_value @request_platform_targeting_value end |
#string_value ⇒ String
The string value to exclude/include.
Corresponds to the JSON property stringValue
3555 3556 3557 |
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 3555 def string_value @string_value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3562 3563 3564 3565 3566 3567 3568 3569 3570 |
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 3562 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) @demog_age_criteria_value = args[:demog_age_criteria_value] if args.key?(:demog_age_criteria_value) @demog_gender_criteria_value = args[:demog_gender_criteria_value] if args.key?(:demog_gender_criteria_value) @long_value = args[:long_value] if args.key?(:long_value) @request_platform_targeting_value = args[:request_platform_targeting_value] if args.key?(:request_platform_targeting_value) @string_value = args[:string_value] if args.key?(:string_value) end |