google-adwords-api 0.24.1 → 0.25.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (93) hide show
  1. checksums.yaml +4 -4
  2. data/ChangeLog +4 -0
  3. data/README.md +4 -4
  4. data/lib/adwords_api/version.rb +1 -1
  5. metadata +4 -92
  6. data/lib/adwords_api/v201607/account_label_service.rb +0 -46
  7. data/lib/adwords_api/v201607/account_label_service_registry.rb +0 -46
  8. data/lib/adwords_api/v201607/ad_customizer_feed_service.rb +0 -46
  9. data/lib/adwords_api/v201607/ad_customizer_feed_service_registry.rb +0 -46
  10. data/lib/adwords_api/v201607/ad_group_ad_service.rb +0 -70
  11. data/lib/adwords_api/v201607/ad_group_ad_service_registry.rb +0 -46
  12. data/lib/adwords_api/v201607/ad_group_bid_modifier_service.rb +0 -54
  13. data/lib/adwords_api/v201607/ad_group_bid_modifier_service_registry.rb +0 -46
  14. data/lib/adwords_api/v201607/ad_group_criterion_service.rb +0 -62
  15. data/lib/adwords_api/v201607/ad_group_criterion_service_registry.rb +0 -46
  16. data/lib/adwords_api/v201607/ad_group_extension_setting_service.rb +0 -54
  17. data/lib/adwords_api/v201607/ad_group_extension_setting_service_registry.rb +0 -46
  18. data/lib/adwords_api/v201607/ad_group_feed_service.rb +0 -54
  19. data/lib/adwords_api/v201607/ad_group_feed_service_registry.rb +0 -46
  20. data/lib/adwords_api/v201607/ad_group_service.rb +0 -62
  21. data/lib/adwords_api/v201607/ad_group_service_registry.rb +0 -46
  22. data/lib/adwords_api/v201607/ad_param_service.rb +0 -46
  23. data/lib/adwords_api/v201607/ad_param_service_registry.rb +0 -46
  24. data/lib/adwords_api/v201607/adwords_user_list_service.rb +0 -62
  25. data/lib/adwords_api/v201607/adwords_user_list_service_registry.rb +0 -46
  26. data/lib/adwords_api/v201607/batch_job_service.rb +0 -54
  27. data/lib/adwords_api/v201607/batch_job_service_registry.rb +0 -46
  28. data/lib/adwords_api/v201607/bidding_strategy_service.rb +0 -54
  29. data/lib/adwords_api/v201607/bidding_strategy_service_registry.rb +0 -46
  30. data/lib/adwords_api/v201607/budget_order_service.rb +0 -54
  31. data/lib/adwords_api/v201607/budget_order_service_registry.rb +0 -46
  32. data/lib/adwords_api/v201607/budget_service.rb +0 -54
  33. data/lib/adwords_api/v201607/budget_service_registry.rb +0 -46
  34. data/lib/adwords_api/v201607/campaign_criterion_service.rb +0 -54
  35. data/lib/adwords_api/v201607/campaign_criterion_service_registry.rb +0 -46
  36. data/lib/adwords_api/v201607/campaign_extension_setting_service.rb +0 -54
  37. data/lib/adwords_api/v201607/campaign_extension_setting_service_registry.rb +0 -46
  38. data/lib/adwords_api/v201607/campaign_feed_service.rb +0 -54
  39. data/lib/adwords_api/v201607/campaign_feed_service_registry.rb +0 -46
  40. data/lib/adwords_api/v201607/campaign_service.rb +0 -62
  41. data/lib/adwords_api/v201607/campaign_service_registry.rb +0 -46
  42. data/lib/adwords_api/v201607/campaign_shared_set_service.rb +0 -54
  43. data/lib/adwords_api/v201607/campaign_shared_set_service_registry.rb +0 -46
  44. data/lib/adwords_api/v201607/constant_data_service.rb +0 -110
  45. data/lib/adwords_api/v201607/constant_data_service_registry.rb +0 -46
  46. data/lib/adwords_api/v201607/conversion_tracker_service.rb +0 -54
  47. data/lib/adwords_api/v201607/conversion_tracker_service_registry.rb +0 -46
  48. data/lib/adwords_api/v201607/customer_extension_setting_service.rb +0 -54
  49. data/lib/adwords_api/v201607/customer_extension_setting_service_registry.rb +0 -46
  50. data/lib/adwords_api/v201607/customer_feed_service.rb +0 -54
  51. data/lib/adwords_api/v201607/customer_feed_service_registry.rb +0 -46
  52. data/lib/adwords_api/v201607/customer_service.rb +0 -46
  53. data/lib/adwords_api/v201607/customer_service_registry.rb +0 -46
  54. data/lib/adwords_api/v201607/customer_sync_service.rb +0 -38
  55. data/lib/adwords_api/v201607/customer_sync_service_registry.rb +0 -47
  56. data/lib/adwords_api/v201607/data_service.rb +0 -94
  57. data/lib/adwords_api/v201607/data_service_registry.rb +0 -46
  58. data/lib/adwords_api/v201607/draft_async_error_service.rb +0 -46
  59. data/lib/adwords_api/v201607/draft_async_error_service_registry.rb +0 -46
  60. data/lib/adwords_api/v201607/draft_service.rb +0 -54
  61. data/lib/adwords_api/v201607/draft_service_registry.rb +0 -46
  62. data/lib/adwords_api/v201607/experiment_service.rb +0 -46
  63. data/lib/adwords_api/v201607/experiment_service_registry.rb +0 -46
  64. data/lib/adwords_api/v201607/feed_item_service.rb +0 -54
  65. data/lib/adwords_api/v201607/feed_item_service_registry.rb +0 -46
  66. data/lib/adwords_api/v201607/feed_mapping_service.rb +0 -54
  67. data/lib/adwords_api/v201607/feed_mapping_service_registry.rb +0 -46
  68. data/lib/adwords_api/v201607/feed_service.rb +0 -54
  69. data/lib/adwords_api/v201607/feed_service_registry.rb +0 -46
  70. data/lib/adwords_api/v201607/label_service.rb +0 -54
  71. data/lib/adwords_api/v201607/label_service_registry.rb +0 -46
  72. data/lib/adwords_api/v201607/location_criterion_service.rb +0 -46
  73. data/lib/adwords_api/v201607/location_criterion_service_registry.rb +0 -46
  74. data/lib/adwords_api/v201607/managed_customer_service.rb +0 -78
  75. data/lib/adwords_api/v201607/managed_customer_service_registry.rb +0 -46
  76. data/lib/adwords_api/v201607/media_service.rb +0 -54
  77. data/lib/adwords_api/v201607/media_service_registry.rb +0 -46
  78. data/lib/adwords_api/v201607/offline_conversion_feed_service.rb +0 -38
  79. data/lib/adwords_api/v201607/offline_conversion_feed_service_registry.rb +0 -46
  80. data/lib/adwords_api/v201607/report_definition_service.rb +0 -38
  81. data/lib/adwords_api/v201607/report_definition_service_registry.rb +0 -46
  82. data/lib/adwords_api/v201607/shared_criterion_service.rb +0 -54
  83. data/lib/adwords_api/v201607/shared_criterion_service_registry.rb +0 -46
  84. data/lib/adwords_api/v201607/shared_set_service.rb +0 -54
  85. data/lib/adwords_api/v201607/shared_set_service_registry.rb +0 -46
  86. data/lib/adwords_api/v201607/targeting_idea_service.rb +0 -38
  87. data/lib/adwords_api/v201607/targeting_idea_service_registry.rb +0 -46
  88. data/lib/adwords_api/v201607/traffic_estimator_service.rb +0 -38
  89. data/lib/adwords_api/v201607/traffic_estimator_service_registry.rb +0 -46
  90. data/lib/adwords_api/v201607/trial_async_error_service.rb +0 -46
  91. data/lib/adwords_api/v201607/trial_async_error_service_registry.rb +0 -46
  92. data/lib/adwords_api/v201607/trial_service.rb +0 -54
  93. data/lib/adwords_api/v201607/trial_service_registry.rb +0 -46
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0365b5a70afbffa8788bc7fd1b101d0514dc5839
4
- data.tar.gz: 53914cbf57f9f8b8c1a617c8f9c7cb4878d6f0f1
3
+ metadata.gz: 5b3c30d97f582fd31653b4427006c7cf4d069c30
4
+ data.tar.gz: 0f8b35f536c7bb3b0fe2156512e85b7a424e5eb4
5
5
  SHA512:
