class Google::Apis::AdexchangebuyerV1_4::TargetingValueCreativeSize
Next Id: 7
Attributes
The formats allowed by the publisher. Corresponds to the JSON property `allowedFormats` @return [Array<String>]
For video size type, the list of companion sizes. Corresponds to the JSON property `companionSizes` @return [Array<Google::Apis::AdexchangebuyerV1_4::TargetingValueSize>]
The Creative
size type. Corresponds to the JSON property `creativeSizeType` @return [String]
The native template for native ad. Corresponds to the JSON property `nativeTemplate` @return [String]
For regular or video creative size type, specifies the size of the creative. Corresponds to the JSON property `size` @return [Google::Apis::AdexchangebuyerV1_4::TargetingValueSize]
The skippable ad type for video size. Corresponds to the JSON property `skippableAdType` @return [String]
Public Class Methods
# File lib/google/apis/adexchangebuyer_v1_4/classes.rb, line 3613 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/adexchangebuyer_v1_4/classes.rb, line 3618 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