Class: Google::Apis::AdexchangebuyerV1_4::TargetingValueCreativeSize
- Inherits:
-
Object
- Object
- Google::Apis::AdexchangebuyerV1_4::TargetingValueCreativeSize
- 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
-
#companion_sizes ⇒ Array<Google::Apis::AdexchangebuyerV1_4::TargetingValueSize>
For video size type, the list of companion sizes.
-
#creative_size_type ⇒ String
The Creative size type.
-
#size ⇒ Google::Apis::AdexchangebuyerV1_4::TargetingValueSize
For regular or video creative size type, specifies the size of the creative.
-
#skippable_ad_type ⇒ String
The skippable ad type for video size.
Instance Method Summary collapse
-
#initialize(**args) ⇒ TargetingValueCreativeSize
constructor
A new instance of TargetingValueCreativeSize.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ TargetingValueCreativeSize
Returns a new instance of TargetingValueCreativeSize.
3370 3371 3372 |
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 3370 def initialize(**args) update!(**args) end |
Instance Attribute Details
#companion_sizes ⇒ Array<Google::Apis::AdexchangebuyerV1_4::TargetingValueSize>
For video size type, the list of companion sizes.
Corresponds to the JSON property companionSizes
3353 3354 3355 |
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 3353 def companion_sizes @companion_sizes end |
#creative_size_type ⇒ String
The Creative size type.
Corresponds to the JSON property creativeSizeType
3358 3359 3360 |
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 3358 def creative_size_type @creative_size_type end |
#size ⇒ Google::Apis::AdexchangebuyerV1_4::TargetingValueSize
For regular or video creative size type, specifies the size of the creative.
Corresponds to the JSON property size
3363 3364 3365 |
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 3363 def size @size end |
#skippable_ad_type ⇒ String
The skippable ad type for video size.
Corresponds to the JSON property skippableAdType
3368 3369 3370 |
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 3368 def skippable_ad_type @skippable_ad_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3375 3376 3377 3378 3379 3380 |
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 3375 def update!(**args) @companion_sizes = args[:companion_sizes] if args.key?(:companion_sizes) @creative_size_type = args[:creative_size_type] if args.key?(:creative_size_type) @size = args[:size] if args.key?(:size) @skippable_ad_type = args[:skippable_ad_type] if args.key?(:skippable_ad_type) end |