6
- metadata.gz: bf93afa8dbfa9a979864ee1293f86bfeb58b87b0f06b798f49d7b51316f5c30782037997df5362efd88e1c5d8c6f9d49613b00199cfb87e75c3310b80ec7737b
7
- data.tar.gz: e3c46f70953a7e19a170c9682ca5d571b579831feccd25773f9203862bb8d5228e68e24f1efc082fe25a664ffb5615589dd1166018bc4d6a173536a9e0237de7
6
+ metadata.gz: 9c9e317c86272c4710e7793fdebe87f3a6f623cddab2e64a1d5a93dd6517a3e333b63faa4aed7258a94d1f226841273cd5056ba080189d9bedffe1e4e0ff56b0
7
+ data.tar.gz: 9e401c6ca308c5b21e270c94c31ef211e717ebdcb23da3b0a9bc3f8232b1dcf21ffcae4fabf68191a7c5a35a60670d504c783fa78baca4b7d10d837bb3584f7c
data/ChangeLog CHANGED
@@ -1,3 +1,7 @@
1
+ 0.25.0:
2
+ - Removed deprecated API version v201607.
3
+ - Require google-ads-common 0.14.1 or later from now on.
4
+
1
5
  0.24.1:
2
6
  - Support and examples for v201705.
3
7
  - Require google-ads-common 0.14.0 or later from now on for logging updates.
data/README.md CHANGED
@@ -74,7 +74,7 @@ The basics of making a request are:
74
74
 
75
75
  3. Specify which service you're looking to use, and which version:
76
76
 
77
- campaign_srv = adwords.service(:CampaignService, :v201607)
77
+ campaign_srv = adwords.service(:CampaignService, :v201705)
78
78
 
79
79
  4. You should now be able to just use the API methods in the returned object:
80
80
 
@@ -196,7 +196,7 @@ To target a specific version:
196
196
 
197
197
  For example:
198
198
 
199
- $ rake generate[v201607]
199
+ $ rake generate[v201705]
200
200
 
201
201
  To target a specific service in a specific version:
202
202
 
@@ -204,7 +204,7 @@ To target a specific service in a specific version:
204
204
 
205
205
  For example:
206
206
 
207
- $ rake generate[v201607,CampaignService]
207
+ $ rake generate[v201705,CampaignService]
208
208
 
209
209
  To build the gems:
210
210
 
@@ -231,7 +231,7 @@ announcements and other news.
231
231
 
232
232
  ## Licence
233
233
 
234
- Copyright 2010-2016, Google Inc. All Rights Reserved.
234
+ Copyright 2010-2017, Google Inc. All Rights Reserved.
235
235
 
236
236
  Licensed under the Apache License, Version 2.0 (the "License");
237
237
  you may not use this file except in compliance with the License.
@@ -19,6 +19,6 @@
19
19
 
20
20
  module AdwordsApi
21
21
  module ApiConfig
22
- CLIENT_LIB_VERSION = '0.24.1'
22
+ CLIENT_LIB_VERSION = '0.25.0'
23
23
  end
24
24
  end
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.24.1
4
+ version: 0.25.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Danial Klimkin
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2017-06-01 00:00:00.000000000 Z
12
+ date: 2017-06-21 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: google-ads-common
@@ -17,14 +17,14 @@ dependencies:
17
17
  requirements:
