google-ads-googleads 8.0.0 → 8.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ChangeLog +6 -0
- data/README.md +3 -0
- data/google_ads_config.rb +10 -0
- data/lib/google/ads/google_ads/config.rb +6 -0
- data/lib/google/ads/google_ads/factories/v3/operations.rb +704 -260
- data/lib/google/ads/google_ads/factories/v4/operations.rb +780 -320
- data/lib/google/ads/google_ads/factories/v5/operations.rb +788 -322
- data/lib/google/ads/google_ads/factories/v6/operations.rb +838 -342
- data/lib/google/ads/google_ads/google_ads_client.rb +20 -2
- data/lib/google/ads/google_ads/interceptors/logging_interceptor.rb +48 -5
- data/lib/google/ads/google_ads/service_lookup.rb +20 -7
- data/lib/google/ads/google_ads/version.rb +1 -1
- metadata +2 -2
@@ -9,7 +9,13 @@ module Google
|
|
9
9
|
# @return [Google::Ads::GoogleAds::V5::Resources::FeedAttributeOperation] the operation
|
10
10
|
def self.feed_attribute
|
11
11
|
require "google/ads/google_ads/v5/resources/feed_pb"
|
12
|
-
|
12
|
+
if block_given?
|
13
|
+
op = Google::Ads::GoogleAds::V5::Resources::FeedAttributeOperation.new
|
14
|
+
yield op
|
15
|
+
op
|
16
|
+
else
|
17
|
+
Google::Ads::GoogleAds::V5::Resources::FeedAttributeOperation.new
|
18
|
+
end
|
13
19
|
end
|
14
20
|
|
15
21
|
# Create a new TargetRestrictionOperation
|
@@ -17,7 +23,13 @@ module Google
|
|
17
23
|
# @return [Google::Ads::GoogleAds::V5::Common::TargetRestrictionOperation] the operation
|
18
24
|
def self.target_restriction
|
19
25
|
require "google/ads/google_ads/v5/common/targeting_setting_pb"
|
20
|
-
|
26
|
+
if block_given?
|
27
|
+
op = Google::Ads::GoogleAds::V5::Common::TargetRestrictionOperation.new
|
28
|
+
yield op
|
29
|
+
op
|
30
|
+
else
|
31
|
+
Google::Ads::GoogleAds::V5::Common::TargetRestrictionOperation.new
|
32
|
+
end
|
21
33
|
end
|
22
34
|
|
23
35
|
# Create a new CustomerClientLinkOperation
|
@@ -25,7 +37,13 @@ module Google
|
|
25
37
|
# @return [Google::Ads::GoogleAds::V5::Services::CustomerClientLinkOperation] the operation
|
26
38
|
def self.customer_client_link
|
27
39
|
require "google/ads/google_ads/v5/services/customer_client_link_service_pb"
|
28
|
-
|
40
|
+
if block_given?
|
41
|
+
op = Google::Ads::GoogleAds::V5::Services::CustomerClientLinkOperation.new
|
42
|
+
yield op
|
43
|
+
op
|
44
|
+
else
|
45
|
+
Google::Ads::GoogleAds::V5::Services::CustomerClientLinkOperation.new
|
46
|
+
end
|
29
47
|
end
|
30
48
|
|
31
49
|
# Create a new CustomInterestOperation
|
@@ -33,7 +51,13 @@ module Google
|
|
33
51
|
# @return [Google::Ads::GoogleAds::V5::Services::CustomInterestOperation] the operation
|
34
52
|
def self.custom_interest
|
35
53
|
require "google/ads/google_ads/v5/services/custom_interest_service_pb"
|
36
|
-
|
54
|
+
if block_given?
|
55
|
+
op = Google::Ads::GoogleAds::V5::Services::CustomInterestOperation.new
|
56
|
+
yield op
|
57
|
+
op
|
58
|
+
else
|
59
|
+
Google::Ads::GoogleAds::V5::Services::CustomInterestOperation.new
|
60
|
+
end
|
37
61
|
end
|
38
62
|
|
39
63
|
# Create a new CustomerNegativeCriterionOperation
|
@@ -41,7 +65,13 @@ module Google
|
|
41
65
|
# @return [Google::Ads::GoogleAds::V5::Services::CustomerNegativeCriterionOperation] the operation
|
42
66
|
def self.customer_negative_criterion
|
43
67
|
require "google/ads/google_ads/v5/services/customer_negative_criterion_service_pb"
|
44
|
-
|
68
|
+
if block_given?
|
69
|
+
op = Google::Ads::GoogleAds::V5::Services::CustomerNegativeCriterionOperation.new
|
70
|
+
yield op
|
71
|
+
op
|
72
|
+
else
|
73
|
+
Google::Ads::GoogleAds::V5::Services::CustomerNegativeCriterionOperation.new
|
74
|
+
end
|
45
75
|
end
|
46
76
|
|
47
77
|
# Create a new SharedCriterionOperation
|
@@ -49,7 +79,13 @@ module Google
|
|
49
79
|
# @return [Google::Ads::GoogleAds::V5::Services::SharedCriterionOperation] the operation
|
50
80
|
def self.shared_criterion
|
51
81
|
require "google/ads/google_ads/v5/services/shared_criterion_service_pb"
|
52
|
-
|
82
|
+
if block_given?
|
83
|
+
op = Google::Ads::GoogleAds::V5::Services::SharedCriterionOperation.new
|
84
|
+
yield op
|
85
|
+
op
|
86
|
+
else
|
87
|
+
Google::Ads::GoogleAds::V5::Services::SharedCriterionOperation.new
|
88
|
+
end
|
53
89
|
end
|
54
90
|
|
55
91
|
# Create a new KeywordPlanAdGroupKeywordOperation
|
@@ -57,7 +93,13 @@ module Google
|
|
57
93
|
# @return [Google::Ads::GoogleAds::V5::Services::KeywordPlanAdGroupKeywordOperation] the operation
|
58
94
|
def self.keyword_plan_ad_group_keyword
|
59
95
|
require "google/ads/google_ads/v5/services/keyword_plan_ad_group_keyword_service_pb"
|
60
|
-
|
96
|
+
if block_given?
|
97
|
+
op = Google::Ads::GoogleAds::V5::Services::KeywordPlanAdGroupKeywordOperation.new
|
98
|
+
yield op
|
99
|
+
op
|
100
|
+
else
|
101
|
+
Google::Ads::GoogleAds::V5::Services::KeywordPlanAdGroupKeywordOperation.new
|
102
|
+
end
|
61
103
|
end
|
62
104
|
|
63
105
|
# Create a new FeedMappingOperation
|
@@ -65,7 +107,13 @@ module Google
|
|
65
107
|
# @return [Google::Ads::GoogleAds::V5::Services::FeedMappingOperation] the operation
|
66
108
|
def self.feed_mapping
|
67
109
|
require "google/ads/google_ads/v5/services/feed_mapping_service_pb"
|
68
|
-
|
110
|
+
if block_given?
|
111
|
+
op = Google::Ads::GoogleAds::V5::Services::FeedMappingOperation.new
|
112
|
+
yield op
|
113
|
+
op
|
114
|
+
else
|
115
|
+
Google::Ads::GoogleAds::V5::Services::FeedMappingOperation.new
|
116
|
+
end
|
69
117
|
end
|
70
118
|
|
71
119
|
# Create a new AdGroupOperation
|
@@ -73,7 +121,13 @@ module Google
|
|
73
121
|
# @return [Google::Ads::GoogleAds::V5::Services::AdGroupOperation] the operation
|
74
122
|
def self.ad_group
|
75
123
|
require "google/ads/google_ads/v5/services/ad_group_service_pb"
|
76
|
-
|
124
|
+
if block_given?
|
125
|
+
op = Google::Ads::GoogleAds::V5::Services::AdGroupOperation.new
|
126
|
+
yield op
|
127
|
+
op
|
128
|
+
else
|
129
|
+
Google::Ads::GoogleAds::V5::Services::AdGroupOperation.new
|
130
|
+
end
|
77
131
|
end
|
78
132
|
|
79
133
|
# Create a new CampaignBidModifierOperation
|
@@ -81,7 +135,13 @@ module Google
|
|
81
135
|
# @return [Google::Ads::GoogleAds::V5::Services::CampaignBidModifierOperation] the operation
|
82
136
|
def self.campaign_bid_modifier
|
83
137
|
require "google/ads/google_ads/v5/services/campaign_bid_modifier_service_pb"
|
84
|
-
|
138
|
+
if block_given?
|
139
|
+
op = Google::Ads::GoogleAds::V5::Services::CampaignBidModifierOperation.new
|
140
|
+
yield op
|
141
|
+
op
|
142
|
+
else
|
143
|
+
Google::Ads::GoogleAds::V5::Services::CampaignBidModifierOperation.new
|
144
|
+
end
|
85
145
|
end
|
86
146
|
|
87
147
|
# Create a new CustomerManagerLinkOperation
|
@@ -89,7 +149,13 @@ module Google
|
|
89
149
|
# @return [Google::Ads::GoogleAds::V5::Services::CustomerManagerLinkOperation] the operation
|
90
150
|
def self.customer_manager_link
|
91
151
|
require "google/ads/google_ads/v5/services/customer_manager_link_service_pb"
|
92
|
-
|
152
|
+
if block_given?
|
153
|
+
op = Google::Ads::GoogleAds::V5::Services::CustomerManagerLinkOperation.new
|
154
|
+
yield op
|
155
|
+
op
|
156
|
+
else
|
157
|
+
Google::Ads::GoogleAds::V5::Services::CustomerManagerLinkOperation.new
|
158
|
+
end
|
93
159
|
end
|
94
160
|
|
95
161
|
# Create a new CampaignDraftOperation
|
@@ -97,7 +163,13 @@ module Google
|
|
97
163
|
# @return [Google::Ads::GoogleAds::V5::Services::CampaignDraftOperation] the operation
|
98
164
|
def self.campaign_draft
|
99
165
|
require "google/ads/google_ads/v5/services/campaign_draft_service_pb"
|
100
|
-
|
166
|
+
if block_given?
|
167
|
+
op = Google::Ads::GoogleAds::V5::Services::CampaignDraftOperation.new
|
168
|
+
yield op
|
169
|
+
op
|
170
|
+
else
|
171
|
+
Google::Ads::GoogleAds::V5::Services::CampaignDraftOperation.new
|
172
|
+
end
|
101
173
|
end
|
102
174
|
|
103
175
|
# Create a new UserListOperation
|
@@ -105,7 +177,13 @@ module Google
|
|
105
177
|
# @return [Google::Ads::GoogleAds::V5::Services::UserListOperation] the operation
|
106
178
|
def self.user_list
|
107
179
|
require "google/ads/google_ads/v5/services/user_list_service_pb"
|
108
|
-
|
180
|
+
if block_given?
|
181
|
+
op = Google::Ads::GoogleAds::V5::Services::UserListOperation.new
|
182
|
+
yield op
|
183
|
+
op
|
184
|
+
else
|
185
|
+
Google::Ads::GoogleAds::V5::Services::UserListOperation.new
|
186
|
+
end
|
109
187
|
end
|
110
188
|
|
111
189
|
# Create a new CustomerOperation
|
@@ -113,7 +191,13 @@ module Google
|
|
113
191
|
# @return [Google::Ads::GoogleAds::V5::Services::CustomerOperation] the operation
|
114
192
|
def self.customer
|
115
193
|
require "google/ads/google_ads/v5/services/customer_service_pb"
|
116
|
-
|
194
|
+
if block_given?
|
195
|
+
op = Google::Ads::GoogleAds::V5::Services::CustomerOperation.new
|
196
|
+
yield op
|
197
|
+
op
|
198
|
+
else
|
199
|
+
Google::Ads::GoogleAds::V5::Services::CustomerOperation.new
|
200
|
+
end
|
117
201
|
end
|
118
202
|
|
119
203
|
# Create a new SharedSetOperation
|
@@ -121,7 +205,13 @@ module Google
|
|
121
205
|
# @return [Google::Ads::GoogleAds::V5::Services::SharedSetOperation] the operation
|
122
206
|
def self.shared_set
|
123
207
|
require "google/ads/google_ads/v5/services/shared_set_service_pb"
|
124
|
-
|
208
|
+
if block_given?
|
209
|
+
op = Google::Ads::GoogleAds::V5::Services::SharedSetOperation.new
|
210
|
+
yield op
|
211
|
+
op
|
212
|
+
else
|
213
|
+
Google::Ads::GoogleAds::V5::Services::SharedSetOperation.new
|
214
|
+
end
|
125
215
|
end
|
126
216
|
|
127
217
|
# Create a new AdGroupCriterionLabelOperation
|
@@ -129,7 +219,13 @@ module Google
|
|
129
219
|
# @return [Google::Ads::GoogleAds::V5::Services::AdGroupCriterionLabelOperation] the operation
|
130
220
|
def self.ad_group_criterion_label
|
131
221
|
require "google/ads/google_ads/v5/services/ad_group_criterion_label_service_pb"
|
132
|
-
|
222
|
+
if block_given?
|
223
|
+
op = Google::Ads::GoogleAds::V5::Services::AdGroupCriterionLabelOperation.new
|
224
|
+
yield op
|
225
|
+
op
|
226
|
+
else
|
227
|
+
Google::Ads::GoogleAds::V5::Services::AdGroupCriterionLabelOperation.new
|
228
|
+
end
|
133
229
|
end
|
134
230
|
|
135
231
|
# Create a new LabelOperation
|
@@ -137,7 +233,13 @@ module Google
|
|
137
233
|
# @return [Google::Ads::GoogleAds::V5::Services::LabelOperation] the operation
|
138
234
|
def self.label
|
139
235
|
require "google/ads/google_ads/v5/services/label_service_pb"
|
140
|
-
|
236
|
+
if block_given?
|
237
|
+
op = Google::Ads::GoogleAds::V5::Services::LabelOperation.new
|
238
|
+
yield op
|
239
|
+
op
|
240
|
+
else
|
241
|
+
Google::Ads::GoogleAds::V5::Services::LabelOperation.new
|
242
|
+
end
|
141
243
|
end
|
142
244
|
|
143
245
|
# Create a new AdGroupAdLabelOperation
|
@@ -145,7 +247,13 @@ module Google
|
|
145
247
|
# @return [Google::Ads::GoogleAds::V5::Services::AdGroupAdLabelOperation] the operation
|
146
248
|
def self.ad_group_ad_label
|
147
249
|
require "google/ads/google_ads/v5/services/ad_group_ad_label_service_pb"
|
148
|
-
|
250
|
+
if block_given?
|
251
|
+
op = Google::Ads::GoogleAds::V5::Services::AdGroupAdLabelOperation.new
|
252
|
+
yield op
|
253
|
+
op
|
254
|
+
else
|
255
|
+
Google::Ads::GoogleAds::V5::Services::AdGroupAdLabelOperation.new
|
256
|
+
end
|
149
257
|
end
|
150
258
|
|
151
259
|
# Create a new AdGroupAdOperation
|
@@ -153,7 +261,13 @@ module Google
|
|
153
261
|
# @return [Google::Ads::GoogleAds::V5::Services::AdGroupAdOperation] the operation
|
154
262
|
def self.ad_group_ad
|
155
263
|
require "google/ads/google_ads/v5/services/ad_group_ad_service_pb"
|
156
|
-
|
264
|
+
if block_given?
|
265
|
+
op = Google::Ads::GoogleAds::V5::Services::AdGroupAdOperation.new
|
266
|
+
yield op
|
267
|
+
op
|
268
|
+
else
|
269
|
+
Google::Ads::GoogleAds::V5::Services::AdGroupAdOperation.new
|
270
|
+
end
|
157
271
|
end
|
158
272
|
|
159
273
|
# Create a new AdGroupBidModifierOperation
|
@@ -161,7 +275,13 @@ module Google
|
|
161
275
|
# @return [Google::Ads::GoogleAds::V5::Services::AdGroupBidModifierOperation] the operation
|
162
276
|
def self.ad_group_bid_modifier
|
163
277
|
require "google/ads/google_ads/v5/services/ad_group_bid_modifier_service_pb"
|
164
|
-
|
278
|
+
if block_given?
|
279
|
+
op = Google::Ads::GoogleAds::V5::Services::AdGroupBidModifierOperation.new
|
280
|
+
yield op
|
281
|
+
op
|
282
|
+
else
|
283
|
+
Google::Ads::GoogleAds::V5::Services::AdGroupBidModifierOperation.new
|
284
|
+
end
|
165
285
|
end
|
166
286
|
|
167
287
|
# Create a new AdGroupCriterionOperation
|
@@ -169,7 +289,13 @@ module Google
|
|
169
289
|
# @return [Google::Ads::GoogleAds::V5::Services::AdGroupCriterionOperation] the operation
|
170
290
|
def self.ad_group_criterion
|
171
291
|
require "google/ads/google_ads/v5/services/ad_group_criterion_service_pb"
|
172
|
-
|
292
|
+
if block_given?
|
293
|
+
op = Google::Ads::GoogleAds::V5::Services::AdGroupCriterionOperation.new
|
294
|
+
yield op
|
295
|
+
op
|
296
|
+
else
|
297
|
+
Google::Ads::GoogleAds::V5::Services::AdGroupCriterionOperation.new
|
298
|
+
end
|
173
299
|
end
|
174
300
|
|
175
301
|
# Create a new AdGroupExtensionSettingOperation
|
@@ -177,7 +303,13 @@ module Google
|
|
177
303
|
# @return [Google::Ads::GoogleAds::V5::Services::AdGroupExtensionSettingOperation] the operation
|
178
304
|
def self.ad_group_extension_setting
|
179
305
|
require "google/ads/google_ads/v5/services/ad_group_extension_setting_service_pb"
|
180
|
-
|
306
|
+
if block_given?
|
307
|
+
op = Google::Ads::GoogleAds::V5::Services::AdGroupExtensionSettingOperation.new
|
308
|
+
yield op
|
309
|
+
op
|
310
|
+
else
|
311
|
+
Google::Ads::GoogleAds::V5::Services::AdGroupExtensionSettingOperation.new
|
312
|
+
end
|
181
313
|
end
|
182
314
|
|
183
315
|
# Create a new AdGroupFeedOperation
|
@@ -185,7 +317,13 @@ module Google
|
|
185
317
|
# @return [Google::Ads::GoogleAds::V5::Services::AdGroupFeedOperation] the operation
|
186
318
|
def self.ad_group_feed
|
187
319
|
require "google/ads/google_ads/v5/services/ad_group_feed_service_pb"
|
188
|
-
|
320
|
+
if block_given?
|
321
|
+
op = Google::Ads::GoogleAds::V5::Services::AdGroupFeedOperation.new
|
322
|
+
yield op
|
323
|
+
op
|
324
|
+
else
|
325
|
+
Google::Ads::GoogleAds::V5::Services::AdGroupFeedOperation.new
|
326
|
+
end
|
189
327
|
end
|
190
328
|
|
191
329
|
# Create a new AdGroupLabelOperation
|
@@ -193,7 +331,13 @@ module Google
|
|
193
331
|
# @return [Google::Ads::GoogleAds::V5::Services::AdGroupLabelOperation] the operation
|
194
332
|
def self.ad_group_label
|
195
333
|
require "google/ads/google_ads/v5/services/ad_group_label_service_pb"
|
196
|
-
|
334
|
+
if block_given?
|
335
|
+
op = Google::Ads::GoogleAds::V5::Services::AdGroupLabelOperation.new
|
336
|
+
yield op
|
337
|
+
op
|
338
|
+
else
|
339
|
+
Google::Ads::GoogleAds::V5::Services::AdGroupLabelOperation.new
|
340
|
+
end
|
197
341
|
end
|
198
342
|
|
199
343
|
# Create a new AdParameterOperation
|
@@ -201,7 +345,13 @@ module Google
|
|
201
345
|
# @return [Google::Ads::GoogleAds::V5::Services::AdParameterOperation] the operation
|
202
346
|
def self.ad_parameter
|
203
347
|
require "google/ads/google_ads/v5/services/ad_parameter_service_pb"
|
204
|
-
|
348
|
+
if block_given?
|
349
|
+
op = Google::Ads::GoogleAds::V5::Services::AdParameterOperation.new
|
350
|
+
yield op
|
351
|
+
op
|
352
|
+
else
|
353
|
+
Google::Ads::GoogleAds::V5::Services::AdParameterOperation.new
|
354
|
+
end
|
205
355
|
end
|
206
356
|
|
207
357
|
# Create a new AdOperation
|
@@ -209,7 +359,13 @@ module Google
|
|
209
359
|
# @return [Google::Ads::GoogleAds::V5::Services::AdOperation] the operation
|
210
360
|
def self.ad
|
211
361
|
require "google/ads/google_ads/v5/services/ad_service_pb"
|
212
|
-
|
362
|
+
if block_given?
|
363
|
+
op = Google::Ads::GoogleAds::V5::Services::AdOperation.new
|
364
|
+
yield op
|
365
|
+
op
|
366
|
+
else
|
367
|
+
Google::Ads::GoogleAds::V5::Services::AdOperation.new
|
368
|
+
end
|
213
369
|
end
|
214
370
|
|
215
371
|
# Create a new AssetOperation
|
@@ -217,7 +373,13 @@ module Google
|
|
217
373
|
# @return [Google::Ads::GoogleAds::V5::Services::AssetOperation] the operation
|
218
374
|
def self.asset
|
219
375
|
require "google/ads/google_ads/v5/services/asset_service_pb"
|
220
|
-
|
376
|
+
if block_given?
|
377
|
+
op = Google::Ads::GoogleAds::V5::Services::AssetOperation.new
|
378
|
+
yield op
|
379
|
+
op
|
380
|
+
else
|
381
|
+
Google::Ads::GoogleAds::V5::Services::AssetOperation.new
|
382
|
+
end
|
221
383
|
end
|
222
384
|
|
223
385
|
# Create a new BiddingStrategyOperation
|
@@ -225,7 +387,13 @@ module Google
|
|
225
387
|
# @return [Google::Ads::GoogleAds::V5::Services::BiddingStrategyOperation] the operation
|
226
388
|
def self.bidding_strategy
|
227
389
|
require "google/ads/google_ads/v5/services/bidding_strategy_service_pb"
|
228
|
-
|
390
|
+
if block_given?
|
391
|
+
op = Google::Ads::GoogleAds::V5::Services::BiddingStrategyOperation.new
|
392
|
+
yield op
|
393
|
+
op
|
394
|
+
else
|
395
|
+
Google::Ads::GoogleAds::V5::Services::BiddingStrategyOperation.new
|
396
|
+
end
|
229
397
|
end
|
230
398
|
|
231
399
|
# Create a new CampaignAssetOperation
|
@@ -233,7 +401,13 @@ module Google
|
|
233
401
|
# @return [Google::Ads::GoogleAds::V5::Services::CampaignAssetOperation] the operation
|
234
402
|
def self.campaign_asset
|
235
403
|
require "google/ads/google_ads/v5/services/campaign_asset_service_pb"
|
236
|
-
|
404
|
+
if block_given?
|
405
|
+
op = Google::Ads::GoogleAds::V5::Services::CampaignAssetOperation.new
|
406
|
+
yield op
|
407
|
+
op
|
408
|
+
else
|
409
|
+
Google::Ads::GoogleAds::V5::Services::CampaignAssetOperation.new
|
410
|
+
end
|
237
411
|
end
|
238
412
|
|
239
413
|
# Create a new CampaignBudgetOperation
|
@@ -241,7 +415,13 @@ module Google
|
|
241
415
|
# @return [Google::Ads::GoogleAds::V5::Services::CampaignBudgetOperation] the operation
|
242
416
|
def self.campaign_budget
|
243
417
|
require "google/ads/google_ads/v5/services/campaign_budget_service_pb"
|
244
|
-
|
418
|
+
if block_given?
|
419
|
+
op = Google::Ads::GoogleAds::V5::Services::CampaignBudgetOperation.new
|
420
|
+
yield op
|
421
|
+
op
|
422
|
+
else
|
423
|
+
Google::Ads::GoogleAds::V5::Services::CampaignBudgetOperation.new
|
424
|
+
end
|
245
425
|
end
|
246
426
|
|
247
427
|
# Create a new CampaignCriterionOperation
|
@@ -249,7 +429,13 @@ module Google
|
|
249
429
|
# @return [Google::Ads::GoogleAds::V5::Services::CampaignCriterionOperation] the operation
|
250
430
|
def self.campaign_criterion
|
251
431
|
require "google/ads/google_ads/v5/services/campaign_criterion_service_pb"
|
252
|
-
|
432
|
+
if block_given?
|
433
|
+
op = Google::Ads::GoogleAds::V5::Services::CampaignCriterionOperation.new
|
434
|
+
yield op
|
435
|
+
op
|
436
|
+
else
|
437
|
+
Google::Ads::GoogleAds::V5::Services::CampaignCriterionOperation.new
|
438
|
+
end
|
253
439
|
end
|
254
440
|
|
255
441
|
# Create a new CampaignExperimentOperation
|
@@ -257,7 +443,13 @@ module Google
|
|
257
443
|
# @return [Google::Ads::GoogleAds::V5::Services::CampaignExperimentOperation] the operation
|
258
444
|
def self.campaign_experiment
|
259
445
|
require "google/ads/google_ads/v5/services/campaign_experiment_service_pb"
|
260
|
-
|
446
|
+
if block_given?
|
447
|
+
op = Google::Ads::GoogleAds::V5::Services::CampaignExperimentOperation.new
|
448
|
+
yield op
|
449
|
+
op
|
450
|
+
else
|
451
|
+
Google::Ads::GoogleAds::V5::Services::CampaignExperimentOperation.new
|
452
|
+
end
|
261
453
|
end
|
262
454
|
|
263
455
|
# Create a new CampaignExtensionSettingOperation
|
@@ -265,7 +457,13 @@ module Google
|
|
265
457
|
# @return [Google::Ads::GoogleAds::V5::Services::CampaignExtensionSettingOperation] the operation
|
266
458
|
def self.campaign_extension_setting
|
267
459
|
require "google/ads/google_ads/v5/services/campaign_extension_setting_service_pb"
|
268
|
-
|
460
|
+
if block_given?
|
461
|
+
op = Google::Ads::GoogleAds::V5::Services::CampaignExtensionSettingOperation.new
|
462
|
+
yield op
|
463
|
+
op
|
464
|
+
else
|
465
|
+
Google::Ads::GoogleAds::V5::Services::CampaignExtensionSettingOperation.new
|
466
|
+
end
|
269
467
|
end
|
270
468
|
|
271
469
|
# Create a new CampaignFeedOperation
|
@@ -273,7 +471,13 @@ module Google
|
|
273
471
|
# @return [Google::Ads::GoogleAds::V5::Services::CampaignFeedOperation] the operation
|
274
472
|
def self.campaign_feed
|
275
473
|
require "google/ads/google_ads/v5/services/campaign_feed_service_pb"
|
276
|
-
|
474
|
+
if block_given?
|
475
|
+
op = Google::Ads::GoogleAds::V5::Services::CampaignFeedOperation.new
|
476
|
+
yield op
|
477
|
+
op
|
478
|
+
else
|
479
|
+
Google::Ads::GoogleAds::V5::Services::CampaignFeedOperation.new
|
480
|
+
end
|
277
481
|
end
|
278
482
|
|
279
483
|
# Create a new CampaignLabelOperation
|
@@ -281,7 +485,13 @@ module Google
|
|
281
485
|
# @return [Google::Ads::GoogleAds::V5::Services::CampaignLabelOperation] the operation
|
282
486
|
def self.campaign_label
|
283
487
|
require "google/ads/google_ads/v5/services/campaign_label_service_pb"
|
284
|
-
|
488
|
+
if block_given?
|
489
|
+
op = Google::Ads::GoogleAds::V5::Services::CampaignLabelOperation.new
|
490
|
+
yield op
|
491
|
+
op
|
492
|
+
else
|
493
|
+
Google::Ads::GoogleAds::V5::Services::CampaignLabelOperation.new
|
494
|
+
end
|
285
495
|
end
|
286
496
|
|
287
497
|
# Create a new CampaignOperation
|
@@ -289,7 +499,13 @@ module Google
|
|
289
499
|
# @return [Google::Ads::GoogleAds::V5::Services::CampaignOperation] the operation
|
290
500
|
def self.campaign
|
291
501
|
require "google/ads/google_ads/v5/services/campaign_service_pb"
|
292
|
-
|
502
|
+
if block_given?
|
503
|
+
op = Google::Ads::GoogleAds::V5::Services::CampaignOperation.new
|
504
|
+
yield op
|
505
|
+
op
|
506
|
+
else
|
507
|
+
Google::Ads::GoogleAds::V5::Services::CampaignOperation.new
|
508
|
+
end
|
293
509
|
end
|
294
510
|
|
295
511
|
# Create a new CampaignSharedSetOperation
|
@@ -297,7 +513,13 @@ module Google
|
|
297
513
|
# @return [Google::Ads::GoogleAds::V5::Services::CampaignSharedSetOperation] the operation
|
298
514
|
def self.campaign_shared_set
|
299
515
|
require "google/ads/google_ads/v5/services/campaign_shared_set_service_pb"
|
300
|
-
|
516
|
+
if block_given?
|
517
|
+
op = Google::Ads::GoogleAds::V5::Services::CampaignSharedSetOperation.new
|
518
|
+
yield op
|
519
|
+
op
|
520
|
+
else
|
521
|
+
Google::Ads::GoogleAds::V5::Services::CampaignSharedSetOperation.new
|
522
|
+
end
|
301
523
|
end
|
302
524
|
|
303
525
|
# Create a new ConversionActionOperation
|
@@ -305,7 +527,13 @@ module Google
|
|
305
527
|
# @return [Google::Ads::GoogleAds::V5::Services::ConversionActionOperation] the operation
|
306
528
|
def self.conversion_action
|
307
529
|
require "google/ads/google_ads/v5/services/conversion_action_service_pb"
|
308
|
-
|
530
|
+
if block_given?
|
531
|
+
op = Google::Ads::GoogleAds::V5::Services::ConversionActionOperation.new
|
532
|
+
yield op
|
533
|
+
op
|
534
|
+
else
|
535
|
+
Google::Ads::GoogleAds::V5::Services::ConversionActionOperation.new
|
536
|
+
end
|
309
537
|
end
|
310
538
|
|
311
539
|
# Create a new CustomerExtensionSettingOperation
|
@@ -313,7 +541,13 @@ module Google
|
|
313
541
|
# @return [Google::Ads::GoogleAds::V5::Services::CustomerExtensionSettingOperation] the operation
|
314
542
|
def self.customer_extension_setting
|
315
543
|
require "google/ads/google_ads/v5/services/customer_extension_setting_service_pb"
|
316
|
-
|
544
|
+
if block_given?
|
545
|
+
op = Google::Ads::GoogleAds::V5::Services::CustomerExtensionSettingOperation.new
|
546
|
+
yield op
|
547
|
+
op
|
548
|
+
else
|
549
|
+
Google::Ads::GoogleAds::V5::Services::CustomerExtensionSettingOperation.new
|
550
|
+
end
|
317
551
|
end
|
318
552
|
|
319
553
|
# Create a new CustomerFeedOperation
|
@@ -321,7 +555,13 @@ module Google
|
|
321
555
|
# @return [Google::Ads::GoogleAds::V5::Services::CustomerFeedOperation] the operation
|
322
556
|
def self.customer_feed
|
323
557
|
require "google/ads/google_ads/v5/services/customer_feed_service_pb"
|
324
|
-
|
558
|
+
if block_given?
|
559
|
+
op = Google::Ads::GoogleAds::V5::Services::CustomerFeedOperation.new
|
560
|
+
yield op
|
561
|
+
op
|
562
|
+
else
|
563
|
+
Google::Ads::GoogleAds::V5::Services::CustomerFeedOperation.new
|
564
|
+
end
|
325
565
|
end
|
326
566
|
|
327
567
|
# Create a new CustomerLabelOperation
|
@@ -329,7 +569,13 @@ module Google
|
|
329
569
|
# @return [Google::Ads::GoogleAds::V5::Services::CustomerLabelOperation] the operation
|
330
570
|
def self.customer_label
|
331
571
|
require "google/ads/google_ads/v5/services/customer_label_service_pb"
|
332
|
-
|
572
|
+
if block_given?
|
573
|
+
op = Google::Ads::GoogleAds::V5::Services::CustomerLabelOperation.new
|
574
|
+
yield op
|
575
|
+
op
|
576
|
+
else
|
577
|
+
Google::Ads::GoogleAds::V5::Services::CustomerLabelOperation.new
|
578
|
+
end
|
333
579
|
end
|
334
580
|
|
335
581
|
# Create a new ExtensionFeedItemOperation
|
@@ -337,7 +583,13 @@ module Google
|
|
337
583
|
# @return [Google::Ads::GoogleAds::V5::Services::ExtensionFeedItemOperation] the operation
|
338
584
|
def self.extension_feed_item
|
339
585
|
require "google/ads/google_ads/v5/services/extension_feed_item_service_pb"
|
340
|
-
|
586
|
+
if block_given?
|
587
|
+
op = Google::Ads::GoogleAds::V5::Services::ExtensionFeedItemOperation.new
|
588
|
+
yield op
|
589
|
+
op
|
590
|
+
else
|
591
|
+
Google::Ads::GoogleAds::V5::Services::ExtensionFeedItemOperation.new
|
592
|
+
end
|
341
593
|
end
|
342
594
|
|
343
595
|
# Create a new FeedItemOperation
|
@@ -345,7 +597,13 @@ module Google
|
|
345
597
|
# @return [Google::Ads::GoogleAds::V5::Services::FeedItemOperation] the operation
|
346
598
|
def self.feed_item
|
347
599
|
require "google/ads/google_ads/v5/services/feed_item_service_pb"
|
348
|
-
|
600
|
+
if block_given?
|
601
|
+
op = Google::Ads::GoogleAds::V5::Services::FeedItemOperation.new
|
602
|
+
yield op
|
603
|
+
op
|
604
|
+
else
|
605
|
+
Google::Ads::GoogleAds::V5::Services::FeedItemOperation.new
|
606
|
+
end
|
349
607
|
end
|
350
608
|
|
351
609
|
# Create a new FeedItemTargetOperation
|
@@ -353,7 +611,13 @@ module Google
|
|
353
611
|
# @return [Google::Ads::GoogleAds::V5::Services::FeedItemTargetOperation] the operation
|
354
612
|
def self.feed_item_target
|
355
613
|
require "google/ads/google_ads/v5/services/feed_item_target_service_pb"
|
356
|
-
|
614
|
+
if block_given?
|
615
|
+
op = Google::Ads::GoogleAds::V5::Services::FeedItemTargetOperation.new
|
616
|
+
yield op
|
617
|
+
op
|
618
|
+
else
|
619
|
+
Google::Ads::GoogleAds::V5::Services::FeedItemTargetOperation.new
|
620
|
+
end
|
357
621
|
end
|
358
622
|
|
359
623
|
# Create a new FeedOperation
|
@@ -361,7 +625,13 @@ module Google
|
|
361
625
|
# @return [Google::Ads::GoogleAds::V5::Services::FeedOperation] the operation
|
362
626
|
def self.feed
|
363
627
|
require "google/ads/google_ads/v5/services/feed_service_pb"
|
364
|
-
|
628
|
+
if block_given?
|
629
|
+
op = Google::Ads::GoogleAds::V5::Services::FeedOperation.new
|
630
|
+
yield op
|
631
|
+
op
|
632
|
+
else
|
633
|
+
Google::Ads::GoogleAds::V5::Services::FeedOperation.new
|
634
|
+
end
|
365
635
|
end
|
366
636
|
|
367
637
|
# Create a new KeywordPlanAdGroupOperation
|
@@ -369,7 +639,13 @@ module Google
|
|
369
639
|
# @return [Google::Ads::GoogleAds::V5::Services::KeywordPlanAdGroupOperation] the operation
|
370
640
|
def self.keyword_plan_ad_group
|
371
641
|
require "google/ads/google_ads/v5/services/keyword_plan_ad_group_service_pb"
|
372
|
-
|
642
|
+
if block_given?
|
643
|
+
op = Google::Ads::GoogleAds::V5::Services::KeywordPlanAdGroupOperation.new
|
644
|
+
yield op
|
645
|
+
op
|
646
|
+
else
|
647
|
+
Google::Ads::GoogleAds::V5::Services::KeywordPlanAdGroupOperation.new
|
648
|
+
end
|
373
649
|
end
|
374
650
|
|
375
651
|
# Create a new KeywordPlanCampaignKeywordOperation
|
@@ -377,7 +653,13 @@ module Google
|
|
377
653
|
# @return [Google::Ads::GoogleAds::V5::Services::KeywordPlanCampaignKeywordOperation] the operation
|
378
654
|
def self.keyword_plan_campaign_keyword
|
379
655
|
require "google/ads/google_ads/v5/services/keyword_plan_campaign_keyword_service_pb"
|
380
|
-
|
656
|
+
if block_given?
|
657
|
+
op = Google::Ads::GoogleAds::V5::Services::KeywordPlanCampaignKeywordOperation.new
|
658
|
+
yield op
|
659
|
+
op
|
660
|
+
else
|
661
|
+
Google::Ads::GoogleAds::V5::Services::KeywordPlanCampaignKeywordOperation.new
|
662
|
+
end
|
381
663
|
end
|
382
664
|
|
383
665
|
# Create a new KeywordPlanCampaignOperation
|
@@ -385,7 +667,13 @@ module Google
|
|
385
667
|
# @return [Google::Ads::GoogleAds::V5::Services::KeywordPlanCampaignOperation] the operation
|
386
668
|
def self.keyword_plan_campaign
|
387
669
|
require "google/ads/google_ads/v5/services/keyword_plan_campaign_service_pb"
|
388
|
-
|
670
|
+
if block_given?
|
671
|
+
op = Google::Ads::GoogleAds::V5::Services::KeywordPlanCampaignOperation.new
|
672
|
+
yield op
|
673
|
+
op
|
674
|
+
else
|
675
|
+
Google::Ads::GoogleAds::V5::Services::KeywordPlanCampaignOperation.new
|
676
|
+
end
|
389
677
|
end
|
390
678
|
|
391
679
|
# Create a new KeywordPlanOperation
|
@@ -393,7 +681,13 @@ module Google
|
|
393
681
|
# @return [Google::Ads::GoogleAds::V5::Services::KeywordPlanOperation] the operation
|
394
682
|
def self.keyword_plan
|
395
683
|
require "google/ads/google_ads/v5/services/keyword_plan_service_pb"
|
396
|
-
|
684
|
+
if block_given?
|
685
|
+
op = Google::Ads::GoogleAds::V5::Services::KeywordPlanOperation.new
|
686
|
+
yield op
|
687
|
+
op
|
688
|
+
else
|
689
|
+
Google::Ads::GoogleAds::V5::Services::KeywordPlanOperation.new
|
690
|
+
end
|
397
691
|
end
|
398
692
|
|
399
693
|
# Create a new MediaFileOperation
|
@@ -401,7 +695,13 @@ module Google
|
|
401
695
|
# @return [Google::Ads::GoogleAds::V5::Services::MediaFileOperation] the operation
|
402
696
|
def self.media_file
|
403
697
|
require "google/ads/google_ads/v5/services/media_file_service_pb"
|
404
|
-
|
698
|
+
if block_given?
|
699
|
+
op = Google::Ads::GoogleAds::V5::Services::MediaFileOperation.new
|
700
|
+
yield op
|
701
|
+
op
|
702
|
+
else
|
703
|
+
Google::Ads::GoogleAds::V5::Services::MediaFileOperation.new
|
704
|
+
end
|
405
705
|
end
|
406
706
|
|
407
707
|
# Create a new RemarketingActionOperation
|
@@ -409,7 +709,13 @@ module Google
|
|
409
709
|
# @return [Google::Ads::GoogleAds::V5::Services::RemarketingActionOperation] the operation
|
410
710
|
def self.remarketing_action
|
411
711
|
require "google/ads/google_ads/v5/services/remarketing_action_service_pb"
|
412
|
-
|
712
|
+
if block_given?
|
713
|
+
op = Google::Ads::GoogleAds::V5::Services::RemarketingActionOperation.new
|
714
|
+
yield op
|
715
|
+
op
|
716
|
+
else
|
717
|
+
Google::Ads::GoogleAds::V5::Services::RemarketingActionOperation.new
|
718
|
+
end
|
413
719
|
end
|
414
720
|
|
415
721
|
# Create a new MutateOperation
|
@@ -417,7 +723,13 @@ module Google
|
|
417
723
|
# @return [Google::Ads::GoogleAds::V5::Services::MutateOperation] the operation
|
418
724
|
def self.mutate
|
419
725
|
require "google/ads/google_ads/v5/services/google_ads_service_pb"
|
420
|
-
|
726
|
+
if block_given?
|
727
|
+
op = Google::Ads::GoogleAds::V5::Services::MutateOperation.new
|
728
|
+
yield op
|
729
|
+
op
|
730
|
+
else
|
731
|
+
Google::Ads::GoogleAds::V5::Services::MutateOperation.new
|
732
|
+
end
|
421
733
|
end
|
422
734
|
|
423
735
|
# Create a new BatchJobOperation
|
@@ -425,7 +737,13 @@ module Google
|
|
425
737
|
# @return [Google::Ads::GoogleAds::V5::Services::BatchJobOperation] the operation
|
426
738
|
def self.batch_job
|
427
739
|
require "google/ads/google_ads/v5/services/batch_job_service_pb"
|
428
|
-
|
740
|
+
if block_given?
|
741
|
+
op = Google::Ads::GoogleAds::V5::Services::BatchJobOperation.new
|
742
|
+
yield op
|
743
|
+
op
|
744
|
+
else
|
745
|
+
Google::Ads::GoogleAds::V5::Services::BatchJobOperation.new
|
746
|
+
end
|
429
747
|
end
|
430
748
|
|
431
749
|
# Create a new OfflineUserDataJobOperation
|
@@ -433,7 +751,13 @@ module Google
|
|
433
751
|
# @return [Google::Ads::GoogleAds::V5::Services::OfflineUserDataJobOperation] the operation
|
434
752
|
def self.offline_user_data_job
|
435
753
|
require "google/ads/google_ads/v5/services/offline_user_data_job_service_pb"
|
436
|
-
|
754
|
+
if block_given?
|
755
|
+
op = Google::Ads::GoogleAds::V5::Services::OfflineUserDataJobOperation.new
|
756
|
+
yield op
|
757
|
+
op
|
758
|
+
else
|
759
|
+
Google::Ads::GoogleAds::V5::Services::OfflineUserDataJobOperation.new
|
760
|
+
end
|
437
761
|
end
|
438
762
|
|
439
763
|
# Create a new UserDataOperation
|
@@ -441,7 +765,13 @@ module Google
|
|
441
765
|
# @return [Google::Ads::GoogleAds::V5::Services::UserDataOperation] the operation
|
442
766
|
def self.user_data
|
443
767
|
require "google/ads/google_ads/v5/services/user_data_service_pb"
|
444
|
-
|
768
|
+
if block_given?
|
769
|
+
op = Google::Ads::GoogleAds::V5::Services::UserDataOperation.new
|
770
|
+
yield op
|
771
|
+
op
|
772
|
+
else
|
773
|
+
Google::Ads::GoogleAds::V5::Services::UserDataOperation.new
|
774
|
+
end
|
445
775
|
end
|
446
776
|
|
447
777
|
# Create a new AccountBudgetProposalOperation
|
@@ -449,7 +779,13 @@ module Google
|
|
449
779
|
# @return [Google::Ads::GoogleAds::V5::Services::AccountBudgetProposalOperation] the operation
|
450
780
|
def self.account_budget_proposal
|
451
781
|
require "google/ads/google_ads/v5/services/account_budget_proposal_service_pb"
|
452
|
-
|
782
|
+
if block_given?
|
783
|
+
op = Google::Ads::GoogleAds::V5::Services::AccountBudgetProposalOperation.new
|
784
|
+
yield op
|
785
|
+
op
|
786
|
+
else
|
787
|
+
Google::Ads::GoogleAds::V5::Services::AccountBudgetProposalOperation.new
|
788
|
+
end
|
453
789
|
end
|
454
790
|
|
455
791
|
# Create a new ApplyRecommendationOperation
|
@@ -457,7 +793,13 @@ module Google
|
|
457
793
|
# @return [Google::Ads::GoogleAds::V5::Services::ApplyRecommendationOperation] the operation
|
458
794
|
def self.apply_recommendation
|
459
795
|
require "google/ads/google_ads/v5/services/recommendation_service_pb"
|
460
|
-
|
796
|
+
if block_given?
|
797
|
+
op = Google::Ads::GoogleAds::V5::Services::ApplyRecommendationOperation.new
|
798
|
+
yield op
|
799
|
+
op
|
800
|
+
else
|
801
|
+
Google::Ads::GoogleAds::V5::Services::ApplyRecommendationOperation.new
|
802
|
+
end
|
461
803
|
end
|
462
804
|
|
463
805
|
# Create a new DismissRecommendationOperation
|
@@ -465,7 +807,13 @@ module Google
|
|
465
807
|
# @return [Google::Ads::GoogleAds::V5::Services::DismissRecommendationRequest::DismissRecommendationOperation] the operation
|
466
808
|
def self.dismiss_recommendation
|
467
809
|
require "google/ads/google_ads/v5/services/recommendation_service_pb"
|
468
|
-
|
810
|
+
if block_given?
|
811
|
+
op = Google::Ads::GoogleAds::V5::Services::DismissRecommendationRequest::DismissRecommendationOperation.new
|
812
|
+
yield op
|
813
|
+
op
|
814
|
+
else
|
815
|
+
Google::Ads::GoogleAds::V5::Services::DismissRecommendationRequest::DismissRecommendationOperation.new
|
816
|
+
end
|
469
817
|
end
|
470
818
|
|
471
819
|
# Create a new AccountLinkOperation
|
@@ -473,7 +821,13 @@ module Google
|
|
473
821
|
# @return [Google::Ads::GoogleAds::V5::Services::AccountLinkOperation] the operation
|
474
822
|
def self.account_link
|
475
823
|
require "google/ads/google_ads/v5/services/account_link_service_pb"
|
476
|
-
|
824
|
+
if block_given?
|
825
|
+
op = Google::Ads::GoogleAds::V5::Services::AccountLinkOperation.new
|
826
|
+
yield op
|
827
|
+
op
|
828
|
+
else
|
829
|
+
Google::Ads::GoogleAds::V5::Services::AccountLinkOperation.new
|
830
|
+
end
|
477
831
|
end
|
478
832
|
|
479
833
|
# Create a new MerchantCenterLinkOperation
|
@@ -481,7 +835,13 @@ module Google
|
|
481
835
|
# @return [Google::Ads::GoogleAds::V5::Services::MerchantCenterLinkOperation] the operation
|
482
836
|
def self.merchant_center_link
|
483
837
|
require "google/ads/google_ads/v5/services/merchant_center_link_service_pb"
|
484
|
-
|
838
|
+
if block_given?
|
839
|
+
op = Google::Ads::GoogleAds::V5::Services::MerchantCenterLinkOperation.new
|
840
|
+
yield op
|
841
|
+
op
|
842
|
+
else
|
843
|
+
Google::Ads::GoogleAds::V5::Services::MerchantCenterLinkOperation.new
|
844
|
+
end
|
485
845
|
end
|
486
846
|
|
487
847
|
# Create a new BillingSetupOperation
|
@@ -489,7 +849,13 @@ module Google
|
|
489
849
|
# @return [Google::Ads::GoogleAds::V5::Services::BillingSetupOperation] the operation
|
490
850
|
def self.billing_setup
|
491
851
|
require "google/ads/google_ads/v5/services/billing_setup_service_pb"
|
492
|
-
|
852
|
+
if block_given?
|
853
|
+
op = Google::Ads::GoogleAds::V5::Services::BillingSetupOperation.new
|
854
|
+
yield op
|
855
|
+
op
|
856
|
+
else
|
857
|
+
Google::Ads::GoogleAds::V5::Services::BillingSetupOperation.new
|
858
|
+
end
|
493
859
|
end
|
494
860
|
|
495
861
|
# Get a reference module containing convenience methods for creating
|
@@ -530,13 +896,15 @@ module Google
|
|
530
896
|
# a resource instance to be used for creation in this operation.
|
531
897
|
#
|
532
898
|
# @return [Google::Ads::GoogleAds::V5::Services::CustomerClientLinkOperation] instance that will create the resource
|
533
|
-
def self.customer_client_link(res=nil, &blk)
|
899
|
+
def self.customer_client_link(res = nil, &blk)
|
534
900
|
require "google/ads/google_ads/v5/services/customer_client_link_service_pb"
|
535
901
|
op = Google::Ads::GoogleAds::V5::Services::CustomerClientLinkOperation.new
|
536
|
-
if !res.nil?
|
537
|
-
|
902
|
+
op["create"] = if !res.nil?
|
903
|
+
res
|
538
904
|
elsif !blk.nil?
|
539
|
-
|
905
|
+
Factories::V5::Resources.customer_client_link(&blk)
|
906
|
+
else
|
907
|
+
Factories::V5::Resources.customer_client_link
|
540
908
|
end
|
541
909
|
|
542
910
|
op
|
@@ -555,13 +923,15 @@ module Google
|
|
555
923
|
# a resource instance to be used for creation in this operation.
|
556
924
|
#
|
557
925
|
# @return [Google::Ads::GoogleAds::V5::Services::CustomInterestOperation] instance that will create the resource
|
558
|
-
def self.custom_interest(res=nil, &blk)
|
926
|
+
def self.custom_interest(res = nil, &blk)
|
559
927
|
require "google/ads/google_ads/v5/services/custom_interest_service_pb"
|
560
928
|
op = Google::Ads::GoogleAds::V5::Services::CustomInterestOperation.new
|
561
|
-
if !res.nil?
|
562
|
-
|
929
|
+
op["create"] = if !res.nil?
|
930
|
+
res
|
563
931
|
elsif !blk.nil?
|
564
|
-
|
932
|
+
Factories::V5::Resources.custom_interest(&blk)
|
933
|
+
else
|
934
|
+
Factories::V5::Resources.custom_interest
|
565
935
|
end
|
566
936
|
|
567
937
|
op
|
@@ -580,13 +950,15 @@ module Google
|
|
580
950
|
# a resource instance to be used for creation in this operation.
|
581
951
|
#
|
582
952
|
# @return [Google::Ads::GoogleAds::V5::Services::CustomerNegativeCriterionOperation] instance that will create the resource
|
583
|
-
def self.customer_negative_criterion(res=nil, &blk)
|
953
|
+
def self.customer_negative_criterion(res = nil, &blk)
|
584
954
|
require "google/ads/google_ads/v5/services/customer_negative_criterion_service_pb"
|
585
955
|
op = Google::Ads::GoogleAds::V5::Services::CustomerNegativeCriterionOperation.new
|
586
|
-
if !res.nil?
|
587
|
-
|
956
|
+
op["create"] = if !res.nil?
|
957
|
+
res
|
588
958
|
elsif !blk.nil?
|
589
|
-
|
959
|
+
Factories::V5::Resources.customer_negative_criterion(&blk)
|
960
|
+
else
|
961
|
+
Factories::V5::Resources.customer_negative_criterion
|
590
962
|
end
|
591
963
|
|
592
964
|
op
|
@@ -605,13 +977,15 @@ module Google
|
|
605
977
|
# a resource instance to be used for creation in this operation.
|
606
978
|
#
|
607
979
|
# @return [Google::Ads::GoogleAds::V5::Services::SharedCriterionOperation] instance that will create the resource
|
608
|
-
def self.shared_criterion(res=nil, &blk)
|
980
|
+
def self.shared_criterion(res = nil, &blk)
|
609
981
|
require "google/ads/google_ads/v5/services/shared_criterion_service_pb"
|
610
982
|
op = Google::Ads::GoogleAds::V5::Services::SharedCriterionOperation.new
|
611
|
-
if !res.nil?
|
612
|
-
|
983
|
+
op["create"] = if !res.nil?
|
984
|
+
res
|
613
985
|
elsif !blk.nil?
|
614
|
-
|
986
|
+
Factories::V5::Resources.shared_criterion(&blk)
|
987
|
+
else
|
988
|
+
Factories::V5::Resources.shared_criterion
|
615
989
|
end
|
616
990
|
|
617
991
|
op
|
@@ -630,13 +1004,15 @@ module Google
|
|
630
1004
|
# a resource instance to be used for creation in this operation.
|
631
1005
|
#
|
632
1006
|
# @return [Google::Ads::GoogleAds::V5::Services::KeywordPlanAdGroupKeywordOperation] instance that will create the resource
|
633
|
-
def self.keyword_plan_ad_group_keyword(res=nil, &blk)
|
1007
|
+
def self.keyword_plan_ad_group_keyword(res = nil, &blk)
|
634
1008
|
require "google/ads/google_ads/v5/services/keyword_plan_ad_group_keyword_service_pb"
|
635
1009
|
op = Google::Ads::GoogleAds::V5::Services::KeywordPlanAdGroupKeywordOperation.new
|
636
|
-
if !res.nil?
|
637
|
-
|
1010
|
+
op["create"] = if !res.nil?
|
1011
|
+
res
|
638
1012
|
elsif !blk.nil?
|
639
|
-
|
1013
|
+
Factories::V5::Resources.keyword_plan_ad_group_keyword(&blk)
|
1014
|
+
else
|
1015
|
+
Factories::V5::Resources.keyword_plan_ad_group_keyword
|
640
1016
|
end
|
641
1017
|
|
642
1018
|
op
|
@@ -655,13 +1031,15 @@ module Google
|
|
655
1031
|
# a resource instance to be used for creation in this operation.
|
656
1032
|
#
|
657
1033
|
# @return [Google::Ads::GoogleAds::V5::Services::FeedMappingOperation] instance that will create the resource
|
658
|
-
def self.feed_mapping(res=nil, &blk)
|
1034
|
+
def self.feed_mapping(res = nil, &blk)
|
659
1035
|
require "google/ads/google_ads/v5/services/feed_mapping_service_pb"
|
660
1036
|
op = Google::Ads::GoogleAds::V5::Services::FeedMappingOperation.new
|
661
|
-
if !res.nil?
|
662
|
-
|
1037
|
+
op["create"] = if !res.nil?
|
1038
|
+
res
|
663
1039
|
elsif !blk.nil?
|
664
|
-
|
1040
|
+
Factories::V5::Resources.feed_mapping(&blk)
|
1041
|
+
else
|
1042
|
+
Factories::V5::Resources.feed_mapping
|
665
1043
|
end
|
666
1044
|
|
667
1045
|
op
|
@@ -680,13 +1058,15 @@ module Google
|
|
680
1058
|
# a resource instance to be used for creation in this operation.
|
681
1059
|
#
|
682
1060
|
# @return [Google::Ads::GoogleAds::V5::Services::AdGroupOperation] instance that will create the resource
|
683
|
-
def self.ad_group(res=nil, &blk)
|
1061
|
+
def self.ad_group(res = nil, &blk)
|
684
1062
|
require "google/ads/google_ads/v5/services/ad_group_service_pb"
|
685
1063
|
op = Google::Ads::GoogleAds::V5::Services::AdGroupOperation.new
|
686
|
-
if !res.nil?
|
687
|
-
|
1064
|
+
op["create"] = if !res.nil?
|
1065
|
+
res
|
688
1066
|
elsif !blk.nil?
|
689
|
-
|
1067
|
+
Factories::V5::Resources.ad_group(&blk)
|
1068
|
+
else
|
1069
|
+
Factories::V5::Resources.ad_group
|
690
1070
|
end
|
691
1071
|
|
692
1072
|
op
|
@@ -705,13 +1085,15 @@ module Google
|
|
705
1085
|
# a resource instance to be used for creation in this operation.
|
706
1086
|
#
|
707
1087
|
# @return [Google::Ads::GoogleAds::V5::Services::CampaignBidModifierOperation] instance that will create the resource
|
708
|
-
def self.campaign_bid_modifier(res=nil, &blk)
|
1088
|
+
def self.campaign_bid_modifier(res = nil, &blk)
|
709
1089
|
require "google/ads/google_ads/v5/services/campaign_bid_modifier_service_pb"
|
710
1090
|
op = Google::Ads::GoogleAds::V5::Services::CampaignBidModifierOperation.new
|
711
|
-
if !res.nil?
|
712
|
-
|
1091
|
+
op["create"] = if !res.nil?
|
1092
|
+
res
|
713
1093
|
elsif !blk.nil?
|
714
|
-
|
1094
|
+
Factories::V5::Resources.campaign_bid_modifier(&blk)
|
1095
|
+
else
|
1096
|
+
Factories::V5::Resources.campaign_bid_modifier
|
715
1097
|
end
|
716
1098
|
|
717
1099
|
op
|
@@ -730,13 +1112,15 @@ module Google
|
|
730
1112
|
# a resource instance to be used for creation in this operation.
|
731
1113
|
#
|
732
1114
|
# @return [Google::Ads::GoogleAds::V5::Services::CampaignDraftOperation] instance that will create the resource
|
733
|
-
def self.campaign_draft(res=nil, &blk)
|
1115
|
+
def self.campaign_draft(res = nil, &blk)
|
734
1116
|
require "google/ads/google_ads/v5/services/campaign_draft_service_pb"
|
735
1117
|
op = Google::Ads::GoogleAds::V5::Services::CampaignDraftOperation.new
|
736
|
-
if !res.nil?
|
737
|
-
|
1118
|
+
op["create"] = if !res.nil?
|
1119
|
+
res
|
738
1120
|
elsif !blk.nil?
|
739
|
-
|
1121
|
+
Factories::V5::Resources.campaign_draft(&blk)
|
1122
|
+
else
|
1123
|
+
Factories::V5::Resources.campaign_draft
|
740
1124
|
end
|
741
1125
|
|
742
1126
|
op
|
@@ -755,13 +1139,15 @@ module Google
|
|
755
1139
|
# a resource instance to be used for creation in this operation.
|
756
1140
|
#
|
757
1141
|
# @return [Google::Ads::GoogleAds::V5::Services::UserListOperation] instance that will create the resource
|
758
|
-
def self.user_list(res=nil, &blk)
|
1142
|
+
def self.user_list(res = nil, &blk)
|
759
1143
|
require "google/ads/google_ads/v5/services/user_list_service_pb"
|
760
1144
|
op = Google::Ads::GoogleAds::V5::Services::UserListOperation.new
|
761
|
-
if !res.nil?
|
762
|
-
|
1145
|
+
op["create"] = if !res.nil?
|
1146
|
+
res
|
763
1147
|
elsif !blk.nil?
|
764
|
-
|
1148
|
+
Factories::V5::Resources.user_list(&blk)
|
1149
|
+
else
|
1150
|
+
Factories::V5::Resources.user_list
|
765
1151
|
end
|
766
1152
|
|
767
1153
|
op
|
@@ -780,13 +1166,15 @@ module Google
|
|
780
1166
|
# a resource instance to be used for creation in this operation.
|
781
1167
|
#
|
782
1168
|
# @return [Google::Ads::GoogleAds::V5::Services::SharedSetOperation] instance that will create the resource
|
783
|
-
def self.shared_set(res=nil, &blk)
|
1169
|
+
def self.shared_set(res = nil, &blk)
|
784
1170
|
require "google/ads/google_ads/v5/services/shared_set_service_pb"
|
785
1171
|
op = Google::Ads::GoogleAds::V5::Services::SharedSetOperation.new
|
786
|
-
if !res.nil?
|
787
|
-
|
1172
|
+
op["create"] = if !res.nil?
|
1173
|
+
res
|
788
1174
|
elsif !blk.nil?
|
789
|
-
|
1175
|
+
Factories::V5::Resources.shared_set(&blk)
|
1176
|
+
else
|
1177
|
+
Factories::V5::Resources.shared_set
|
790
1178
|
end
|
791
1179
|
|
792
1180
|
op
|
@@ -805,13 +1193,15 @@ module Google
|
|
805
1193
|
# a resource instance to be used for creation in this operation.
|
806
1194
|
#
|
807
1195
|
# @return [Google::Ads::GoogleAds::V5::Services::AdGroupCriterionLabelOperation] instance that will create the resource
|
808
|
-
def self.ad_group_criterion_label(res=nil, &blk)
|
1196
|
+
def self.ad_group_criterion_label(res = nil, &blk)
|
809
1197
|
require "google/ads/google_ads/v5/services/ad_group_criterion_label_service_pb"
|
810
1198
|
op = Google::Ads::GoogleAds::V5::Services::AdGroupCriterionLabelOperation.new
|
811
|
-
if !res.nil?
|
812
|
-
|
1199
|
+
op["create"] = if !res.nil?
|
1200
|
+
res
|
813
1201
|
elsif !blk.nil?
|
814
|
-
|
1202
|
+
Factories::V5::Resources.ad_group_criterion_label(&blk)
|
1203
|
+
else
|
1204
|
+
Factories::V5::Resources.ad_group_criterion_label
|
815
1205
|
end
|
816
1206
|
|
817
1207
|
op
|
@@ -830,13 +1220,15 @@ module Google
|
|
830
1220
|
# a resource instance to be used for creation in this operation.
|
831
1221
|
#
|
832
1222
|
# @return [Google::Ads::GoogleAds::V5::Services::LabelOperation] instance that will create the resource
|
833
|
-
def self.label(res=nil, &blk)
|
1223
|
+
def self.label(res = nil, &blk)
|
834
1224
|
require "google/ads/google_ads/v5/services/label_service_pb"
|
835
1225
|
op = Google::Ads::GoogleAds::V5::Services::LabelOperation.new
|
836
|
-
if !res.nil?
|
837
|
-
|
1226
|
+
op["create"] = if !res.nil?
|
1227
|
+
res
|
838
1228
|
elsif !blk.nil?
|
839
|
-
|
1229
|
+
Factories::V5::Resources.label(&blk)
|
1230
|
+
else
|
1231
|
+
Factories::V5::Resources.label
|
840
1232
|
end
|
841
1233
|
|
842
1234
|
op
|
@@ -855,13 +1247,15 @@ module Google
|
|
855
1247
|
# a resource instance to be used for creation in this operation.
|
856
1248
|
#
|
857
1249
|
# @return [Google::Ads::GoogleAds::V5::Services::AdGroupAdLabelOperation] instance that will create the resource
|
858
|
-
def self.ad_group_ad_label(res=nil, &blk)
|
1250
|
+
def self.ad_group_ad_label(res = nil, &blk)
|
859
1251
|
require "google/ads/google_ads/v5/services/ad_group_ad_label_service_pb"
|
860
1252
|
op = Google::Ads::GoogleAds::V5::Services::AdGroupAdLabelOperation.new
|
861
|
-
if !res.nil?
|
862
|
-
|
1253
|
+
op["create"] = if !res.nil?
|
1254
|
+
res
|
863
1255
|
elsif !blk.nil?
|
864
|
-
|
1256
|
+
Factories::V5::Resources.ad_group_ad_label(&blk)
|
1257
|
+
else
|
1258
|
+
Factories::V5::Resources.ad_group_ad_label
|
865
1259
|
end
|
866
1260
|
|
867
1261
|
op
|
@@ -880,13 +1274,15 @@ module Google
|
|
880
1274
|
# a resource instance to be used for creation in this operation.
|
881
1275
|
#
|
882
1276
|
# @return [Google::Ads::GoogleAds::V5::Services::AdGroupAdOperation] instance that will create the resource
|
883
|
-
def self.ad_group_ad(res=nil, &blk)
|
1277
|
+
def self.ad_group_ad(res = nil, &blk)
|
884
1278
|
require "google/ads/google_ads/v5/services/ad_group_ad_service_pb"
|
885
1279
|
op = Google::Ads::GoogleAds::V5::Services::AdGroupAdOperation.new
|
886
|
-
if !res.nil?
|
887
|
-
|
1280
|
+
op["create"] = if !res.nil?
|
1281
|
+
res
|
888
1282
|
elsif !blk.nil?
|
889
|
-
|
1283
|
+
Factories::V5::Resources.ad_group_ad(&blk)
|
1284
|
+
else
|
1285
|
+
Factories::V5::Resources.ad_group_ad
|
890
1286
|
end
|
891
1287
|
|
892
1288
|
op
|
@@ -905,13 +1301,15 @@ module Google
|
|
905
1301
|
# a resource instance to be used for creation in this operation.
|
906
1302
|
#
|
907
1303
|
# @return [Google::Ads::GoogleAds::V5::Services::AdGroupBidModifierOperation] instance that will create the resource
|
908
|
-
def self.ad_group_bid_modifier(res=nil, &blk)
|
1304
|
+
def self.ad_group_bid_modifier(res = nil, &blk)
|
909
1305
|
require "google/ads/google_ads/v5/services/ad_group_bid_modifier_service_pb"
|
910
1306
|
op = Google::Ads::GoogleAds::V5::Services::AdGroupBidModifierOperation.new
|
911
|
-
if !res.nil?
|
912
|
-
|
1307
|
+
op["create"] = if !res.nil?
|
1308
|
+
res
|
913
1309
|
elsif !blk.nil?
|
914
|
-
|
1310
|
+
Factories::V5::Resources.ad_group_bid_modifier(&blk)
|
1311
|
+
else
|
1312
|
+
Factories::V5::Resources.ad_group_bid_modifier
|
915
1313
|
end
|
916
1314
|
|
917
1315
|
op
|
@@ -930,13 +1328,15 @@ module Google
|
|
930
1328
|
# a resource instance to be used for creation in this operation.
|
931
1329
|
#
|
932
1330
|
# @return [Google::Ads::GoogleAds::V5::Services::AdGroupCriterionOperation] instance that will create the resource
|
933
|
-
def self.ad_group_criterion(res=nil, &blk)
|
1331
|
+
def self.ad_group_criterion(res = nil, &blk)
|
934
1332
|
require "google/ads/google_ads/v5/services/ad_group_criterion_service_pb"
|
935
1333
|
op = Google::Ads::GoogleAds::V5::Services::AdGroupCriterionOperation.new
|
936
|
-
if !res.nil?
|
937
|
-
|
1334
|
+
op["create"] = if !res.nil?
|
1335
|
+
res
|
938
1336
|
elsif !blk.nil?
|
939
|
-
|
1337
|
+
Factories::V5::Resources.ad_group_criterion(&blk)
|
1338
|
+
else
|
1339
|
+
Factories::V5::Resources.ad_group_criterion
|
940
1340
|
end
|
941
1341
|
|
942
1342
|
op
|
@@ -955,13 +1355,15 @@ module Google
|
|
955
1355
|
# a resource instance to be used for creation in this operation.
|
956
1356
|
#
|
957
1357
|
# @return [Google::Ads::GoogleAds::V5::Services::AdGroupExtensionSettingOperation] instance that will create the resource
|
958
|
-
def self.ad_group_extension_setting(res=nil, &blk)
|
1358
|
+
def self.ad_group_extension_setting(res = nil, &blk)
|
959
1359
|
require "google/ads/google_ads/v5/services/ad_group_extension_setting_service_pb"
|
960
1360
|
op = Google::Ads::GoogleAds::V5::Services::AdGroupExtensionSettingOperation.new
|
961
|
-
if !res.nil?
|
962
|
-
|
1361
|
+
op["create"] = if !res.nil?
|
1362
|
+
res
|
963
1363
|
elsif !blk.nil?
|
964
|
-
|
1364
|
+
Factories::V5::Resources.ad_group_extension_setting(&blk)
|
1365
|
+
else
|
1366
|
+
Factories::V5::Resources.ad_group_extension_setting
|
965
1367
|
end
|
966
1368
|
|
967
1369
|
op
|
@@ -980,13 +1382,15 @@ module Google
|
|
980
1382
|
# a resource instance to be used for creation in this operation.
|
981
1383
|
#
|
982
1384
|
# @return [Google::Ads::GoogleAds::V5::Services::AdGroupFeedOperation] instance that will create the resource
|
983
|
-
def self.ad_group_feed(res=nil, &blk)
|
1385
|
+
def self.ad_group_feed(res = nil, &blk)
|
984
1386
|
require "google/ads/google_ads/v5/services/ad_group_feed_service_pb"
|
985
1387
|
op = Google::Ads::GoogleAds::V5::Services::AdGroupFeedOperation.new
|
986
|
-
if !res.nil?
|
987
|
-
|
1388
|
+
op["create"] = if !res.nil?
|
1389
|
+
res
|
988
1390
|
elsif !blk.nil?
|
989
|
-
|
1391
|
+
Factories::V5::Resources.ad_group_feed(&blk)
|
1392
|
+
else
|
1393
|
+
Factories::V5::Resources.ad_group_feed
|
990
1394
|
end
|
991
1395
|
|
992
1396
|
op
|
@@ -1005,13 +1409,15 @@ module Google
|
|
1005
1409
|
# a resource instance to be used for creation in this operation.
|
1006
1410
|
#
|
1007
1411
|
# @return [Google::Ads::GoogleAds::V5::Services::AdGroupLabelOperation] instance that will create the resource
|
1008
|
-
def self.ad_group_label(res=nil, &blk)
|
1412
|
+
def self.ad_group_label(res = nil, &blk)
|
1009
1413
|
require "google/ads/google_ads/v5/services/ad_group_label_service_pb"
|
1010
1414
|
op = Google::Ads::GoogleAds::V5::Services::AdGroupLabelOperation.new
|
1011
|
-
if !res.nil?
|
1012
|
-
|
1415
|
+
op["create"] = if !res.nil?
|
1416
|
+
res
|
1013
1417
|
elsif !blk.nil?
|
1014
|
-
|
1418
|
+
Factories::V5::Resources.ad_group_label(&blk)
|
1419
|
+
else
|
1420
|
+
Factories::V5::Resources.ad_group_label
|
1015
1421
|
end
|
1016
1422
|
|
1017
1423
|
op
|
@@ -1030,13 +1436,15 @@ module Google
|
|
1030
1436
|
# a resource instance to be used for creation in this operation.
|
1031
1437
|
#
|
1032
1438
|
# @return [Google::Ads::GoogleAds::V5::Services::AdParameterOperation] instance that will create the resource
|
1033
|
-
def self.ad_parameter(res=nil, &blk)
|
1439
|
+
def self.ad_parameter(res = nil, &blk)
|
1034
1440
|
require "google/ads/google_ads/v5/services/ad_parameter_service_pb"
|
1035
1441
|
op = Google::Ads::GoogleAds::V5::Services::AdParameterOperation.new
|
1036
|
-
if !res.nil?
|
1037
|
-
|
1442
|
+
op["create"] = if !res.nil?
|
1443
|
+
res
|
1038
1444
|
elsif !blk.nil?
|
1039
|
-
|
1445
|
+
Factories::V5::Resources.ad_parameter(&blk)
|
1446
|
+
else
|
1447
|
+
Factories::V5::Resources.ad_parameter
|
1040
1448
|
end
|
1041
1449
|
|
1042
1450
|
op
|
@@ -1055,13 +1463,15 @@ module Google
|
|
1055
1463
|
# a resource instance to be used for creation in this operation.
|
1056
1464
|
#
|
1057
1465
|
# @return [Google::Ads::GoogleAds::V5::Services::AssetOperation] instance that will create the resource
|
1058
|
-
def self.asset(res=nil, &blk)
|
1466
|
+
def self.asset(res = nil, &blk)
|
1059
1467
|
require "google/ads/google_ads/v5/services/asset_service_pb"
|
1060
1468
|
op = Google::Ads::GoogleAds::V5::Services::AssetOperation.new
|
1061
|
-
if !res.nil?
|
1062
|
-
|
1469
|
+
op["create"] = if !res.nil?
|
1470
|
+
res
|
1063
1471
|
elsif !blk.nil?
|
1064
|
-
|
1472
|
+
Factories::V5::Resources.asset(&blk)
|
1473
|
+
else
|
1474
|
+
Factories::V5::Resources.asset
|
1065
1475
|
end
|
1066
1476
|
|
1067
1477
|
op
|
@@ -1080,13 +1490,15 @@ module Google
|
|
1080
1490
|
# a resource instance to be used for creation in this operation.
|
1081
1491
|
#
|
1082
1492
|
# @return [Google::Ads::GoogleAds::V5::Services::BiddingStrategyOperation] instance that will create the resource
|
1083
|
-
def self.bidding_strategy(res=nil, &blk)
|
1493
|
+
def self.bidding_strategy(res = nil, &blk)
|
1084
1494
|
require "google/ads/google_ads/v5/services/bidding_strategy_service_pb"
|
1085
1495
|
op = Google::Ads::GoogleAds::V5::Services::BiddingStrategyOperation.new
|
1086
|
-
if !res.nil?
|
1087
|
-
|
1496
|
+
op["create"] = if !res.nil?
|
1497
|
+
res
|
1088
1498
|
elsif !blk.nil?
|
1089
|
-
|
1499
|
+
Factories::V5::Resources.bidding_strategy(&blk)
|
1500
|
+
else
|
1501
|
+
Factories::V5::Resources.bidding_strategy
|
1090
1502
|
end
|
1091
1503
|
|
1092
1504
|
op
|
@@ -1105,13 +1517,15 @@ module Google
|
|
1105
1517
|
# a resource instance to be used for creation in this operation.
|
1106
1518
|
#
|
1107
1519
|
# @return [Google::Ads::GoogleAds::V5::Services::CampaignAssetOperation] instance that will create the resource
|
1108
|
-
def self.campaign_asset(res=nil, &blk)
|
1520
|
+
def self.campaign_asset(res = nil, &blk)
|
1109
1521
|
require "google/ads/google_ads/v5/services/campaign_asset_service_pb"
|
1110
1522
|
op = Google::Ads::GoogleAds::V5::Services::CampaignAssetOperation.new
|
1111
|
-
if !res.nil?
|
1112
|
-
|
1523
|
+
op["create"] = if !res.nil?
|
1524
|
+
res
|
1113
1525
|
elsif !blk.nil?
|
1114
|
-
|
1526
|
+
Factories::V5::Resources.campaign_asset(&blk)
|
1527
|
+
else
|
1528
|
+
Factories::V5::Resources.campaign_asset
|
1115
1529
|
end
|
1116
1530
|
|
1117
1531
|
op
|
@@ -1130,13 +1544,15 @@ module Google
|
|
1130
1544
|
# a resource instance to be used for creation in this operation.
|
1131
1545
|
#
|
1132
1546
|
# @return [Google::Ads::GoogleAds::V5::Services::CampaignBudgetOperation] instance that will create the resource
|
1133
|
-
def self.campaign_budget(res=nil, &blk)
|
1547
|
+
def self.campaign_budget(res = nil, &blk)
|
1134
1548
|
require "google/ads/google_ads/v5/services/campaign_budget_service_pb"
|
1135
1549
|
op = Google::Ads::GoogleAds::V5::Services::CampaignBudgetOperation.new
|
1136
|
-
if !res.nil?
|
1137
|
-
|
1550
|
+
op["create"] = if !res.nil?
|
1551
|
+
res
|
1138
1552
|
elsif !blk.nil?
|
1139
|
-
|
1553
|
+
Factories::V5::Resources.campaign_budget(&blk)
|
1554
|
+
else
|
1555
|
+
Factories::V5::Resources.campaign_budget
|
1140
1556
|
end
|
1141
1557
|
|
1142
1558
|
op
|
@@ -1155,13 +1571,15 @@ module Google
|
|
1155
1571
|
# a resource instance to be used for creation in this operation.
|
1156
1572
|
#
|
1157
1573
|
# @return [Google::Ads::GoogleAds::V5::Services::CampaignCriterionOperation] instance that will create the resource
|
1158
|
-
def self.campaign_criterion(res=nil, &blk)
|
1574
|
+
def self.campaign_criterion(res = nil, &blk)
|
1159
1575
|
require "google/ads/google_ads/v5/services/campaign_criterion_service_pb"
|
1160
1576
|
op = Google::Ads::GoogleAds::V5::Services::CampaignCriterionOperation.new
|
1161
|
-
if !res.nil?
|
1162
|
-
|
1577
|
+
op["create"] = if !res.nil?
|
1578
|
+
res
|
1163
1579
|
elsif !blk.nil?
|
1164
|
-
|
1580
|
+
Factories::V5::Resources.campaign_criterion(&blk)
|
1581
|
+
else
|
1582
|
+
Factories::V5::Resources.campaign_criterion
|
1165
1583
|
end
|
1166
1584
|
|
1167
1585
|
op
|
@@ -1180,13 +1598,15 @@ module Google
|
|
1180
1598
|
# a resource instance to be used for creation in this operation.
|
1181
1599
|
#
|
1182
1600
|
# @return [Google::Ads::GoogleAds::V5::Services::CampaignExtensionSettingOperation] instance that will create the resource
|
1183
|
-
def self.campaign_extension_setting(res=nil, &blk)
|
1601
|
+
def self.campaign_extension_setting(res = nil, &blk)
|
1184
1602
|
require "google/ads/google_ads/v5/services/campaign_extension_setting_service_pb"
|
1185
1603
|
op = Google::Ads::GoogleAds::V5::Services::CampaignExtensionSettingOperation.new
|
1186
|
-
if !res.nil?
|
1187
|
-
|
1604
|
+
op["create"] = if !res.nil?
|
1605
|
+
res
|
1188
1606
|
elsif !blk.nil?
|
1189
|
-
|
1607
|
+
Factories::V5::Resources.campaign_extension_setting(&blk)
|
1608
|
+
else
|
1609
|
+
Factories::V5::Resources.campaign_extension_setting
|
1190
1610
|
end
|
1191
1611
|
|
1192
1612
|
op
|
@@ -1205,13 +1625,15 @@ module Google
|
|
1205
1625
|
# a resource instance to be used for creation in this operation.
|
1206
1626
|
#
|
1207
1627
|
# @return [Google::Ads::GoogleAds::V5::Services::CampaignFeedOperation] instance that will create the resource
|
1208
|
-
def self.campaign_feed(res=nil, &blk)
|
1628
|
+
def self.campaign_feed(res = nil, &blk)
|
1209
1629
|
require "google/ads/google_ads/v5/services/campaign_feed_service_pb"
|
1210
1630
|
op = Google::Ads::GoogleAds::V5::Services::CampaignFeedOperation.new
|
1211
|
-
if !res.nil?
|
1212
|
-
|
1631
|
+
op["create"] = if !res.nil?
|
1632
|
+
res
|
1213
1633
|
elsif !blk.nil?
|
1214
|
-
|
1634
|
+
Factories::V5::Resources.campaign_feed(&blk)
|
1635
|
+
else
|
1636
|
+
Factories::V5::Resources.campaign_feed
|
1215
1637
|
end
|
1216
1638
|
|
1217
1639
|
op
|
@@ -1230,13 +1652,15 @@ module Google
|
|
1230
1652
|
# a resource instance to be used for creation in this operation.
|
1231
1653
|
#
|
1232
1654
|
# @return [Google::Ads::GoogleAds::V5::Services::CampaignLabelOperation] instance that will create the resource
|
1233
|
-
def self.campaign_label(res=nil, &blk)
|
1655
|
+
def self.campaign_label(res = nil, &blk)
|
1234
1656
|
require "google/ads/google_ads/v5/services/campaign_label_service_pb"
|
1235
1657
|
op = Google::Ads::GoogleAds::V5::Services::CampaignLabelOperation.new
|
1236
|
-
if !res.nil?
|
1237
|
-
|
1658
|
+
op["create"] = if !res.nil?
|
1659
|
+
res
|
1238
1660
|
elsif !blk.nil?
|
1239
|
-
|
1661
|
+
Factories::V5::Resources.campaign_label(&blk)
|
1662
|
+
else
|
1663
|
+
Factories::V5::Resources.campaign_label
|
1240
1664
|
end
|
1241
1665
|
|
1242
1666
|
op
|
@@ -1255,13 +1679,15 @@ module Google
|
|
1255
1679
|
# a resource instance to be used for creation in this operation.
|
1256
1680
|
#
|
1257
1681
|
# @return [Google::Ads::GoogleAds::V5::Services::CampaignOperation] instance that will create the resource
|
1258
|
-
def self.campaign(res=nil, &blk)
|
1682
|
+
def self.campaign(res = nil, &blk)
|
1259
1683
|
require "google/ads/google_ads/v5/services/campaign_service_pb"
|
1260
1684
|
op = Google::Ads::GoogleAds::V5::Services::CampaignOperation.new
|
1261
|
-
if !res.nil?
|
1262
|
-
|
1685
|
+
op["create"] = if !res.nil?
|
1686
|
+
res
|
1263
1687
|
elsif !blk.nil?
|
1264
|
-
|
1688
|
+
Factories::V5::Resources.campaign(&blk)
|
1689
|
+
else
|
1690
|
+
Factories::V5::Resources.campaign
|
1265
1691
|
end
|
1266
1692
|
|
1267
1693
|
op
|
@@ -1280,13 +1706,15 @@ module Google
|
|
1280
1706
|
# a resource instance to be used for creation in this operation.
|
1281
1707
|
#
|
1282
1708
|
# @return [Google::Ads::GoogleAds::V5::Services::CampaignSharedSetOperation] instance that will create the resource
|
1283
|
-
def self.campaign_shared_set(res=nil, &blk)
|
1709
|
+
def self.campaign_shared_set(res = nil, &blk)
|
1284
1710
|
require "google/ads/google_ads/v5/services/campaign_shared_set_service_pb"
|
1285
1711
|
op = Google::Ads::GoogleAds::V5::Services::CampaignSharedSetOperation.new
|
1286
|
-
if !res.nil?
|
1287
|
-
|
1712
|
+
op["create"] = if !res.nil?
|
1713
|
+
res
|
1288
1714
|
elsif !blk.nil?
|
1289
|
-
|
1715
|
+
Factories::V5::Resources.campaign_shared_set(&blk)
|
1716
|
+
else
|
1717
|
+
Factories::V5::Resources.campaign_shared_set
|
1290
1718
|
end
|
1291
1719
|
|
1292
1720
|
op
|
@@ -1305,13 +1733,15 @@ module Google
|
|
1305
1733
|
# a resource instance to be used for creation in this operation.
|
1306
1734
|
#
|
1307
1735
|
# @return [Google::Ads::GoogleAds::V5::Services::ConversionActionOperation] instance that will create the resource
|
1308
|
-
def self.conversion_action(res=nil, &blk)
|
1736
|
+
def self.conversion_action(res = nil, &blk)
|
1309
1737
|
require "google/ads/google_ads/v5/services/conversion_action_service_pb"
|
1310
1738
|
op = Google::Ads::GoogleAds::V5::Services::ConversionActionOperation.new
|
1311
|
-
if !res.nil?
|
1312
|
-
|
1739
|
+
op["create"] = if !res.nil?
|
1740
|
+
res
|
1313
1741
|
elsif !blk.nil?
|
1314
|
-
|
1742
|
+
Factories::V5::Resources.conversion_action(&blk)
|
1743
|
+
else
|
1744
|
+
Factories::V5::Resources.conversion_action
|
1315
1745
|
end
|
1316
1746
|
|
1317
1747
|
op
|
@@ -1330,13 +1760,15 @@ module Google
|
|
1330
1760
|
# a resource instance to be used for creation in this operation.
|
1331
1761
|
#
|
1332
1762
|
# @return [Google::Ads::GoogleAds::V5::Services::CustomerExtensionSettingOperation] instance that will create the resource
|
1333
|
-
def self.customer_extension_setting(res=nil, &blk)
|
1763
|
+
def self.customer_extension_setting(res = nil, &blk)
|
1334
1764
|
require "google/ads/google_ads/v5/services/customer_extension_setting_service_pb"
|
1335
1765
|
op = Google::Ads::GoogleAds::V5::Services::CustomerExtensionSettingOperation.new
|
1336
|
-
if !res.nil?
|
1337
|
-
|
1766
|
+
op["create"] = if !res.nil?
|
1767
|
+
res
|
1338
1768
|
elsif !blk.nil?
|
1339
|
-
|
1769
|
+
Factories::V5::Resources.customer_extension_setting(&blk)
|
1770
|
+
else
|
1771
|
+
Factories::V5::Resources.customer_extension_setting
|
1340
1772
|
end
|
1341
1773
|
|
1342
1774
|
op
|
@@ -1355,13 +1787,15 @@ module Google
|
|
1355
1787
|
# a resource instance to be used for creation in this operation.
|
1356
1788
|
#
|
1357
1789
|
# @return [Google::Ads::GoogleAds::V5::Services::CustomerFeedOperation] instance that will create the resource
|
1358
|
-
def self.customer_feed(res=nil, &blk)
|
1790
|
+
def self.customer_feed(res = nil, &blk)
|
1359
1791
|
require "google/ads/google_ads/v5/services/customer_feed_service_pb"
|
1360
1792
|
op = Google::Ads::GoogleAds::V5::Services::CustomerFeedOperation.new
|
1361
|
-
if !res.nil?
|
1362
|
-
|
1793
|
+
op["create"] = if !res.nil?
|
1794
|
+
res
|
1363
1795
|
elsif !blk.nil?
|
1364
|
-
|
1796
|
+
Factories::V5::Resources.customer_feed(&blk)
|
1797
|
+
else
|
1798
|
+
Factories::V5::Resources.customer_feed
|
1365
1799
|
end
|
1366
1800
|
|
1367
1801
|
op
|
@@ -1380,13 +1814,15 @@ module Google
|
|
1380
1814
|
# a resource instance to be used for creation in this operation.
|
1381
1815
|
#
|
1382
1816
|
# @return [Google::Ads::GoogleAds::V5::Services::CustomerLabelOperation] instance that will create the resource
|
1383
|
-
def self.customer_label(res=nil, &blk)
|
1817
|
+
def self.customer_label(res = nil, &blk)
|
1384
1818
|
require "google/ads/google_ads/v5/services/customer_label_service_pb"
|
1385
1819
|
op = Google::Ads::GoogleAds::V5::Services::CustomerLabelOperation.new
|
1386
|
-
if !res.nil?
|
1387
|
-
|
1820
|
+
op["create"] = if !res.nil?
|
1821
|
+
res
|
1388
1822
|
elsif !blk.nil?
|
1389
|
-
|
1823
|
+
Factories::V5::Resources.customer_label(&blk)
|
1824
|
+
else
|
1825
|
+
Factories::V5::Resources.customer_label
|
1390
1826
|
end
|
1391
1827
|
|
1392
1828
|
op
|
@@ -1405,13 +1841,15 @@ module Google
|
|
1405
1841
|
# a resource instance to be used for creation in this operation.
|
1406
1842
|
#
|
1407
1843
|
# @return [Google::Ads::GoogleAds::V5::Services::ExtensionFeedItemOperation] instance that will create the resource
|
1408
|
-
def self.extension_feed_item(res=nil, &blk)
|
1844
|
+
def self.extension_feed_item(res = nil, &blk)
|
1409
1845
|
require "google/ads/google_ads/v5/services/extension_feed_item_service_pb"
|
1410
1846
|
op = Google::Ads::GoogleAds::V5::Services::ExtensionFeedItemOperation.new
|
1411
|
-
if !res.nil?
|
1412
|
-
|
1847
|
+
op["create"] = if !res.nil?
|
1848
|
+
res
|
1413
1849
|
elsif !blk.nil?
|
1414
|
-
|
1850
|
+
Factories::V5::Resources.extension_feed_item(&blk)
|
1851
|
+
else
|
1852
|
+
Factories::V5::Resources.extension_feed_item
|
1415
1853
|
end
|
1416
1854
|
|
1417
1855
|
op
|
@@ -1430,13 +1868,15 @@ module Google
|
|
1430
1868
|
# a resource instance to be used for creation in this operation.
|
1431
1869
|
#
|
1432
1870
|
# @return [Google::Ads::GoogleAds::V5::Services::FeedItemOperation] instance that will create the resource
|
1433
|
-
def self.feed_item(res=nil, &blk)
|
1871
|
+
def self.feed_item(res = nil, &blk)
|
1434
1872
|
require "google/ads/google_ads/v5/services/feed_item_service_pb"
|
1435
1873
|
op = Google::Ads::GoogleAds::V5::Services::FeedItemOperation.new
|
1436
|
-
if !res.nil?
|
1437
|
-
|
1874
|
+
op["create"] = if !res.nil?
|
1875
|
+
res
|
1438
1876
|
elsif !blk.nil?
|
1439
|
-
|
1877
|
+
Factories::V5::Resources.feed_item(&blk)
|
1878
|
+
else
|
1879
|
+
Factories::V5::Resources.feed_item
|
1440
1880
|
end
|
1441
1881
|
|
1442
1882
|
op
|
@@ -1455,13 +1895,15 @@ module Google
|
|
1455
1895
|
# a resource instance to be used for creation in this operation.
|
1456
1896
|
#
|
1457
1897
|
# @return [Google::Ads::GoogleAds::V5::Services::FeedItemTargetOperation] instance that will create the resource
|
1458
|
-
def self.feed_item_target(res=nil, &blk)
|
1898
|
+
def self.feed_item_target(res = nil, &blk)
|
1459
1899
|
require "google/ads/google_ads/v5/services/feed_item_target_service_pb"
|
1460
1900
|
op = Google::Ads::GoogleAds::V5::Services::FeedItemTargetOperation.new
|
1461
|
-
if !res.nil?
|
1462
|
-
|
1901
|
+
op["create"] = if !res.nil?
|
1902
|
+
res
|
1463
1903
|
elsif !blk.nil?
|
1464
|
-
|
1904
|
+
Factories::V5::Resources.feed_item_target(&blk)
|
1905
|
+
else
|
1906
|
+
Factories::V5::Resources.feed_item_target
|
1465
1907
|
end
|
1466
1908
|
|
1467
1909
|
op
|
@@ -1480,13 +1922,15 @@ module Google
|
|
1480
1922
|
# a resource instance to be used for creation in this operation.
|
1481
1923
|
#
|
1482
1924
|
# @return [Google::Ads::GoogleAds::V5::Services::FeedOperation] instance that will create the resource
|
1483
|
-
def self.feed(res=nil, &blk)
|
1925
|
+
def self.feed(res = nil, &blk)
|
1484
1926
|
require "google/ads/google_ads/v5/services/feed_service_pb"
|
1485
1927
|
op = Google::Ads::GoogleAds::V5::Services::FeedOperation.new
|
1486
|
-
if !res.nil?
|
1487
|
-
|
1928
|
+
op["create"] = if !res.nil?
|
1929
|
+
res
|
1488
1930
|
elsif !blk.nil?
|
1489
|
-
|
1931
|
+
Factories::V5::Resources.feed(&blk)
|
1932
|
+
else
|
1933
|
+
Factories::V5::Resources.feed
|
1490
1934
|
end
|
1491
1935
|
|
1492
1936
|
op
|
@@ -1505,13 +1949,15 @@ module Google
|
|
1505
1949
|
# a resource instance to be used for creation in this operation.
|
1506
1950
|
#
|
1507
1951
|
# @return [Google::Ads::GoogleAds::V5::Services::KeywordPlanAdGroupOperation] instance that will create the resource
|
1508
|
-
def self.keyword_plan_ad_group(res=nil, &blk)
|
1952
|
+
def self.keyword_plan_ad_group(res = nil, &blk)
|
1509
1953
|
require "google/ads/google_ads/v5/services/keyword_plan_ad_group_service_pb"
|
1510
1954
|
op = Google::Ads::GoogleAds::V5::Services::KeywordPlanAdGroupOperation.new
|
1511
|
-
if !res.nil?
|
1512
|
-
|
1955
|
+
op["create"] = if !res.nil?
|
1956
|
+
res
|
1513
1957
|
elsif !blk.nil?
|
1514
|
-
|
1958
|
+
Factories::V5::Resources.keyword_plan_ad_group(&blk)
|
1959
|
+
else
|
1960
|
+
Factories::V5::Resources.keyword_plan_ad_group
|
1515
1961
|
end
|
1516
1962
|
|
1517
1963
|
op
|
@@ -1530,13 +1976,15 @@ module Google
|
|
1530
1976
|
# a resource instance to be used for creation in this operation.
|
1531
1977
|
#
|
1532
1978
|
# @return [Google::Ads::GoogleAds::V5::Services::KeywordPlanCampaignKeywordOperation] instance that will create the resource
|
1533
|
-
def self.keyword_plan_campaign_keyword(res=nil, &blk)
|
1979
|
+
def self.keyword_plan_campaign_keyword(res = nil, &blk)
|
1534
1980
|
require "google/ads/google_ads/v5/services/keyword_plan_campaign_keyword_service_pb"
|
1535
1981
|
op = Google::Ads::GoogleAds::V5::Services::KeywordPlanCampaignKeywordOperation.new
|
1536
|
-
if !res.nil?
|
1537
|
-
|
1982
|
+
op["create"] = if !res.nil?
|
1983
|
+
res
|
1538
1984
|
elsif !blk.nil?
|
1539
|
-
|
1985
|
+
Factories::V5::Resources.keyword_plan_campaign_keyword(&blk)
|
1986
|
+
else
|
1987
|
+
Factories::V5::Resources.keyword_plan_campaign_keyword
|
1540
1988
|
end
|
1541
1989
|
|
1542
1990
|
op
|
@@ -1555,13 +2003,15 @@ module Google
|
|
1555
2003
|
# a resource instance to be used for creation in this operation.
|
1556
2004
|
#
|
1557
2005
|
# @return [Google::Ads::GoogleAds::V5::Services::KeywordPlanCampaignOperation] instance that will create the resource
|
1558
|
-
def self.keyword_plan_campaign(res=nil, &blk)
|
2006
|
+
def self.keyword_plan_campaign(res = nil, &blk)
|
1559
2007
|
require "google/ads/google_ads/v5/services/keyword_plan_campaign_service_pb"
|
1560
2008
|
op = Google::Ads::GoogleAds::V5::Services::KeywordPlanCampaignOperation.new
|
1561
|
-
if !res.nil?
|
1562
|
-
|
2009
|
+
op["create"] = if !res.nil?
|
2010
|
+
res
|
1563
2011
|
elsif !blk.nil?
|
1564
|
-
|
2012
|
+
Factories::V5::Resources.keyword_plan_campaign(&blk)
|
2013
|
+
else
|
2014
|
+
Factories::V5::Resources.keyword_plan_campaign
|
1565
2015
|
end
|
1566
2016
|
|
1567
2017
|
op
|
@@ -1580,13 +2030,15 @@ module Google
|
|
1580
2030
|
# a resource instance to be used for creation in this operation.
|
1581
2031
|
#
|
1582
2032
|
# @return [Google::Ads::GoogleAds::V5::Services::KeywordPlanOperation] instance that will create the resource
|
1583
|
-
def self.keyword_plan(res=nil, &blk)
|
2033
|
+
def self.keyword_plan(res = nil, &blk)
|
1584
2034
|
require "google/ads/google_ads/v5/services/keyword_plan_service_pb"
|
1585
2035
|
op = Google::Ads::GoogleAds::V5::Services::KeywordPlanOperation.new
|
1586
|
-
if !res.nil?
|
1587
|
-
|
2036
|
+
op["create"] = if !res.nil?
|
2037
|
+
res
|
1588
2038
|
elsif !blk.nil?
|
1589
|
-
|
2039
|
+
Factories::V5::Resources.keyword_plan(&blk)
|
2040
|
+
else
|
2041
|
+
Factories::V5::Resources.keyword_plan
|
1590
2042
|
end
|
1591
2043
|
|
1592
2044
|
op
|
@@ -1605,13 +2057,15 @@ module Google
|
|
1605
2057
|
# a resource instance to be used for creation in this operation.
|
1606
2058
|
#
|
1607
2059
|
# @return [Google::Ads::GoogleAds::V5::Services::MediaFileOperation] instance that will create the resource
|
1608
|
-
def self.media_file(res=nil, &blk)
|
2060
|
+
def self.media_file(res = nil, &blk)
|
1609
2061
|
require "google/ads/google_ads/v5/services/media_file_service_pb"
|
1610
2062
|
op = Google::Ads::GoogleAds::V5::Services::MediaFileOperation.new
|
1611
|
-
if !res.nil?
|
1612
|
-
|
2063
|
+
op["create"] = if !res.nil?
|
2064
|
+
res
|
1613
2065
|
elsif !blk.nil?
|
1614
|
-
|
2066
|
+
Factories::V5::Resources.media_file(&blk)
|
2067
|
+
else
|
2068
|
+
Factories::V5::Resources.media_file
|
1615
2069
|
end
|
1616
2070
|
|
1617
2071
|
op
|
@@ -1630,13 +2084,15 @@ module Google
|
|
1630
2084
|
# a resource instance to be used for creation in this operation.
|
1631
2085
|
#
|
1632
2086
|
# @return [Google::Ads::GoogleAds::V5::Services::RemarketingActionOperation] instance that will create the resource
|
1633
|
-
def self.remarketing_action(res=nil, &blk)
|
2087
|
+
def self.remarketing_action(res = nil, &blk)
|
1634
2088
|
require "google/ads/google_ads/v5/services/remarketing_action_service_pb"
|
1635
2089
|
op = Google::Ads::GoogleAds::V5::Services::RemarketingActionOperation.new
|
1636
|
-
if !res.nil?
|
1637
|
-
|
2090
|
+
op["create"] = if !res.nil?
|
2091
|
+
res
|
1638
2092
|
elsif !blk.nil?
|
1639
|
-
|
2093
|
+
Factories::V5::Resources.remarketing_action(&blk)
|
2094
|
+
else
|
2095
|
+
Factories::V5::Resources.remarketing_action
|
1640
2096
|
end
|
1641
2097
|
|
1642
2098
|
op
|
@@ -1655,13 +2111,15 @@ module Google
|
|
1655
2111
|
# a resource instance to be used for creation in this operation.
|
1656
2112
|
#
|
1657
2113
|
# @return [Google::Ads::GoogleAds::V5::Services::BatchJobOperation] instance that will create the resource
|
1658
|
-
def self.batch_job(res=nil, &blk)
|
2114
|
+
def self.batch_job(res = nil, &blk)
|
1659
2115
|
require "google/ads/google_ads/v5/services/batch_job_service_pb"
|
1660
2116
|
op = Google::Ads::GoogleAds::V5::Services::BatchJobOperation.new
|
1661
|
-
if !res.nil?
|
1662
|
-
|
2117
|
+
op["create"] = if !res.nil?
|
2118
|
+
res
|
1663
2119
|
elsif !blk.nil?
|
1664
|
-
|
2120
|
+
Factories::V5::Resources.batch_job(&blk)
|
2121
|
+
else
|
2122
|
+
Factories::V5::Resources.batch_job
|
1665
2123
|
end
|
1666
2124
|
|
1667
2125
|
op
|
@@ -1680,13 +2138,15 @@ module Google
|
|
1680
2138
|
# a resource instance to be used for creation in this operation.
|
1681
2139
|
#
|
1682
2140
|
# @return [Google::Ads::GoogleAds::V5::Services::OfflineUserDataJobOperation] instance that will create the resource
|
1683
|
-
def self.offline_user_data_job(res=nil, &blk)
|
2141
|
+
def self.offline_user_data_job(res = nil, &blk)
|
1684
2142
|
require "google/ads/google_ads/v5/services/offline_user_data_job_service_pb"
|
1685
2143
|
op = Google::Ads::GoogleAds::V5::Services::OfflineUserDataJobOperation.new
|
1686
|
-
if !res.nil?
|
1687
|
-
|
2144
|
+
op["create"] = if !res.nil?
|
2145
|
+
res
|
1688
2146
|
elsif !blk.nil?
|
1689
|
-
|
2147
|
+
Factories::V5::Resources.user_data(&blk)
|
2148
|
+
else
|
2149
|
+
Factories::V5::Resources.user_data
|
1690
2150
|
end
|
1691
2151
|
|
1692
2152
|
op
|
@@ -1705,13 +2165,15 @@ module Google
|
|
1705
2165
|
# a resource instance to be used for creation in this operation.
|
1706
2166
|
#
|
1707
2167
|
# @return [Google::Ads::GoogleAds::V5::Services::UserDataOperation] instance that will create the resource
|
1708
|
-
def self.user_data(res=nil, &blk)
|
2168
|
+
def self.user_data(res = nil, &blk)
|
1709
2169
|
require "google/ads/google_ads/v5/services/user_data_service_pb"
|
1710
2170
|
op = Google::Ads::GoogleAds::V5::Services::UserDataOperation.new
|
1711
|
-
if !res.nil?
|
1712
|
-
|
2171
|
+
op["create"] = if !res.nil?
|
2172
|
+
res
|
1713
2173
|
elsif !blk.nil?
|
1714
|
-
|
2174
|
+
Factories::V5::Resources.user_data(&blk)
|
2175
|
+
else
|
2176
|
+
Factories::V5::Resources.user_data
|
1715
2177
|
end
|
1716
2178
|
|
1717
2179
|
op
|
@@ -1730,13 +2192,15 @@ module Google
|
|
1730
2192
|
# a resource instance to be used for creation in this operation.
|
1731
2193
|
#
|
1732
2194
|
# @return [Google::Ads::GoogleAds::V5::Services::AccountBudgetProposalOperation] instance that will create the resource
|
1733
|
-
def self.account_budget_proposal(res=nil, &blk)
|
2195
|
+
def self.account_budget_proposal(res = nil, &blk)
|
1734
2196
|
require "google/ads/google_ads/v5/services/account_budget_proposal_service_pb"
|
1735
2197
|
op = Google::Ads::GoogleAds::V5::Services::AccountBudgetProposalOperation.new
|
1736
|
-
if !res.nil?
|
1737
|
-
|
2198
|
+
op["create"] = if !res.nil?
|
2199
|
+
res
|
1738
2200
|
elsif !blk.nil?
|
1739
|
-
|
2201
|
+
Factories::V5::Resources.account_budget_proposal(&blk)
|
2202
|
+
else
|
2203
|
+
Factories::V5::Resources.account_budget_proposal
|
1740
2204
|
end
|
1741
2205
|
|
1742
2206
|
op
|
@@ -1755,13 +2219,15 @@ module Google
|
|
1755
2219
|
# a resource instance to be used for creation in this operation.
|
1756
2220
|
#
|
1757
2221
|
# @return [Google::Ads::GoogleAds::V5::Services::BillingSetupOperation] instance that will create the resource
|
1758
|
-
def self.billing_setup(res=nil, &blk)
|
2222
|
+
def self.billing_setup(res = nil, &blk)
|
1759
2223
|
require "google/ads/google_ads/v5/services/billing_setup_service_pb"
|
1760
2224
|
op = Google::Ads::GoogleAds::V5::Services::BillingSetupOperation.new
|
1761
|
-
if !res.nil?
|
1762
|
-
|
2225
|
+
op["create"] = if !res.nil?
|
2226
|
+
res
|
1763
2227
|
elsif !blk.nil?
|
1764
|
-
|
2228
|
+
Factories::V5::Resources.billing_setup(&blk)
|
2229
|
+
else
|
2230
|
+
Factories::V5::Resources.billing_setup
|
1765
2231
|
end
|
1766
2232
|
|
1767
2233
|
op
|
@@ -3214,7 +3680,7 @@ module Google
|
|
3214
3680
|
end
|
3215
3681
|
|
3216
3682
|
module RemoveResource
|
3217
|
-
# A convenience method for
|
3683
|
+
# A convenience method for creating an FeedAttributeOperation instance with
|
3218
3684
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3219
3685
|
#
|
3220
3686
|
# @param path [String] the resource name of the resource to delete.
|
@@ -3225,7 +3691,7 @@ module Google
|
|
3225
3691
|
op
|
3226
3692
|
end
|
3227
3693
|
|
3228
|
-
# A convenience method for
|
3694
|
+
# A convenience method for creating an TargetRestrictionOperation instance with
|
3229
3695
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3230
3696
|
#
|
3231
3697
|
# @param path [String] the resource name of the resource to delete.
|
@@ -3236,7 +3702,7 @@ module Google
|
|
3236
3702
|
op
|
3237
3703
|
end
|
3238
3704
|
|
3239
|
-
# A convenience method for
|
3705
|
+
# A convenience method for creating an CustomerClientLinkOperation instance with
|
3240
3706
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3241
3707
|
#
|
3242
3708
|
# @param path [String] the resource name of the resource to delete.
|
@@ -3247,7 +3713,7 @@ module Google
|
|
3247
3713
|
op
|
3248
3714
|
end
|
3249
3715
|
|
3250
|
-
# A convenience method for
|
3716
|
+
# A convenience method for creating an CustomInterestOperation instance with
|
3251
3717
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3252
3718
|
#
|
3253
3719
|
# @param path [String] the resource name of the resource to delete.
|
@@ -3258,7 +3724,7 @@ module Google
|
|
3258
3724
|
op
|
3259
3725
|
end
|
3260
3726
|
|
3261
|
-
# A convenience method for
|
3727
|
+
# A convenience method for creating an CustomerNegativeCriterionOperation instance with
|
3262
3728
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3263
3729
|
#
|
3264
3730
|
# @param path [String] the resource name of the resource to delete.
|
@@ -3269,7 +3735,7 @@ module Google
|
|
3269
3735
|
op
|
3270
3736
|
end
|
3271
3737
|
|
3272
|
-
# A convenience method for
|
3738
|
+
# A convenience method for creating an SharedCriterionOperation instance with
|
3273
3739
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3274
3740
|
#
|
3275
3741
|
# @param path [String] the resource name of the resource to delete.
|
@@ -3280,7 +3746,7 @@ module Google
|
|
3280
3746
|
op
|
3281
3747
|
end
|
3282
3748
|
|
3283
|
-
# A convenience method for
|
3749
|
+
# A convenience method for creating an KeywordPlanAdGroupKeywordOperation instance with
|
3284
3750
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3285
3751
|
#
|
3286
3752
|
# @param path [String] the resource name of the resource to delete.
|
@@ -3291,7 +3757,7 @@ module Google
|
|
3291
3757
|
op
|
3292
3758
|
end
|
3293
3759
|
|
3294
|
-
# A convenience method for
|
3760
|
+
# A convenience method for creating an FeedMappingOperation instance with
|
3295
3761
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3296
3762
|
#
|
3297
3763
|
# @param path [String] the resource name of the resource to delete.
|
@@ -3302,7 +3768,7 @@ module Google
|
|
3302
3768
|
op
|
3303
3769
|
end
|
3304
3770
|
|
3305
|
-
# A convenience method for
|
3771
|
+
# A convenience method for creating an AdGroupOperation instance with
|
3306
3772
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3307
3773
|
#
|
3308
3774
|
# @param path [String] the resource name of the resource to delete.
|
@@ -3313,7 +3779,7 @@ module Google
|
|
3313
3779
|
op
|
3314
3780
|
end
|
3315
3781
|
|
3316
|
-
# A convenience method for
|
3782
|
+
# A convenience method for creating an CampaignBidModifierOperation instance with
|
3317
3783
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3318
3784
|
#
|
3319
3785
|
# @param path [String] the resource name of the resource to delete.
|
@@ -3324,7 +3790,7 @@ module Google
|
|
3324
3790
|
op
|
3325
3791
|
end
|
3326
3792
|
|
3327
|
-
# A convenience method for
|
3793
|
+
# A convenience method for creating an CustomerManagerLinkOperation instance with
|
3328
3794
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3329
3795
|
#
|
3330
3796
|
# @param path [String] the resource name of the resource to delete.
|
@@ -3335,7 +3801,7 @@ module Google
|
|
3335
3801
|
op
|
3336
3802
|
end
|
3337
3803
|
|
3338
|
-
# A convenience method for
|
3804
|
+
# A convenience method for creating an CampaignDraftOperation instance with
|
3339
3805
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3340
3806
|
#
|
3341
3807
|
# @param path [String] the resource name of the resource to delete.
|
@@ -3346,7 +3812,7 @@ module Google
|
|
3346
3812
|
op
|
3347
3813
|
end
|
3348
3814
|
|
3349
|
-
# A convenience method for
|
3815
|
+
# A convenience method for creating an UserListOperation instance with
|
3350
3816
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3351
3817
|
#
|
3352
3818
|
# @param path [String] the resource name of the resource to delete.
|
@@ -3357,7 +3823,7 @@ module Google
|
|
3357
3823
|
op
|
3358
3824
|
end
|
3359
3825
|
|
3360
|
-
# A convenience method for
|
3826
|
+
# A convenience method for creating an CustomerOperation instance with
|
3361
3827
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3362
3828
|
#
|
3363
3829
|
# @param path [String] the resource name of the resource to delete.
|
@@ -3368,7 +3834,7 @@ module Google
|
|
3368
3834
|
op
|
3369
3835
|
end
|
3370
3836
|
|
3371
|
-
# A convenience method for
|
3837
|
+
# A convenience method for creating an SharedSetOperation instance with
|
3372
3838
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3373
3839
|
#
|
3374
3840
|
# @param path [String] the resource name of the resource to delete.
|
@@ -3379,7 +3845,7 @@ module Google
|
|
3379
3845
|
op
|
3380
3846
|
end
|
3381
3847
|
|
3382
|
-
# A convenience method for
|
3848
|
+
# A convenience method for creating an AdGroupCriterionLabelOperation instance with
|
3383
3849
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3384
3850
|
#
|
3385
3851
|
# @param path [String] the resource name of the resource to delete.
|
@@ -3390,7 +3856,7 @@ module Google
|
|
3390
3856
|
op
|
3391
3857
|
end
|
3392
3858
|
|
3393
|
-
# A convenience method for
|
3859
|
+
# A convenience method for creating an LabelOperation instance with
|
3394
3860
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3395
3861
|
#
|
3396
3862
|
# @param path [String] the resource name of the resource to delete.
|
@@ -3401,7 +3867,7 @@ module Google
|
|
3401
3867
|
op
|
3402
3868
|
end
|
3403
3869
|
|
3404
|
-
# A convenience method for
|
3870
|
+
# A convenience method for creating an AdGroupAdLabelOperation instance with
|
3405
3871
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3406
3872
|
#
|
3407
3873
|
# @param path [String] the resource name of the resource to delete.
|
@@ -3412,7 +3878,7 @@ module Google
|
|
3412
3878
|
op
|
3413
3879
|
end
|
3414
3880
|
|
3415
|
-
# A convenience method for
|
3881
|
+
# A convenience method for creating an AdGroupAdOperation instance with
|
3416
3882
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3417
3883
|
#
|
3418
3884
|
# @param path [String] the resource name of the resource to delete.
|
@@ -3423,7 +3889,7 @@ module Google
|
|
3423
3889
|
op
|
3424
3890
|
end
|
3425
3891
|
|
3426
|
-
# A convenience method for
|
3892
|
+
# A convenience method for creating an AdGroupBidModifierOperation instance with
|
3427
3893
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3428
3894
|
#
|
3429
3895
|
# @param path [String] the resource name of the resource to delete.
|
@@ -3434,7 +3900,7 @@ module Google
|
|
3434
3900
|
op
|
3435
3901
|
end
|
3436
3902
|
|
3437
|
-
# A convenience method for
|
3903
|
+
# A convenience method for creating an AdGroupCriterionOperation instance with
|
3438
3904
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3439
3905
|
#
|
3440
3906
|
# @param path [String] the resource name of the resource to delete.
|
@@ -3445,7 +3911,7 @@ module Google
|
|
3445
3911
|
op
|
3446
3912
|
end
|
3447
3913
|
|
3448
|
-
# A convenience method for
|
3914
|
+
# A convenience method for creating an AdGroupExtensionSettingOperation instance with
|
3449
3915
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3450
3916
|
#
|
3451
3917
|
# @param path [String] the resource name of the resource to delete.
|
@@ -3456,7 +3922,7 @@ module Google
|
|
3456
3922
|
op
|
3457
3923
|
end
|
3458
3924
|
|
3459
|
-
# A convenience method for
|
3925
|
+
# A convenience method for creating an AdGroupFeedOperation instance with
|
3460
3926
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3461
3927
|
#
|
3462
3928
|
# @param path [String] the resource name of the resource to delete.
|
@@ -3467,7 +3933,7 @@ module Google
|
|
3467
3933
|
op
|
3468
3934
|
end
|
3469
3935
|
|
3470
|
-
# A convenience method for
|
3936
|
+
# A convenience method for creating an AdGroupLabelOperation instance with
|
3471
3937
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3472
3938
|
#
|
3473
3939
|
# @param path [String] the resource name of the resource to delete.
|
@@ -3478,7 +3944,7 @@ module Google
|
|
3478
3944
|
op
|
3479
3945
|
end
|
3480
3946
|
|
3481
|
-
# A convenience method for
|
3947
|
+
# A convenience method for creating an AdParameterOperation instance with
|
3482
3948
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3483
3949
|
#
|
3484
3950
|
# @param path [String] the resource name of the resource to delete.
|
@@ -3489,7 +3955,7 @@ module Google
|
|
3489
3955
|
op
|
3490
3956
|
end
|
3491
3957
|
|
3492
|
-
# A convenience method for
|
3958
|
+
# A convenience method for creating an AdOperation instance with
|
3493
3959
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3494
3960
|
#
|
3495
3961
|
# @param path [String] the resource name of the resource to delete.
|
@@ -3500,7 +3966,7 @@ module Google
|
|
3500
3966
|
op
|
3501
3967
|
end
|
3502
3968
|
|
3503
|
-
# A convenience method for
|
3969
|
+
# A convenience method for creating an AssetOperation instance with
|
3504
3970
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3505
3971
|
#
|
3506
3972
|
# @param path [String] the resource name of the resource to delete.
|
@@ -3511,7 +3977,7 @@ module Google
|
|
3511
3977
|
op
|
3512
3978
|
end
|
3513
3979
|
|
3514
|
-
# A convenience method for
|
3980
|
+
# A convenience method for creating an BiddingStrategyOperation instance with
|
3515
3981
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3516
3982
|
#
|
3517
3983
|
# @param path [String] the resource name of the resource to delete.
|
@@ -3522,7 +3988,7 @@ module Google
|
|
3522
3988
|
op
|
3523
3989
|
end
|
3524
3990
|
|
3525
|
-
# A convenience method for
|
3991
|
+
# A convenience method for creating an CampaignAssetOperation instance with
|
3526
3992
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3527
3993
|
#
|
3528
3994
|
# @param path [String] the resource name of the resource to delete.
|
@@ -3533,7 +3999,7 @@ module Google
|
|
3533
3999
|
op
|
3534
4000
|
end
|
3535
4001
|
|
3536
|
-
# A convenience method for
|
4002
|
+
# A convenience method for creating an CampaignBudgetOperation instance with
|
3537
4003
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3538
4004
|
#
|
3539
4005
|
# @param path [String] the resource name of the resource to delete.
|
@@ -3544,7 +4010,7 @@ module Google
|
|
3544
4010
|
op
|
3545
4011
|
end
|
3546
4012
|
|
3547
|
-
# A convenience method for
|
4013
|
+
# A convenience method for creating an CampaignCriterionOperation instance with
|
3548
4014
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3549
4015
|
#
|
3550
4016
|
# @param path [String] the resource name of the resource to delete.
|
@@ -3555,7 +4021,7 @@ module Google
|
|
3555
4021
|
op
|
3556
4022
|
end
|
3557
4023
|
|
3558
|
-
# A convenience method for
|
4024
|
+
# A convenience method for creating an CampaignExperimentOperation instance with
|
3559
4025
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3560
4026
|
#
|
3561
4027
|
# @param path [String] the resource name of the resource to delete.
|
@@ -3566,7 +4032,7 @@ module Google
|
|
3566
4032
|
op
|
3567
4033
|
end
|
3568
4034
|
|
3569
|
-
# A convenience method for
|
4035
|
+
# A convenience method for creating an CampaignExtensionSettingOperation instance with
|
3570
4036
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3571
4037
|
#
|
3572
4038
|
# @param path [String] the resource name of the resource to delete.
|
@@ -3577,7 +4043,7 @@ module Google
|
|
3577
4043
|
op
|
3578
4044
|
end
|
3579
4045
|
|
3580
|
-
# A convenience method for
|
4046
|
+
# A convenience method for creating an CampaignFeedOperation instance with
|
3581
4047
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3582
4048
|
#
|
3583
4049
|
# @param path [String] the resource name of the resource to delete.
|
@@ -3588,7 +4054,7 @@ module Google
|
|
3588
4054
|
op
|
3589
4055
|
end
|
3590
4056
|
|
3591
|
-
# A convenience method for
|
4057
|
+
# A convenience method for creating an CampaignLabelOperation instance with
|
3592
4058
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3593
4059
|
#
|
3594
4060
|
# @param path [String] the resource name of the resource to delete.
|
@@ -3599,7 +4065,7 @@ module Google
|
|
3599
4065
|
op
|
3600
4066
|
end
|
3601
4067
|
|
3602
|
-
# A convenience method for
|
4068
|
+
# A convenience method for creating an CampaignOperation instance with
|
3603
4069
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3604
4070
|
#
|
3605
4071
|
# @param path [String] the resource name of the resource to delete.
|
@@ -3610,7 +4076,7 @@ module Google
|
|
3610
4076
|
op
|
3611
4077
|
end
|
3612
4078
|
|
3613
|
-
# A convenience method for
|
4079
|
+
# A convenience method for creating an CampaignSharedSetOperation instance with
|
3614
4080
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3615
4081
|
#
|
3616
4082
|
# @param path [String] the resource name of the resource to delete.
|
@@ -3621,7 +4087,7 @@ module Google
|
|
3621
4087
|
op
|
3622
4088
|
end
|
3623
4089
|
|
3624
|
-
# A convenience method for
|
4090
|
+
# A convenience method for creating an ConversionActionOperation instance with
|
3625
4091
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3626
4092
|
#
|
3627
4093
|
# @param path [String] the resource name of the resource to delete.
|
@@ -3632,7 +4098,7 @@ module Google
|
|
3632
4098
|
op
|
3633
4099
|
end
|
3634
4100
|
|
3635
|
-
# A convenience method for
|
4101
|
+
# A convenience method for creating an CustomerExtensionSettingOperation instance with
|
3636
4102
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3637
4103
|
#
|
3638
4104
|
# @param path [String] the resource name of the resource to delete.
|
@@ -3643,7 +4109,7 @@ module Google
|
|
3643
4109
|
op
|
3644
4110
|
end
|
3645
4111
|
|
3646
|
-
# A convenience method for
|
4112
|
+
# A convenience method for creating an CustomerFeedOperation instance with
|
3647
4113
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3648
4114
|
#
|
3649
4115
|
# @param path [String] the resource name of the resource to delete.
|
@@ -3654,7 +4120,7 @@ module Google
|
|
3654
4120
|
op
|
3655
4121
|
end
|
3656
4122
|
|
3657
|
-
# A convenience method for
|
4123
|
+
# A convenience method for creating an CustomerLabelOperation instance with
|
3658
4124
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3659
4125
|
#
|
3660
4126
|
# @param path [String] the resource name of the resource to delete.
|
@@ -3665,7 +4131,7 @@ module Google
|
|
3665
4131
|
op
|
3666
4132
|
end
|
3667
4133
|
|
3668
|
-
# A convenience method for
|
4134
|
+
# A convenience method for creating an ExtensionFeedItemOperation instance with
|
3669
4135
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3670
4136
|
#
|
3671
4137
|
# @param path [String] the resource name of the resource to delete.
|
@@ -3676,7 +4142,7 @@ module Google
|
|
3676
4142
|
op
|
3677
4143
|
end
|
3678
4144
|
|
3679
|
-
# A convenience method for
|
4145
|
+
# A convenience method for creating an FeedItemOperation instance with
|
3680
4146
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3681
4147
|
#
|
3682
4148
|
# @param path [String] the resource name of the resource to delete.
|
@@ -3687,7 +4153,7 @@ module Google
|
|
3687
4153
|
op
|
3688
4154
|
end
|
3689
4155
|
|
3690
|
-
# A convenience method for
|
4156
|
+
# A convenience method for creating an FeedItemTargetOperation instance with
|
3691
4157
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3692
4158
|
#
|
3693
4159
|
# @param path [String] the resource name of the resource to delete.
|
@@ -3698,7 +4164,7 @@ module Google
|
|
3698
4164
|
op
|
3699
4165
|
end
|
3700
4166
|
|
3701
|
-
# A convenience method for
|
4167
|
+
# A convenience method for creating an FeedOperation instance with
|
3702
4168
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3703
4169
|
#
|
3704
4170
|
# @param path [String] the resource name of the resource to delete.
|
@@ -3709,7 +4175,7 @@ module Google
|
|
3709
4175
|
op
|
3710
4176
|
end
|
3711
4177
|
|
3712
|
-
# A convenience method for
|
4178
|
+
# A convenience method for creating an KeywordPlanAdGroupOperation instance with
|
3713
4179
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3714
4180
|
#
|
3715
4181
|
# @param path [String] the resource name of the resource to delete.
|
@@ -3720,7 +4186,7 @@ module Google
|
|
3720
4186
|
op
|
3721
4187
|
end
|
3722
4188
|
|
3723
|
-
# A convenience method for
|
4189
|
+
# A convenience method for creating an KeywordPlanCampaignKeywordOperation instance with
|
3724
4190
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3725
4191
|
#
|
3726
4192
|
# @param path [String] the resource name of the resource to delete.
|
@@ -3731,7 +4197,7 @@ module Google
|
|
3731
4197
|
op
|
3732
4198
|
end
|
3733
4199
|
|
3734
|
-
# A convenience method for
|
4200
|
+
# A convenience method for creating an KeywordPlanCampaignOperation instance with
|
3735
4201
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3736
4202
|
#
|
3737
4203
|
# @param path [String] the resource name of the resource to delete.
|
@@ -3742,7 +4208,7 @@ module Google
|
|
3742
4208
|
op
|
3743
4209
|
end
|
3744
4210
|
|
3745
|
-
# A convenience method for
|
4211
|
+
# A convenience method for creating an KeywordPlanOperation instance with
|
3746
4212
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3747
4213
|
#
|
3748
4214
|
# @param path [String] the resource name of the resource to delete.
|
@@ -3753,7 +4219,7 @@ module Google
|
|
3753
4219
|
op
|
3754
4220
|
end
|
3755
4221
|
|
3756
|
-
# A convenience method for
|
4222
|
+
# A convenience method for creating an MediaFileOperation instance with
|
3757
4223
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3758
4224
|
#
|
3759
4225
|
# @param path [String] the resource name of the resource to delete.
|
@@ -3764,7 +4230,7 @@ module Google
|
|
3764
4230
|
op
|
3765
4231
|
end
|
3766
4232
|
|
3767
|
-
# A convenience method for
|
4233
|
+
# A convenience method for creating an RemarketingActionOperation instance with
|
3768
4234
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3769
4235
|
#
|
3770
4236
|
# @param path [String] the resource name of the resource to delete.
|
@@ -3775,7 +4241,7 @@ module Google
|
|
3775
4241
|
op
|
3776
4242
|
end
|
3777
4243
|
|
3778
|
-
# A convenience method for
|
4244
|
+
# A convenience method for creating an MutateOperation instance with
|
3779
4245
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3780
4246
|
#
|
3781
4247
|
# @param path [String] the resource name of the resource to delete.
|
@@ -3786,7 +4252,7 @@ module Google
|
|
3786
4252
|
op
|
3787
4253
|
end
|
3788
4254
|
|
3789
|
-
# A convenience method for
|
4255
|
+
# A convenience method for creating an BatchJobOperation instance with
|
3790
4256
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3791
4257
|
#
|
3792
4258
|
# @param path [String] the resource name of the resource to delete.
|
@@ -3797,7 +4263,7 @@ module Google
|
|
3797
4263
|
op
|
3798
4264
|
end
|
3799
4265
|
|
3800
|
-
# A convenience method for
|
4266
|
+
# A convenience method for creating an OfflineUserDataJobOperation instance with
|
3801
4267
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3802
4268
|
#
|
3803
4269
|
# @param path [String] the resource name of the resource to delete.
|
@@ -3808,7 +4274,7 @@ module Google
|
|
3808
4274
|
op
|
3809
4275
|
end
|
3810
4276
|
|
3811
|
-
# A convenience method for
|
4277
|
+
# A convenience method for creating an UserDataOperation instance with
|
3812
4278
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3813
4279
|
#
|
3814
4280
|
# @param path [String] the resource name of the resource to delete.
|
@@ -3819,7 +4285,7 @@ module Google
|
|
3819
4285
|
op
|
3820
4286
|
end
|
3821
4287
|
|
3822
|
-
# A convenience method for
|
4288
|
+
# A convenience method for creating an AccountBudgetProposalOperation instance with
|
3823
4289
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3824
4290
|
#
|
3825
4291
|
# @param path [String] the resource name of the resource to delete.
|
@@ -3830,7 +4296,7 @@ module Google
|
|
3830
4296
|
op
|
3831
4297
|
end
|
3832
4298
|
|
3833
|
-
# A convenience method for
|
4299
|
+
# A convenience method for creating an ApplyRecommendationOperation instance with
|
3834
4300
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3835
4301
|
#
|
3836
4302
|
# @param path [String] the resource name of the resource to delete.
|
@@ -3841,7 +4307,7 @@ module Google
|
|
3841
4307
|
op
|
3842
4308
|
end
|
3843
4309
|
|
3844
|
-
# A convenience method for
|
4310
|
+
# A convenience method for creating an DismissRecommendationOperation instance with
|
3845
4311
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3846
4312
|
#
|
3847
4313
|
# @param path [String] the resource name of the resource to delete.
|
@@ -3852,7 +4318,7 @@ module Google
|
|
3852
4318
|
op
|
3853
4319
|
end
|
3854
4320
|
|
3855
|
-
# A convenience method for
|
4321
|
+
# A convenience method for creating an AccountLinkOperation instance with
|
3856
4322
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3857
4323
|
#
|
3858
4324
|
# @param path [String] the resource name of the resource to delete.
|
@@ -3863,7 +4329,7 @@ module Google
|
|
3863
4329
|
op
|
3864
4330
|
end
|
3865
4331
|
|
3866
|
-
# A convenience method for
|
4332
|
+
# A convenience method for creating an MerchantCenterLinkOperation instance with
|
3867
4333
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3868
4334
|
#
|
3869
4335
|
# @param path [String] the resource name of the resource to delete.
|
@@ -3874,7 +4340,7 @@ module Google
|
|
3874
4340
|
op
|
3875
4341
|
end
|
3876
4342
|
|
3877
|
-
# A convenience method for
|
4343
|
+
# A convenience method for creating an BillingSetupOperation instance with
|
3878
4344
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3879
4345
|
#
|
3880
4346
|
# @param path [String] the resource name of the resource to delete.
|