Class: Google::Apis::ContentV2::AccountAdwordsLink
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::ContentV2::AccountAdwordsLink
 
- Defined in:
- generated/google/apis/content_v2/classes.rb,
 generated/google/apis/content_v2/representations.rb,
 generated/google/apis/content_v2/representations.rb
Instance Attribute Summary collapse
- 
  
    
      #adwords_id  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Customer ID of the AdWords account. 
- 
  
    
      #status  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Status of the link between this Merchant Center account and the AdWords account. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ AccountAdwordsLink 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of AccountAdwordsLink. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ AccountAdwordsLink
Returns a new instance of AccountAdwordsLink
| 138 139 140 | # File 'generated/google/apis/content_v2/classes.rb', line 138 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#adwords_id ⇒ Fixnum
Customer ID of the AdWords account.
Corresponds to the JSON property adwordsId
| 123 124 125 | # File 'generated/google/apis/content_v2/classes.rb', line 123 def adwords_id @adwords_id end | 
#status ⇒ String
Status of the link between this Merchant Center account and the AdWords
account. Upon retrieval, it represents the actual status of the link and can
be either active if it was approved in Google AdWords or pending if it's
pending approval. Upon insertion, it represents the intended status of the
link. Re-uploading a link with status active when it's still pending or with
status pending when it's already active will have no effect: the status will
remain unchanged. Re-uploading a link with deprecated status inactive is
equivalent to not submitting the link at all and will delete the link if it
was active or cancel the link request if it was pending.
Corresponds to the JSON property status
| 136 137 138 | # File 'generated/google/apis/content_v2/classes.rb', line 136 def status @status end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 143 144 145 146 | # File 'generated/google/apis/content_v2/classes.rb', line 143 def update!(**args) @adwords_id = args[:adwords_id] if args.key?(:adwords_id) @status = args[:status] if args.key?(:status) end |