Class: AdwordsApi::V201708::CustomerService::CustomerService

Inherits:
AdsCommon::SavonService
  • Object
show all
Defined in:
lib/adwords_api/v201708/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/v201708/customer_service.rb', line 15

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

Instance Method Details

#get_customers(*args, &block) ⇒ Object



20
21
22
# File 'lib/adwords_api/v201708/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/v201708/customer_service.rb', line 24

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


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

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


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

def get_service_links_to_xml(*args)
  return get_soap_xml('get_service_links', args)
end

#mutate(*args, &block) ⇒ Object



36
37
38
# File 'lib/adwords_api/v201708/customer_service.rb', line 36

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


44
45
46
# File 'lib/adwords_api/v201708/customer_service.rb', line 44

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


48
49
50
# File 'lib/adwords_api/v201708/customer_service.rb', line 48

def mutate_service_links_to_xml(*args)
  return get_soap_xml('mutate_service_links', args)
end

#mutate_to_xml(*args) ⇒ Object



40
41
42
# File 'lib/adwords_api/v201708/customer_service.rb', line 40

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