Class: Google::Apis::AuthorizedbuyersmarketplaceV1::CreativeRequirements

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb,
lib/google/apis/authorizedbuyersmarketplace_v1/representations.rb,
lib/google/apis/authorizedbuyersmarketplace_v1/representations.rb

Overview

Message captures data about the creatives in the deal.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CreativeRequirements

Returns a new instance of CreativeRequirements.



399
400
401
# File 'lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb', line 399

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#creative_pre_approval_policyString

Output only. Specifies the creative pre-approval policy. Corresponds to the JSON property creativePreApprovalPolicy

Returns:

  • (String)


385
386
387
# File 'lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb', line 385

def creative_pre_approval_policy
  @creative_pre_approval_policy
end

#creative_safe_frame_compatibilityString

Output only. Specifies whether the creative is safeFrame compatible. Corresponds to the JSON property creativeSafeFrameCompatibility

Returns:

  • (String)


390
391
392
# File 'lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb', line 390

def creative_safe_frame_compatibility
  @creative_safe_frame_compatibility
end

#programmatic_creative_sourceString

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

Returns:

  • (String)


397
398
399
# File 'lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb', line 397

def programmatic_creative_source
  @programmatic_creative_source
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



404
405
406
407
408
# File 'lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb', line 404

def update!(**args)
  @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)
  @programmatic_creative_source = args[:programmatic_creative_source] if args.key?(:programmatic_creative_source)
end