18
18
  - - "~>"
19
19
  - !ruby/object:Gem::Version
20
- version: 0.14.0
20
+ version: 0.14.1
21
21
  type: :runtime
22
22
  prerelease: false
23
23
  version_requirements: !ruby/object:Gem::Requirement
24
24
  requirements:
25
25
  - - "~>"
26
26
  - !ruby/object:Gem::Version
27
- version: 0.14.0
27
+ version: 0.14.1
28
28
  - !ruby/object:Gem::Dependency
29
29
  name: nori
30
30
  requirement: !ruby/object:Gem::Requirement
@@ -89,94 +89,6 @@ files:
89
89
  - lib/adwords_api/report_utils.rb
90
90
  - lib/adwords_api/utils.rb
91
91
  - lib/adwords_api/utils_reporter.rb
92
- - lib/adwords_api/v201607/account_label_service.rb
93
- - lib/adwords_api/v201607/account_label_service_registry.rb
94
- - lib/adwords_api/v201607/ad_customizer_feed_service.rb
95
- - lib/adwords_api/v201607/ad_customizer_feed_service_registry.rb
96
- - lib/adwords_api/v201607/ad_group_ad_service.rb
97
- - lib/adwords_api/v201607/ad_group_ad_service_registry.rb
98
- - lib/adwords_api/v201607/ad_group_bid_modifier_service.rb
99
- - lib/adwords_api/v201607/ad_group_bid_modifier_service_registry.rb
100
- - lib/adwords_api/v201607/ad_group_criterion_service.rb
101
- - lib/adwords_api/v201607/ad_group_criterion_service_registry.rb
102
- - lib/adwords_api/v201607/ad_group_extension_setting_service.rb
103
- - lib/adwords_api/v201607/ad_group_extension_setting_service_registry.rb
104
- - lib/adwords_api/v201607/ad_group_feed_service.rb
105
- - lib/adwords_api/v201607/ad_group_feed_service_registry.rb
106
- - lib/adwords_api/v201607/ad_group_service.rb
107
- - lib/adwords_api/v201607/ad_group_service_registry.rb
108
- - lib/adwords_api/v201607/ad_param_service.rb
109
- - lib/adwords_api/v201607/ad_param_service_registry.rb
110
- - lib/adwords_api/v201607/adwords_user_list_service.rb
111
- - lib/adwords_api/v201607/adwords_user_list_service_registry.rb
112
- - lib/adwords_api/v201607/batch_job_service.rb
113
- - lib/adwords_api/v201607/batch_job_service_registry.rb
114
- - lib/adwords_api/v201607/bidding_strategy_service.rb
115
- - lib/adwords_api/v201607/bidding_strategy_service_registry.rb
116
- - lib/adwords_api/v201607/budget_order_service.rb
117
- - lib/adwords_api/v201607/budget_order_service_registry.rb
118
- - lib/adwords_api/v201607/budget_service.rb
119
- - lib/adwords_api/v201607/budget_service_registry.rb
120
- - lib/adwords_api/v201607/campaign_criterion_service.rb
121
- - lib/adwords_api/v201607/campaign_criterion_service_registry.rb
122
- - lib/adwords_api/v201607/campaign_extension_setting_service.rb
123
- - lib/adwords_api/v201607/campaign_extension_setting_service_registry.rb
124
- - lib/adwords_api/v201607/campaign_feed_service.rb
125
- - lib/adwords_api/v201607/campaign_feed_service_registry.rb
126
- - lib/adwords_api/v201607/campaign_service.rb
127
- - lib/adwords_api/v201607/campaign_service_registry.rb
128
- - lib/adwords_api/v201607/campaign_shared_set_service.rb
129
- - lib/adwords_api/v201607/campaign_shared_set_service_registry.rb
130
- - lib/adwords_api/v201607/constant_data_service.rb
131
- - lib/adwords_api/v201607/constant_data_service_registry.rb
132
- - lib/adwords_api/v201607/conversion_tracker_service.rb
133
- - lib/adwords_api/v201607/conversion_tracker_service_registry.rb
134
- - lib/adwords_api/v201607/customer_extension_setting_service.rb
135
- - lib/adwords_api/v201607/customer_extension_setting_service_registry.rb
136
- - lib/adwords_api/v201607/customer_feed_service.rb
137
- - lib/adwords_api/v201607/customer_feed_service_registry.rb
138
- - lib/adwords_api/v201607/customer_service.rb
139
- - lib/adwords_api/v201607/customer_service_registry.rb
140
- - lib/adwords_api/v201607/customer_sync_service.rb
141
- - lib/adwords_api/v201607/customer_sync_service_registry.rb
142
- - lib/adwords_api/v201607/data_service.rb
143
- - lib/adwords_api/v201607/data_service_registry.rb
144
- - lib/adwords_api/v201607/draft_async_error_service.rb
145
- - lib/adwords_api/v201607/draft_async_error_service_registry.rb
146
- - lib/adwords_api/v201607/draft_service.rb
147
- - lib/adwords_api/v201607/draft_service_registry.rb
148
- - lib/adwords_api/v201607/experiment_service.rb
149
- - lib/adwords_api/v201607/experiment_service_registry.rb
150
- - lib/adwords_api/v201607/feed_item_service.rb
151
- - lib/adwords_api/v201607/feed_item_service_registry.rb
152
- - lib/adwords_api/v201607/feed_mapping_service.rb
153
- - lib/adwords_api/v201607/feed_mapping_service_registry.rb
154
- - lib/adwords_api/v201607/feed_service.rb
155
- - lib/adwords_api/v201607/feed_service_registry.rb
156
- - lib/adwords_api/v201607/label_service.rb
157
- - lib/adwords_api/v201607/label_service_registry.rb
158
- - lib/adwords_api/v201607/location_criterion_service.rb
159
- - lib/adwords_api/v201607/location_criterion_service_registry.rb
160
- - lib/adwords_api/v201607/managed_customer_service.rb
161
- - lib/adwords_api/v201607/managed_customer_service_registry.rb
162
- - lib/adwords_api/v201607/media_service.rb
163
- - lib/adwords_api/v201607/media_service_registry.rb
164
- - lib/adwords_api/v201607/offline_conversion_feed_service.rb
165
- - lib/adwords_api/v201607/offline_conversion_feed_service_registry.rb
166
- - lib/adwords_api/v201607/report_definition_service.rb
167
- - lib/adwords_api/v201607/report_definition_service_registry.rb
168
- - lib/adwords_api/v201607/shared_criterion_service.rb
169
- - lib/adwords_api/v201607/shared_criterion_service_registry.rb
170
- - lib/adwords_api/v201607/shared_set_service.rb
171
- - lib/adwords_api/v201607/shared_set_service_registry.rb
172
- - lib/adwords_api/v201607/targeting_idea_service.rb
173
- - lib/adwords_api/v201607/targeting_idea_service_registry.rb
174
- - lib/adwords_api/v201607/traffic_estimator_service.rb
175
- - lib/adwords_api/v201607/traffic_estimator_service_registry.rb
176
- - lib/adwords_api/v201607/trial_async_error_service.rb
177
- - lib/adwords_api/v201607/trial_async_error_service_registry.rb
178
- - lib/adwords_api/v201607/trial_service.rb
179
- - lib/adwords_api/v201607/trial_service_registry.rb
180
92
  - lib/adwords_api/v201609/account_label_service.rb
