Class: Google::Apis::PartnersV2::AdWordsManagerAccountInfo

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

Overview

Information about a particular AdWords Manager Account. Read more at https://support.google.com/adwords/answer/6139186

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ AdWordsManagerAccountInfo

Returns a new instance of AdWordsManagerAccountInfo



2029
2030
2031
# File 'generated/google/apis/partners_v2/classes.rb', line 2029

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

Instance Attribute Details

#customer_nameString

Name of the customer this account represents. Corresponds to the JSON property customerName

Returns:

  • (String)


2027
2028
2029
# File 'generated/google/apis/partners_v2/classes.rb', line 2027

def customer_name
  @customer_name
end

#idFixnum

The AdWords Manager Account id. Corresponds to the JSON property id

Returns:

  • (Fixnum)


2022
2023
2024
# File 'generated/google/apis/partners_v2/classes.rb', line 2022

def id
  @id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2034
2035
2036
2037
# File 'generated/google/apis/partners_v2/classes.rb', line 2034

def update!(**args)
  @id = args[:id] if args.key?(:id)
  @customer_name = args[:customer_name] if args.key?(:customer_name)
end