google-adwords-api 0.7.0 → 0.7.1
Sign up to get free protection for your applications and to get access to all the features.
- data/ChangeLog +3 -0
- data/README +3 -3
- data/examples/v201206/basic_operations/add_campaigns.rb +7 -2
- data/examples/v201209/account_management/create_account.rb +84 -0
- data/examples/v201209/account_management/get_account_alerts.rb +111 -0
- data/examples/v201209/account_management/get_account_changes.rb +137 -0
- data/examples/v201209/account_management/get_account_hierarchy.rb +92 -0
- data/examples/v201209/account_management/get_client_customer_id.rb +85 -0
- data/examples/v201209/account_management/get_client_unit_usage.rb +87 -0
- data/examples/v201209/basic_operations/add_ad_groups.rb +136 -0
- data/examples/v201209/basic_operations/add_campaigns.rb +159 -0
- data/examples/v201209/basic_operations/add_keywords.rb +108 -0
- data/examples/v201209/basic_operations/add_text_ads.rb +105 -0
- data/examples/v201209/basic_operations/delete_ad.rb +85 -0
- data/examples/v201209/basic_operations/delete_ad_group.rb +102 -0
- data/examples/v201209/basic_operations/delete_campaign.rb +103 -0
- data/examples/v201209/basic_operations/delete_keyword.rb +90 -0
- data/examples/v201209/basic_operations/get_ad_groups.rb +98 -0
- data/examples/v201209/basic_operations/get_campaigns.rb +93 -0
- data/examples/v201209/basic_operations/get_campaigns_with_awql.rb +85 -0
- data/examples/v201209/basic_operations/get_keywords.rb +104 -0
- data/examples/v201209/basic_operations/get_text_ads.rb +106 -0
- data/examples/v201209/basic_operations/pause_ad.rb +84 -0
- data/examples/v201209/basic_operations/update_ad_group.rb +81 -0
- data/examples/v201209/basic_operations/update_campaign.rb +82 -0
- data/examples/v201209/basic_operations/update_keyword.rb +99 -0
- data/examples/v201209/campaign_management/add_experiment.rb +158 -0
- data/examples/v201209/campaign_management/add_keywords_in_bulk.rb +150 -0
- data/examples/v201209/campaign_management/add_location_extension.rb +117 -0
- data/examples/v201209/campaign_management/add_location_extension_override.rb +83 -0
- data/examples/v201209/campaign_management/get_all_disapproved_ads.rb +93 -0
- data/examples/v201209/campaign_management/get_all_disapproved_ads_with_awql.rb +84 -0
- data/examples/v201209/campaign_management/promote_experiment.rb +77 -0
- data/examples/v201209/campaign_management/set_ad_parameters.rb +114 -0
- data/examples/v201209/campaign_management/validate_text_ad.rb +106 -0
- data/examples/v201209/error_handling/handle_captcha_challenge.rb +93 -0
- data/examples/v201209/error_handling/handle_partial_failures.rb +126 -0
- data/examples/v201209/error_handling/handle_policy_violation_error.rb +137 -0
- data/examples/v201209/error_handling/handle_two_factor_authorization_error.rb +87 -0
- data/examples/v201209/misc/get_all_images_and_videos.rb +100 -0
- data/examples/v201209/misc/upload_image.rb +89 -0
- data/examples/v201209/misc/use_oauth.rb +100 -0
- data/examples/v201209/misc/use_oauth2.rb +97 -0
- data/examples/v201209/optimization/estimate_keyword_traffic.rb +129 -0
- data/examples/v201209/optimization/get_keyword_bid_simulations.rb +92 -0
- data/examples/v201209/optimization/get_keyword_ideas.rb +114 -0
- data/examples/v201209/optimization/get_placement_ideas.rb +104 -0
- data/examples/v201209/remarketing/add_audience.rb +115 -0
- data/examples/v201209/remarketing/add_conversion_tracker.rb +97 -0
- data/examples/v201209/reporting/download_criteria_report.rb +79 -0
- data/examples/v201209/reporting/download_criteria_report_with_awql.rb +78 -0
- data/examples/v201209/reporting/get_campaign_stats.rb +105 -0
- data/examples/v201209/reporting/get_report_fields.rb +71 -0
- data/examples/v201209/reporting/parallel_report_download.rb +160 -0
- data/examples/v201209/targeting/add_campaign_targeting_criteria.rb +118 -0
- data/examples/v201209/targeting/add_demographic_targeting_criteria.rb +108 -0
- data/examples/v201209/targeting/get_campaign_targeting_criteria.rb +102 -0
- data/examples/v201209/targeting/get_targetable_languages_and_carriers.rb +86 -0
- data/examples/v201209/targeting/lookup_location.rb +104 -0
- data/lib/adwords_api/api_config.rb +64 -5
- data/lib/adwords_api/errors.rb +15 -0
- data/lib/adwords_api/report_utils.rb +30 -11
- data/lib/adwords_api/v201209/ad_extension_override_service.rb +38 -0
- data/lib/adwords_api/v201209/ad_extension_override_service_registry.rb +46 -0
- data/lib/adwords_api/v201209/ad_group_ad_service.rb +42 -0
- data/lib/adwords_api/v201209/ad_group_ad_service_registry.rb +46 -0
- data/lib/adwords_api/v201209/ad_group_criterion_service.rb +42 -0
- data/lib/adwords_api/v201209/ad_group_criterion_service_registry.rb +46 -0
- data/lib/adwords_api/v201209/ad_group_service.rb +42 -0
- data/lib/adwords_api/v201209/ad_group_service_registry.rb +46 -0
- data/lib/adwords_api/v201209/ad_param_service.rb +38 -0
- data/lib/adwords_api/v201209/ad_param_service_registry.rb +46 -0
- data/lib/adwords_api/v201209/alert_service.rb +34 -0
- data/lib/adwords_api/v201209/alert_service_registry.rb +46 -0
- data/lib/adwords_api/v201209/budget_order_service.rb +42 -0
- data/lib/adwords_api/v201209/budget_order_service_registry.rb +46 -0
- data/lib/adwords_api/v201209/budget_service.rb +38 -0
- data/lib/adwords_api/v201209/budget_service_registry.rb +46 -0
- data/lib/adwords_api/v201209/campaign_ad_extension_service.rb +38 -0
- data/lib/adwords_api/v201209/campaign_ad_extension_service_registry.rb +46 -0
- data/lib/adwords_api/v201209/campaign_criterion_service.rb +42 -0
- data/lib/adwords_api/v201209/campaign_criterion_service_registry.rb +46 -0
- data/lib/adwords_api/v201209/campaign_service.rb +42 -0
- data/lib/adwords_api/v201209/campaign_service_registry.rb +46 -0
- data/lib/adwords_api/v201209/constant_data_service.rb +62 -0
- data/lib/adwords_api/v201209/constant_data_service_registry.rb +46 -0
- data/lib/adwords_api/v201209/conversion_tracker_service.rb +38 -0
- data/lib/adwords_api/v201209/conversion_tracker_service_registry.rb +46 -0
- data/lib/adwords_api/v201209/customer_service.rb +34 -0
- data/lib/adwords_api/v201209/customer_service_registry.rb +46 -0
- data/lib/adwords_api/v201209/customer_sync_service.rb +34 -0
- data/lib/adwords_api/v201209/customer_sync_service_registry.rb +47 -0
- data/lib/adwords_api/v201209/data_service.rb +38 -0
- data/lib/adwords_api/v201209/data_service_registry.rb +46 -0
- data/lib/adwords_api/v201209/experiment_service.rb +38 -0
- data/lib/adwords_api/v201209/experiment_service_registry.rb +46 -0
- data/lib/adwords_api/v201209/geo_location_service.rb +34 -0
- data/lib/adwords_api/v201209/geo_location_service_registry.rb +46 -0
- data/lib/adwords_api/v201209/info_service.rb +34 -0
- data/lib/adwords_api/v201209/info_service_registry.rb +46 -0
- data/lib/adwords_api/v201209/location_criterion_service.rb +34 -0
- data/lib/adwords_api/v201209/location_criterion_service_registry.rb +46 -0
- data/lib/adwords_api/v201209/managed_customer_service.rb +38 -0
- data/lib/adwords_api/v201209/managed_customer_service_registry.rb +46 -0
- data/lib/adwords_api/v201209/media_service.rb +38 -0
- data/lib/adwords_api/v201209/media_service_registry.rb +46 -0
- data/lib/adwords_api/v201209/mutate_job_service.rb +42 -0
- data/lib/adwords_api/v201209/mutate_job_service_registry.rb +46 -0
- data/lib/adwords_api/v201209/report_definition_service.rb +34 -0
- data/lib/adwords_api/v201209/report_definition_service_registry.rb +46 -0
- data/lib/adwords_api/v201209/targeting_idea_service.rb +38 -0
- data/lib/adwords_api/v201209/targeting_idea_service_registry.rb +46 -0
- data/lib/adwords_api/v201209/traffic_estimator_service.rb +34 -0
- data/lib/adwords_api/v201209/traffic_estimator_service_registry.rb +46 -0
- data/lib/adwords_api/v201209/user_list_service.rb +38 -0
- data/lib/adwords_api/v201209/user_list_service_registry.rb +46 -0
- data/lib/adwords_api/version.rb +1 -1
- data/test/adwords_api/test_report_utils.rb +94 -6
- data/test/examples/v201209/test_account_management.rb +60 -0
- data/test/examples/v201209/test_basic_operations.rb +177 -0
- data/test/examples/v201209/test_campaign_management.rb +124 -0
- data/test/examples/v201209/test_error_handling.rb +63 -0
- data/test/examples/v201209/test_misc.rb +45 -0
- data/test/examples/v201209/test_optimization.rb +63 -0
- data/test/examples/v201209/test_remarketing.rb +39 -0
- data/test/examples/v201209/test_reporting.rb +84 -0
- data/test/examples/v201209/test_targeting.rb +60 -0
- data/test/examples/v201209/utils.rb +238 -0
- data/test/suite_exampletests_v201209.rb +37 -0
- metadata +123 -2
@@ -0,0 +1,238 @@
|
|
1
|
+
# Encoding: utf-8
|
2
|
+
#
|
3
|
+
# Author:: api.dklimkin@gmail.com (Danial Klimkin)
|
4
|
+
#
|
5
|
+
# Copyright:: Copyright 2012, Google Inc. All Rights Reserved.
|
6
|
+
#
|
7
|
+
# License:: Licensed under the Apache License, Version 2.0 (the "License");
|
8
|
+
# you may not use this file except in compliance with the License.
|
9
|
+
# You may obtain a copy of the License at
|
10
|
+
#
|
11
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
12
|
+
#
|
13
|
+
# Unless required by applicable law or agreed to in writing, software
|
14
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
15
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
16
|
+
# implied.
|
17
|
+
# See the License for the specific language governing permissions and
|
18
|
+
# limitations under the License.
|
19
|
+
#
|
20
|
+
# Utilities and constants for example tests.
|
21
|
+
|
22
|
+
API_VERSION = :v201209
|
23
|
+
PAGE_SIZE = 500
|
24
|
+
|
25
|
+
class UtilsV201209
|
26
|
+
def initialize(adwords)
|
27
|
+
@adwords = adwords
|
28
|
+
end
|
29
|
+
|
30
|
+
def get_campaign
|
31
|
+
@campaign ||= create_campaign()
|
32
|
+
return @campaign
|
33
|
+
end
|
34
|
+
|
35
|
+
def get_ad_group
|
36
|
+
@ad_group ||= create_ad_group()
|
37
|
+
return @ad_group
|
38
|
+
end
|
39
|
+
|
40
|
+
def get_ad
|
41
|
+
@ad ||= create_ad(get_ad_group()[:id])
|
42
|
+
return @ad
|
43
|
+
end
|
44
|
+
|
45
|
+
def get_keyword
|
46
|
+
@keyword ||= create_keyword(get_ad_group()[:id])
|
47
|
+
return @keyword
|
48
|
+
end
|
49
|
+
|
50
|
+
def get_location_extension
|
51
|
+
@location_extension ||= create_location_extension(get_campaign()[:id])
|
52
|
+
return @location_extension
|
53
|
+
end
|
54
|
+
|
55
|
+
def get_experiment
|
56
|
+
@experiment ||= create_experiment(
|
57
|
+
get_campaign()[:id], get_ad_group()[:id], get_keyword[:criterion][:id])
|
58
|
+
return @experiment
|
59
|
+
end
|
60
|
+
|
61
|
+
private
|
62
|
+
|
63
|
+
def create_campaign
|
64
|
+
campaign_srv = @adwords.service(:CampaignService, API_VERSION)
|
65
|
+
campaign = {
|
66
|
+
:name => "Example tests campaign #%d" % (Time.new.to_f * 1000).to_i,
|
67
|
+
:status => 'PAUSED',
|
68
|
+
:bidding_strategy => {:xsi_type => 'ManualCPC'},
|
69
|
+
:budget => {
|
70
|
+
:period => 'DAILY',
|
71
|
+
:amount => {:micro_amount => 50000000},
|
72
|
+
:delivery_method => 'STANDARD'
|
73
|
+
},
|
74
|
+
:network_setting => {
|
75
|
+
:target_google_search => true,
|
76
|
+
:target_search_network => true,
|
77
|
+
:target_content_network => true
|
78
|
+
}
|
79
|
+
}
|
80
|
+
operation = {:operator => 'ADD', :operand => campaign}
|
81
|
+
response = campaign_srv.mutate([operation])
|
82
|
+
return response[:value].first
|
83
|
+
end
|
84
|
+
|
85
|
+
def create_ad_group
|
86
|
+
campaign = get_campaign()
|
87
|
+
ad_group_srv = @adwords.service(:AdGroupService, API_VERSION)
|
88
|
+
ad_group = {
|
89
|
+
:name => "Example tests ad group #%d" % (Time.new.to_f * 1000).to_i,
|
90
|
+
:status => 'ENABLED',
|
91
|
+
:campaign_id => campaign[:id],
|
92
|
+
:bids => {
|
93
|
+
:xsi_type => 'ManualCPCAdGroupBids',
|
94
|
+
:keyword_max_cpc => {:amount => {:micro_amount => 10000000}},
|
95
|
+
}
|
96
|
+
}
|
97
|
+
operation = {:operator => 'ADD', :operand => ad_group}
|
98
|
+
response = ad_group_srv.mutate([operation])
|
99
|
+
return response[:value].first
|
100
|
+
end
|
101
|
+
|
102
|
+
def create_ad(ad_group_id)
|
103
|
+
ad_group_ad_srv = @adwords.service(:AdGroupAdService, API_VERSION)
|
104
|
+
text_ad = {
|
105
|
+
:xsi_type => 'TextAd',
|
106
|
+
:headline => 'Examples test ad %d' % (Time.new.to_f * 1000).to_i,
|
107
|
+
:description1 => 'testing ruby examples',
|
108
|
+
:description2 => 'all your base are belong to us',
|
109
|
+
:url => 'http://www.example.com',
|
110
|
+
:display_url => 'www.example.com'
|
111
|
+
}
|
112
|
+
operation = {:operator => 'ADD',
|
113
|
+
:operand => {:ad_group_id => ad_group_id, :ad => text_ad}}
|
114
|
+
response = ad_group_ad_srv.mutate([operation])
|
115
|
+
return response[:value].first
|
116
|
+
end
|
117
|
+
|
118
|
+
def create_keyword(ad_group_id)
|
119
|
+
ad_group_criterion_srv =
|
120
|
+
@adwords.service(:AdGroupCriterionService, API_VERSION)
|
121
|
+
keyword = {
|
122
|
+
:xsi_type => 'BiddableAdGroupCriterion',
|
123
|
+
:ad_group_id => ad_group_id,
|
124
|
+
:criterion => {
|
125
|
+
:xsi_type => 'Keyword',
|
126
|
+
:text => 'mars cruise',
|
127
|
+
:match_type => 'BROAD'
|
128
|
+
}
|
129
|
+
}
|
130
|
+
operation = {:operator => 'ADD', :operand => keyword}
|
131
|
+
response = ad_group_criterion_srv.mutate([operation])
|
132
|
+
return response[:value].first
|
133
|
+
end
|
134
|
+
|
135
|
+
def create_location_extension(campaign_id)
|
136
|
+
campaign_ad_ext_srv =
|
137
|
+
@adwords.service(:CampaignAdExtensionService, API_VERSION)
|
138
|
+
geo_location_srv = @adwords.service(:GeoLocationService, API_VERSION)
|
139
|
+
|
140
|
+
selector = {
|
141
|
+
:addresses => [
|
142
|
+
{
|
143
|
+
:street_address => '1600 Amphitheatre Parkway',
|
144
|
+
:city_name => 'Mountain View',
|
145
|
+
:province_code => 'CA',
|
146
|
+
:postal_code => '94043',
|
147
|
+
:country_code => 'US'
|
148
|
+
}
|
149
|
+
]
|
150
|
+
}
|
151
|
+
|
152
|
+
locations = geo_location_srv.get(selector)
|
153
|
+
raise StandardError, 'Unable to retrieve geo locations.' if locations.nil?
|
154
|
+
|
155
|
+
operations = locations.map do |location|
|
156
|
+
{
|
157
|
+
:operator => 'ADD',
|
158
|
+
:operand => {
|
159
|
+
:campaign_id => campaign_id,
|
160
|
+
:status => 'ACTIVE',
|
161
|
+
:ad_extension => {
|
162
|
+
:xsi_type => 'LocationExtension',
|
163
|
+
:address => location[:address],
|
164
|
+
:geo_point => location[:geo_point],
|
165
|
+
:encoded_location => location[:encoded_location],
|
166
|
+
:source => 'ADWORDS_FRONTEND'
|
167
|
+
}
|
168
|
+
}
|
169
|
+
}
|
170
|
+
end
|
171
|
+
|
172
|
+
response = campaign_ad_ext_srv.mutate(operations)
|
173
|
+
extension = response[:value].first
|
174
|
+
return extension
|
175
|
+
end
|
176
|
+
|
177
|
+
def create_experiment(campaign_id, ad_group_id, criterion_id)
|
178
|
+
experiment_srv = @adwords.service(:ExperimentService, API_VERSION)
|
179
|
+
ad_group_srv = @adwords.service(:AdGroupService, API_VERSION)
|
180
|
+
ad_group_criterion_srv =
|
181
|
+
@adwords.service(:AdGroupCriterionService, API_VERSION)
|
182
|
+
|
183
|
+
operation = {
|
184
|
+
:operator => 'ADD',
|
185
|
+
:operand => {
|
186
|
+
:campaign_id => campaign_id,
|
187
|
+
:name => "Examples test experiment #%d" % (Time.new.to_f * 1000).to_i,
|
188
|
+
:query_percentage => 10,
|
189
|
+
:start_date_time => Time.now.strftime('%Y%m%d %H%M%S'),
|
190
|
+
}
|
191
|
+
}
|
192
|
+
response = experiment_srv.mutate([operation])
|
193
|
+
experiment = response[:value].first
|
194
|
+
|
195
|
+
raise StandardError, 'Failed to create experiment' if experiment.nil?
|
196
|
+
|
197
|
+
ad_group = {
|
198
|
+
:id => ad_group_id,
|
199
|
+
:experiment_data => {
|
200
|
+
:experiment_id => experiment[:id],
|
201
|
+
:experiment_delta_status => 'MODIFIED',
|
202
|
+
:experiment_bid_multipliers => {
|
203
|
+
:xsi_type => 'ManualCPCAdGroupExperimentBidMultipliers',
|
204
|
+
:max_cpc_multiplier => {:multiplier => 1.5}
|
205
|
+
}
|
206
|
+
}
|
207
|
+
}
|
208
|
+
|
209
|
+
operation = {:operator => 'SET', :operand => ad_group}
|
210
|
+
response = ad_group_srv.mutate([operation])
|
211
|
+
ad_group = response[:value].first
|
212
|
+
|
213
|
+
raise StandardError, 'Failed to assign experiment' if ad_group.nil?
|
214
|
+
|
215
|
+
ad_group_criterion = {
|
216
|
+
:xsi_type => 'BiddableAdGroupCriterion',
|
217
|
+
:ad_group_id => ad_group_id,
|
218
|
+
:criterion => {:id => criterion_id},
|
219
|
+
:experiment_data => {
|
220
|
+
:xsi_type => 'BiddableAdGroupCriterionExperimentData',
|
221
|
+
:experiment_id => experiment[:id],
|
222
|
+
:experiment_delta_status => 'MODIFIED',
|
223
|
+
:experiment_bid_multiplier => {
|
224
|
+
:xsi_type => 'ManualCPCAdGroupCriterionExperimentBidMultiplier',
|
225
|
+
:max_cpc_multiplier => {:multiplier => 1.5}
|
226
|
+
}
|
227
|
+
}
|
228
|
+
}
|
229
|
+
|
230
|
+
operation = {:operator => 'SET', :operand => ad_group_criterion}
|
231
|
+
response = ad_group_criterion_srv.mutate([operation])
|
232
|
+
criterion = response[:value].first
|
233
|
+
|
234
|
+
raise StandardError, 'Failed to assign criterion' if criterion.nil?
|
235
|
+
|
236
|
+
return experiment
|
237
|
+
end
|
238
|
+
end
|
@@ -0,0 +1,37 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
# Encoding: utf-8
|
3
|
+
#
|
4
|
+
# Author:: api.dklimkin@gmail.com (Danial Klimkin)
|
5
|
+
#
|
6
|
+
# Copyright:: Copyright 2012, Google Inc. All Rights Reserved.
|
7
|
+
#
|
8
|
+
# License:: Licensed under the Apache License, Version 2.0 (the "License");
|
9
|
+
# you may not use this file except in compliance with the License.
|
10
|
+
# You may obtain a copy of the License at
|
11
|
+
#
|
12
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
13
|
+
#
|
14
|
+
# Unless required by applicable law or agreed to in writing, software
|
15
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
16
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
17
|
+
# implied.
|
18
|
+
# See the License for the specific language governing permissions and
|
19
|
+
# limitations under the License.
|
20
|
+
#
|
21
|
+
# Test suite for v201209 example tests.
|
22
|
+
|
23
|
+
require 'test/unit'
|
24
|
+
|
25
|
+
$:.unshift File.expand_path('../../lib/', __FILE__)
|
26
|
+
$:.unshift File.expand_path('../../', __FILE__)
|
27
|
+
|
28
|
+
version = 'v201209'
|
29
|
+
|
30
|
+
examples_path =
|
31
|
+
File.expand_path(File.join('..', '..', 'examples', version), __FILE__)
|
32
|
+
$:.unshift(examples_path)
|
33
|
+
|
34
|
+
tests_path = File.join(File.dirname(__FILE__), 'examples', version)
|
35
|
+
require File.join(tests_path, 'utils.rb')
|
36
|
+
tests_mask = File.join(tests_path, 'test_*.rb')
|
37
|
+
Dir.glob(tests_mask).each {|file| require file}
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-adwords-api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
4
|
+
version: 0.7.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-
|
12
|
+
date: 2012-10-05 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: google-ads-common
|
@@ -158,6 +158,60 @@ files:
|
|
158
158
|
- lib/adwords_api/v201109/data_service.rb
|
159
159
|
- lib/adwords_api/errors.rb
|
160
160
|
- lib/adwords_api/client_login_header_handler.rb
|
161
|
+
- lib/adwords_api/v201209/mutate_job_service.rb
|
162
|
+
- lib/adwords_api/v201209/conversion_tracker_service_registry.rb
|
163
|
+
- lib/adwords_api/v201209/info_service_registry.rb
|
164
|
+
- lib/adwords_api/v201209/budget_service.rb
|
165
|
+
- lib/adwords_api/v201209/ad_extension_override_service_registry.rb
|
166
|
+
- lib/adwords_api/v201209/customer_service.rb
|
167
|
+
- lib/adwords_api/v201209/experiment_service_registry.rb
|
168
|
+
- lib/adwords_api/v201209/alert_service_registry.rb
|
169
|
+
- lib/adwords_api/v201209/campaign_criterion_service.rb
|
170
|
+
- lib/adwords_api/v201209/budget_order_service.rb
|
171
|
+
- lib/adwords_api/v201209/ad_group_ad_service_registry.rb
|
172
|
+
- lib/adwords_api/v201209/customer_sync_service_registry.rb
|
173
|
+
- lib/adwords_api/v201209/budget_order_service_registry.rb
|
174
|
+
- lib/adwords_api/v201209/experiment_service.rb
|
175
|
+
- lib/adwords_api/v201209/alert_service.rb
|
176
|
+
- lib/adwords_api/v201209/customer_sync_service.rb
|
177
|
+
- lib/adwords_api/v201209/location_criterion_service_registry.rb
|
178
|
+
- lib/adwords_api/v201209/targeting_idea_service.rb
|
179
|
+
- lib/adwords_api/v201209/geo_location_service.rb
|
180
|
+
- lib/adwords_api/v201209/ad_group_criterion_service.rb
|
181
|
+
- lib/adwords_api/v201209/managed_customer_service.rb
|
182
|
+
- lib/adwords_api/v201209/user_list_service_registry.rb
|
183
|
+
- lib/adwords_api/v201209/constant_data_service_registry.rb
|
184
|
+
- lib/adwords_api/v201209/ad_group_ad_service.rb
|
185
|
+
- lib/adwords_api/v201209/traffic_estimator_service_registry.rb
|
186
|
+
- lib/adwords_api/v201209/campaign_service.rb
|
187
|
+
- lib/adwords_api/v201209/conversion_tracker_service.rb
|
188
|
+
- lib/adwords_api/v201209/media_service_registry.rb
|
189
|
+
- lib/adwords_api/v201209/campaign_ad_extension_service_registry.rb
|
190
|
+
- lib/adwords_api/v201209/campaign_service_registry.rb
|
191
|
+
- lib/adwords_api/v201209/user_list_service.rb
|
192
|
+
- lib/adwords_api/v201209/location_criterion_service.rb
|
193
|
+
- lib/adwords_api/v201209/ad_group_service.rb
|
194
|
+
- lib/adwords_api/v201209/ad_group_service_registry.rb
|
195
|
+
- lib/adwords_api/v201209/ad_param_service.rb
|
196
|
+
- lib/adwords_api/v201209/traffic_estimator_service.rb
|
197
|
+
- lib/adwords_api/v201209/info_service.rb
|
198
|
+
- lib/adwords_api/v201209/data_service_registry.rb
|
199
|
+
- lib/adwords_api/v201209/ad_extension_override_service.rb
|
200
|
+
- lib/adwords_api/v201209/report_definition_service.rb
|
201
|
+
- lib/adwords_api/v201209/ad_param_service_registry.rb
|
202
|
+
- lib/adwords_api/v201209/budget_service_registry.rb
|
203
|
+
- lib/adwords_api/v201209/mutate_job_service_registry.rb
|
204
|
+
- lib/adwords_api/v201209/constant_data_service.rb
|
205
|
+
- lib/adwords_api/v201209/ad_group_criterion_service_registry.rb
|
206
|
+
- lib/adwords_api/v201209/customer_service_registry.rb
|
207
|
+
- lib/adwords_api/v201209/campaign_ad_extension_service.rb
|
208
|
+
- lib/adwords_api/v201209/campaign_criterion_service_registry.rb
|
209
|
+
- lib/adwords_api/v201209/managed_customer_service_registry.rb
|
210
|
+
- lib/adwords_api/v201209/report_definition_service_registry.rb
|
211
|
+
- lib/adwords_api/v201209/media_service.rb
|
212
|
+
- lib/adwords_api/v201209/geo_location_service_registry.rb
|
213
|
+
- lib/adwords_api/v201209/targeting_idea_service_registry.rb
|
214
|
+
- lib/adwords_api/v201209/data_service.rb
|
161
215
|
- lib/adwords_api/v201206/mutate_job_service.rb
|
162
216
|
- lib/adwords_api/v201206/conversion_tracker_service_registry.rb
|
163
217
|
- lib/adwords_api/v201206/info_service_registry.rb
|
@@ -234,6 +288,16 @@ files:
|
|
234
288
|
- test/examples/v201109/test_reporting.rb
|
235
289
|
- test/examples/v201109/test_basic_operations.rb
|
236
290
|
- test/examples/v201109/test_campaign_management.rb
|
291
|
+
- test/examples/v201209/utils.rb
|
292
|
+
- test/examples/v201209/test_error_handling.rb
|
293
|
+
- test/examples/v201209/test_targeting.rb
|
294
|
+
- test/examples/v201209/test_misc.rb
|
295
|
+
- test/examples/v201209/test_remarketing.rb
|
296
|
+
- test/examples/v201209/test_account_management.rb
|
297
|
+
- test/examples/v201209/test_optimization.rb
|
298
|
+
- test/examples/v201209/test_reporting.rb
|
299
|
+
- test/examples/v201209/test_basic_operations.rb
|
300
|
+
- test/examples/v201209/test_campaign_management.rb
|
237
301
|
- test/examples/v201206/utils.rb
|
238
302
|
- test/examples/v201206/test_error_handling.rb
|
239
303
|
- test/examples/v201206/test_targeting.rb
|
@@ -244,6 +308,7 @@ files:
|
|
244
308
|
- test/examples/v201206/test_reporting.rb
|
245
309
|
- test/examples/v201206/test_basic_operations.rb
|
246
310
|
- test/examples/v201206/test_campaign_management.rb
|
311
|
+
- test/suite_exampletests_v201209.rb
|
247
312
|
- test/suite_exampletests_v201109.rb
|
248
313
|
- test/bugs/test_issue_00000063.rb
|
249
314
|
- test/bugs/test_issue_00000031.rb
|
@@ -361,6 +426,62 @@ files:
|
|
361
426
|
- examples/v201109/misc/use_oauth2.rb
|
362
427
|
- examples/v201109/remarketing/add_conversion_tracker.rb
|
363
428
|
- examples/v201109/remarketing/add_audience.rb
|
429
|
+
- examples/v201209/reporting/download_criteria_report.rb
|
430
|
+
- examples/v201209/reporting/get_campaign_stats.rb
|
431
|
+
- examples/v201209/reporting/parallel_report_download.rb
|
432
|
+
- examples/v201209/reporting/get_report_fields.rb
|
433
|
+
- examples/v201209/reporting/download_criteria_report_with_awql.rb
|
434
|
+
- examples/v201209/error_handling/handle_policy_violation_error.rb
|
435
|
+
- examples/v201209/error_handling/handle_two_factor_authorization_error.rb
|
436
|
+
- examples/v201209/error_handling/handle_captcha_challenge.rb
|
437
|
+
- examples/v201209/error_handling/handle_partial_failures.rb
|
438
|
+
- examples/v201209/targeting/lookup_location.rb
|
439
|
+
- examples/v201209/targeting/get_targetable_languages_and_carriers.rb
|
440
|
+
- examples/v201209/targeting/add_campaign_targeting_criteria.rb
|
441
|
+
- examples/v201209/targeting/get_campaign_targeting_criteria.rb
|
442
|
+
- examples/v201209/targeting/add_demographic_targeting_criteria.rb
|
443
|
+
- examples/v201209/campaign_management/validate_text_ad.rb
|
444
|
+
- examples/v201209/campaign_management/add_experiment.rb
|
445
|
+
- examples/v201209/campaign_management/set_ad_parameters.rb
|
446
|
+
- examples/v201209/campaign_management/get_all_disapproved_ads_with_awql.rb
|
447
|
+
- examples/v201209/campaign_management/add_location_extension.rb
|
448
|
+
- examples/v201209/campaign_management/add_keywords_in_bulk.rb
|
449
|
+
- examples/v201209/campaign_management/promote_experiment.rb
|
450
|
+
- examples/v201209/campaign_management/get_all_disapproved_ads.rb
|
451
|
+
- examples/v201209/campaign_management/add_location_extension_override.rb
|
452
|
+
- examples/v201209/account_management/get_account_hierarchy.rb
|
453
|
+
- examples/v201209/account_management/get_account_changes.rb
|
454
|
+
- examples/v201209/account_management/get_client_unit_usage.rb
|
455
|
+
- examples/v201209/account_management/get_client_customer_id.rb
|
456
|
+
- examples/v201209/account_management/get_account_alerts.rb
|
457
|
+
- examples/v201209/account_management/create_account.rb
|
458
|
+
- examples/v201209/optimization/estimate_keyword_traffic.rb
|
459
|
+
- examples/v201209/optimization/get_keyword_bid_simulations.rb
|
460
|
+
- examples/v201209/optimization/get_keyword_ideas.rb
|
461
|
+
- examples/v201209/optimization/get_placement_ideas.rb
|
462
|
+
- examples/v201209/basic_operations/update_campaign.rb
|
463
|
+
- examples/v201209/basic_operations/get_campaigns.rb
|
464
|
+
- examples/v201209/basic_operations/get_ad_groups.rb
|
465
|
+
- examples/v201209/basic_operations/add_campaigns.rb
|
466
|
+
- examples/v201209/basic_operations/delete_ad_group.rb
|
467
|
+
- examples/v201209/basic_operations/delete_keyword.rb
|
468
|
+
- examples/v201209/basic_operations/delete_ad.rb
|
469
|
+
- examples/v201209/basic_operations/add_ad_groups.rb
|
470
|
+
- examples/v201209/basic_operations/update_ad_group.rb
|
471
|
+
- examples/v201209/basic_operations/get_keywords.rb
|
472
|
+
- examples/v201209/basic_operations/delete_campaign.rb
|
473
|
+
- examples/v201209/basic_operations/get_text_ads.rb
|
474
|
+
- examples/v201209/basic_operations/add_keywords.rb
|
475
|
+
- examples/v201209/basic_operations/add_text_ads.rb
|
476
|
+
- examples/v201209/basic_operations/get_campaigns_with_awql.rb
|
477
|
+
- examples/v201209/basic_operations/pause_ad.rb
|
478
|
+
- examples/v201209/basic_operations/update_keyword.rb
|
479
|
+
- examples/v201209/misc/upload_image.rb
|
480
|
+
- examples/v201209/misc/get_all_images_and_videos.rb
|
481
|
+
- examples/v201209/misc/use_oauth.rb
|
482
|
+
- examples/v201209/misc/use_oauth2.rb
|
483
|
+
- examples/v201209/remarketing/add_conversion_tracker.rb
|
484
|
+
- examples/v201209/remarketing/add_audience.rb
|
364
485
|
- examples/v201206/reporting/download_criteria_report.rb
|
365
486
|
- examples/v201206/reporting/get_campaign_stats.rb
|
366
487
|
- examples/v201206/reporting/parallel_report_download.rb
|