Class: AdwordsApi::V201607::CustomerService::CustomerService

Inherits:
AdsCommon::SavonService
  • Object
show all
Defined in:
lib/adwords_api/v201607/customer_service.rb

Instance Method Summary collapse

Constructor Details

#initialize(config, endpoint) ⇒ CustomerService

Returns a new instance of CustomerService.



15
16
17
18
# File 'lib/adwords_api/v201607/customer_service.rb', line 15

def initialize(config, endpoint)
  namespace = 'https://adwords.google.com/api/adwords/mcm/v201607'
  super(config, endpoint, namespace, :v201607)
end

Instance Method Details

#get_customers(*args, &block) ⇒ Object



20
21
22
# File 'lib/adwords_api/v201607/customer_service.rb', line 20

def get_customers(*args, &block)
  return execute_action('get_customers', args, &block)
end

#get_customers_to_xml(*args) ⇒ Object



24
25
26
# File 'lib/adwords_api/v201607/customer_service.rb', line 24

def get_customers_to_xml(*args)
  return get_soap_xml('get_customers', args)
end

#mutate(*args, &block) ⇒ Object



28
29
30
# File 'lib/adwords_api/v201607/customer_service.rb', line 28

def mutate(*args, &block)
  return execute_action('mutate', args, &block)
end

#mutate_to_xml(*args) ⇒ Object



32
33
34
# File 'lib/adwords_api/v201607/customer_service.rb', line 32

def mutate_to_xml(*args)
  return get_soap_xml('mutate', args)
end