181
93
  - lib/adwords_api/v201609/account_label_service_registry.rb
182
94
  - lib/adwords_api/v201609/ad_customizer_feed_service.rb
@@ -1,46 +0,0 @@
1
- # Encoding: utf-8
2
- #
3
- # This is auto-generated code, changes will be overwritten.
4
- #
5
- # Copyright:: Copyright 2016, Google Inc. All Rights Reserved.
6
- # License:: Licensed under the Apache License, Version 2.0.
7
- #
8
- # Code generated by AdsCommon library 0.12.3 on 2016-07-29 11:20:48.
9
-
10
- require 'ads_common/savon_service'
11
- require 'adwords_api/v201607/account_label_service_registry'
12
-
13
- module AdwordsApi; module V201607; module AccountLabelService
14
- class AccountLabelService < AdsCommon::SavonService
15
- def initialize(config, endpoint)
16
- namespace = 'https://adwords.google.com/api/adwords/mcm/v201607'
17
- super(config, endpoint, namespace, :v201607)
18
- end
19
-
20
- def get(*args, &block)
21
- return execute_action('get', args, &block)
22
- end
23
-
24
- def get_to_xml(*args)
25
- return get_soap_xml('get', args)
26
- end
27
-
28
- def mutate(*args, &block)
29
- return execute_action('mutate', args, &block)
30
- end
31
-
32
- def mutate_to_xml(*args)
33
- return get_soap_xml('mutate', args)
34
- end
35
-
36
- private
37
-
38
- def get_service_registry()
39
- return AccountLabelServiceRegistry
40
- end
41
-
42
- def get_module()
43
- return AdwordsApi::V201607::AccountLabelService
44
- end
45
- end
46
- end; end; end
@@ -1,46 +0,0 @@
1
- # Encoding: utf-8
2
- #
3
- # This is auto-generated code, changes will be overwritten.
4
- #
5
- # Copyright:: Copyright 2016, Google Inc. All Rights Reserved.
6
- # License:: Licensed under the Apache License, Version 2.0.
7
- #
8
- # Code generated by AdsCommon library 0.12.3 on 2016-07-29 11:20:48.
9
-
10
- require 'adwords_api/errors'
11
-
12
- module AdwordsApi; module V201607; module AccountLabelService
13
- class AccountLabelServiceRegistry
14
- ACCOUNTLABELSERVICE_METHODS = {:get=>{:input=>[{:name=>:selector, :type=>"Selector", :min_occurs=>0, :max_occurs=>1}], :output=>{:name=>"get_response", :fields=>[{:name=>:rval, :type=>"AccountLabelPage", :min_occurs=>0, :max_occurs=>1}]}}, :mutate=>{:input=>[{:name=>:operations, :type=>"AccountLabelOperation", :min_occurs=>0, :max_occurs=>:unbounded}], :output=>{:name=>"mutate_response", :fields=>[{:name=>:rval, :type=>"AccountLabelReturnValue", :min_occurs=>0, :max_occurs=>1}]}}}
15
- ACCOUNTLABELSERVICE_TYPES = {:AuthenticationError=>{:fields=>[{:name=>:reason, :type=>"AuthenticationError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError", :ns=>0}, :AuthorizationError=>{:fields=>[{:name=>:reason, :type=>"AuthorizationError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError", :ns=>0}, :ClientTermsError=>{:fields=>[{:name=>:reason, :type=>"ClientTermsError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError", :ns=>0}, :Date=>{:fields=>[{:name=>:year, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:month, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:day, :type=>"int", :min_occurs=>0, :max_occurs=>1}], :ns=>0}, :DateError=>{:fields=>[{:name=>:reason, :type=>"DateError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError", :ns=>0}, :DateRange=>{:fields=>[{:name=>:min, :type=>"Date", :min_occurs=>0, :max_occurs=>1}, {:name=>:max, :type=>"Date", :min_occurs=>0, :max_occurs=>1}], :ns=>0}, :DistinctError=>{:fields=>[{:name=>:reason, :type=>"DistinctError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError", :ns=>0}, :IdError=>{:fields=>[{:name=>:reason, :type=>"IdError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError", :ns=>0}, :InternalApiError=>{:fields=>[{:name=>:reason, :type=>"InternalApiError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError", :ns=>0}, :NotEmptyError=>{:fields=>[{:name=>:reason, :type=>"NotEmptyError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError", :ns=>0}, :NullError=>{:fields=>[{:name=>:reason, :type=>"NullError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError", :ns=>0}, :OperationAccessDenied=>{:fields=>[{:name=>:reason, :type=>"OperationAccessDenied.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError", :ns=>0}, :OperatorError=>{:fields=>[{:name=>:reason, :type=>"OperatorError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError", :ns=>0}, :OrderBy=>{:fields=>[{:name=>:field, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:sort_order, :type=>"SortOrder", :min_occurs=>0, :max_occurs=>1}], :ns=>0}, :Paging=>{:fields=>[{:name=>:start_index, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:number_results, :type=>"int", :min_occurs=>0, :max_occurs=>1}], :ns=>0}, :Predicate=>{:fields=>[{:name=>:field, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:operator, :type=>"Predicate.Operator", :min_occurs=>0, :max_occurs=>1}, {:name=>:values, :type=>"string", :min_occurs=>0, :max_occurs=>:unbounded}], :ns=>0}, :QuotaCheckError=>{:fields=>[{:name=>:reason, :type=>"QuotaCheckError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError", :ns=>0}, :RangeError=>{:fields=>[{:name=>:reason, :type=>"RangeError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError", :ns=>0}, :RateExceededError=>{:fields=>[{:name=>:reason, :type=>"RateExceededError.Reason", :min_occurs=>0, :max_occurs=>1}, {:name=>:rate_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:rate_scope, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:retry_after_seconds, :type=>"int", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError", :ns=>0}, :ReadOnlyError=>{:fields=>[{:name=>:reason, :type=>"ReadOnlyError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError", :ns=>0}, :RegionCodeError=>{:fields=>[{:name=>:reason, :type=>"RegionCodeError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError", :ns=>0}, :RejectedError=>{:fields=>[{:name=>:reason, :type=>"RejectedError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError", :ns=>0}, :RequestError=>{:fields=>[{:name=>:reason, :type=>"RequestError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError", :ns=>0}, :RequiredError=>{:fields=>[{:name=>:reason, :type=>"RequiredError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError", :ns=>0}, :SelectorError=>{:fields=>[{:name=>:reason, :type=>"SelectorError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError", :ns=>0}, :SizeLimitError=>{:fields=>[{:name=>:reason, :type=>"SizeLimitError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError", :ns=>0}, :SoapHeader=>{:fields=>[{:name=>:client_customer_id, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:developer_token, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:user_agent, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:validate_only, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}, {:name=>:partial_failure, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}], :ns=>0}, :SoapResponseHeader=>{:fields=>[{:name=>:request_id, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:service_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:method_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:operations, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:response_time, :type=>"long", :min_occurs=>0, :max_occurs=>1}], :ns=>0}, :StringFormatError=>{:fields=>[{:name=>:reason, :type=>"StringFormatError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError", :ns=>0}, :StringLengthError=>{:fields=>[{:name=>:reason, :type=>"StringLengthError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError", :ns=>0}, :DatabaseError=>{:fields=>[{:name=>:reason, :type=>"DatabaseError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError", :ns=>0}, :ApiError=>{:fields=>[{:name=>:field_path, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:trigger, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:error_string, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:api_error_type, :original_name=>"ApiError.Type", :type=>"string", :min_occurs=>0, :max_occurs=>1}], :abstract=>true, :ns=>0}, :ApiException=>{:fields=>[{:name=>:errors, :type=>"ApiError", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"ApplicationException", :ns=>0}, :ApplicationException=>{:fields=>[{:name=>:message, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:application_exception_type, :original_name=>"ApplicationException.Type", :type=>"string", :min_occurs=>0, :max_occurs=>1}], :ns=>0}, :Selector=>{:fields=>[{:name=>:fields, :type=>"string", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:predicates, :type=>"Predicate", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:date_range, :type=>"DateRange", :min_occurs=>0, :max_occurs=>1}, {:name=>:ordering, :type=>"OrderBy", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:paging, :type=>"Paging", :min_occurs=>0, :max_occurs=>1}], :ns=>0}, :Operation=>{:fields=>[{:name=>:operator, :type=>"Operator", :min_occurs=>0, :max_occurs=>1}, {:name=>:operation_type, :original_name=>"Operation.Type", :type=>"string", :min_occurs=>0, :max_occurs=>1}], :abstract=>true, :ns=>0}, :"AuthenticationError.Reason"=>{:fields=>[], :ns=>0}, :"AuthorizationError.Reason"=>{:fields=>[], :ns=>0}, :"ClientTermsError.Reason"=>{:fields=>[], :ns=>0}, :"DatabaseError.Reason"=>{:fields=>[], :ns=>0}, :"DateError.Reason"=>{:fields=>[], :ns=>0}, :"DistinctError.Reason"=>{:fields=>[], :ns=>0}, :"IdError.Reason"=>{:fields=>[], :ns=>0}, :"InternalApiError.Reason"=>{:fields=>[], :ns=>0}, :"NotEmptyError.Reason"=>{:fields=>[], :ns=>0}, :"NullError.Reason"=>{:fields=>[], :ns=>0}, :"OperationAccessDenied.Reason"=>{:fields=>[], :ns=>0}, :Operator=>{:fields=>[], :ns=>0}, :"OperatorError.Reason"=>{:fields=>[], :ns=>0}, :"Predicate.Operator"=>{:fields=>[], :ns=>0}, :"QuotaCheckError.Reason"=>{:fields=>[], :ns=>0}, :"RangeError.Reason"=>{:fields=>[], :ns=>0}, :"RateExceededError.Reason"=>{:fields=>[], :ns=>0}, :"ReadOnlyError.Reason"=>{:fields=>[], :ns=>0}, :"RegionCodeError.Reason"=>{:fields=>[], :ns=>0}, :"RejectedError.Reason"=>{:fields=>[], :ns=>0}, :"RequestError.Reason"=>{:fields=>[], :ns=>0}, :"RequiredError.Reason"=>{:fields=>[], :ns=>0}, :"SelectorError.Reason"=>{:fields=>[], :ns=>0}, :"SizeLimitError.Reason"=>{:fields=>[], :ns=>0}, :SortOrder=>{:fields=>[], :ns=>0}, :"StringFormatError.Reason"=>{:fields=>[], :ns=>0}, :"StringLengthError.Reason"=>{:fields=>[], :ns=>0}, :CollectionSizeError=>{:fields=>[{:name=>:reason, :type=>"CollectionSizeError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :CurrencyCodeError=>{:fields=>[{:name=>:reason, :type=>"CurrencyCodeError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :LabelServiceError=>{:fields=>[{:name=>:reason, :type=>"LabelServiceError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :AccountLabel=>{:fields=>[{:name=>:id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:name, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :AccountLabelOperation=>{:fields=>[{:name=>:operand, :type=>"AccountLabel", :min_occurs=>0, :max_occurs=>1}], :base=>"Operation"}, :AccountLabelPage=>{:fields=>[{:name=>:labels, :type=>"AccountLabel", :min_occurs=>0, :max_occurs=>:unbounded}]}, :AccountLabelReturnValue=>{:fields=>[{:name=>:labels, :type=>"AccountLabel", :min_occurs=>0, :max_occurs=>:unbounded}]}, :"CollectionSizeError.Reason"=>{:fields=>[]}, :"CurrencyCodeError.Reason"=>{:fields=>[]}, :"LabelServiceError.Reason"=>{:fields=>[]}}
16
- ACCOUNTLABELSERVICE_NAMESPACES = ["https://adwords.google.com/api/adwords/cm/v201607"]
17
-
18
- def self.get_method_signature(method_name)
19
- return ACCOUNTLABELSERVICE_METHODS[method_name.to_sym]
20
- end
21
-
22
- def self.get_type_signature(type_name)
23
- return ACCOUNTLABELSERVICE_TYPES[type_name.to_sym]
24
- end
25
-
26
- def self.get_namespace(index)
27
- return ACCOUNTLABELSERVICE_NAMESPACES[index]
28
- end
29
- end
30
-
31
- # Base class for exceptions.
32
- class ApplicationException < AdwordsApi::Errors::ApiException
33
- attr_reader :message # string
34
- attr_reader :application_exception_type # string
35
- end
36
-
37
- # Exception class for holding a list of service errors.
38
- class ApiException < ApplicationException
39
- attr_reader :errors # ApiError
40
- def initialize(exception_fault)
41
- @array_fields ||= []
42
- @array_fields << 'errors'
43
- super(exception_fault, AccountLabelServiceRegistry)
44
- end
45
- end
46
- end; end; end
@@ -1,46 +0,0 @@
1
- # Encoding: utf-8
2
- #
3
- # This is auto-generated code, changes will be overwritten.
4
- #
5
- # Copyright:: Copyright 2016, Google Inc. All Rights Reserved.
6
- # License:: Licensed under the Apache License, Version 2.0.
7
- #
8
- # Code generated by AdsCommon library 0.12.3 on 2016-07-29 11:20:48.
9
-
10
- require 'ads_common/savon_service'
11
- require 'adwords_api/v201607/ad_customizer_feed_service_registry'
12
-
13
- module AdwordsApi; module V201607; module AdCustomizerFeedService
14
- class AdCustomizerFeedService < AdsCommon::SavonService
15
- def initialize(config, endpoint)
16
- namespace = 'https://adwords.google.com/api/adwords/cm/v201607'
17
- super(config, endpoint, namespace, :v201607)
18
- end
19
-
20
- def get(*args, &block)
21
- return execute_action('get', args, &block)
22
- end
23
-
24
- def get_to_xml(*args)
25
- return get_soap_xml('get', args)
26
- end
27
-
28
- def mutate(*args, &block)
29
- return execute_action('mutate', args, &block)
30
- end
31
-
32
- def mutate_to_xml(*args)
33
- return get_soap_xml('mutate', args)
34
- end
35
-
36
- private
37
-
38
- def get_service_registry()
39
- return AdCustomizerFeedServiceRegistry
40
- end
41
-
42
- def get_module()
43
- return AdwordsApi::V201607::AdCustomizerFeedService
44
- end
45
- end
46
- end; end; end
@@ -1,46 +0,0 @@
1
- # Encoding: utf-8
2
- #
3
- # This is auto-generated code, changes will be overwritten.
4
- #
5
- # Copyright:: Copyright 2016, Google Inc. All Rights Reserved.
6
- # License:: Licensed under the Apache License, Version 2.0.
7
- #
8
- # Code generated by AdsCommon library 0.12.3 on 2016-07-29 11:20:48.
9
-
10
- require 'adwords_api/errors'
11
-
12
- module AdwordsApi; module V201607; module AdCustomizerFeedService
13
- class AdCustomizerFeedServiceRegistry
14
- ADCUSTOMIZERFEEDSERVICE_METHODS = {:get=>{:input=>[{:name=>:selector, :type=>"Selector", :min_occurs=>0, :max_occurs=>1}], :output=>{:name=>"get_response", :fields=>[{:name=>:rval, :type=>"AdCustomizerFeedPage", :min_occurs=>0, :max_occurs=>1}]}}, :mutate=>{:input=>[{:name=>:operations, :type=>"AdCustomizerFeedOperation", :min_occurs=>0, :max_occurs=>:unbounded}], :output=>{:name=>"mutate_response", :fields=>[{:name=>:rval, :type=>"AdCustomizerFeedReturnValue", :min_occurs=>0, :max_occurs=>1}]}}}
15
- ADCUSTOMIZERFEEDSERVICE_TYPES = {:AdCustomizerFeedAttribute=>{:fields=>[{:name=>:id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:type, :type=>"AdCustomizerFeedAttribute.Type", :min_occurs=>0, :max_occurs=>1}]}, :AdCustomizerFeedError=>{:fields=>[{:name=>:reason, :type=>"AdCustomizerFeedError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :AuthenticationError=>{:fields=>[{:name=>:reason, :type=>"AuthenticationError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :AuthorizationError=>{:fields=>[{:name=>:reason, :type=>"AuthorizationError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :ClientTermsError=>{:fields=>[{:name=>:reason, :type=>"ClientTermsError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :Date=>{:fields=>[{:name=>:year, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:month, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:day, :type=>"int", :min_occurs=>0, :max_occurs=>1}]}, :DateRange=>{:fields=>[{:name=>:min, :type=>"Date", :min_occurs=>0, :max_occurs=>1}, {:name=>:max, :type=>"Date", :min_occurs=>0, :max_occurs=>1}]}, :DistinctError=>{:fields=>[{:name=>:reason, :type=>"DistinctError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :EntityCountLimitExceeded=>{:fields=>[{:name=>:reason, :type=>"EntityCountLimitExceeded.Reason", :min_occurs=>0, :max_occurs=>1}, {:name=>:enclosing_id, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:limit, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:account_limit_type, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:existing_count, :type=>"int", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :EntityNotFound=>{:fields=>[{:name=>:reason, :type=>"EntityNotFound.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :FeedError=>{:fields=>[{:name=>:reason, :type=>"FeedError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :IdError=>{:fields=>[{:name=>:reason, :type=>"IdError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :InternalApiError=>{:fields=>[{:name=>:reason, :type=>"InternalApiError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :NewEntityCreationError=>{:fields=>[{:name=>:reason, :type=>"NewEntityCreationError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :NotEmptyError=>{:fields=>[{:name=>:reason, :type=>"NotEmptyError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :NullError=>{:fields=>[{:name=>:reason, :type=>"NullError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :OperationAccessDenied=>{:fields=>[{:name=>:reason, :type=>"OperationAccessDenied.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :OperatorError=>{:fields=>[{:name=>:reason, :type=>"OperatorError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :OrderBy=>{:fields=>[{:name=>:field, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:sort_order, :type=>"SortOrder", :min_occurs=>0, :max_occurs=>1}]}, :Paging=>{:fields=>[{:name=>:start_index, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:number_results, :type=>"int", :min_occurs=>0, :max_occurs=>1}]}, :Predicate=>{:fields=>[{:name=>:field, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:operator, :type=>"Predicate.Operator", :min_occurs=>0, :max_occurs=>1}, {:name=>:values, :type=>"string", :min_occurs=>0, :max_occurs=>:unbounded}]}, :QuotaCheckError=>{:fields=>[{:name=>:reason, :type=>"QuotaCheckError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :RangeError=>{:fields=>[{:name=>:reason, :type=>"RangeError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :RateExceededError=>{:fields=>[{:name=>:reason, :type=>"RateExceededError.Reason", :min_occurs=>0, :max_occurs=>1}, {:name=>:rate_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:rate_scope, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:retry_after_seconds, :type=>"int", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :ReadOnlyError=>{:fields=>[{:name=>:reason, :type=>"ReadOnlyError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :RejectedError=>{:fields=>[{:name=>:reason, :type=>"RejectedError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :RequestError=>{:fields=>[{:name=>:reason, :type=>"RequestError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :RequiredError=>{:fields=>[{:name=>:reason, :type=>"RequiredError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :SelectorError=>{:fields=>[{:name=>:reason, :type=>"SelectorError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :SizeLimitError=>{:fields=>[{:name=>:reason, :type=>"SizeLimitError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :SoapHeader=>{:fields=>[{:name=>:client_customer_id, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:developer_token, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:user_agent, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:validate_only, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}, {:name=>:partial_failure, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}]}, :SoapResponseHeader=>{:fields=>[{:name=>:request_id, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:service_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:method_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:operations, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:response_time, :type=>"long", :min_occurs=>0, :max_occurs=>1}]}, :StringFormatError=>{:fields=>[{:name=>:reason, :type=>"StringFormatError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :StringLengthError=>{:fields=>[{:name=>:reason, :type=>"StringLengthError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :AdCustomizerFeed=>{:fields=>[{:name=>:feed_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:feed_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:feed_status, :type=>"Feed.Status", :min_occurs=>0, :max_occurs=>1}, {:name=>:feed_attributes, :type=>"AdCustomizerFeedAttribute", :min_occurs=>0, :max_occurs=>:unbounded}]}, :AdCustomizerFeedOperation=>{:fields=>[{:name=>:operand, :type=>"AdCustomizerFeed", :min_occurs=>0, :max_occurs=>1}], :base=>"Operation"}, :AdCustomizerFeedPage=>{:fields=>[{:name=>:entries, :type=>"AdCustomizerFeed", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"Page"}, :AdCustomizerFeedReturnValue=>{:fields=>[{:name=>:value, :type=>"AdCustomizerFeed", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"ListReturnValue"}, :DatabaseError=>{:fields=>[{:name=>:reason, :type=>"DatabaseError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :ListReturnValue=>{:fields=>[{:name=>:list_return_value_type, :original_name=>"ListReturnValue.Type", :type=>"string", :min_occurs=>0, :max_occurs=>1}], :abstract=>true}, :Operation=>{:fields=>[{:name=>:operator, :type=>"Operator", :min_occurs=>0, :max_occurs=>1}, {:name=>:operation_type, :original_name=>"Operation.Type", :type=>"string", :min_occurs=>0, :max_occurs=>1}], :abstract=>true}, :Page=>{:fields=>[{:name=>:total_num_entries, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:page_type, :original_name=>"Page.Type", :type=>"string", :min_occurs=>0, :max_occurs=>1}], :abstract=>true}, :ApiError=>{:fields=>[{:name=>:field_path, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:trigger, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:error_string, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:api_error_type, :original_name=>"ApiError.Type", :type=>"string", :min_occurs=>0, :max_occurs=>1}], :abstract=>true}, :ApiException=>{:fields=>[{:name=>:errors, :type=>"ApiError", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"ApplicationException"}, :ApplicationException=>{:fields=>[{:name=>:message, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:application_exception_type, :original_name=>"ApplicationException.Type", :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :Selector=>{:fields=>[{:name=>:fields, :type=>"string", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:predicates, :type=>"Predicate", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:date_range, :type=>"DateRange", :min_occurs=>0, :max_occurs=>1}, {:name=>:ordering, :type=>"OrderBy", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:paging, :type=>"Paging", :min_occurs=>0, :max_occurs=>1}]}, :"AdCustomizerFeedAttribute.Type"=>{:fields=>[]}, :"AdCustomizerFeedError.Reason"=>{:fields=>[]}, :"AuthenticationError.Reason"=>{:fields=>[]}, :"AuthorizationError.Reason"=>{:fields=>[]}, :"ClientTermsError.Reason"=>{:fields=>[]}, :"DatabaseError.Reason"=>{:fields=>[]}, :"DistinctError.Reason"=>{:fields=>[]}, :"EntityCountLimitExceeded.Reason"=>{:fields=>[]}, :"EntityNotFound.Reason"=>{:fields=>[]}, :"Feed.Status"=>{:fields=>[]}, :"FeedError.Reason"=>{:fields=>[]}, :"IdError.Reason"=>{:fields=>[]}, :"InternalApiError.Reason"=>{:fields=>[]}, :"NewEntityCreationError.Reason"=>{:fields=>[]}, :"NotEmptyError.Reason"=>{:fields=>[]}, :"NullError.Reason"=>{:fields=>[]}, :"OperationAccessDenied.Reason"=>{:fields=>[]}, :Operator=>{:fields=>[]}, :"OperatorError.Reason"=>{:fields=>[]}, :"Predicate.Operator"=>{:fields=>[]}, :"QuotaCheckError.Reason"=>{:fields=>[]}, :"RangeError.Reason"=>{:fields=>[]}, :"RateExceededError.Reason"=>{:fields=>[]}, :"ReadOnlyError.Reason"=>{:fields=>[]}, :"RejectedError.Reason"=>{:fields=>[]}, :"RequestError.Reason"=>{:fields=>[]}, :"RequiredError.Reason"=>{:fields=>[]}, :"SelectorError.Reason"=>{:fields=>[]}, :"SizeLimitError.Reason"=>{:fields=>[]}, :SortOrder=>{:fields=>[]}, :"StringFormatError.Reason"=>{:fields=>[]}, :"StringLengthError.Reason"=>{:fields=>[]}}
16
- ADCUSTOMIZERFEEDSERVICE_NAMESPACES = []
17
-
18
- def self.get_method_signature(method_name)
19
- return ADCUSTOMIZERFEEDSERVICE_METHODS[method_name.to_sym]
20
- end
21
-
22
- def self.get_type_signature(type_name)
23
- return ADCUSTOMIZERFEEDSERVICE_TYPES[type_name.to_sym]
24
- end
25
-
26
- def self.get_namespace(index)
27
- return ADCUSTOMIZERFEEDSERVICE_NAMESPACES[index]
28
- end
29
- end
30
-
31
- # Base class for exceptions.
32
- class ApplicationException < AdwordsApi::Errors::ApiException
33
- attr_reader :message # string
34
- attr_reader :application_exception_type # string
35
- end
36
-
37
- # Exception class for holding a list of service errors.
38
- class ApiException < ApplicationException
39
- attr_reader :errors # ApiError
40
- def initialize(exception_fault)
41
- @array_fields ||= []
42
- @array_fields << 'errors'
43
- super(exception_fault, AdCustomizerFeedServiceRegistry)
44
- end
45
- end
46
- end; end; end
@@ -1,70 +0,0 @@
1
- # Encoding: utf-8
2
- #
3
- # This is auto-generated code, changes will be overwritten.
4
- #
5
- # Copyright:: Copyright 2016, Google Inc. All Rights Reserved.
6
- # License:: Licensed under the Apache License, Version 2.0.
7
- #
8
- # Code generated by AdsCommon library 0.12.3 on 2016-07-29 11:20:49.
9
-
10
- require 'ads_common/savon_service'
11
- require 'adwords_api/v201607/ad_group_ad_service_registry'
12
-
13
- module AdwordsApi; module V201607; module AdGroupAdService
14
- class AdGroupAdService < AdsCommon::SavonService
15
- def initialize(config, endpoint)
16
- namespace = 'https://adwords.google.com/api/adwords/cm/v201607'
17
- super(config, endpoint, namespace, :v201607)
18
- end
19
-
20
- def get(*args, &block)
21
- return execute_action('get', args, &block)
22
- end
23
-
24
- def get_to_xml(*args)
25
- return get_soap_xml('get', args)
26
- end
27
-
28
- def mutate(*args, &block)
29
- return execute_action('mutate', args, &block)
30
- end
31
-
32
- def mutate_to_xml(*args)
33
- return get_soap_xml('mutate', args)
34
- end
35
-
36
- def mutate_label(*args, &block)
37
- return execute_action('mutate_label', args, &block)
38
- end
39
-
40
- def mutate_label_to_xml(*args)
41
- return get_soap_xml('mutate_label', args)
42
- end
43
-
44
- def query(*args, &block)
45
- return execute_action('query', args, &block)
46
- end
47
-
48
- def query_to_xml(*args)
49
- return get_soap_xml('query', args)
50
- end
51
-
52
- def upgrade_url(*args, &block)
53
- return execute_action('upgrade_url', args, &block)
54
- end
55
-
56
- def upgrade_url_to_xml(*args)
57
- return get_soap_xml('upgrade_url', args)
58
- end
59
-
60
- private
61
-
62
- def get_service_registry()
63
- return AdGroupAdServiceRegistry
64
- end
65
-
66
- def get_module()
67
- return AdwordsApi::V201607::AdGroupAdService
68
- end
69
- end
70
- end; end; end