class Google::Apis::AdexchangebuyerV1_4::TargetingValueCreativeSize

Next Id: 7

Attributes

allowed_formats[RW]

The formats allowed by the publisher. Corresponds to the JSON property `allowedFormats` @return [Array<String>]

companion_sizes[RW]

For video size type, the list of companion sizes. Corresponds to the JSON property `companionSizes` @return [Array<Google::Apis::AdexchangebuyerV1_4::TargetingValueSize>]

creative_size_type[RW]

The Creative size type. Corresponds to the JSON property `creativeSizeType` @return [String]

native_template[RW]

The native template for native ad. Corresponds to the JSON property `nativeTemplate` @return [String]

size[RW]

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]

skippable_ad_type[RW]

The skippable ad type for video size. Corresponds to the JSON property `skippableAdType` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/adexchangebuyer_v1_4/classes.rb, line 3613
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

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