Class: AdwordsApi::V201603::CustomerService::CustomerService
- Inherits:
-
AdsCommon::SavonService
- Object
- AdsCommon::SavonService
- AdwordsApi::V201603::CustomerService::CustomerService
- Defined in:
- lib/adwords_api/v201603/customer_service.rb
Instance Method Summary collapse
- #get(*args, &block) ⇒ Object
- #get_customers(*args, &block) ⇒ Object
- #get_customers_to_xml(*args) ⇒ Object
- #get_to_xml(*args) ⇒ Object
-
#initialize(config, endpoint) ⇒ CustomerService
constructor
A new instance of CustomerService.
- #mutate(*args, &block) ⇒ Object
- #mutate_to_xml(*args) ⇒ Object
Constructor Details
#initialize(config, endpoint) ⇒ CustomerService
Returns a new instance of CustomerService.
15 16 17 18 |
# File 'lib/adwords_api/v201603/customer_service.rb', line 15 def initialize(config, endpoint) namespace = 'https://adwords.google.com/api/adwords/mcm/v201603' super(config, endpoint, namespace, :v201603) end |
Instance Method Details
#get(*args, &block) ⇒ Object
20 21 22 |
# File 'lib/adwords_api/v201603/customer_service.rb', line 20 def get(*args, &block) return execute_action('get', args, &block) end |
#get_customers(*args, &block) ⇒ Object
28 29 30 |
# File 'lib/adwords_api/v201603/customer_service.rb', line 28 def get_customers(*args, &block) return execute_action('get_customers', args, &block) end |
#get_customers_to_xml(*args) ⇒ Object
32 33 34 |
# File 'lib/adwords_api/v201603/customer_service.rb', line 32 def get_customers_to_xml(*args) return get_soap_xml('get_customers', args) end |
#get_to_xml(*args) ⇒ Object
24 25 26 |
# File 'lib/adwords_api/v201603/customer_service.rb', line 24 def get_to_xml(*args) return get_soap_xml('get', args) end |
#mutate(*args, &block) ⇒ Object
36 37 38 |
# File 'lib/adwords_api/v201603/customer_service.rb', line 36 def mutate(*args, &block) return execute_action('mutate', args, &block) end |
#mutate_to_xml(*args) ⇒ Object
40 41 42 |
# File 'lib/adwords_api/v201603/customer_service.rb', line 40 def mutate_to_xml(*args) return get_soap_xml('mutate', args) end |