class Google::Apis::Adexchangebuyer2V2beta1::CreativeRestrictions

Represents creative restrictions associated to Programmatic Guaranteed/ Preferred Deal in Ad Manager. This doesn't apply to Private Auction and AdX Preferred Deals.

Attributes

creative_format[RW]

The format of the environment that the creatives will be displayed in. Corresponds to the JSON property `creativeFormat` @return [String]

creative_specifications[RW]

Corresponds to the JSON property `creativeSpecifications` @return [Array<Google::Apis::Adexchangebuyer2V2beta1::CreativeSpecification>]

skippable_ad_type[RW]

Skippable video ads allow viewers to skip ads after 5 seconds. Corresponds to the JSON property `skippableAdType` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/adexchangebuyer2_v2beta1/classes.rb, line 894
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 899
def update!(**args)
  @creative_format = args[:creative_format] if args.key?(:creative_format)
  @creative_specifications = args[:creative_specifications] if args.key?(:creative_specifications)
  @skippable_ad_type = args[:skippable_ad_type] if args.key?(:skippable_ad_type)
end