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
Overview
Next Id: 7
Instance Attribute Summary collapse
-
#allowed_formats ⇒ Array<String>
The formats allowed by the publisher.
-
#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.
-
#native_template ⇒ String
The native template for native ad.
-
#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.
Constructor Details
#initialize(**args) ⇒ TargetingValueCreativeSize
Returns a new instance of TargetingValueCreativeSize.
3607 3608 3609 |
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 3607 def initialize(**args) update!(**args) end |
Instance Attribute Details
#allowed_formats ⇒ Array<String>
The formats allowed by the publisher.
Corresponds to the JSON property allowedFormats
3580 3581 3582 |
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 3580 def allowed_formats @allowed_formats end |
#companion_sizes ⇒ Array<Google::Apis::AdexchangebuyerV1_4::TargetingValueSize>
For video size type, the list of companion sizes.
Corresponds to the JSON property companionSizes
3585 3586 3587 |
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 3585 def companion_sizes @companion_sizes end |
#creative_size_type ⇒ String
The Creative size type.
Corresponds to the JSON property creativeSizeType
3590 3591 3592 |
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 3590 def creative_size_type @creative_size_type end |
#native_template ⇒ String
The native template for native ad.
Corresponds to the JSON property nativeTemplate
3595 3596 3597 |
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 3595 def native_template @native_template 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
3600 3601 3602 |
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 3600 def size @size end |
#skippable_ad_type ⇒ String
The skippable ad type for video size.
Corresponds to the JSON property skippableAdType
3605 3606 3607 |
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 3605 def skippable_ad_type @skippable_ad_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3612 3613 3614 3615 3616 3617 3618 3619 |
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 3612 def update!(**args) @allowed_formats = args[:allowed_formats] if args.key?(:allowed_formats) @companion_sizes = args[:companion_sizes] if args.key?(:companion_sizes) @creative_size_type = args[:creative_size_type] if args.key?(:creative_size_type) @native_template = args[:native_template] if args.key?(:native_template) @size = args[:size] if args.key?(:size) @skippable_ad_type = args[:skippable_ad_type] if args.key?(:skippable_ad_type) end |