Class: BingAdsApi::V9::CustomerManagementService::CustomerManagementService

Inherits:
AdsCommonForBingAds::SavonService show all
Defined in:
lib/bing_ads_api/v9/customer_management_service.rb

Instance Method Summary collapse

Constructor Details

#initialize(config, endpoint) ⇒ CustomerManagementService

Returns a new instance of CustomerManagementService.



15
16
17
18
# File 'lib/bing_ads_api/v9/customer_management_service.rb', line 15

def initialize(config, endpoint)
  namespace = 'https://bingads.microsoft.com/Customer/v9'
  super(config, endpoint, namespace, :V9)
end

Instance Method Details

#add_account(*args, &block) ⇒ Object



28
29
30
# File 'lib/bing_ads_api/v9/customer_management_service.rb', line 28

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


128
129
130
# File 'lib/bing_ads_api/v9/customer_management_service.rb', line 128

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

#add_prepay_account(*args, &block) ⇒ Object



108
109
110
# File 'lib/bing_ads_api/v9/customer_management_service.rb', line 108

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

#delete_account(*args, &block) ⇒ Object



56
57
58
# File 'lib/bing_ads_api/v9/customer_management_service.rb', line 56

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

#delete_customer(*args, &block) ⇒ Object



60
61
62
# File 'lib/bing_ads_api/v9/customer_management_service.rb', line 60

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

#delete_user(*args, &block) ⇒ Object



80
81
82
# File 'lib/bing_ads_api/v9/customer_management_service.rb', line 80

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

#find_accounts(*args, &block) ⇒ Object



24
25
26
# File 'lib/bing_ads_api/v9/customer_management_service.rb', line 24

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

#find_accounts_or_customers_info(*args, &block) ⇒ Object



100
101
102
# File 'lib/bing_ads_api/v9/customer_management_service.rb', line 100

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

#get_accessible_customer(*args, &block) ⇒ Object



96
97
98
# File 'lib/bing_ads_api/v9/customer_management_service.rb', line 96

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

#get_account(*args, &block) ⇒ Object



48
49
50
# File 'lib/bing_ads_api/v9/customer_management_service.rb', line 48

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

#get_accounts_info(*args, &block) ⇒ Object



20
21
22
# File 'lib/bing_ads_api/v9/customer_management_service.rb', line 20

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

#get_current_user(*args, &block) ⇒ Object



76
77
78
# File 'lib/bing_ads_api/v9/customer_management_service.rb', line 76

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

#get_customer(*args, &block) ⇒ Object



36
37
38
# File 'lib/bing_ads_api/v9/customer_management_service.rb', line 36

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

#get_customer_pilot_features(*args, &block) ⇒ Object



88
89
90
# File 'lib/bing_ads_api/v9/customer_management_service.rb', line 88

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

#get_customers_info(*args, &block) ⇒ Object



52
53
54
# File 'lib/bing_ads_api/v9/customer_management_service.rb', line 52

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

#get_pilot_features_countries(*args, &block) ⇒ Object



92
93
94
# File 'lib/bing_ads_api/v9/customer_management_service.rb', line 92

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

#get_user(*args, &block) ⇒ Object



72
73
74
# File 'lib/bing_ads_api/v9/customer_management_service.rb', line 72

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

#get_users_info(*args, &block) ⇒ Object



84
85
86
# File 'lib/bing_ads_api/v9/customer_management_service.rb', line 84

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

#map_account_id_to_external_account_ids(*args, &block) ⇒ Object



120
121
122
# File 'lib/bing_ads_api/v9/customer_management_service.rb', line 120

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

#map_customer_id_to_external_customer_id(*args, &block) ⇒ Object



116
117
118
# File 'lib/bing_ads_api/v9/customer_management_service.rb', line 116

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

#search_accounts(*args, &block) ⇒ Object



140
141
142
# File 'lib/bing_ads_api/v9/customer_management_service.rb', line 140

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


136
137
138
# File 'lib/bing_ads_api/v9/customer_management_service.rb', line 136

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

#search_customers(*args, &block) ⇒ Object



124
125
126
# File 'lib/bing_ads_api/v9/customer_management_service.rb', line 124

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

#signup_customer(*args, &block) ⇒ Object



44
45
46
# File 'lib/bing_ads_api/v9/customer_management_service.rb', line 44

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

#update_account(*args, &block) ⇒ Object



32
33
34
# File 'lib/bing_ads_api/v9/customer_management_service.rb', line 32

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


132
133
134
# File 'lib/bing_ads_api/v9/customer_management_service.rb', line 132

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

#update_customer(*args, &block) ⇒ Object



40
41
42
# File 'lib/bing_ads_api/v9/customer_management_service.rb', line 40

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

#update_prepay_account(*args, &block) ⇒ Object



112
113
114
# File 'lib/bing_ads_api/v9/customer_management_service.rb', line 112

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

#update_user(*args, &block) ⇒ Object



64
65
66
# File 'lib/bing_ads_api/v9/customer_management_service.rb', line 64

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

#update_user_roles(*args, &block) ⇒ Object



68
69
70
# File 'lib/bing_ads_api/v9/customer_management_service.rb', line 68

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

#upgrade_customer_to_agency(*args, &block) ⇒ Object



104
105
106
# File 'lib/bing_ads_api/v9/customer_management_service.rb', line 104

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