Class: Google::Apis::Adexchangebuyer2V2beta1::CreativeDealAssociation
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::Adexchangebuyer2V2beta1::CreativeDealAssociation
 
- 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
The association between a creative and a deal.
Instance Attribute Summary collapse
- 
  
    
      #account_id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The account the creative belongs to. 
- 
  
    
      #creative_id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The ID of the creative associated with the deal. 
- 
  
    
      #deals_id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The externalDealId for the deal associated with the creative. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ CreativeDealAssociation 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of CreativeDealAssociation. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ CreativeDealAssociation
Returns a new instance of CreativeDealAssociation
| 704 705 706 | # File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 704 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#account_id ⇒ String
The account the creative belongs to.
Corresponds to the JSON property accountId
| 692 693 694 | # File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 692 def account_id @account_id end | 
#creative_id ⇒ String
The ID of the creative associated with the deal.
Corresponds to the JSON property creativeId
| 697 698 699 | # File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 697 def creative_id @creative_id end | 
#deals_id ⇒ String
The externalDealId for the deal associated with the creative.
Corresponds to the JSON property dealsId
| 702 703 704 | # File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 702 def deals_id @deals_id end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 709 710 711 712 713 | # File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 709 def update!(**args) @account_id = args[:account_id] if args.key?(:account_id) @creative_id = args[:creative_id] if args.key?(:creative_id) @deals_id = args[:deals_id] if args.key?(:deals_id) end |