class Google::Apis::AuthorizedbuyersmarketplaceV1::CreativeRequirements

Message captures data about the creatives in the deal.

Attributes

creative_format[RW]

Output only. The format of the creative, only applicable for programmatic guaranteed and preferred deals. Corresponds to the JSON property ‘creativeFormat` @return [String]

creative_pre_approval_policy[RW]

Output only. Specifies the creative pre-approval policy. Corresponds to the JSON property ‘creativePreApprovalPolicy` @return [String]

creative_safe_frame_compatibility[RW]

Output only. Specifies whether the creative is safeFrame compatible. Corresponds to the JSON property ‘creativeSafeFrameCompatibility` @return [String]

max_ad_duration_ms[RW]

Output only. The max duration of the video creative in milliseconds. only applicable for deals with video creatives. Corresponds to the JSON property ‘maxAdDurationMs` @return [Fixnum]

programmatic_creative_source[RW]

Output only. Specifies the creative source for programmatic deals. PUBLISHER means creative is provided by seller and ADVERTISER means creative is provided by the buyer. Corresponds to the JSON property ‘programmaticCreativeSource` @return [String]

skippable_ad_type[RW]

Output only. Skippable video ads allow viewers to skip ads after 5 seconds. Only applicable for deals with video creatives. Corresponds to the JSON property ‘skippableAdType` @return [String]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb, line 422
def update!(**args)
  @creative_format = args[:creative_format] if args.key?(:creative_format)
  @creative_pre_approval_policy = args[:creative_pre_approval_policy] if args.key?(:creative_pre_approval_policy)
  @creative_safe_frame_compatibility = args[:creative_safe_frame_compatibility] if args.key?(:creative_safe_frame_compatibility)
  @max_ad_duration_ms = args[:max_ad_duration_ms] if args.key?(:max_ad_duration_ms)
  @programmatic_creative_source = args[:programmatic_creative_source] if args.key?(:programmatic_creative_source)
  @skippable_ad_type = args[:skippable_ad_type] if args.key?(:skippable_ad_type)
end