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



2055
2056
2057
# File 'generated/google/apis/partners_v2/classes.rb', line 2055

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)


2053
2054
2055
# File 'generated/google/apis/partners_v2/classes.rb', line 2053

def customer_name
  @customer_name
end

#idFixnum

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

Returns:

  • (Fixnum)


2048
2049
2050
# File 'generated/google/apis/partners_v2/classes.rb', line 2048

def id
  @id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2060
2061
2062
2063
# File 'generated/google/apis/partners_v2/classes.rb', line 2060

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