class Google::Apis::Adexchangebuyer2V2beta1::CreativeSpecification

Represents information for a creative that is associated with a Programmatic Guaranteed/Preferred Deal in Ad Manager.

Attributes

creative_companion_sizes[RW]

Companion sizes may be filled in only when this is a video creative. Corresponds to the JSON property `creativeCompanionSizes` @return [Array<Google::Apis::Adexchangebuyer2V2beta1::AdSize>]

creative_size[RW]

Represents size of a single ad slot, or a creative. Corresponds to the JSON property `creativeSize` @return [Google::Apis::Adexchangebuyer2V2beta1::AdSize]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/adexchangebuyer2_v2beta1/classes.rb, line 982
def update!(**args)
  @creative_companion_sizes = args[:creative_companion_sizes] if args.key?(:creative_companion_sizes)
  @creative_size = args[:creative_size] if args.key?(:creative_size)
end