bing_ads_api 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +57 -0
- data/lib/ads_common_for_bing_ads.rb +49 -0
- data/lib/ads_common_for_bing_ads/api_config.rb +41 -0
- data/lib/ads_common_for_bing_ads/auth/client_login_handler.rb +168 -0
- data/lib/ads_common_for_bing_ads/build/savon_registry.rb +15 -0
- data/lib/ads_common_for_bing_ads/parameters_validator.rb +36 -0
- data/lib/ads_common_for_bing_ads/savon_headers_base_header_handler.rb +9 -0
- data/lib/ads_common_for_bing_ads/savon_service.rb +141 -0
- data/lib/bing_ads_api.rb +175 -0
- data/lib/bing_ads_api/api_config.rb +162 -0
- data/lib/bing_ads_api/client_login_header_handler.rb +21 -0
- data/lib/bing_ads_api/credential_handler.rb +91 -0
- data/lib/bing_ads_api/errors.rb +564 -0
- data/lib/bing_ads_api/report_header_handler.rb +46 -0
- data/lib/bing_ads_api/report_utils.rb +202 -0
- data/lib/bing_ads_api/v7/administration_service.rb +37 -0
- data/lib/bing_ads_api/v7/administration_service_registry.rb +30 -0
- data/lib/bing_ads_api/v7/campaign_management_service.rb +398 -0
- data/lib/bing_ads_api/v7/campaign_management_service_registry.rb +30 -0
- data/lib/bing_ads_api/v7/customer_billing_service.rb +58 -0
- data/lib/bing_ads_api/v7/customer_billing_service_registry.rb +30 -0
- data/lib/bing_ads_api/v7/customer_management_service.rb +98 -0
- data/lib/bing_ads_api/v7/customer_management_service_registry.rb +30 -0
- data/lib/bing_ads_api/v7/notification_service.rb +38 -0
- data/lib/bing_ads_api/v7/notification_service_registry.rb +30 -0
- data/lib/bing_ads_api/v7/reporting_service.rb +38 -0
- data/lib/bing_ads_api/v7/reporting_service_registry.rb +30 -0
- data/lib/bing_ads_api/v8/ad_intelligence_service.rb +86 -0
- data/lib/bing_ads_api/v8/ad_intelligence_service_registry.rb +30 -0
- data/lib/bing_ads_api/v8/administration_service.rb +38 -0
- data/lib/bing_ads_api/v8/administration_service_registry.rb +30 -0
- data/lib/bing_ads_api/v8/bulk_service.rb +42 -0
- data/lib/bing_ads_api/v8/bulk_service_registry.rb +30 -0
- data/lib/bing_ads_api/v8/campaign_management_service.rb +390 -0
- data/lib/bing_ads_api/v8/campaign_management_service_registry.rb +30 -0
- data/lib/bing_ads_api/v8/customer_billing_service.rb +62 -0
- data/lib/bing_ads_api/v8/customer_billing_service_registry.rb +30 -0
- data/lib/bing_ads_api/v8/customer_management_service.rb +162 -0
- data/lib/bing_ads_api/v8/customer_management_service_registry.rb +30 -0
- data/lib/bing_ads_api/v8/notification_service.rb +38 -0
- data/lib/bing_ads_api/v8/notification_service_registry.rb +30 -0
- data/lib/bing_ads_api/v8/optimizer_service.rb +46 -0
- data/lib/bing_ads_api/v8/optimizer_service_registry.rb +30 -0
- data/lib/bing_ads_api/v8/reporting_service.rb +38 -0
- data/lib/bing_ads_api/v8/reporting_service_registry.rb +30 -0
- data/lib/bing_ads_api/version.rb +5 -0
- data/rakefile.rb +54 -0
- metadata +156 -0
@@ -0,0 +1,30 @@
|
|
1
|
+
# Encoding: utf-8
|
2
|
+
#
|
3
|
+
# This is auto-generated code, changes will be overwritten.
|
4
|
+
#
|
5
|
+
# Copyright:: Copyright 2012, Google Inc. All Rights Reserved.
|
6
|
+
# License:: Licensed under the Apache License, Version 2.0.
|
7
|
+
#
|
8
|
+
# Code generated by AdsCommon library 0.7.3 on 2012-07-04 16:49:50.
|
9
|
+
|
10
|
+
require 'bing_ads_api/errors'
|
11
|
+
|
12
|
+
module BingAdsApi; module V8; module AdIntelligenceService
|
13
|
+
class AdIntelligenceServiceRegistry
|
14
|
+
ADINTELLIGENCESERVICE_METHODS = {:get_publisher_keyword_performance=>{:input=>{:name=>"get_publisher_keyword_performance_request", :fields=>[]}, :output=>{:name=>"get_publisher_keyword_performance_response", :fields=>[]}, :original_name=>"GetPublisherKeywordPerformance"}, :suggest_keywords_for_url=>{:input=>{:name=>"suggest_keywords_for_url_request", :fields=>[]}, :output=>{:name=>"suggest_keywords_for_url_response", :fields=>[]}, :original_name=>"SuggestKeywordsForUrl"}, :get_estimated_bid_by_keyword_ids=>{:input=>{:name=>"get_estimated_bid_by_keyword_ids_request", :fields=>[]}, :output=>{:name=>"get_estimated_bid_by_keyword_ids_response", :fields=>[]}, :original_name=>"GetEstimatedBidByKeywordIds"}, :get_estimated_position_by_keyword_ids=>{:input=>{:name=>"get_estimated_position_by_keyword_ids_request", :fields=>[]}, :output=>{:name=>"get_estimated_position_by_keyword_ids_response", :fields=>[]}, :original_name=>"GetEstimatedPositionByKeywordIds"}, :get_estimated_bid_by_keywords=>{:input=>{:name=>"get_estimated_bid_by_keywords_request", :fields=>[]}, :output=>{:name=>"get_estimated_bid_by_keywords_response", :fields=>[]}, :original_name=>"GetEstimatedBidByKeywords"}, :get_estimated_position_by_keywords=>{:input=>{:name=>"get_estimated_position_by_keywords_request", :fields=>[]}, :output=>{:name=>"get_estimated_position_by_keywords_response", :fields=>[]}, :original_name=>"GetEstimatedPositionByKeywords"}, :get_historical_search_count=>{:input=>{:name=>"get_historical_search_count_request", :fields=>[]}, :output=>{:name=>"get_historical_search_count_response", :fields=>[]}, :original_name=>"GetHistoricalSearchCount"}, :get_historical_search_count_by_device=>{:input=>{:name=>"get_historical_search_count_by_device_request", :fields=>[]}, :output=>{:name=>"get_historical_search_count_by_device_response", :fields=>[]}, :original_name=>"GetHistoricalSearchCountByDevice"}, :get_historical_keyword_performance=>{:input=>{:name=>"get_historical_keyword_performance_request", :fields=>[]}, :output=>{:name=>"get_historical_keyword_performance_response", :fields=>[]}, :original_name=>"GetHistoricalKeywordPerformance"}, :get_historical_keyword_performance_by_device=>{:input=>{:name=>"get_historical_keyword_performance_by_device_request", :fields=>[]}, :output=>{:name=>"get_historical_keyword_performance_by_device_response", :fields=>[]}, :original_name=>"GetHistoricalKeywordPerformanceByDevice"}, :suggest_keywords_from_existing_keywords=>{:input=>{:name=>"suggest_keywords_from_existing_keywords_request", :fields=>[]}, :output=>{:name=>"suggest_keywords_from_existing_keywords_response", :fields=>[]}, :original_name=>"SuggestKeywordsFromExistingKeywords"}, :get_keyword_locations=>{:input=>{:name=>"get_keyword_locations_request", :fields=>[]}, :output=>{:name=>"get_keyword_locations_response", :fields=>[]}, :original_name=>"GetKeywordLocations"}, :get_keyword_categories=>{:input=>{:name=>"get_keyword_categories_request", :fields=>[]}, :output=>{:name=>"get_keyword_categories_response", :fields=>[]}, :original_name=>"GetKeywordCategories"}, :get_keyword_demographics=>{:input=>{:name=>"get_keyword_demographics_request", :fields=>[]}, :output=>{:name=>"get_keyword_demographics_response", :fields=>[]}, :original_name=>"GetKeywordDemographics"}}
|
15
|
+
ADINTELLIGENCESERVICE_TYPES = {}
|
16
|
+
ADINTELLIGENCESERVICE_NAMESPACES = []
|
17
|
+
|
18
|
+
def self.get_method_signature(method_name)
|
19
|
+
return ADINTELLIGENCESERVICE_METHODS[method_name.to_sym]
|
20
|
+
end
|
21
|
+
|
22
|
+
def self.get_type_signature(type_name)
|
23
|
+
return ADINTELLIGENCESERVICE_TYPES[type_name.to_sym]
|
24
|
+
end
|
25
|
+
|
26
|
+
def self.get_namespace(index)
|
27
|
+
return ADINTELLIGENCESERVICE_NAMESPACES[index]
|
28
|
+
end
|
29
|
+
end
|
30
|
+
end; end; end
|
@@ -0,0 +1,38 @@
|
|
1
|
+
# Encoding: utf-8
|
2
|
+
#
|
3
|
+
# This is auto-generated code, changes will be overwritten.
|
4
|
+
#
|
5
|
+
# Copyright:: Copyright 2012, Google Inc. All Rights Reserved.
|
6
|
+
# License:: Licensed under the Apache License, Version 2.0.
|
7
|
+
#
|
8
|
+
# Code generated by AdsCommon library 0.7.3 on 2012-07-04 16:49:52.
|
9
|
+
|
10
|
+
require 'ads_common_for_bing_ads/savon_service'
|
11
|
+
require 'bing_ads_api/v8/administration_service_registry'
|
12
|
+
|
13
|
+
module BingAdsApi; module V8; module AdministrationService
|
14
|
+
class AdministrationService < AdsCommonForBingAds::SavonService
|
15
|
+
def initialize(config, endpoint)
|
16
|
+
namespace = 'https://adcenter.microsoft.com/v8'
|
17
|
+
super(config, endpoint, namespace, :v8)
|
18
|
+
end
|
19
|
+
|
20
|
+
def get_assigned_quota(*args, &block)
|
21
|
+
return execute_action('get_assigned_quota', args, &block)
|
22
|
+
end
|
23
|
+
|
24
|
+
def get_remaining_quota(*args, &block)
|
25
|
+
return execute_action('get_remaining_quota', args, &block)
|
26
|
+
end
|
27
|
+
|
28
|
+
private
|
29
|
+
|
30
|
+
def get_service_registry()
|
31
|
+
return AdministrationServiceRegistry
|
32
|
+
end
|
33
|
+
|
34
|
+
def get_module()
|
35
|
+
return BingAdsApi::V8::AdministrationService
|
36
|
+
end
|
37
|
+
end
|
38
|
+
end; end; end
|
@@ -0,0 +1,30 @@
|
|
1
|
+
# Encoding: utf-8
|
2
|
+
#
|
3
|
+
# This is auto-generated code, changes will be overwritten.
|
4
|
+
#
|
5
|
+
# Copyright:: Copyright 2012, Google Inc. All Rights Reserved.
|
6
|
+
# License:: Licensed under the Apache License, Version 2.0.
|
7
|
+
#
|
8
|
+
# Code generated by AdsCommon library 0.7.3 on 2012-07-04 16:49:52.
|
9
|
+
|
10
|
+
require 'bing_ads_api/errors'
|
11
|
+
|
12
|
+
module BingAdsApi; module V8; module AdministrationService
|
13
|
+
class AdministrationServiceRegistry
|
14
|
+
ADMINISTRATIONSERVICE_METHODS = {:get_assigned_quota=>{:input=>{:name=>"get_assigned_quota_request", :fields=>[]}, :output=>{:name=>"get_assigned_quota_response", :fields=>[]}, :original_name=>"GetAssignedQuota"}, :get_remaining_quota=>{:input=>{:name=>"get_remaining_quota_request", :fields=>[]}, :output=>{:name=>"get_remaining_quota_response", :fields=>[]}, :original_name=>"GetRemainingQuota"}}
|
15
|
+
ADMINISTRATIONSERVICE_TYPES = {}
|
16
|
+
ADMINISTRATIONSERVICE_NAMESPACES = []
|
17
|
+
|
18
|
+
def self.get_method_signature(method_name)
|
19
|
+
return ADMINISTRATIONSERVICE_METHODS[method_name.to_sym]
|
20
|
+
end
|
21
|
+
|
22
|
+
def self.get_type_signature(type_name)
|
23
|
+
return ADMINISTRATIONSERVICE_TYPES[type_name.to_sym]
|
24
|
+
end
|
25
|
+
|
26
|
+
def self.get_namespace(index)
|
27
|
+
return ADMINISTRATIONSERVICE_NAMESPACES[index]
|
28
|
+
end
|
29
|
+
end
|
30
|
+
end; end; end
|
@@ -0,0 +1,42 @@
|
|
1
|
+
# Encoding: utf-8
|
2
|
+
#
|
3
|
+
# This is auto-generated code, changes will be overwritten.
|
4
|
+
#
|
5
|
+
# Copyright:: Copyright 2012, Google Inc. All Rights Reserved.
|
6
|
+
# License:: Licensed under the Apache License, Version 2.0.
|
7
|
+
#
|
8
|
+
# Code generated by AdsCommon library 0.7.3 on 2012-07-04 16:49:53.
|
9
|
+
|
10
|
+
require 'ads_common_for_bing_ads/savon_service'
|
11
|
+
require 'bing_ads_api/v8/bulk_service_registry'
|
12
|
+
|
13
|
+
module BingAdsApi; module V8; module BulkService
|
14
|
+
class BulkService < AdsCommonForBingAds::SavonService
|
15
|
+
def initialize(config, endpoint)
|
16
|
+
namespace = 'https://adcenter.microsoft.com/v8'
|
17
|
+
super(config, endpoint, namespace, :v8)
|
18
|
+
end
|
19
|
+
|
20
|
+
def download_campaigns_by_account_ids(*args, &block)
|
21
|
+
return execute_action('download_campaigns_by_account_ids', args, &block)
|
22
|
+
end
|
23
|
+
|
24
|
+
def download_campaigns_by_campaign_ids(*args, &block)
|
25
|
+
return execute_action('download_campaigns_by_campaign_ids', args, &block)
|
26
|
+
end
|
27
|
+
|
28
|
+
def get_download_status(*args, &block)
|
29
|
+
return execute_action('get_download_status', args, &block)
|
30
|
+
end
|
31
|
+
|
32
|
+
private
|
33
|
+
|
34
|
+
def get_service_registry()
|
35
|
+
return BulkServiceRegistry
|
36
|
+
end
|
37
|
+
|
38
|
+
def get_module()
|
39
|
+
return BingAdsApi::V8::BulkService
|
40
|
+
end
|
41
|
+
end
|
42
|
+
end; end; end
|
@@ -0,0 +1,30 @@
|
|
1
|
+
# Encoding: utf-8
|
2
|
+
#
|
3
|
+
# This is auto-generated code, changes will be overwritten.
|
4
|
+
#
|
5
|
+
# Copyright:: Copyright 2012, Google Inc. All Rights Reserved.
|
6
|
+
# License:: Licensed under the Apache License, Version 2.0.
|
7
|
+
#
|
8
|
+
# Code generated by AdsCommon library 0.7.3 on 2012-07-04 16:49:53.
|
9
|
+
|
10
|
+
require 'bing_ads_api/errors'
|
11
|
+
|
12
|
+
module BingAdsApi; module V8; module BulkService
|
13
|
+
class BulkServiceRegistry
|
14
|
+
BULKSERVICE_METHODS = {:download_campaigns_by_account_ids=>{:input=>{:name=>"download_campaigns_by_account_ids_request", :fields=>[]}, :output=>{:name=>"download_campaigns_by_account_ids_response", :fields=>[]}, :original_name=>"DownloadCampaignsByAccountIds"}, :download_campaigns_by_campaign_ids=>{:input=>{:name=>"download_campaigns_by_campaign_ids_request", :fields=>[]}, :output=>{:name=>"download_campaigns_by_campaign_ids_response", :fields=>[]}, :original_name=>"DownloadCampaignsByCampaignIds"}, :get_download_status=>{:input=>{:name=>"get_download_status_request", :fields=>[]}, :output=>{:name=>"get_download_status_response", :fields=>[]}, :original_name=>"GetDownloadStatus"}}
|
15
|
+
BULKSERVICE_TYPES = {}
|
16
|
+
BULKSERVICE_NAMESPACES = []
|
17
|
+
|
18
|
+
def self.get_method_signature(method_name)
|
19
|
+
return BULKSERVICE_METHODS[method_name.to_sym]
|
20
|
+
end
|
21
|
+
|
22
|
+
def self.get_type_signature(type_name)
|
23
|
+
return BULKSERVICE_TYPES[type_name.to_sym]
|
24
|
+
end
|
25
|
+
|
26
|
+
def self.get_namespace(index)
|
27
|
+
return BULKSERVICE_NAMESPACES[index]
|
28
|
+
end
|
29
|
+
end
|
30
|
+
end; end; end
|
@@ -0,0 +1,390 @@
|
|
1
|
+
# Encoding: utf-8
|
2
|
+
#
|
3
|
+
# This is auto-generated code, changes will be overwritten.
|
4
|
+
#
|
5
|
+
# Copyright:: Copyright 2012, Google Inc. All Rights Reserved.
|
6
|
+
# License:: Licensed under the Apache License, Version 2.0.
|
7
|
+
#
|
8
|
+
# Code generated by AdsCommon library 0.7.3 on 2012-07-04 16:49:55.
|
9
|
+
|
10
|
+
require 'ads_common_for_bing_ads/savon_service'
|
11
|
+
require 'bing_ads_api/v8/campaign_management_service_registry'
|
12
|
+
|
13
|
+
module BingAdsApi; module V8; module CampaignManagementService
|
14
|
+
class CampaignManagementService < AdsCommonForBingAds::SavonService
|
15
|
+
def initialize(config, endpoint)
|
16
|
+
namespace = 'https://adcenter.microsoft.com/v8'
|
17
|
+
super(config, endpoint, namespace, :v8)
|
18
|
+
end
|
19
|
+
|
20
|
+
def delete_ad_extensions(*args, &block)
|
21
|
+
return execute_action('delete_ad_extensions', args, &block)
|
22
|
+
end
|
23
|
+
|
24
|
+
def get_ad_extensions_by_campaign_ids(*args, &block)
|
25
|
+
return execute_action('get_ad_extensions_by_campaign_ids', args, &block)
|
26
|
+
end
|
27
|
+
|
28
|
+
def get_ad_extensions_by_ids(*args, &block)
|
29
|
+
return execute_action('get_ad_extensions_by_ids', args, &block)
|
30
|
+
end
|
31
|
+
|
32
|
+
def get_ad_extensions_editorial_reasons_by_campaign_ids(*args, &block)
|
33
|
+
return execute_action('get_ad_extensions_editorial_reasons_by_campaign_ids', args, &block)
|
34
|
+
end
|
35
|
+
|
36
|
+
def set_ad_extensions_to_campaigns(*args, &block)
|
37
|
+
return execute_action('set_ad_extensions_to_campaigns', args, &block)
|
38
|
+
end
|
39
|
+
|
40
|
+
def delete_ad_extensions_from_campaigns(*args, &block)
|
41
|
+
return execute_action('delete_ad_extensions_from_campaigns', args, &block)
|
42
|
+
end
|
43
|
+
|
44
|
+
def get_ads_by_editorial_status(*args, &block)
|
45
|
+
return execute_action('get_ads_by_editorial_status', args, &block)
|
46
|
+
end
|
47
|
+
|
48
|
+
def get_ads_by_ids(*args, &block)
|
49
|
+
return execute_action('get_ads_by_ids', args, &block)
|
50
|
+
end
|
51
|
+
|
52
|
+
def get_ads_by_ad_group_id(*args, &block)
|
53
|
+
return execute_action('get_ads_by_ad_group_id', args, &block)
|
54
|
+
end
|
55
|
+
|
56
|
+
def update_ads(*args, &block)
|
57
|
+
return execute_action('update_ads', args, &block)
|
58
|
+
end
|
59
|
+
|
60
|
+
def pause_ads(*args, &block)
|
61
|
+
return execute_action('pause_ads', args, &block)
|
62
|
+
end
|
63
|
+
|
64
|
+
def resume_ads(*args, &block)
|
65
|
+
return execute_action('resume_ads', args, &block)
|
66
|
+
end
|
67
|
+
|
68
|
+
def add_keywords(*args, &block)
|
69
|
+
return execute_action('add_keywords', args, &block)
|
70
|
+
end
|
71
|
+
|
72
|
+
def delete_keywords(*args, &block)
|
73
|
+
return execute_action('delete_keywords', args, &block)
|
74
|
+
end
|
75
|
+
|
76
|
+
def get_keywords_by_editorial_status(*args, &block)
|
77
|
+
return execute_action('get_keywords_by_editorial_status', args, &block)
|
78
|
+
end
|
79
|
+
|
80
|
+
def get_keywords_by_ids(*args, &block)
|
81
|
+
return execute_action('get_keywords_by_ids', args, &block)
|
82
|
+
end
|
83
|
+
|
84
|
+
def get_keywords_by_ad_group_id(*args, &block)
|
85
|
+
return execute_action('get_keywords_by_ad_group_id', args, &block)
|
86
|
+
end
|
87
|
+
|
88
|
+
def pause_keywords(*args, &block)
|
89
|
+
return execute_action('pause_keywords', args, &block)
|
90
|
+
end
|
91
|
+
|
92
|
+
def resume_keywords(*args, &block)
|
93
|
+
return execute_action('resume_keywords', args, &block)
|
94
|
+
end
|
95
|
+
|
96
|
+
def update_keywords(*args, &block)
|
97
|
+
return execute_action('update_keywords', args, &block)
|
98
|
+
end
|
99
|
+
|
100
|
+
def add_businesses(*args, &block)
|
101
|
+
return execute_action('add_businesses', args, &block)
|
102
|
+
end
|
103
|
+
|
104
|
+
def update_businesses(*args, &block)
|
105
|
+
return execute_action('update_businesses', args, &block)
|
106
|
+
end
|
107
|
+
|
108
|
+
def delete_businesses(*args, &block)
|
109
|
+
return execute_action('delete_businesses', args, &block)
|
110
|
+
end
|
111
|
+
|
112
|
+
def get_businesses_info(*args, &block)
|
113
|
+
return execute_action('get_businesses_info', args, &block)
|
114
|
+
end
|
115
|
+
|
116
|
+
def get_businesses_by_ids(*args, &block)
|
117
|
+
return execute_action('get_businesses_by_ids', args, &block)
|
118
|
+
end
|
119
|
+
|
120
|
+
def add_site_placements(*args, &block)
|
121
|
+
return execute_action('add_site_placements', args, &block)
|
122
|
+
end
|
123
|
+
|
124
|
+
def delete_site_placements(*args, &block)
|
125
|
+
return execute_action('delete_site_placements', args, &block)
|
126
|
+
end
|
127
|
+
|
128
|
+
def get_site_placements_by_ids(*args, &block)
|
129
|
+
return execute_action('get_site_placements_by_ids', args, &block)
|
130
|
+
end
|
131
|
+
|
132
|
+
def get_site_placements_by_ad_group_id(*args, &block)
|
133
|
+
return execute_action('get_site_placements_by_ad_group_id', args, &block)
|
134
|
+
end
|
135
|
+
|
136
|
+
def pause_site_placements(*args, &block)
|
137
|
+
return execute_action('pause_site_placements', args, &block)
|
138
|
+
end
|
139
|
+
|
140
|
+
def resume_site_placements(*args, &block)
|
141
|
+
return execute_action('resume_site_placements', args, &block)
|
142
|
+
end
|
143
|
+
|
144
|
+
def update_site_placements(*args, &block)
|
145
|
+
return execute_action('update_site_placements', args, &block)
|
146
|
+
end
|
147
|
+
|
148
|
+
def get_placement_details_for_urls(*args, &block)
|
149
|
+
return execute_action('get_placement_details_for_urls', args, &block)
|
150
|
+
end
|
151
|
+
|
152
|
+
def get_normalized_strings(*args, &block)
|
153
|
+
return execute_action('get_normalized_strings', args, &block)
|
154
|
+
end
|
155
|
+
|
156
|
+
def get_keyword_editorial_reasons_by_ids(*args, &block)
|
157
|
+
return execute_action('get_keyword_editorial_reasons_by_ids', args, &block)
|
158
|
+
end
|
159
|
+
|
160
|
+
def get_ad_editorial_reasons_by_ids(*args, &block)
|
161
|
+
return execute_action('get_ad_editorial_reasons_by_ids', args, &block)
|
162
|
+
end
|
163
|
+
|
164
|
+
def download_campaign_hierarchy(*args, &block)
|
165
|
+
return execute_action('download_campaign_hierarchy', args, &block)
|
166
|
+
end
|
167
|
+
|
168
|
+
def get_download_status(*args, &block)
|
169
|
+
return execute_action('get_download_status', args, &block)
|
170
|
+
end
|
171
|
+
|
172
|
+
def add_goals(*args, &block)
|
173
|
+
return execute_action('add_goals', args, &block)
|
174
|
+
end
|
175
|
+
|
176
|
+
def update_goals(*args, &block)
|
177
|
+
return execute_action('update_goals', args, &block)
|
178
|
+
end
|
179
|
+
|
180
|
+
def get_goals(*args, &block)
|
181
|
+
return execute_action('get_goals', args, &block)
|
182
|
+
end
|
183
|
+
|
184
|
+
def delete_goals(*args, &block)
|
185
|
+
return execute_action('delete_goals', args, &block)
|
186
|
+
end
|
187
|
+
|
188
|
+
def set_analytics_type(*args, &block)
|
189
|
+
return execute_action('set_analytics_type', args, &block)
|
190
|
+
end
|
191
|
+
|
192
|
+
def get_analytics_type(*args, &block)
|
193
|
+
return execute_action('get_analytics_type', args, &block)
|
194
|
+
end
|
195
|
+
|
196
|
+
def get_campaign_ad_extensions(*args, &block)
|
197
|
+
return execute_action('get_campaign_ad_extensions', args, &block)
|
198
|
+
end
|
199
|
+
|
200
|
+
def set_campaign_ad_extensions(*args, &block)
|
201
|
+
return execute_action('set_campaign_ad_extensions', args, &block)
|
202
|
+
end
|
203
|
+
|
204
|
+
def get_account_migration_statuses(*args, &block)
|
205
|
+
return execute_action('get_account_migration_statuses', args, &block)
|
206
|
+
end
|
207
|
+
|
208
|
+
def add_ad_extensions(*args, &block)
|
209
|
+
return execute_action('add_ad_extensions', args, &block)
|
210
|
+
end
|
211
|
+
|
212
|
+
def add_campaigns(*args, &block)
|
213
|
+
return execute_action('add_campaigns', args, &block)
|
214
|
+
end
|
215
|
+
|
216
|
+
def get_campaigns_by_account_id(*args, &block)
|
217
|
+
return execute_action('get_campaigns_by_account_id', args, &block)
|
218
|
+
end
|
219
|
+
|
220
|
+
def get_campaigns_by_ids(*args, &block)
|
221
|
+
return execute_action('get_campaigns_by_ids', args, &block)
|
222
|
+
end
|
223
|
+
|
224
|
+
def pause_campaigns(*args, &block)
|
225
|
+
return execute_action('pause_campaigns', args, &block)
|
226
|
+
end
|
227
|
+
|
228
|
+
def resume_campaigns(*args, &block)
|
229
|
+
return execute_action('resume_campaigns', args, &block)
|
230
|
+
end
|
231
|
+
|
232
|
+
def delete_campaigns(*args, &block)
|
233
|
+
return execute_action('delete_campaigns', args, &block)
|
234
|
+
end
|
235
|
+
|
236
|
+
def update_campaigns(*args, &block)
|
237
|
+
return execute_action('update_campaigns', args, &block)
|
238
|
+
end
|
239
|
+
|
240
|
+
def get_negative_keywords_by_campaign_ids(*args, &block)
|
241
|
+
return execute_action('get_negative_keywords_by_campaign_ids', args, &block)
|
242
|
+
end
|
243
|
+
|
244
|
+
def set_negative_keywords_to_campaigns(*args, &block)
|
245
|
+
return execute_action('set_negative_keywords_to_campaigns', args, &block)
|
246
|
+
end
|
247
|
+
|
248
|
+
def get_negative_sites_by_campaign_ids(*args, &block)
|
249
|
+
return execute_action('get_negative_sites_by_campaign_ids', args, &block)
|
250
|
+
end
|
251
|
+
|
252
|
+
def set_negative_sites_to_campaigns(*args, &block)
|
253
|
+
return execute_action('set_negative_sites_to_campaigns', args, &block)
|
254
|
+
end
|
255
|
+
|
256
|
+
def add_ad_groups(*args, &block)
|
257
|
+
return execute_action('add_ad_groups', args, &block)
|
258
|
+
end
|
259
|
+
|
260
|
+
def delete_ad_groups(*args, &block)
|
261
|
+
return execute_action('delete_ad_groups', args, &block)
|
262
|
+
end
|
263
|
+
|
264
|
+
def get_ad_groups_by_ids(*args, &block)
|
265
|
+
return execute_action('get_ad_groups_by_ids', args, &block)
|
266
|
+
end
|
267
|
+
|
268
|
+
def get_ad_groups_by_campaign_id(*args, &block)
|
269
|
+
return execute_action('get_ad_groups_by_campaign_id', args, &block)
|
270
|
+
end
|
271
|
+
|
272
|
+
def pause_ad_groups(*args, &block)
|
273
|
+
return execute_action('pause_ad_groups', args, &block)
|
274
|
+
end
|
275
|
+
|
276
|
+
def resume_ad_groups(*args, &block)
|
277
|
+
return execute_action('resume_ad_groups', args, &block)
|
278
|
+
end
|
279
|
+
|
280
|
+
def submit_ad_group_for_approval(*args, &block)
|
281
|
+
return execute_action('submit_ad_group_for_approval', args, &block)
|
282
|
+
end
|
283
|
+
|
284
|
+
def update_ad_groups(*args, &block)
|
285
|
+
return execute_action('update_ad_groups', args, &block)
|
286
|
+
end
|
287
|
+
|
288
|
+
def get_negative_keywords_by_ad_group_ids(*args, &block)
|
289
|
+
return execute_action('get_negative_keywords_by_ad_group_ids', args, &block)
|
290
|
+
end
|
291
|
+
|
292
|
+
def set_negative_keywords_to_ad_groups(*args, &block)
|
293
|
+
return execute_action('set_negative_keywords_to_ad_groups', args, &block)
|
294
|
+
end
|
295
|
+
|
296
|
+
def get_negative_sites_by_ad_group_ids(*args, &block)
|
297
|
+
return execute_action('get_negative_sites_by_ad_group_ids', args, &block)
|
298
|
+
end
|
299
|
+
|
300
|
+
def set_negative_sites_to_ad_groups(*args, &block)
|
301
|
+
return execute_action('set_negative_sites_to_ad_groups', args, &block)
|
302
|
+
end
|
303
|
+
|
304
|
+
def add_target(*args, &block)
|
305
|
+
return execute_action('add_target', args, &block)
|
306
|
+
end
|
307
|
+
|
308
|
+
def delete_target(*args, &block)
|
309
|
+
return execute_action('delete_target', args, &block)
|
310
|
+
end
|
311
|
+
|
312
|
+
def get_target_by_ad_group_id(*args, &block)
|
313
|
+
return execute_action('get_target_by_ad_group_id', args, &block)
|
314
|
+
end
|
315
|
+
|
316
|
+
def update_target(*args, &block)
|
317
|
+
return execute_action('update_target', args, &block)
|
318
|
+
end
|
319
|
+
|
320
|
+
def add_targets_to_library(*args, &block)
|
321
|
+
return execute_action('add_targets_to_library', args, &block)
|
322
|
+
end
|
323
|
+
|
324
|
+
def update_targets_in_library(*args, &block)
|
325
|
+
return execute_action('update_targets_in_library', args, &block)
|
326
|
+
end
|
327
|
+
|
328
|
+
def update_device_os_targets(*args, &block)
|
329
|
+
return execute_action('update_device_os_targets', args, &block)
|
330
|
+
end
|
331
|
+
|
332
|
+
def delete_targets_from_library(*args, &block)
|
333
|
+
return execute_action('delete_targets_from_library', args, &block)
|
334
|
+
end
|
335
|
+
|
336
|
+
def get_targets_info_from_library(*args, &block)
|
337
|
+
return execute_action('get_targets_info_from_library', args, &block)
|
338
|
+
end
|
339
|
+
|
340
|
+
def get_targets_by_ids(*args, &block)
|
341
|
+
return execute_action('get_targets_by_ids', args, &block)
|
342
|
+
end
|
343
|
+
|
344
|
+
def get_device_os_targets_by_ids(*args, &block)
|
345
|
+
return execute_action('get_device_os_targets_by_ids', args, &block)
|
346
|
+
end
|
347
|
+
|
348
|
+
def set_target_to_ad_group(*args, &block)
|
349
|
+
return execute_action('set_target_to_ad_group', args, &block)
|
350
|
+
end
|
351
|
+
|
352
|
+
def delete_target_from_ad_group(*args, &block)
|
353
|
+
return execute_action('delete_target_from_ad_group', args, &block)
|
354
|
+
end
|
355
|
+
|
356
|
+
def get_targets_by_ad_group_ids(*args, &block)
|
357
|
+
return execute_action('get_targets_by_ad_group_ids', args, &block)
|
358
|
+
end
|
359
|
+
|
360
|
+
def set_target_to_campaign(*args, &block)
|
361
|
+
return execute_action('set_target_to_campaign', args, &block)
|
362
|
+
end
|
363
|
+
|
364
|
+
def delete_target_from_campaign(*args, &block)
|
365
|
+
return execute_action('delete_target_from_campaign', args, &block)
|
366
|
+
end
|
367
|
+
|
368
|
+
def get_targets_by_campaign_ids(*args, &block)
|
369
|
+
return execute_action('get_targets_by_campaign_ids', args, &block)
|
370
|
+
end
|
371
|
+
|
372
|
+
def add_ads(*args, &block)
|
373
|
+
return execute_action('add_ads', args, &block)
|
374
|
+
end
|
375
|
+
|
376
|
+
def delete_ads(*args, &block)
|
377
|
+
return execute_action('delete_ads', args, &block)
|
378
|
+
end
|
379
|
+
|
380
|
+
private
|
381
|
+
|
382
|
+
def get_service_registry()
|
383
|
+
return CampaignManagementServiceRegistry
|
384
|
+
end
|
385
|
+
|
386
|
+
def get_module()
|
387
|
+
return BingAdsApi::V8::CampaignManagementService
|
388
|
+
end
|
389
|
+
end
|
390
|
+
end; end; end
|