Class: Google::Apis::Adexchangebuyer2V2beta1::CreativeSpecification
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::Adexchangebuyer2V2beta1::CreativeSpecification
 
 
- 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 information for a creative that is associated with a Programmatic Guaranteed/Preferred Deal in DFP.
Instance Attribute Summary collapse
- 
  
    
      #creative_companion_sizes  ⇒ Array<Google::Apis::Adexchangebuyer2V2beta1::AdSize> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Companion sizes may be filled in only when this is a video creative.
 - 
  
    
      #creative_size  ⇒ Google::Apis::Adexchangebuyer2V2beta1::AdSize 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Represents size of a single ad slot, or a creative.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ CreativeSpecification 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of CreativeSpecification.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ CreativeSpecification
Returns a new instance of CreativeSpecification
      969 970 971  | 
    
      # File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 969 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#creative_companion_sizes ⇒ Array<Google::Apis::Adexchangebuyer2V2beta1::AdSize>
Companion sizes may be filled in only when this is a video creative.
Corresponds to the JSON property creativeCompanionSizes
      962 963 964  | 
    
      # File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 962 def creative_companion_sizes @creative_companion_sizes end  | 
  
#creative_size ⇒ Google::Apis::Adexchangebuyer2V2beta1::AdSize
Represents size of a single ad slot, or a creative.
Corresponds to the JSON property creativeSize
      967 968 969  | 
    
      # File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 967 def creative_size @creative_size end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      974 975 976 977  | 
    
      # File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 974 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  |