Class: Google::Apis::Adexchangebuyer2V2beta1::CreativeRestrictions
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::Adexchangebuyer2V2beta1::CreativeRestrictions
 
 
- Includes:
 - Core::Hashable, Core::JsonObjectSupport
 
- Defined in:
 - generated/google/apis/adexchangebuyer2_v2beta1/classes.rb,
generated/google/apis/adexchangebuyer2_v2beta1/representations.rb,
generated/google/apis/adexchangebuyer2_v2beta1/representations.rb 
Overview
Represents creative restrictions associated to Programmatic Guaranteed/ Preferred Deal in DFP. This doesn't apply to Private Auction and AdX Preferred Deals.
Instance Attribute Summary collapse
- 
  
    
      #creative_format  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The format of the environment that the creatives will be displayed in.
 - 
  
    
      #creative_specifications  ⇒ Array<Google::Apis::Adexchangebuyer2V2beta1::CreativeSpecification> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Corresponds to the JSON property
creativeSpecifications. - 
  
    
      #skippable_ad_type  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Skippable video ads allow viewers to skip ads after 5 seconds.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ CreativeRestrictions 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of CreativeRestrictions.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ CreativeRestrictions
Returns a new instance of CreativeRestrictions
      885 886 887  | 
    
      # File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 885 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#creative_format ⇒ String
The format of the environment that the creatives will be displayed in.
Corresponds to the JSON property creativeFormat
      873 874 875  | 
    
      # File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 873 def creative_format @creative_format end  | 
  
#creative_specifications ⇒ Array<Google::Apis::Adexchangebuyer2V2beta1::CreativeSpecification>
Corresponds to the JSON property creativeSpecifications
      878 879 880  | 
    
      # File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 878 def creative_specifications @creative_specifications end  | 
  
#skippable_ad_type ⇒ String
Skippable video ads allow viewers to skip ads after 5 seconds.
Corresponds to the JSON property skippableAdType
      883 884 885  | 
    
      # File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 883 def skippable_ad_type @skippable_ad_type end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      890 891 892 893 894  | 
    
      # File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 890 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  |