google-ads-googleads 8.0.0 → 8.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -9,7 +9,13 @@ module Google
9
9
  # @return [Google::Ads::GoogleAds::V6::Resources::FeedAttributeOperation] the operation
10
10
  def self.feed_attribute
11
11
  require "google/ads/google_ads/v6/resources/feed_pb"
12
- Google::Ads::GoogleAds::V6::Resources::FeedAttributeOperation.new
12
+ if block_given?
13
+ op = Google::Ads::GoogleAds::V6::Resources::FeedAttributeOperation.new
14
+ yield op
15
+ op
16
+ else
17
+ Google::Ads::GoogleAds::V6::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::V6::Common::TargetRestrictionOperation] the operation
18
24
  def self.target_restriction
19
25
  require "google/ads/google_ads/v6/common/targeting_setting_pb"
20
- Google::Ads::GoogleAds::V6::Common::TargetRestrictionOperation.new
26
+ if block_given?
27
+ op = Google::Ads::GoogleAds::V6::Common::TargetRestrictionOperation.new
28
+ yield op
29
+ op
30
+ else
31
+ Google::Ads::GoogleAds::V6::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::V6::Services::CustomerClientLinkOperation] the operation
26
38
  def self.customer_client_link
27
39
  require "google/ads/google_ads/v6/services/customer_client_link_service_pb"
28
- Google::Ads::GoogleAds::V6::Services::CustomerClientLinkOperation.new
40
+ if block_given?
41
+ op = Google::Ads::GoogleAds::V6::Services::CustomerClientLinkOperation.new
42
+ yield op
43
+ op
44
+ else
45
+ Google::Ads::GoogleAds::V6::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::V6::Services::CustomInterestOperation] the operation
34
52
  def self.custom_interest
35
53
  require "google/ads/google_ads/v6/services/custom_interest_service_pb"
36
- Google::Ads::GoogleAds::V6::Services::CustomInterestOperation.new
54
+ if block_given?
55
+ op = Google::Ads::GoogleAds::V6::Services::CustomInterestOperation.new
56
+ yield op
57
+ op
58
+ else
59
+ Google::Ads::GoogleAds::V6::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::V6::Services::CustomerNegativeCriterionOperation] the operation
42
66
  def self.customer_negative_criterion
43
67
  require "google/ads/google_ads/v6/services/customer_negative_criterion_service_pb"
44
- Google::Ads::GoogleAds::V6::Services::CustomerNegativeCriterionOperation.new
68
+ if block_given?
69
+ op = Google::Ads::GoogleAds::V6::Services::CustomerNegativeCriterionOperation.new
70
+ yield op
71
+ op
72
+ else
73
+ Google::Ads::GoogleAds::V6::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::V6::Services::SharedCriterionOperation] the operation
50
80
  def self.shared_criterion
51
81
  require "google/ads/google_ads/v6/services/shared_criterion_service_pb"
52
- Google::Ads::GoogleAds::V6::Services::SharedCriterionOperation.new
82
+ if block_given?
83
+ op = Google::Ads::GoogleAds::V6::Services::SharedCriterionOperation.new
84
+ yield op
85
+ op
86
+ else
87
+ Google::Ads::GoogleAds::V6::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::V6::Services::KeywordPlanAdGroupKeywordOperation] the operation
58
94
  def self.keyword_plan_ad_group_keyword
59
95
  require "google/ads/google_ads/v6/services/keyword_plan_ad_group_keyword_service_pb"
60
- Google::Ads::GoogleAds::V6::Services::KeywordPlanAdGroupKeywordOperation.new
96
+ if block_given?
97
+ op = Google::Ads::GoogleAds::V6::Services::KeywordPlanAdGroupKeywordOperation.new
98
+ yield op
99
+ op
100
+ else
101
+ Google::Ads::GoogleAds::V6::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::V6::Services::FeedMappingOperation] the operation
66
108
  def self.feed_mapping
67
109
  require "google/ads/google_ads/v6/services/feed_mapping_service_pb"
68
- Google::Ads::GoogleAds::V6::Services::FeedMappingOperation.new
110
+ if block_given?
111
+ op = Google::Ads::GoogleAds::V6::Services::FeedMappingOperation.new
112
+ yield op
113
+ op
114
+ else
115
+ Google::Ads::GoogleAds::V6::Services::FeedMappingOperation.new
116
+ end
69
117
  end
70
118
 
71
119
  # Create a new FeedItemSetLinkOperation
@@ -73,7 +121,13 @@ module Google
73
121
  # @return [Google::Ads::GoogleAds::V6::Services::FeedItemSetLinkOperation] the operation
74
122
  def self.feed_item_set_link
75
123
  require "google/ads/google_ads/v6/services/feed_item_set_link_service_pb"
76
- Google::Ads::GoogleAds::V6::Services::FeedItemSetLinkOperation.new
124
+ if block_given?
125
+ op = Google::Ads::GoogleAds::V6::Services::FeedItemSetLinkOperation.new
126
+ yield op
127
+ op
128
+ else
129
+ Google::Ads::GoogleAds::V6::Services::FeedItemSetLinkOperation.new
130
+ end
77
131
  end
78
132
 
79
133
  # Create a new AdGroupOperation
@@ -81,7 +135,13 @@ module Google
81
135
  # @return [Google::Ads::GoogleAds::V6::Services::AdGroupOperation] the operation
82
136
  def self.ad_group
83
137
  require "google/ads/google_ads/v6/services/ad_group_service_pb"
84
- Google::Ads::GoogleAds::V6::Services::AdGroupOperation.new
138
+ if block_given?
139
+ op = Google::Ads::GoogleAds::V6::Services::AdGroupOperation.new
140
+ yield op
141
+ op
142
+ else
143
+ Google::Ads::GoogleAds::V6::Services::AdGroupOperation.new
144
+ end
85
145
  end
86
146
 
87
147
  # Create a new FeedItemSetOperation
@@ -89,7 +149,13 @@ module Google
89
149
  # @return [Google::Ads::GoogleAds::V6::Services::FeedItemSetOperation] the operation
90
150
  def self.feed_item_set
91
151
  require "google/ads/google_ads/v6/services/feed_item_set_service_pb"
92
- Google::Ads::GoogleAds::V6::Services::FeedItemSetOperation.new
152
+ if block_given?
153
+ op = Google::Ads::GoogleAds::V6::Services::FeedItemSetOperation.new
154
+ yield op
155
+ op
156
+ else
157
+ Google::Ads::GoogleAds::V6::Services::FeedItemSetOperation.new
158
+ end
93
159
  end
94
160
 
95
161
  # Create a new CampaignBidModifierOperation
@@ -97,7 +163,13 @@ module Google
97
163
  # @return [Google::Ads::GoogleAds::V6::Services::CampaignBidModifierOperation] the operation
98
164
  def self.campaign_bid_modifier
99
165
  require "google/ads/google_ads/v6/services/campaign_bid_modifier_service_pb"
100
- Google::Ads::GoogleAds::V6::Services::CampaignBidModifierOperation.new
166
+ if block_given?
167
+ op = Google::Ads::GoogleAds::V6::Services::CampaignBidModifierOperation.new
168
+ yield op
169
+ op
170
+ else
171
+ Google::Ads::GoogleAds::V6::Services::CampaignBidModifierOperation.new
172
+ end
101
173
  end
102
174
 
103
175
  # Create a new CustomerManagerLinkOperation
@@ -105,7 +177,13 @@ module Google
105
177
  # @return [Google::Ads::GoogleAds::V6::Services::CustomerManagerLinkOperation] the operation
106
178
  def self.customer_manager_link
107
179
  require "google/ads/google_ads/v6/services/customer_manager_link_service_pb"
108
- Google::Ads::GoogleAds::V6::Services::CustomerManagerLinkOperation.new
180
+ if block_given?
181
+ op = Google::Ads::GoogleAds::V6::Services::CustomerManagerLinkOperation.new
182
+ yield op
183
+ op
184
+ else
185
+ Google::Ads::GoogleAds::V6::Services::CustomerManagerLinkOperation.new
186
+ end
109
187
  end
110
188
 
111
189
  # Create a new CampaignDraftOperation
@@ -113,7 +191,13 @@ module Google
113
191
  # @return [Google::Ads::GoogleAds::V6::Services::CampaignDraftOperation] the operation
114
192
  def self.campaign_draft
115
193
  require "google/ads/google_ads/v6/services/campaign_draft_service_pb"
116
- Google::Ads::GoogleAds::V6::Services::CampaignDraftOperation.new
194
+ if block_given?
195
+ op = Google::Ads::GoogleAds::V6::Services::CampaignDraftOperation.new
196
+ yield op
197
+ op
198
+ else
199
+ Google::Ads::GoogleAds::V6::Services::CampaignDraftOperation.new
200
+ end
117
201
  end
118
202
 
119
203
  # Create a new UserListOperation
@@ -121,7 +205,13 @@ module Google
121
205
  # @return [Google::Ads::GoogleAds::V6::Services::UserListOperation] the operation
122
206
  def self.user_list
123
207
  require "google/ads/google_ads/v6/services/user_list_service_pb"
124
- Google::Ads::GoogleAds::V6::Services::UserListOperation.new
208
+ if block_given?
209
+ op = Google::Ads::GoogleAds::V6::Services::UserListOperation.new
210
+ yield op
211
+ op
212
+ else
213
+ Google::Ads::GoogleAds::V6::Services::UserListOperation.new
214
+ end
125
215
  end
126
216
 
127
217
  # Create a new CustomerOperation
@@ -129,7 +219,13 @@ module Google
129
219
  # @return [Google::Ads::GoogleAds::V6::Services::CustomerOperation] the operation
130
220
  def self.customer
131
221
  require "google/ads/google_ads/v6/services/customer_service_pb"
132
- Google::Ads::GoogleAds::V6::Services::CustomerOperation.new
222
+ if block_given?
223
+ op = Google::Ads::GoogleAds::V6::Services::CustomerOperation.new
224
+ yield op
225
+ op
226
+ else
227
+ Google::Ads::GoogleAds::V6::Services::CustomerOperation.new
228
+ end
133
229
  end
134
230
 
135
231
  # Create a new SharedSetOperation
@@ -137,7 +233,13 @@ module Google
137
233
  # @return [Google::Ads::GoogleAds::V6::Services::SharedSetOperation] the operation
138
234
  def self.shared_set
139
235
  require "google/ads/google_ads/v6/services/shared_set_service_pb"
140
- Google::Ads::GoogleAds::V6::Services::SharedSetOperation.new
236
+ if block_given?
237
+ op = Google::Ads::GoogleAds::V6::Services::SharedSetOperation.new
238
+ yield op
239
+ op
240
+ else
241
+ Google::Ads::GoogleAds::V6::Services::SharedSetOperation.new
242
+ end
141
243
  end
142
244
 
143
245
  # Create a new AdGroupCriterionLabelOperation
@@ -145,7 +247,13 @@ module Google
145
247
  # @return [Google::Ads::GoogleAds::V6::Services::AdGroupCriterionLabelOperation] the operation
146
248
  def self.ad_group_criterion_label
147
249
  require "google/ads/google_ads/v6/services/ad_group_criterion_label_service_pb"
148
- Google::Ads::GoogleAds::V6::Services::AdGroupCriterionLabelOperation.new
250
+ if block_given?
251
+ op = Google::Ads::GoogleAds::V6::Services::AdGroupCriterionLabelOperation.new
252
+ yield op
253
+ op
254
+ else
255
+ Google::Ads::GoogleAds::V6::Services::AdGroupCriterionLabelOperation.new
256
+ end
149
257
  end
150
258
 
151
259
  # Create a new LabelOperation
@@ -153,7 +261,13 @@ module Google
153
261
  # @return [Google::Ads::GoogleAds::V6::Services::LabelOperation] the operation
154
262
  def self.label
155
263
  require "google/ads/google_ads/v6/services/label_service_pb"
156
- Google::Ads::GoogleAds::V6::Services::LabelOperation.new
264
+ if block_given?
265
+ op = Google::Ads::GoogleAds::V6::Services::LabelOperation.new
266
+ yield op
267
+ op
268
+ else
269
+ Google::Ads::GoogleAds::V6::Services::LabelOperation.new
270
+ end
157
271
  end
158
272
 
159
273
  # Create a new AdGroupAdLabelOperation
@@ -161,7 +275,13 @@ module Google
161
275
  # @return [Google::Ads::GoogleAds::V6::Services::AdGroupAdLabelOperation] the operation
162
276
  def self.ad_group_ad_label
163
277
  require "google/ads/google_ads/v6/services/ad_group_ad_label_service_pb"
164
- Google::Ads::GoogleAds::V6::Services::AdGroupAdLabelOperation.new
278
+ if block_given?
279
+ op = Google::Ads::GoogleAds::V6::Services::AdGroupAdLabelOperation.new
280
+ yield op
281
+ op
282
+ else
283
+ Google::Ads::GoogleAds::V6::Services::AdGroupAdLabelOperation.new
284
+ end
165
285
  end
166
286
 
167
287
  # Create a new AdGroupAdOperation
@@ -169,7 +289,13 @@ module Google
169
289
  # @return [Google::Ads::GoogleAds::V6::Services::AdGroupAdOperation] the operation
170
290
  def self.ad_group_ad
171
291
  require "google/ads/google_ads/v6/services/ad_group_ad_service_pb"
172
- Google::Ads::GoogleAds::V6::Services::AdGroupAdOperation.new
292
+ if block_given?
293
+ op = Google::Ads::GoogleAds::V6::Services::AdGroupAdOperation.new
294
+ yield op
295
+ op
296
+ else
297
+ Google::Ads::GoogleAds::V6::Services::AdGroupAdOperation.new
298
+ end
173
299
  end
174
300
 
175
301
  # Create a new AdGroupBidModifierOperation
@@ -177,7 +303,13 @@ module Google
177
303
  # @return [Google::Ads::GoogleAds::V6::Services::AdGroupBidModifierOperation] the operation
178
304
  def self.ad_group_bid_modifier
179
305
  require "google/ads/google_ads/v6/services/ad_group_bid_modifier_service_pb"
180
- Google::Ads::GoogleAds::V6::Services::AdGroupBidModifierOperation.new
306
+ if block_given?
307
+ op = Google::Ads::GoogleAds::V6::Services::AdGroupBidModifierOperation.new
308
+ yield op
309
+ op
310
+ else
311
+ Google::Ads::GoogleAds::V6::Services::AdGroupBidModifierOperation.new
312
+ end
181
313
  end
182
314
 
183
315
  # Create a new AdGroupCriterionOperation
@@ -185,7 +317,13 @@ module Google
185
317
  # @return [Google::Ads::GoogleAds::V6::Services::AdGroupCriterionOperation] the operation
186
318
  def self.ad_group_criterion
187
319
  require "google/ads/google_ads/v6/services/ad_group_criterion_service_pb"
188
- Google::Ads::GoogleAds::V6::Services::AdGroupCriterionOperation.new
320
+ if block_given?
321
+ op = Google::Ads::GoogleAds::V6::Services::AdGroupCriterionOperation.new
322
+ yield op
323
+ op
324
+ else
325
+ Google::Ads::GoogleAds::V6::Services::AdGroupCriterionOperation.new
326
+ end
189
327
  end
190
328
 
191
329
  # Create a new AdGroupExtensionSettingOperation
@@ -193,7 +331,13 @@ module Google
193
331
  # @return [Google::Ads::GoogleAds::V6::Services::AdGroupExtensionSettingOperation] the operation
194
332
  def self.ad_group_extension_setting
195
333
  require "google/ads/google_ads/v6/services/ad_group_extension_setting_service_pb"
196
- Google::Ads::GoogleAds::V6::Services::AdGroupExtensionSettingOperation.new
334
+ if block_given?
335
+ op = Google::Ads::GoogleAds::V6::Services::AdGroupExtensionSettingOperation.new
336
+ yield op
337
+ op
338
+ else
339
+ Google::Ads::GoogleAds::V6::Services::AdGroupExtensionSettingOperation.new
340
+ end
197
341
  end
198
342
 
199
343
  # Create a new AdGroupFeedOperation
@@ -201,7 +345,13 @@ module Google
201
345
  # @return [Google::Ads::GoogleAds::V6::Services::AdGroupFeedOperation] the operation
202
346
  def self.ad_group_feed
203
347
  require "google/ads/google_ads/v6/services/ad_group_feed_service_pb"
204
- Google::Ads::GoogleAds::V6::Services::AdGroupFeedOperation.new
348
+ if block_given?
349
+ op = Google::Ads::GoogleAds::V6::Services::AdGroupFeedOperation.new
350
+ yield op
351
+ op
352
+ else
353
+ Google::Ads::GoogleAds::V6::Services::AdGroupFeedOperation.new
354
+ end
205
355
  end
206
356
 
207
357
  # Create a new AdGroupLabelOperation
@@ -209,7 +359,13 @@ module Google
209
359
  # @return [Google::Ads::GoogleAds::V6::Services::AdGroupLabelOperation] the operation
210
360
  def self.ad_group_label
211
361
  require "google/ads/google_ads/v6/services/ad_group_label_service_pb"
212
- Google::Ads::GoogleAds::V6::Services::AdGroupLabelOperation.new
362
+ if block_given?
363
+ op = Google::Ads::GoogleAds::V6::Services::AdGroupLabelOperation.new
364
+ yield op
365
+ op
366
+ else
367
+ Google::Ads::GoogleAds::V6::Services::AdGroupLabelOperation.new
368
+ end
213
369
  end
214
370
 
215
371
  # Create a new AdParameterOperation
@@ -217,7 +373,13 @@ module Google
217
373
  # @return [Google::Ads::GoogleAds::V6::Services::AdParameterOperation] the operation
218
374
  def self.ad_parameter
219
375
  require "google/ads/google_ads/v6/services/ad_parameter_service_pb"
220
- Google::Ads::GoogleAds::V6::Services::AdParameterOperation.new
376
+ if block_given?
377
+ op = Google::Ads::GoogleAds::V6::Services::AdParameterOperation.new
378
+ yield op
379
+ op
380
+ else
381
+ Google::Ads::GoogleAds::V6::Services::AdParameterOperation.new
382
+ end
221
383
  end
222
384
 
223
385
  # Create a new AdOperation
@@ -225,7 +387,13 @@ module Google
225
387
  # @return [Google::Ads::GoogleAds::V6::Services::AdOperation] the operation
226
388
  def self.ad
227
389
  require "google/ads/google_ads/v6/services/ad_service_pb"
228
- Google::Ads::GoogleAds::V6::Services::AdOperation.new
390
+ if block_given?
391
+ op = Google::Ads::GoogleAds::V6::Services::AdOperation.new
392
+ yield op
393
+ op
394
+ else
395
+ Google::Ads::GoogleAds::V6::Services::AdOperation.new
396
+ end
229
397
  end
230
398
 
231
399
  # Create a new AssetOperation
@@ -233,7 +401,13 @@ module Google
233
401
  # @return [Google::Ads::GoogleAds::V6::Services::AssetOperation] the operation
234
402
  def self.asset
235
403
  require "google/ads/google_ads/v6/services/asset_service_pb"
236
- Google::Ads::GoogleAds::V6::Services::AssetOperation.new
404
+ if block_given?
405
+ op = Google::Ads::GoogleAds::V6::Services::AssetOperation.new
406
+ yield op
407
+ op
408
+ else
409
+ Google::Ads::GoogleAds::V6::Services::AssetOperation.new
410
+ end
237
411
  end
238
412
 
239
413
  # Create a new BiddingStrategyOperation
@@ -241,7 +415,13 @@ module Google
241
415
  # @return [Google::Ads::GoogleAds::V6::Services::BiddingStrategyOperation] the operation
242
416
  def self.bidding_strategy
243
417
  require "google/ads/google_ads/v6/services/bidding_strategy_service_pb"
244
- Google::Ads::GoogleAds::V6::Services::BiddingStrategyOperation.new
418
+ if block_given?
419
+ op = Google::Ads::GoogleAds::V6::Services::BiddingStrategyOperation.new
420
+ yield op
421
+ op
422
+ else
423
+ Google::Ads::GoogleAds::V6::Services::BiddingStrategyOperation.new
424
+ end
245
425
  end
246
426
 
247
427
  # Create a new CampaignAssetOperation
@@ -249,7 +429,13 @@ module Google
249
429
  # @return [Google::Ads::GoogleAds::V6::Services::CampaignAssetOperation] the operation
250
430
  def self.campaign_asset
251
431
  require "google/ads/google_ads/v6/services/campaign_asset_service_pb"
252
- Google::Ads::GoogleAds::V6::Services::CampaignAssetOperation.new
432
+ if block_given?
433
+ op = Google::Ads::GoogleAds::V6::Services::CampaignAssetOperation.new
434
+ yield op
435
+ op
436
+ else
437
+ Google::Ads::GoogleAds::V6::Services::CampaignAssetOperation.new
438
+ end
253
439
  end
254
440
 
255
441
  # Create a new CampaignBudgetOperation
@@ -257,7 +443,13 @@ module Google
257
443
  # @return [Google::Ads::GoogleAds::V6::Services::CampaignBudgetOperation] the operation
258
444
  def self.campaign_budget
259
445
  require "google/ads/google_ads/v6/services/campaign_budget_service_pb"
260
- Google::Ads::GoogleAds::V6::Services::CampaignBudgetOperation.new
446
+ if block_given?
447
+ op = Google::Ads::GoogleAds::V6::Services::CampaignBudgetOperation.new
448
+ yield op
449
+ op
450
+ else
451
+ Google::Ads::GoogleAds::V6::Services::CampaignBudgetOperation.new
452
+ end
261
453
  end
262
454
 
263
455
  # Create a new CampaignCriterionOperation
@@ -265,7 +457,13 @@ module Google
265
457
  # @return [Google::Ads::GoogleAds::V6::Services::CampaignCriterionOperation] the operation
266
458
  def self.campaign_criterion
267
459
  require "google/ads/google_ads/v6/services/campaign_criterion_service_pb"
268
- Google::Ads::GoogleAds::V6::Services::CampaignCriterionOperation.new
460
+ if block_given?
461
+ op = Google::Ads::GoogleAds::V6::Services::CampaignCriterionOperation.new
462
+ yield op
463
+ op
464
+ else
465
+ Google::Ads::GoogleAds::V6::Services::CampaignCriterionOperation.new
466
+ end
269
467
  end
270
468
 
271
469
  # Create a new CampaignExperimentOperation
@@ -273,7 +471,13 @@ module Google
273
471
  # @return [Google::Ads::GoogleAds::V6::Services::CampaignExperimentOperation] the operation
274
472
  def self.campaign_experiment
275
473
  require "google/ads/google_ads/v6/services/campaign_experiment_service_pb"
276
- Google::Ads::GoogleAds::V6::Services::CampaignExperimentOperation.new
474
+ if block_given?
475
+ op = Google::Ads::GoogleAds::V6::Services::CampaignExperimentOperation.new
476
+ yield op
477
+ op
478
+ else
479
+ Google::Ads::GoogleAds::V6::Services::CampaignExperimentOperation.new
480
+ end
277
481
  end
278
482
 
279
483
  # Create a new CampaignExtensionSettingOperation
@@ -281,7 +485,13 @@ module Google
281
485
  # @return [Google::Ads::GoogleAds::V6::Services::CampaignExtensionSettingOperation] the operation
282
486
  def self.campaign_extension_setting
283
487
  require "google/ads/google_ads/v6/services/campaign_extension_setting_service_pb"
284
- Google::Ads::GoogleAds::V6::Services::CampaignExtensionSettingOperation.new
488
+ if block_given?
489
+ op = Google::Ads::GoogleAds::V6::Services::CampaignExtensionSettingOperation.new
490
+ yield op
491
+ op
492
+ else
493
+ Google::Ads::GoogleAds::V6::Services::CampaignExtensionSettingOperation.new
494
+ end
285
495
  end
286
496
 
287
497
  # Create a new CampaignFeedOperation
@@ -289,7 +499,13 @@ module Google
289
499
  # @return [Google::Ads::GoogleAds::V6::Services::CampaignFeedOperation] the operation
290
500
  def self.campaign_feed
291
501
  require "google/ads/google_ads/v6/services/campaign_feed_service_pb"
292
- Google::Ads::GoogleAds::V6::Services::CampaignFeedOperation.new
502
+ if block_given?
503
+ op = Google::Ads::GoogleAds::V6::Services::CampaignFeedOperation.new
504
+ yield op
505
+ op
506
+ else
507
+ Google::Ads::GoogleAds::V6::Services::CampaignFeedOperation.new
508
+ end
293
509
  end
294
510
 
295
511
  # Create a new CampaignLabelOperation
@@ -297,7 +513,13 @@ module Google
297
513
  # @return [Google::Ads::GoogleAds::V6::Services::CampaignLabelOperation] the operation
298
514
  def self.campaign_label
299
515
  require "google/ads/google_ads/v6/services/campaign_label_service_pb"
300
- Google::Ads::GoogleAds::V6::Services::CampaignLabelOperation.new
516
+ if block_given?
517
+ op = Google::Ads::GoogleAds::V6::Services::CampaignLabelOperation.new
518
+ yield op
519
+ op
520
+ else
521
+ Google::Ads::GoogleAds::V6::Services::CampaignLabelOperation.new
522
+ end
301
523
  end
302
524
 
303
525
  # Create a new CampaignOperation
@@ -305,7 +527,13 @@ module Google
305
527
  # @return [Google::Ads::GoogleAds::V6::Services::CampaignOperation] the operation
306
528
  def self.campaign
307
529
  require "google/ads/google_ads/v6/services/campaign_service_pb"
308
- Google::Ads::GoogleAds::V6::Services::CampaignOperation.new
530
+ if block_given?
531
+ op = Google::Ads::GoogleAds::V6::Services::CampaignOperation.new
532
+ yield op
533
+ op
534
+ else
535
+ Google::Ads::GoogleAds::V6::Services::CampaignOperation.new
536
+ end
309
537
  end
310
538
 
311
539
  # Create a new CampaignSharedSetOperation
@@ -313,7 +541,13 @@ module Google
313
541
  # @return [Google::Ads::GoogleAds::V6::Services::CampaignSharedSetOperation] the operation
314
542
  def self.campaign_shared_set
315
543
  require "google/ads/google_ads/v6/services/campaign_shared_set_service_pb"
316
- Google::Ads::GoogleAds::V6::Services::CampaignSharedSetOperation.new
544
+ if block_given?
545
+ op = Google::Ads::GoogleAds::V6::Services::CampaignSharedSetOperation.new
546
+ yield op
547
+ op
548
+ else
549
+ Google::Ads::GoogleAds::V6::Services::CampaignSharedSetOperation.new
550
+ end
317
551
  end
318
552
 
319
553
  # Create a new ConversionActionOperation
@@ -321,7 +555,13 @@ module Google
321
555
  # @return [Google::Ads::GoogleAds::V6::Services::ConversionActionOperation] the operation
322
556
  def self.conversion_action
323
557
  require "google/ads/google_ads/v6/services/conversion_action_service_pb"
324
- Google::Ads::GoogleAds::V6::Services::ConversionActionOperation.new
558
+ if block_given?
559
+ op = Google::Ads::GoogleAds::V6::Services::ConversionActionOperation.new
560
+ yield op
561
+ op
562
+ else
563
+ Google::Ads::GoogleAds::V6::Services::ConversionActionOperation.new
564
+ end
325
565
  end
326
566
 
327
567
  # Create a new CustomerExtensionSettingOperation
@@ -329,7 +569,13 @@ module Google
329
569
  # @return [Google::Ads::GoogleAds::V6::Services::CustomerExtensionSettingOperation] the operation
330
570
  def self.customer_extension_setting
331
571
  require "google/ads/google_ads/v6/services/customer_extension_setting_service_pb"
332
- Google::Ads::GoogleAds::V6::Services::CustomerExtensionSettingOperation.new
572
+ if block_given?
573
+ op = Google::Ads::GoogleAds::V6::Services::CustomerExtensionSettingOperation.new
574
+ yield op
575
+ op
576
+ else
577
+ Google::Ads::GoogleAds::V6::Services::CustomerExtensionSettingOperation.new
578
+ end
333
579
  end
334
580
 
335
581
  # Create a new CustomerFeedOperation
@@ -337,7 +583,13 @@ module Google
337
583
  # @return [Google::Ads::GoogleAds::V6::Services::CustomerFeedOperation] the operation
338
584
  def self.customer_feed
339
585
  require "google/ads/google_ads/v6/services/customer_feed_service_pb"
340
- Google::Ads::GoogleAds::V6::Services::CustomerFeedOperation.new
586
+ if block_given?
587
+ op = Google::Ads::GoogleAds::V6::Services::CustomerFeedOperation.new
588
+ yield op
589
+ op
590
+ else
591
+ Google::Ads::GoogleAds::V6::Services::CustomerFeedOperation.new
592
+ end
341
593
  end
342
594
 
343
595
  # Create a new CustomerLabelOperation
@@ -345,7 +597,13 @@ module Google
345
597
  # @return [Google::Ads::GoogleAds::V6::Services::CustomerLabelOperation] the operation
346
598
  def self.customer_label
347
599
  require "google/ads/google_ads/v6/services/customer_label_service_pb"
348
- Google::Ads::GoogleAds::V6::Services::CustomerLabelOperation.new
600
+ if block_given?
601
+ op = Google::Ads::GoogleAds::V6::Services::CustomerLabelOperation.new
602
+ yield op
603
+ op
604
+ else
605
+ Google::Ads::GoogleAds::V6::Services::CustomerLabelOperation.new
606
+ end
349
607
  end
350
608
 
351
609
  # Create a new ExtensionFeedItemOperation
@@ -353,7 +611,13 @@ module Google
353
611
  # @return [Google::Ads::GoogleAds::V6::Services::ExtensionFeedItemOperation] the operation
354
612
  def self.extension_feed_item
355
613
  require "google/ads/google_ads/v6/services/extension_feed_item_service_pb"
356
- Google::Ads::GoogleAds::V6::Services::ExtensionFeedItemOperation.new
614
+ if block_given?
615
+ op = Google::Ads::GoogleAds::V6::Services::ExtensionFeedItemOperation.new
616
+ yield op
617
+ op
618
+ else
619
+ Google::Ads::GoogleAds::V6::Services::ExtensionFeedItemOperation.new
620
+ end
357
621
  end
358
622
 
359
623
  # Create a new FeedItemOperation
@@ -361,7 +625,13 @@ module Google
361
625
  # @return [Google::Ads::GoogleAds::V6::Services::FeedItemOperation] the operation
362
626
  def self.feed_item
363
627
  require "google/ads/google_ads/v6/services/feed_item_service_pb"
364
- Google::Ads::GoogleAds::V6::Services::FeedItemOperation.new
628
+ if block_given?
629
+ op = Google::Ads::GoogleAds::V6::Services::FeedItemOperation.new
630
+ yield op
631
+ op
632
+ else
633
+ Google::Ads::GoogleAds::V6::Services::FeedItemOperation.new
634
+ end
365
635
  end
366
636
 
367
637
  # Create a new FeedItemTargetOperation
@@ -369,7 +639,13 @@ module Google
369
639
  # @return [Google::Ads::GoogleAds::V6::Services::FeedItemTargetOperation] the operation
370
640
  def self.feed_item_target
371
641
  require "google/ads/google_ads/v6/services/feed_item_target_service_pb"
372
- Google::Ads::GoogleAds::V6::Services::FeedItemTargetOperation.new
642
+ if block_given?
643
+ op = Google::Ads::GoogleAds::V6::Services::FeedItemTargetOperation.new
644
+ yield op
645
+ op
646
+ else
647
+ Google::Ads::GoogleAds::V6::Services::FeedItemTargetOperation.new
648
+ end
373
649
  end
374
650
 
375
651
  # Create a new FeedOperation
@@ -377,7 +653,13 @@ module Google
377
653
  # @return [Google::Ads::GoogleAds::V6::Services::FeedOperation] the operation
378
654
  def self.feed
379
655
  require "google/ads/google_ads/v6/services/feed_service_pb"
380
- Google::Ads::GoogleAds::V6::Services::FeedOperation.new
656
+ if block_given?
657
+ op = Google::Ads::GoogleAds::V6::Services::FeedOperation.new
658
+ yield op
659
+ op
660
+ else
661
+ Google::Ads::GoogleAds::V6::Services::FeedOperation.new
662
+ end
381
663
  end
382
664
 
383
665
  # Create a new KeywordPlanAdGroupOperation
@@ -385,7 +667,13 @@ module Google
385
667
  # @return [Google::Ads::GoogleAds::V6::Services::KeywordPlanAdGroupOperation] the operation
386
668
  def self.keyword_plan_ad_group
387
669
  require "google/ads/google_ads/v6/services/keyword_plan_ad_group_service_pb"
388
- Google::Ads::GoogleAds::V6::Services::KeywordPlanAdGroupOperation.new
670
+ if block_given?
671
+ op = Google::Ads::GoogleAds::V6::Services::KeywordPlanAdGroupOperation.new
672
+ yield op
673
+ op
674
+ else
675
+ Google::Ads::GoogleAds::V6::Services::KeywordPlanAdGroupOperation.new
676
+ end
389
677
  end
390
678
 
391
679
  # Create a new KeywordPlanCampaignKeywordOperation
@@ -393,7 +681,13 @@ module Google
393
681
  # @return [Google::Ads::GoogleAds::V6::Services::KeywordPlanCampaignKeywordOperation] the operation
394
682
  def self.keyword_plan_campaign_keyword
395
683
  require "google/ads/google_ads/v6/services/keyword_plan_campaign_keyword_service_pb"
396
- Google::Ads::GoogleAds::V6::Services::KeywordPlanCampaignKeywordOperation.new
684
+ if block_given?
685
+ op = Google::Ads::GoogleAds::V6::Services::KeywordPlanCampaignKeywordOperation.new
686
+ yield op
687
+ op
688
+ else
689
+ Google::Ads::GoogleAds::V6::Services::KeywordPlanCampaignKeywordOperation.new
690
+ end
397
691
  end
398
692
 
399
693
  # Create a new KeywordPlanCampaignOperation
@@ -401,7 +695,13 @@ module Google
401
695
  # @return [Google::Ads::GoogleAds::V6::Services::KeywordPlanCampaignOperation] the operation
402
696
  def self.keyword_plan_campaign
403
697
  require "google/ads/google_ads/v6/services/keyword_plan_campaign_service_pb"
404
- Google::Ads::GoogleAds::V6::Services::KeywordPlanCampaignOperation.new
698
+ if block_given?
699
+ op = Google::Ads::GoogleAds::V6::Services::KeywordPlanCampaignOperation.new
700
+ yield op
701
+ op
702
+ else
703
+ Google::Ads::GoogleAds::V6::Services::KeywordPlanCampaignOperation.new
704
+ end
405
705
  end
406
706
 
407
707
  # Create a new KeywordPlanOperation
@@ -409,7 +709,13 @@ module Google
409
709
  # @return [Google::Ads::GoogleAds::V6::Services::KeywordPlanOperation] the operation
410
710
  def self.keyword_plan
411
711
  require "google/ads/google_ads/v6/services/keyword_plan_service_pb"
412
- Google::Ads::GoogleAds::V6::Services::KeywordPlanOperation.new
712
+ if block_given?
713
+ op = Google::Ads::GoogleAds::V6::Services::KeywordPlanOperation.new
714
+ yield op
715
+ op
716
+ else
717
+ Google::Ads::GoogleAds::V6::Services::KeywordPlanOperation.new
718
+ end
413
719
  end
414
720
 
415
721
  # Create a new MediaFileOperation
@@ -417,7 +723,13 @@ module Google
417
723
  # @return [Google::Ads::GoogleAds::V6::Services::MediaFileOperation] the operation
418
724
  def self.media_file
419
725
  require "google/ads/google_ads/v6/services/media_file_service_pb"
420
- Google::Ads::GoogleAds::V6::Services::MediaFileOperation.new
726
+ if block_given?
727
+ op = Google::Ads::GoogleAds::V6::Services::MediaFileOperation.new
728
+ yield op
729
+ op
730
+ else
731
+ Google::Ads::GoogleAds::V6::Services::MediaFileOperation.new
732
+ end
421
733
  end
422
734
 
423
735
  # Create a new RemarketingActionOperation
@@ -425,7 +737,13 @@ module Google
425
737
  # @return [Google::Ads::GoogleAds::V6::Services::RemarketingActionOperation] the operation
426
738
  def self.remarketing_action
427
739
  require "google/ads/google_ads/v6/services/remarketing_action_service_pb"
428
- Google::Ads::GoogleAds::V6::Services::RemarketingActionOperation.new
740
+ if block_given?
741
+ op = Google::Ads::GoogleAds::V6::Services::RemarketingActionOperation.new
742
+ yield op
743
+ op
744
+ else
745
+ Google::Ads::GoogleAds::V6::Services::RemarketingActionOperation.new
746
+ end
429
747
  end
430
748
 
431
749
  # Create a new MutateOperation
@@ -433,7 +751,13 @@ module Google
433
751
  # @return [Google::Ads::GoogleAds::V6::Services::MutateOperation] the operation
434
752
  def self.mutate
435
753
  require "google/ads/google_ads/v6/services/google_ads_service_pb"
436
- Google::Ads::GoogleAds::V6::Services::MutateOperation.new
754
+ if block_given?
755
+ op = Google::Ads::GoogleAds::V6::Services::MutateOperation.new
756
+ yield op
757
+ op
758
+ else
759
+ Google::Ads::GoogleAds::V6::Services::MutateOperation.new
760
+ end
437
761
  end
438
762
 
439
763
  # Create a new BatchJobOperation
@@ -441,7 +765,13 @@ module Google
441
765
  # @return [Google::Ads::GoogleAds::V6::Services::BatchJobOperation] the operation
442
766
  def self.batch_job
443
767
  require "google/ads/google_ads/v6/services/batch_job_service_pb"
444
- Google::Ads::GoogleAds::V6::Services::BatchJobOperation.new
768
+ if block_given?
769
+ op = Google::Ads::GoogleAds::V6::Services::BatchJobOperation.new
770
+ yield op
771
+ op
772
+ else
773
+ Google::Ads::GoogleAds::V6::Services::BatchJobOperation.new
774
+ end
445
775
  end
446
776
 
447
777
  # Create a new OfflineUserDataJobOperation
@@ -449,7 +779,13 @@ module Google
449
779
  # @return [Google::Ads::GoogleAds::V6::Services::OfflineUserDataJobOperation] the operation
450
780
  def self.offline_user_data_job
451
781
  require "google/ads/google_ads/v6/services/offline_user_data_job_service_pb"
452
- Google::Ads::GoogleAds::V6::Services::OfflineUserDataJobOperation.new
782
+ if block_given?
783
+ op = Google::Ads::GoogleAds::V6::Services::OfflineUserDataJobOperation.new
784
+ yield op
785
+ op
786
+ else
787
+ Google::Ads::GoogleAds::V6::Services::OfflineUserDataJobOperation.new
788
+ end
453
789
  end
454
790
 
455
791
  # Create a new UserDataOperation
@@ -457,7 +793,13 @@ module Google
457
793
  # @return [Google::Ads::GoogleAds::V6::Services::UserDataOperation] the operation
458
794
  def self.user_data
459
795
  require "google/ads/google_ads/v6/services/user_data_service_pb"
460
- Google::Ads::GoogleAds::V6::Services::UserDataOperation.new
796
+ if block_given?
797
+ op = Google::Ads::GoogleAds::V6::Services::UserDataOperation.new
798
+ yield op
799
+ op
800
+ else
801
+ Google::Ads::GoogleAds::V6::Services::UserDataOperation.new
802
+ end
461
803
  end
462
804
 
463
805
  # Create a new AccountBudgetProposalOperation
@@ -465,7 +807,13 @@ module Google
465
807
  # @return [Google::Ads::GoogleAds::V6::Services::AccountBudgetProposalOperation] the operation
466
808
  def self.account_budget_proposal
467
809
  require "google/ads/google_ads/v6/services/account_budget_proposal_service_pb"
468
- Google::Ads::GoogleAds::V6::Services::AccountBudgetProposalOperation.new
810
+ if block_given?
811
+ op = Google::Ads::GoogleAds::V6::Services::AccountBudgetProposalOperation.new
812
+ yield op
813
+ op
814
+ else
815
+ Google::Ads::GoogleAds::V6::Services::AccountBudgetProposalOperation.new
816
+ end
469
817
  end
470
818
 
471
819
  # Create a new ApplyRecommendationOperation
@@ -473,7 +821,13 @@ module Google
473
821
  # @return [Google::Ads::GoogleAds::V6::Services::ApplyRecommendationOperation] the operation
474
822
  def self.apply_recommendation
475
823
  require "google/ads/google_ads/v6/services/recommendation_service_pb"
476
- Google::Ads::GoogleAds::V6::Services::ApplyRecommendationOperation.new
824
+ if block_given?
825
+ op = Google::Ads::GoogleAds::V6::Services::ApplyRecommendationOperation.new
826
+ yield op
827
+ op
828
+ else
829
+ Google::Ads::GoogleAds::V6::Services::ApplyRecommendationOperation.new
830
+ end
477
831
  end
478
832
 
479
833
  # Create a new DismissRecommendationOperation
@@ -481,7 +835,13 @@ module Google
481
835
  # @return [Google::Ads::GoogleAds::V6::Services::DismissRecommendationRequest::DismissRecommendationOperation] the operation
482
836
  def self.dismiss_recommendation
483
837
  require "google/ads/google_ads/v6/services/recommendation_service_pb"
484
- Google::Ads::GoogleAds::V6::Services::DismissRecommendationRequest::DismissRecommendationOperation.new
838
+ if block_given?
839
+ op = Google::Ads::GoogleAds::V6::Services::DismissRecommendationRequest::DismissRecommendationOperation.new
840
+ yield op
841
+ op
842
+ else
843
+ Google::Ads::GoogleAds::V6::Services::DismissRecommendationRequest::DismissRecommendationOperation.new
844
+ end
485
845
  end
486
846
 
487
847
  # Create a new AccountLinkOperation
@@ -489,7 +849,13 @@ module Google
489
849
  # @return [Google::Ads::GoogleAds::V6::Services::AccountLinkOperation] the operation
490
850
  def self.account_link
491
851
  require "google/ads/google_ads/v6/services/account_link_service_pb"
492
- Google::Ads::GoogleAds::V6::Services::AccountLinkOperation.new
852
+ if block_given?
853
+ op = Google::Ads::GoogleAds::V6::Services::AccountLinkOperation.new
854
+ yield op
855
+ op
856
+ else
857
+ Google::Ads::GoogleAds::V6::Services::AccountLinkOperation.new
858
+ end
493
859
  end
494
860
 
495
861
  # Create a new CustomAudienceOperation
@@ -497,7 +863,13 @@ module Google
497
863
  # @return [Google::Ads::GoogleAds::V6::Services::CustomAudienceOperation] the operation
498
864
  def self.custom_audience
499
865
  require "google/ads/google_ads/v6/services/custom_audience_service_pb"
500
- Google::Ads::GoogleAds::V6::Services::CustomAudienceOperation.new
866
+ if block_given?
867
+ op = Google::Ads::GoogleAds::V6::Services::CustomAudienceOperation.new
868
+ yield op
869
+ op
870
+ else
871
+ Google::Ads::GoogleAds::V6::Services::CustomAudienceOperation.new
872
+ end
501
873
  end
502
874
 
503
875
  # Create a new CustomerUserAccessOperation
@@ -505,7 +877,13 @@ module Google
505
877
  # @return [Google::Ads::GoogleAds::V6::Services::CustomerUserAccessOperation] the operation
506
878
  def self.customer_user_access
507
879
  require "google/ads/google_ads/v6/services/customer_user_access_service_pb"
508
- Google::Ads::GoogleAds::V6::Services::CustomerUserAccessOperation.new
880
+ if block_given?
881
+ op = Google::Ads::GoogleAds::V6::Services::CustomerUserAccessOperation.new
882
+ yield op
883
+ op
884
+ else
885
+ Google::Ads::GoogleAds::V6::Services::CustomerUserAccessOperation.new
886
+ end
509
887
  end
510
888
 
511
889
  # Create a new MerchantCenterLinkOperation
@@ -513,7 +891,13 @@ module Google
513
891
  # @return [Google::Ads::GoogleAds::V6::Services::MerchantCenterLinkOperation] the operation
514
892
  def self.merchant_center_link
515
893
  require "google/ads/google_ads/v6/services/merchant_center_link_service_pb"
516
- Google::Ads::GoogleAds::V6::Services::MerchantCenterLinkOperation.new
894
+ if block_given?
895
+ op = Google::Ads::GoogleAds::V6::Services::MerchantCenterLinkOperation.new
896
+ yield op
897
+ op
898
+ else
899
+ Google::Ads::GoogleAds::V6::Services::MerchantCenterLinkOperation.new
900
+ end
517
901
  end
518
902
 
519
903
  # Create a new BillingSetupOperation
@@ -521,7 +905,13 @@ module Google
521
905
  # @return [Google::Ads::GoogleAds::V6::Services::BillingSetupOperation] the operation
522
906
  def self.billing_setup
523
907
  require "google/ads/google_ads/v6/services/billing_setup_service_pb"
524
- Google::Ads::GoogleAds::V6::Services::BillingSetupOperation.new
908
+ if block_given?
909
+ op = Google::Ads::GoogleAds::V6::Services::BillingSetupOperation.new
910
+ yield op
911
+ op
912
+ else
913
+ Google::Ads::GoogleAds::V6::Services::BillingSetupOperation.new
914
+ end
525
915
  end
526
916
 
527
917
  # Get a reference module containing convenience methods for creating
@@ -562,13 +952,15 @@ module Google
562
952
  # a resource instance to be used for creation in this operation.
563
953
  #
564
954
  # @return [Google::Ads::GoogleAds::V6::Services::CustomerClientLinkOperation] instance that will create the resource
565
- def self.customer_client_link(res=nil, &blk)
955
+ def self.customer_client_link(res = nil, &blk)
566
956
  require "google/ads/google_ads/v6/services/customer_client_link_service_pb"
567
957
  op = Google::Ads::GoogleAds::V6::Services::CustomerClientLinkOperation.new
568
- if !res.nil?
569
- op["create"] = res
958
+ op["create"] = if !res.nil?
959
+ res
570
960
  elsif !blk.nil?
571
- op["create"] = Factories::V6::Resources.customer_client_link(&blk)
961
+ Factories::V6::Resources.customer_client_link(&blk)
962
+ else
963
+ Factories::V6::Resources.customer_client_link
572
964
  end
573
965
 
574
966
  op
@@ -587,13 +979,15 @@ module Google
587
979
  # a resource instance to be used for creation in this operation.
588
980
  #
589
981
  # @return [Google::Ads::GoogleAds::V6::Services::CustomInterestOperation] instance that will create the resource
590
- def self.custom_interest(res=nil, &blk)
982
+ def self.custom_interest(res = nil, &blk)
591
983
  require "google/ads/google_ads/v6/services/custom_interest_service_pb"
592
984
  op = Google::Ads::GoogleAds::V6::Services::CustomInterestOperation.new
593
- if !res.nil?
594
- op["create"] = res
985
+ op["create"] = if !res.nil?
986
+ res
595
987
  elsif !blk.nil?
596
- op["create"] = Factories::V6::Resources.custom_interest(&blk)
988
+ Factories::V6::Resources.custom_interest(&blk)
989
+ else
990
+ Factories::V6::Resources.custom_interest
597
991
  end
598
992
 
599
993
  op
@@ -612,13 +1006,15 @@ module Google
612
1006
  # a resource instance to be used for creation in this operation.
613
1007
  #
614
1008
  # @return [Google::Ads::GoogleAds::V6::Services::CustomerNegativeCriterionOperation] instance that will create the resource
615
- def self.customer_negative_criterion(res=nil, &blk)
1009
+ def self.customer_negative_criterion(res = nil, &blk)
616
1010
  require "google/ads/google_ads/v6/services/customer_negative_criterion_service_pb"
617
1011
  op = Google::Ads::GoogleAds::V6::Services::CustomerNegativeCriterionOperation.new
618
- if !res.nil?
619
- op["create"] = res
1012
+ op["create"] = if !res.nil?
1013
+ res
620
1014
  elsif !blk.nil?
621
- op["create"] = Factories::V6::Resources.customer_negative_criterion(&blk)
1015
+ Factories::V6::Resources.customer_negative_criterion(&blk)
1016
+ else
1017
+ Factories::V6::Resources.customer_negative_criterion
622
1018
  end
623
1019
 
624
1020
  op
@@ -637,13 +1033,15 @@ module Google
637
1033
  # a resource instance to be used for creation in this operation.
638
1034
  #
639
1035
  # @return [Google::Ads::GoogleAds::V6::Services::SharedCriterionOperation] instance that will create the resource
640
- def self.shared_criterion(res=nil, &blk)
1036
+ def self.shared_criterion(res = nil, &blk)
641
1037
  require "google/ads/google_ads/v6/services/shared_criterion_service_pb"
642
1038
  op = Google::Ads::GoogleAds::V6::Services::SharedCriterionOperation.new
643
- if !res.nil?
644
- op["create"] = res
1039
+ op["create"] = if !res.nil?
1040
+ res
645
1041
  elsif !blk.nil?
646
- op["create"] = Factories::V6::Resources.shared_criterion(&blk)
1042
+ Factories::V6::Resources.shared_criterion(&blk)
1043
+ else
1044
+ Factories::V6::Resources.shared_criterion
647
1045
  end
648
1046
 
649
1047
  op
@@ -662,13 +1060,15 @@ module Google
662
1060
  # a resource instance to be used for creation in this operation.
663
1061
  #
664
1062
  # @return [Google::Ads::GoogleAds::V6::Services::KeywordPlanAdGroupKeywordOperation] instance that will create the resource
665
- def self.keyword_plan_ad_group_keyword(res=nil, &blk)
1063
+ def self.keyword_plan_ad_group_keyword(res = nil, &blk)
666
1064
  require "google/ads/google_ads/v6/services/keyword_plan_ad_group_keyword_service_pb"
667
1065
  op = Google::Ads::GoogleAds::V6::Services::KeywordPlanAdGroupKeywordOperation.new
668
- if !res.nil?
669
- op["create"] = res
1066
+ op["create"] = if !res.nil?
1067
+ res
670
1068
  elsif !blk.nil?
671
- op["create"] = Factories::V6::Resources.keyword_plan_ad_group_keyword(&blk)
1069
+ Factories::V6::Resources.keyword_plan_ad_group_keyword(&blk)
1070
+ else
1071
+ Factories::V6::Resources.keyword_plan_ad_group_keyword
672
1072
  end
673
1073
 
674
1074
  op
@@ -687,13 +1087,15 @@ module Google
687
1087
  # a resource instance to be used for creation in this operation.
688
1088
  #
689
1089
  # @return [Google::Ads::GoogleAds::V6::Services::FeedMappingOperation] instance that will create the resource
690
- def self.feed_mapping(res=nil, &blk)
1090
+ def self.feed_mapping(res = nil, &blk)
691
1091
  require "google/ads/google_ads/v6/services/feed_mapping_service_pb"
692
1092
  op = Google::Ads::GoogleAds::V6::Services::FeedMappingOperation.new
693
- if !res.nil?
694
- op["create"] = res
1093
+ op["create"] = if !res.nil?
1094
+ res
695
1095
  elsif !blk.nil?
696
- op["create"] = Factories::V6::Resources.feed_mapping(&blk)
1096
+ Factories::V6::Resources.feed_mapping(&blk)
1097
+ else
1098
+ Factories::V6::Resources.feed_mapping
697
1099
  end
698
1100
 
699
1101
  op
@@ -712,13 +1114,15 @@ module Google
712
1114
  # a resource instance to be used for creation in this operation.
713
1115
  #
714
1116
  # @return [Google::Ads::GoogleAds::V6::Services::FeedItemSetLinkOperation] instance that will create the resource
715
- def self.feed_item_set_link(res=nil, &blk)
1117
+ def self.feed_item_set_link(res = nil, &blk)
716
1118
  require "google/ads/google_ads/v6/services/feed_item_set_link_service_pb"
717
1119
  op = Google::Ads::GoogleAds::V6::Services::FeedItemSetLinkOperation.new
718
- if !res.nil?
719
- op["create"] = res
1120
+ op["create"] = if !res.nil?
1121
+ res
720
1122
  elsif !blk.nil?
721
- op["create"] = Factories::V6::Resources.feed_item_set_link(&blk)
1123
+ Factories::V6::Resources.feed_item_set_link(&blk)
1124
+ else
1125
+ Factories::V6::Resources.feed_item_set_link
722
1126
  end
723
1127
 
724
1128
  op
@@ -737,13 +1141,15 @@ module Google
737
1141
  # a resource instance to be used for creation in this operation.
738
1142
  #
739
1143
  # @return [Google::Ads::GoogleAds::V6::Services::AdGroupOperation] instance that will create the resource
740
- def self.ad_group(res=nil, &blk)
1144
+ def self.ad_group(res = nil, &blk)
741
1145
  require "google/ads/google_ads/v6/services/ad_group_service_pb"
742
1146
  op = Google::Ads::GoogleAds::V6::Services::AdGroupOperation.new
743
- if !res.nil?
744
- op["create"] = res
1147
+ op["create"] = if !res.nil?
1148
+ res
745
1149
  elsif !blk.nil?
746
- op["create"] = Factories::V6::Resources.ad_group(&blk)
1150
+ Factories::V6::Resources.ad_group(&blk)
1151
+ else
1152
+ Factories::V6::Resources.ad_group
747
1153
  end
748
1154
 
749
1155
  op
@@ -762,13 +1168,15 @@ module Google
762
1168
  # a resource instance to be used for creation in this operation.
763
1169
  #
764
1170
  # @return [Google::Ads::GoogleAds::V6::Services::FeedItemSetOperation] instance that will create the resource
765
- def self.feed_item_set(res=nil, &blk)
1171
+ def self.feed_item_set(res = nil, &blk)
766
1172
  require "google/ads/google_ads/v6/services/feed_item_set_service_pb"
767
1173
  op = Google::Ads::GoogleAds::V6::Services::FeedItemSetOperation.new
768
- if !res.nil?
769
- op["create"] = res
1174
+ op["create"] = if !res.nil?
1175
+ res
770
1176
  elsif !blk.nil?
771
- op["create"] = Factories::V6::Resources.feed_item_set(&blk)
1177
+ Factories::V6::Resources.feed_item_set(&blk)
1178
+ else
1179
+ Factories::V6::Resources.feed_item_set
772
1180
  end
773
1181
 
774
1182
  op
@@ -787,13 +1195,15 @@ module Google
787
1195
  # a resource instance to be used for creation in this operation.
788
1196
  #
789
1197
  # @return [Google::Ads::GoogleAds::V6::Services::CampaignBidModifierOperation] instance that will create the resource
790
- def self.campaign_bid_modifier(res=nil, &blk)
1198
+ def self.campaign_bid_modifier(res = nil, &blk)
791
1199
  require "google/ads/google_ads/v6/services/campaign_bid_modifier_service_pb"
792
1200
  op = Google::Ads::GoogleAds::V6::Services::CampaignBidModifierOperation.new
793
- if !res.nil?
794
- op["create"] = res
1201
+ op["create"] = if !res.nil?
1202
+ res
795
1203
  elsif !blk.nil?
796
- op["create"] = Factories::V6::Resources.campaign_bid_modifier(&blk)
1204
+ Factories::V6::Resources.campaign_bid_modifier(&blk)
1205
+ else
1206
+ Factories::V6::Resources.campaign_bid_modifier
797
1207
  end
798
1208
 
799
1209
  op
@@ -812,13 +1222,15 @@ module Google
812
1222
  # a resource instance to be used for creation in this operation.
813
1223
  #
814
1224
  # @return [Google::Ads::GoogleAds::V6::Services::CampaignDraftOperation] instance that will create the resource
815
- def self.campaign_draft(res=nil, &blk)
1225
+ def self.campaign_draft(res = nil, &blk)
816
1226
  require "google/ads/google_ads/v6/services/campaign_draft_service_pb"
817
1227
  op = Google::Ads::GoogleAds::V6::Services::CampaignDraftOperation.new
818
- if !res.nil?
819
- op["create"] = res
1228
+ op["create"] = if !res.nil?
1229
+ res
820
1230
  elsif !blk.nil?
821
- op["create"] = Factories::V6::Resources.campaign_draft(&blk)
1231
+ Factories::V6::Resources.campaign_draft(&blk)
1232
+ else
1233
+ Factories::V6::Resources.campaign_draft
822
1234
  end
823
1235
 
824
1236
  op
@@ -837,13 +1249,15 @@ module Google
837
1249
  # a resource instance to be used for creation in this operation.
838
1250
  #
839
1251
  # @return [Google::Ads::GoogleAds::V6::Services::UserListOperation] instance that will create the resource
840
- def self.user_list(res=nil, &blk)
1252
+ def self.user_list(res = nil, &blk)
841
1253
  require "google/ads/google_ads/v6/services/user_list_service_pb"
842
1254
  op = Google::Ads::GoogleAds::V6::Services::UserListOperation.new
843
- if !res.nil?
844
- op["create"] = res
1255
+ op["create"] = if !res.nil?
1256
+ res
845
1257
  elsif !blk.nil?
846
- op["create"] = Factories::V6::Resources.user_list(&blk)
1258
+ Factories::V6::Resources.user_list(&blk)
1259
+ else
1260
+ Factories::V6::Resources.user_list
847
1261
  end
848
1262
 
849
1263
  op
@@ -862,13 +1276,15 @@ module Google
862
1276
  # a resource instance to be used for creation in this operation.
863
1277
  #
864
1278
  # @return [Google::Ads::GoogleAds::V6::Services::SharedSetOperation] instance that will create the resource
865
- def self.shared_set(res=nil, &blk)
1279
+ def self.shared_set(res = nil, &blk)
866
1280
  require "google/ads/google_ads/v6/services/shared_set_service_pb"
867
1281
  op = Google::Ads::GoogleAds::V6::Services::SharedSetOperation.new
868
- if !res.nil?
869
- op["create"] = res
1282
+ op["create"] = if !res.nil?
1283
+ res
870
1284
  elsif !blk.nil?
871
- op["create"] = Factories::V6::Resources.shared_set(&blk)
1285
+ Factories::V6::Resources.shared_set(&blk)
1286
+ else
1287
+ Factories::V6::Resources.shared_set
872
1288
  end
873
1289
 
874
1290
  op
@@ -887,13 +1303,15 @@ module Google
887
1303
  # a resource instance to be used for creation in this operation.
888
1304
  #
889
1305
  # @return [Google::Ads::GoogleAds::V6::Services::AdGroupCriterionLabelOperation] instance that will create the resource
890
- def self.ad_group_criterion_label(res=nil, &blk)
1306
+ def self.ad_group_criterion_label(res = nil, &blk)
891
1307
  require "google/ads/google_ads/v6/services/ad_group_criterion_label_service_pb"
892
1308
  op = Google::Ads::GoogleAds::V6::Services::AdGroupCriterionLabelOperation.new
893
- if !res.nil?
894
- op["create"] = res
1309
+ op["create"] = if !res.nil?
1310
+ res
895
1311
  elsif !blk.nil?
896
- op["create"] = Factories::V6::Resources.ad_group_criterion_label(&blk)
1312
+ Factories::V6::Resources.ad_group_criterion_label(&blk)
1313
+ else
1314
+ Factories::V6::Resources.ad_group_criterion_label
897
1315
  end
898
1316
 
899
1317
  op
@@ -912,13 +1330,15 @@ module Google
912
1330
  # a resource instance to be used for creation in this operation.
913
1331
  #
914
1332
  # @return [Google::Ads::GoogleAds::V6::Services::LabelOperation] instance that will create the resource
915
- def self.label(res=nil, &blk)
1333
+ def self.label(res = nil, &blk)
916
1334
  require "google/ads/google_ads/v6/services/label_service_pb"
917
1335
  op = Google::Ads::GoogleAds::V6::Services::LabelOperation.new
918
- if !res.nil?
919
- op["create"] = res
1336
+ op["create"] = if !res.nil?
1337
+ res
920
1338
  elsif !blk.nil?
921
- op["create"] = Factories::V6::Resources.label(&blk)
1339
+ Factories::V6::Resources.label(&blk)
1340
+ else
1341
+ Factories::V6::Resources.label
922
1342
  end
923
1343
 
924
1344
  op
@@ -937,13 +1357,15 @@ module Google
937
1357
  # a resource instance to be used for creation in this operation.
938
1358
  #
939
1359
  # @return [Google::Ads::GoogleAds::V6::Services::AdGroupAdLabelOperation] instance that will create the resource
940
- def self.ad_group_ad_label(res=nil, &blk)
1360
+ def self.ad_group_ad_label(res = nil, &blk)
941
1361
  require "google/ads/google_ads/v6/services/ad_group_ad_label_service_pb"
942
1362
  op = Google::Ads::GoogleAds::V6::Services::AdGroupAdLabelOperation.new
943
- if !res.nil?
944
- op["create"] = res
1363
+ op["create"] = if !res.nil?
1364
+ res
945
1365
  elsif !blk.nil?
946
- op["create"] = Factories::V6::Resources.ad_group_ad_label(&blk)
1366
+ Factories::V6::Resources.ad_group_ad_label(&blk)
1367
+ else
1368
+ Factories::V6::Resources.ad_group_ad_label
947
1369
  end
948
1370
 
949
1371
  op
@@ -962,13 +1384,15 @@ module Google
962
1384
  # a resource instance to be used for creation in this operation.
963
1385
  #
964
1386
  # @return [Google::Ads::GoogleAds::V6::Services::AdGroupAdOperation] instance that will create the resource
965
- def self.ad_group_ad(res=nil, &blk)
1387
+ def self.ad_group_ad(res = nil, &blk)
966
1388
  require "google/ads/google_ads/v6/services/ad_group_ad_service_pb"
967
1389
  op = Google::Ads::GoogleAds::V6::Services::AdGroupAdOperation.new
968
- if !res.nil?
969
- op["create"] = res
1390
+ op["create"] = if !res.nil?
1391
+ res
970
1392
  elsif !blk.nil?
971
- op["create"] = Factories::V6::Resources.ad_group_ad(&blk)
1393
+ Factories::V6::Resources.ad_group_ad(&blk)
1394
+ else
1395
+ Factories::V6::Resources.ad_group_ad
972
1396
  end
973
1397
 
974
1398
  op
@@ -987,13 +1411,15 @@ module Google
987
1411
  # a resource instance to be used for creation in this operation.
988
1412
  #
989
1413
  # @return [Google::Ads::GoogleAds::V6::Services::AdGroupBidModifierOperation] instance that will create the resource
990
- def self.ad_group_bid_modifier(res=nil, &blk)
1414
+ def self.ad_group_bid_modifier(res = nil, &blk)
991
1415
  require "google/ads/google_ads/v6/services/ad_group_bid_modifier_service_pb"
992
1416
  op = Google::Ads::GoogleAds::V6::Services::AdGroupBidModifierOperation.new
993
- if !res.nil?
994
- op["create"] = res
1417
+ op["create"] = if !res.nil?
1418
+ res
995
1419
  elsif !blk.nil?
996
- op["create"] = Factories::V6::Resources.ad_group_bid_modifier(&blk)
1420
+ Factories::V6::Resources.ad_group_bid_modifier(&blk)
1421
+ else
1422
+ Factories::V6::Resources.ad_group_bid_modifier
997
1423
  end
998
1424
 
999
1425
  op
@@ -1012,13 +1438,15 @@ module Google
1012
1438
  # a resource instance to be used for creation in this operation.
1013
1439
  #
1014
1440
  # @return [Google::Ads::GoogleAds::V6::Services::AdGroupCriterionOperation] instance that will create the resource
1015
- def self.ad_group_criterion(res=nil, &blk)
1441
+ def self.ad_group_criterion(res = nil, &blk)
1016
1442
  require "google/ads/google_ads/v6/services/ad_group_criterion_service_pb"
1017
1443
  op = Google::Ads::GoogleAds::V6::Services::AdGroupCriterionOperation.new
1018
- if !res.nil?
1019
- op["create"] = res
1444
+ op["create"] = if !res.nil?
1445
+ res
1020
1446
  elsif !blk.nil?
1021
- op["create"] = Factories::V6::Resources.ad_group_criterion(&blk)
1447
+ Factories::V6::Resources.ad_group_criterion(&blk)
1448
+ else
1449
+ Factories::V6::Resources.ad_group_criterion
1022
1450
  end
1023
1451
 
1024
1452
  op
@@ -1037,13 +1465,15 @@ module Google
1037
1465
  # a resource instance to be used for creation in this operation.
1038
1466
  #
1039
1467
  # @return [Google::Ads::GoogleAds::V6::Services::AdGroupExtensionSettingOperation] instance that will create the resource
1040
- def self.ad_group_extension_setting(res=nil, &blk)
1468
+ def self.ad_group_extension_setting(res = nil, &blk)
1041
1469
  require "google/ads/google_ads/v6/services/ad_group_extension_setting_service_pb"
1042
1470
  op = Google::Ads::GoogleAds::V6::Services::AdGroupExtensionSettingOperation.new
1043
- if !res.nil?
1044
- op["create"] = res
1471
+ op["create"] = if !res.nil?
1472
+ res
1045
1473
  elsif !blk.nil?
1046
- op["create"] = Factories::V6::Resources.ad_group_extension_setting(&blk)
1474
+ Factories::V6::Resources.ad_group_extension_setting(&blk)
1475
+ else
1476
+ Factories::V6::Resources.ad_group_extension_setting
1047
1477
  end
1048
1478
 
1049
1479
  op
@@ -1062,13 +1492,15 @@ module Google
1062
1492
  # a resource instance to be used for creation in this operation.
1063
1493
  #
1064
1494
  # @return [Google::Ads::GoogleAds::V6::Services::AdGroupFeedOperation] instance that will create the resource
1065
- def self.ad_group_feed(res=nil, &blk)
1495
+ def self.ad_group_feed(res = nil, &blk)
1066
1496
  require "google/ads/google_ads/v6/services/ad_group_feed_service_pb"
1067
1497
  op = Google::Ads::GoogleAds::V6::Services::AdGroupFeedOperation.new
1068
- if !res.nil?
1069
- op["create"] = res
1498
+ op["create"] = if !res.nil?
1499
+ res
1070
1500
  elsif !blk.nil?
1071
- op["create"] = Factories::V6::Resources.ad_group_feed(&blk)
1501
+ Factories::V6::Resources.ad_group_feed(&blk)
1502
+ else
1503
+ Factories::V6::Resources.ad_group_feed
1072
1504
  end
1073
1505
 
1074
1506
  op
@@ -1087,13 +1519,15 @@ module Google
1087
1519
  # a resource instance to be used for creation in this operation.
1088
1520
  #
1089
1521
  # @return [Google::Ads::GoogleAds::V6::Services::AdGroupLabelOperation] instance that will create the resource
1090
- def self.ad_group_label(res=nil, &blk)
1522
+ def self.ad_group_label(res = nil, &blk)
1091
1523
  require "google/ads/google_ads/v6/services/ad_group_label_service_pb"
1092
1524
  op = Google::Ads::GoogleAds::V6::Services::AdGroupLabelOperation.new
1093
- if !res.nil?
1094
- op["create"] = res
1525
+ op["create"] = if !res.nil?
1526
+ res
1095
1527
  elsif !blk.nil?
1096
- op["create"] = Factories::V6::Resources.ad_group_label(&blk)
1528
+ Factories::V6::Resources.ad_group_label(&blk)
1529
+ else
1530
+ Factories::V6::Resources.ad_group_label
1097
1531
  end
1098
1532
 
1099
1533
  op
@@ -1112,13 +1546,15 @@ module Google
1112
1546
  # a resource instance to be used for creation in this operation.
1113
1547
  #
1114
1548
  # @return [Google::Ads::GoogleAds::V6::Services::AdParameterOperation] instance that will create the resource
1115
- def self.ad_parameter(res=nil, &blk)
1549
+ def self.ad_parameter(res = nil, &blk)
1116
1550
  require "google/ads/google_ads/v6/services/ad_parameter_service_pb"
1117
1551
  op = Google::Ads::GoogleAds::V6::Services::AdParameterOperation.new
1118
- if !res.nil?
1119
- op["create"] = res
1552
+ op["create"] = if !res.nil?
1553
+ res
1120
1554
  elsif !blk.nil?
1121
- op["create"] = Factories::V6::Resources.ad_parameter(&blk)
1555
+ Factories::V6::Resources.ad_parameter(&blk)
1556
+ else
1557
+ Factories::V6::Resources.ad_parameter
1122
1558
  end
1123
1559
 
1124
1560
  op
@@ -1137,13 +1573,15 @@ module Google
1137
1573
  # a resource instance to be used for creation in this operation.
1138
1574
  #
1139
1575
  # @return [Google::Ads::GoogleAds::V6::Services::AssetOperation] instance that will create the resource
1140
- def self.asset(res=nil, &blk)
1576
+ def self.asset(res = nil, &blk)
1141
1577
  require "google/ads/google_ads/v6/services/asset_service_pb"
1142
1578
  op = Google::Ads::GoogleAds::V6::Services::AssetOperation.new
1143
- if !res.nil?
1144
- op["create"] = res
1579
+ op["create"] = if !res.nil?
1580
+ res
1145
1581
  elsif !blk.nil?
1146
- op["create"] = Factories::V6::Resources.asset(&blk)
1582
+ Factories::V6::Resources.asset(&blk)
1583
+ else
1584
+ Factories::V6::Resources.asset
1147
1585
  end
1148
1586
 
1149
1587
  op
@@ -1162,13 +1600,15 @@ module Google
1162
1600
  # a resource instance to be used for creation in this operation.
1163
1601
  #
1164
1602
  # @return [Google::Ads::GoogleAds::V6::Services::BiddingStrategyOperation] instance that will create the resource
1165
- def self.bidding_strategy(res=nil, &blk)
1603
+ def self.bidding_strategy(res = nil, &blk)
1166
1604
  require "google/ads/google_ads/v6/services/bidding_strategy_service_pb"
1167
1605
  op = Google::Ads::GoogleAds::V6::Services::BiddingStrategyOperation.new
1168
- if !res.nil?
1169
- op["create"] = res
1606
+ op["create"] = if !res.nil?
1607
+ res
1170
1608
  elsif !blk.nil?
1171
- op["create"] = Factories::V6::Resources.bidding_strategy(&blk)
1609
+ Factories::V6::Resources.bidding_strategy(&blk)
1610
+ else
1611
+ Factories::V6::Resources.bidding_strategy
1172
1612
  end
1173
1613
 
1174
1614
  op
@@ -1187,13 +1627,15 @@ module Google
1187
1627
  # a resource instance to be used for creation in this operation.
1188
1628
  #
1189
1629
  # @return [Google::Ads::GoogleAds::V6::Services::CampaignAssetOperation] instance that will create the resource
1190
- def self.campaign_asset(res=nil, &blk)
1630
+ def self.campaign_asset(res = nil, &blk)
1191
1631
  require "google/ads/google_ads/v6/services/campaign_asset_service_pb"
1192
1632
  op = Google::Ads::GoogleAds::V6::Services::CampaignAssetOperation.new
1193
- if !res.nil?
1194
- op["create"] = res
1633
+ op["create"] = if !res.nil?
1634
+ res
1195
1635
  elsif !blk.nil?
1196
- op["create"] = Factories::V6::Resources.campaign_asset(&blk)
1636
+ Factories::V6::Resources.campaign_asset(&blk)
1637
+ else
1638
+ Factories::V6::Resources.campaign_asset
1197
1639
  end
1198
1640
 
1199
1641
  op
@@ -1212,13 +1654,15 @@ module Google
1212
1654
  # a resource instance to be used for creation in this operation.
1213
1655
  #
1214
1656
  # @return [Google::Ads::GoogleAds::V6::Services::CampaignBudgetOperation] instance that will create the resource
1215
- def self.campaign_budget(res=nil, &blk)
1657
+ def self.campaign_budget(res = nil, &blk)
1216
1658
  require "google/ads/google_ads/v6/services/campaign_budget_service_pb"
1217
1659
  op = Google::Ads::GoogleAds::V6::Services::CampaignBudgetOperation.new
1218
- if !res.nil?
1219
- op["create"] = res
1660
+ op["create"] = if !res.nil?
1661
+ res
1220
1662
  elsif !blk.nil?
1221
- op["create"] = Factories::V6::Resources.campaign_budget(&blk)
1663
+ Factories::V6::Resources.campaign_budget(&blk)
1664
+ else
1665
+ Factories::V6::Resources.campaign_budget
1222
1666
  end
1223
1667
 
1224
1668
  op
@@ -1237,13 +1681,15 @@ module Google
1237
1681
  # a resource instance to be used for creation in this operation.
1238
1682
  #
1239
1683
  # @return [Google::Ads::GoogleAds::V6::Services::CampaignCriterionOperation] instance that will create the resource
1240
- def self.campaign_criterion(res=nil, &blk)
1684
+ def self.campaign_criterion(res = nil, &blk)
1241
1685
  require "google/ads/google_ads/v6/services/campaign_criterion_service_pb"
1242
1686
  op = Google::Ads::GoogleAds::V6::Services::CampaignCriterionOperation.new
1243
- if !res.nil?
1244
- op["create"] = res
1687
+ op["create"] = if !res.nil?
1688
+ res
1245
1689
  elsif !blk.nil?
1246
- op["create"] = Factories::V6::Resources.campaign_criterion(&blk)
1690
+ Factories::V6::Resources.campaign_criterion(&blk)
1691
+ else
1692
+ Factories::V6::Resources.campaign_criterion
1247
1693
  end
1248
1694
 
1249
1695
  op
@@ -1262,13 +1708,15 @@ module Google
1262
1708
  # a resource instance to be used for creation in this operation.
1263
1709
  #
1264
1710
  # @return [Google::Ads::GoogleAds::V6::Services::CampaignExtensionSettingOperation] instance that will create the resource
1265
- def self.campaign_extension_setting(res=nil, &blk)
1711
+ def self.campaign_extension_setting(res = nil, &blk)
1266
1712
  require "google/ads/google_ads/v6/services/campaign_extension_setting_service_pb"
1267
1713
  op = Google::Ads::GoogleAds::V6::Services::CampaignExtensionSettingOperation.new
1268
- if !res.nil?
1269
- op["create"] = res
1714
+ op["create"] = if !res.nil?
1715
+ res
1270
1716
  elsif !blk.nil?
1271
- op["create"] = Factories::V6::Resources.campaign_extension_setting(&blk)
1717
+ Factories::V6::Resources.campaign_extension_setting(&blk)
1718
+ else
1719
+ Factories::V6::Resources.campaign_extension_setting
1272
1720
  end
1273
1721
 
1274
1722
  op
@@ -1287,13 +1735,15 @@ module Google
1287
1735
  # a resource instance to be used for creation in this operation.
1288
1736
  #
1289
1737
  # @return [Google::Ads::GoogleAds::V6::Services::CampaignFeedOperation] instance that will create the resource
1290
- def self.campaign_feed(res=nil, &blk)
1738
+ def self.campaign_feed(res = nil, &blk)
1291
1739
  require "google/ads/google_ads/v6/services/campaign_feed_service_pb"
1292
1740
  op = Google::Ads::GoogleAds::V6::Services::CampaignFeedOperation.new
1293
- if !res.nil?
1294
- op["create"] = res
1741
+ op["create"] = if !res.nil?
1742
+ res
1295
1743
  elsif !blk.nil?
1296
- op["create"] = Factories::V6::Resources.campaign_feed(&blk)
1744
+ Factories::V6::Resources.campaign_feed(&blk)
1745
+ else
1746
+ Factories::V6::Resources.campaign_feed
1297
1747
  end
1298
1748
 
1299
1749
  op
@@ -1312,13 +1762,15 @@ module Google
1312
1762
  # a resource instance to be used for creation in this operation.
1313
1763
  #
1314
1764
  # @return [Google::Ads::GoogleAds::V6::Services::CampaignLabelOperation] instance that will create the resource
1315
- def self.campaign_label(res=nil, &blk)
1765
+ def self.campaign_label(res = nil, &blk)
1316
1766
  require "google/ads/google_ads/v6/services/campaign_label_service_pb"
1317
1767
  op = Google::Ads::GoogleAds::V6::Services::CampaignLabelOperation.new
1318
- if !res.nil?
1319
- op["create"] = res
1768
+ op["create"] = if !res.nil?
1769
+ res
1320
1770
  elsif !blk.nil?
1321
- op["create"] = Factories::V6::Resources.campaign_label(&blk)
1771
+ Factories::V6::Resources.campaign_label(&blk)
1772
+ else
1773
+ Factories::V6::Resources.campaign_label
1322
1774
  end
1323
1775
 
1324
1776
  op
@@ -1337,13 +1789,15 @@ module Google
1337
1789
  # a resource instance to be used for creation in this operation.
1338
1790
  #
1339
1791
  # @return [Google::Ads::GoogleAds::V6::Services::CampaignOperation] instance that will create the resource
1340
- def self.campaign(res=nil, &blk)
1792
+ def self.campaign(res = nil, &blk)
1341
1793
  require "google/ads/google_ads/v6/services/campaign_service_pb"
1342
1794
  op = Google::Ads::GoogleAds::V6::Services::CampaignOperation.new
1343
- if !res.nil?
1344
- op["create"] = res
1795
+ op["create"] = if !res.nil?
1796
+ res
1345
1797
  elsif !blk.nil?
1346
- op["create"] = Factories::V6::Resources.campaign(&blk)
1798
+ Factories::V6::Resources.campaign(&blk)
1799
+ else
1800
+ Factories::V6::Resources.campaign
1347
1801
  end
1348
1802
 
1349
1803
  op
@@ -1362,13 +1816,15 @@ module Google
1362
1816
  # a resource instance to be used for creation in this operation.
1363
1817
  #
1364
1818
  # @return [Google::Ads::GoogleAds::V6::Services::CampaignSharedSetOperation] instance that will create the resource
1365
- def self.campaign_shared_set(res=nil, &blk)
1819
+ def self.campaign_shared_set(res = nil, &blk)
1366
1820
  require "google/ads/google_ads/v6/services/campaign_shared_set_service_pb"
1367
1821
  op = Google::Ads::GoogleAds::V6::Services::CampaignSharedSetOperation.new
1368
- if !res.nil?
1369
- op["create"] = res
1822
+ op["create"] = if !res.nil?
1823
+ res
1370
1824
  elsif !blk.nil?
1371
- op["create"] = Factories::V6::Resources.campaign_shared_set(&blk)
1825
+ Factories::V6::Resources.campaign_shared_set(&blk)
1826
+ else
1827
+ Factories::V6::Resources.campaign_shared_set
1372
1828
  end
1373
1829
 
1374
1830
  op
@@ -1387,13 +1843,15 @@ module Google
1387
1843
  # a resource instance to be used for creation in this operation.
1388
1844
  #
1389
1845
  # @return [Google::Ads::GoogleAds::V6::Services::ConversionActionOperation] instance that will create the resource
1390
- def self.conversion_action(res=nil, &blk)
1846
+ def self.conversion_action(res = nil, &blk)
1391
1847
  require "google/ads/google_ads/v6/services/conversion_action_service_pb"
1392
1848
  op = Google::Ads::GoogleAds::V6::Services::ConversionActionOperation.new
1393
- if !res.nil?
1394
- op["create"] = res
1849
+ op["create"] = if !res.nil?
1850
+ res
1395
1851
  elsif !blk.nil?
1396
- op["create"] = Factories::V6::Resources.conversion_action(&blk)
1852
+ Factories::V6::Resources.conversion_action(&blk)
1853
+ else
1854
+ Factories::V6::Resources.conversion_action
1397
1855
  end
1398
1856
 
1399
1857
  op
@@ -1412,13 +1870,15 @@ module Google
1412
1870
  # a resource instance to be used for creation in this operation.
1413
1871
  #
1414
1872
  # @return [Google::Ads::GoogleAds::V6::Services::CustomerExtensionSettingOperation] instance that will create the resource
1415
- def self.customer_extension_setting(res=nil, &blk)
1873
+ def self.customer_extension_setting(res = nil, &blk)
1416
1874
  require "google/ads/google_ads/v6/services/customer_extension_setting_service_pb"
1417
1875
  op = Google::Ads::GoogleAds::V6::Services::CustomerExtensionSettingOperation.new
1418
- if !res.nil?
1419
- op["create"] = res
1876
+ op["create"] = if !res.nil?
1877
+ res
1420
1878
  elsif !blk.nil?
1421
- op["create"] = Factories::V6::Resources.customer_extension_setting(&blk)
1879
+ Factories::V6::Resources.customer_extension_setting(&blk)
1880
+ else
1881
+ Factories::V6::Resources.customer_extension_setting
1422
1882
  end
1423
1883
 
1424
1884
  op
@@ -1437,13 +1897,15 @@ module Google
1437
1897
  # a resource instance to be used for creation in this operation.
1438
1898
  #
1439
1899
  # @return [Google::Ads::GoogleAds::V6::Services::CustomerFeedOperation] instance that will create the resource
1440
- def self.customer_feed(res=nil, &blk)
1900
+ def self.customer_feed(res = nil, &blk)
1441
1901
  require "google/ads/google_ads/v6/services/customer_feed_service_pb"
1442
1902
  op = Google::Ads::GoogleAds::V6::Services::CustomerFeedOperation.new
1443
- if !res.nil?
1444
- op["create"] = res
1903
+ op["create"] = if !res.nil?
1904
+ res
1445
1905
  elsif !blk.nil?
1446
- op["create"] = Factories::V6::Resources.customer_feed(&blk)
1906
+ Factories::V6::Resources.customer_feed(&blk)
1907
+ else
1908
+ Factories::V6::Resources.customer_feed
1447
1909
  end
1448
1910
 
1449
1911
  op
@@ -1462,13 +1924,15 @@ module Google
1462
1924
  # a resource instance to be used for creation in this operation.
1463
1925
  #
1464
1926
  # @return [Google::Ads::GoogleAds::V6::Services::CustomerLabelOperation] instance that will create the resource
1465
- def self.customer_label(res=nil, &blk)
1927
+ def self.customer_label(res = nil, &blk)
1466
1928
  require "google/ads/google_ads/v6/services/customer_label_service_pb"
1467
1929
  op = Google::Ads::GoogleAds::V6::Services::CustomerLabelOperation.new
1468
- if !res.nil?
1469
- op["create"] = res
1930
+ op["create"] = if !res.nil?
1931
+ res
1470
1932
  elsif !blk.nil?
1471
- op["create"] = Factories::V6::Resources.customer_label(&blk)
1933
+ Factories::V6::Resources.customer_label(&blk)
1934
+ else
1935
+ Factories::V6::Resources.customer_label
1472
1936
  end
1473
1937
 
1474
1938
  op
@@ -1487,13 +1951,15 @@ module Google
1487
1951
  # a resource instance to be used for creation in this operation.
1488
1952
  #
1489
1953
  # @return [Google::Ads::GoogleAds::V6::Services::ExtensionFeedItemOperation] instance that will create the resource
1490
- def self.extension_feed_item(res=nil, &blk)
1954
+ def self.extension_feed_item(res = nil, &blk)
1491
1955
  require "google/ads/google_ads/v6/services/extension_feed_item_service_pb"
1492
1956
  op = Google::Ads::GoogleAds::V6::Services::ExtensionFeedItemOperation.new
1493
- if !res.nil?
1494
- op["create"] = res
1957
+ op["create"] = if !res.nil?
1958
+ res
1495
1959
  elsif !blk.nil?
1496
- op["create"] = Factories::V6::Resources.extension_feed_item(&blk)
1960
+ Factories::V6::Resources.extension_feed_item(&blk)
1961
+ else
1962
+ Factories::V6::Resources.extension_feed_item
1497
1963
  end
1498
1964
 
1499
1965
  op
@@ -1512,13 +1978,15 @@ module Google
1512
1978
  # a resource instance to be used for creation in this operation.
1513
1979
  #
1514
1980
  # @return [Google::Ads::GoogleAds::V6::Services::FeedItemOperation] instance that will create the resource
1515
- def self.feed_item(res=nil, &blk)
1981
+ def self.feed_item(res = nil, &blk)
1516
1982
  require "google/ads/google_ads/v6/services/feed_item_service_pb"
1517
1983
  op = Google::Ads::GoogleAds::V6::Services::FeedItemOperation.new
1518
- if !res.nil?
1519
- op["create"] = res
1984
+ op["create"] = if !res.nil?
1985
+ res
1520
1986
  elsif !blk.nil?
1521
- op["create"] = Factories::V6::Resources.feed_item(&blk)
1987
+ Factories::V6::Resources.feed_item(&blk)
1988
+ else
1989
+ Factories::V6::Resources.feed_item
1522
1990
  end
1523
1991
 
1524
1992
  op
@@ -1537,13 +2005,15 @@ module Google
1537
2005
  # a resource instance to be used for creation in this operation.
1538
2006
  #
1539
2007
  # @return [Google::Ads::GoogleAds::V6::Services::FeedItemTargetOperation] instance that will create the resource
1540
- def self.feed_item_target(res=nil, &blk)
2008
+ def self.feed_item_target(res = nil, &blk)
1541
2009
  require "google/ads/google_ads/v6/services/feed_item_target_service_pb"
1542
2010
  op = Google::Ads::GoogleAds::V6::Services::FeedItemTargetOperation.new
1543
- if !res.nil?
1544
- op["create"] = res
2011
+ op["create"] = if !res.nil?
2012
+ res
1545
2013
  elsif !blk.nil?
1546
- op["create"] = Factories::V6::Resources.feed_item_target(&blk)
2014
+ Factories::V6::Resources.feed_item_target(&blk)
2015
+ else
2016
+ Factories::V6::Resources.feed_item_target
1547
2017
  end
1548
2018
 
1549
2019
  op
@@ -1562,13 +2032,15 @@ module Google
1562
2032
  # a resource instance to be used for creation in this operation.
1563
2033
  #
1564
2034
  # @return [Google::Ads::GoogleAds::V6::Services::FeedOperation] instance that will create the resource
1565
- def self.feed(res=nil, &blk)
2035
+ def self.feed(res = nil, &blk)
1566
2036
  require "google/ads/google_ads/v6/services/feed_service_pb"
1567
2037
  op = Google::Ads::GoogleAds::V6::Services::FeedOperation.new
1568
- if !res.nil?
1569
- op["create"] = res
2038
+ op["create"] = if !res.nil?
2039
+ res
1570
2040
  elsif !blk.nil?
1571
- op["create"] = Factories::V6::Resources.feed(&blk)
2041
+ Factories::V6::Resources.feed(&blk)
2042
+ else
2043
+ Factories::V6::Resources.feed
1572
2044
  end
1573
2045
 
1574
2046
  op
@@ -1587,13 +2059,15 @@ module Google
1587
2059
  # a resource instance to be used for creation in this operation.
1588
2060
  #
1589
2061
  # @return [Google::Ads::GoogleAds::V6::Services::KeywordPlanAdGroupOperation] instance that will create the resource
1590
- def self.keyword_plan_ad_group(res=nil, &blk)
2062
+ def self.keyword_plan_ad_group(res = nil, &blk)
1591
2063
  require "google/ads/google_ads/v6/services/keyword_plan_ad_group_service_pb"
1592
2064
  op = Google::Ads::GoogleAds::V6::Services::KeywordPlanAdGroupOperation.new
1593
- if !res.nil?
1594
- op["create"] = res
2065
+ op["create"] = if !res.nil?
2066
+ res
1595
2067
  elsif !blk.nil?
1596
- op["create"] = Factories::V6::Resources.keyword_plan_ad_group(&blk)
2068
+ Factories::V6::Resources.keyword_plan_ad_group(&blk)
2069
+ else
2070
+ Factories::V6::Resources.keyword_plan_ad_group
1597
2071
  end
1598
2072
 
1599
2073
  op
@@ -1612,13 +2086,15 @@ module Google
1612
2086
  # a resource instance to be used for creation in this operation.
1613
2087
  #
1614
2088
  # @return [Google::Ads::GoogleAds::V6::Services::KeywordPlanCampaignKeywordOperation] instance that will create the resource
1615
- def self.keyword_plan_campaign_keyword(res=nil, &blk)
2089
+ def self.keyword_plan_campaign_keyword(res = nil, &blk)
1616
2090
  require "google/ads/google_ads/v6/services/keyword_plan_campaign_keyword_service_pb"
1617
2091
  op = Google::Ads::GoogleAds::V6::Services::KeywordPlanCampaignKeywordOperation.new
1618
- if !res.nil?
1619
- op["create"] = res
2092
+ op["create"] = if !res.nil?
2093
+ res
1620
2094
  elsif !blk.nil?
1621
- op["create"] = Factories::V6::Resources.keyword_plan_campaign_keyword(&blk)
2095
+ Factories::V6::Resources.keyword_plan_campaign_keyword(&blk)
2096
+ else
2097
+ Factories::V6::Resources.keyword_plan_campaign_keyword
1622
2098
  end
1623
2099
 
1624
2100
  op
@@ -1637,13 +2113,15 @@ module Google
1637
2113
  # a resource instance to be used for creation in this operation.
1638
2114
  #
1639
2115
  # @return [Google::Ads::GoogleAds::V6::Services::KeywordPlanCampaignOperation] instance that will create the resource
1640
- def self.keyword_plan_campaign(res=nil, &blk)
2116
+ def self.keyword_plan_campaign(res = nil, &blk)
1641
2117
  require "google/ads/google_ads/v6/services/keyword_plan_campaign_service_pb"
1642
2118
  op = Google::Ads::GoogleAds::V6::Services::KeywordPlanCampaignOperation.new
1643
- if !res.nil?
1644
- op["create"] = res
2119
+ op["create"] = if !res.nil?
2120
+ res
1645
2121
  elsif !blk.nil?
1646
- op["create"] = Factories::V6::Resources.keyword_plan_campaign(&blk)
2122
+ Factories::V6::Resources.keyword_plan_campaign(&blk)
2123
+ else
2124
+ Factories::V6::Resources.keyword_plan_campaign
1647
2125
  end
1648
2126
 
1649
2127
  op
@@ -1662,13 +2140,15 @@ module Google
1662
2140
  # a resource instance to be used for creation in this operation.
1663
2141
  #
1664
2142
  # @return [Google::Ads::GoogleAds::V6::Services::KeywordPlanOperation] instance that will create the resource
1665
- def self.keyword_plan(res=nil, &blk)
2143
+ def self.keyword_plan(res = nil, &blk)
1666
2144
  require "google/ads/google_ads/v6/services/keyword_plan_service_pb"
1667
2145
  op = Google::Ads::GoogleAds::V6::Services::KeywordPlanOperation.new
1668
- if !res.nil?
1669
- op["create"] = res
2146
+ op["create"] = if !res.nil?
2147
+ res
1670
2148
  elsif !blk.nil?
1671
- op["create"] = Factories::V6::Resources.keyword_plan(&blk)
2149
+ Factories::V6::Resources.keyword_plan(&blk)
2150
+ else
2151
+ Factories::V6::Resources.keyword_plan
1672
2152
  end
1673
2153
 
1674
2154
  op
@@ -1687,13 +2167,15 @@ module Google
1687
2167
  # a resource instance to be used for creation in this operation.
1688
2168
  #
1689
2169
  # @return [Google::Ads::GoogleAds::V6::Services::MediaFileOperation] instance that will create the resource
1690
- def self.media_file(res=nil, &blk)
2170
+ def self.media_file(res = nil, &blk)
1691
2171
  require "google/ads/google_ads/v6/services/media_file_service_pb"
1692
2172
  op = Google::Ads::GoogleAds::V6::Services::MediaFileOperation.new
1693
- if !res.nil?
1694
- op["create"] = res
2173
+ op["create"] = if !res.nil?
2174
+ res
1695
2175
  elsif !blk.nil?
1696
- op["create"] = Factories::V6::Resources.media_file(&blk)
2176
+ Factories::V6::Resources.media_file(&blk)
2177
+ else
2178
+ Factories::V6::Resources.media_file
1697
2179
  end
1698
2180
 
1699
2181
  op
@@ -1712,13 +2194,15 @@ module Google
1712
2194
  # a resource instance to be used for creation in this operation.
1713
2195
  #
1714
2196
  # @return [Google::Ads::GoogleAds::V6::Services::RemarketingActionOperation] instance that will create the resource
1715
- def self.remarketing_action(res=nil, &blk)
2197
+ def self.remarketing_action(res = nil, &blk)
1716
2198
  require "google/ads/google_ads/v6/services/remarketing_action_service_pb"
1717
2199
  op = Google::Ads::GoogleAds::V6::Services::RemarketingActionOperation.new
1718
- if !res.nil?
1719
- op["create"] = res
2200
+ op["create"] = if !res.nil?
2201
+ res
1720
2202
  elsif !blk.nil?
1721
- op["create"] = Factories::V6::Resources.remarketing_action(&blk)
2203
+ Factories::V6::Resources.remarketing_action(&blk)
2204
+ else
2205
+ Factories::V6::Resources.remarketing_action
1722
2206
  end
1723
2207
 
1724
2208
  op
@@ -1737,13 +2221,15 @@ module Google
1737
2221
  # a resource instance to be used for creation in this operation.
1738
2222
  #
1739
2223
  # @return [Google::Ads::GoogleAds::V6::Services::BatchJobOperation] instance that will create the resource
1740
- def self.batch_job(res=nil, &blk)
2224
+ def self.batch_job(res = nil, &blk)
1741
2225
  require "google/ads/google_ads/v6/services/batch_job_service_pb"
1742
2226
  op = Google::Ads::GoogleAds::V6::Services::BatchJobOperation.new
1743
- if !res.nil?
1744
- op["create"] = res
2227
+ op["create"] = if !res.nil?
2228
+ res
1745
2229
  elsif !blk.nil?
1746
- op["create"] = Factories::V6::Resources.batch_job(&blk)
2230
+ Factories::V6::Resources.batch_job(&blk)
2231
+ else
2232
+ Factories::V6::Resources.batch_job
1747
2233
  end
1748
2234
 
1749
2235
  op
@@ -1762,13 +2248,15 @@ module Google
1762
2248
  # a resource instance to be used for creation in this operation.
1763
2249
  #
1764
2250
  # @return [Google::Ads::GoogleAds::V6::Services::OfflineUserDataJobOperation] instance that will create the resource
1765
- def self.offline_user_data_job(res=nil, &blk)
2251
+ def self.offline_user_data_job(res = nil, &blk)
1766
2252
  require "google/ads/google_ads/v6/services/offline_user_data_job_service_pb"
1767
2253
  op = Google::Ads::GoogleAds::V6::Services::OfflineUserDataJobOperation.new
1768
- if !res.nil?
1769
- op["create"] = res
2254
+ op["create"] = if !res.nil?
2255
+ res
1770
2256
  elsif !blk.nil?
1771
- op["create"] = Factories::V6::Resources.user_data(&blk)
2257
+ Factories::V6::Resources.user_data(&blk)
2258
+ else
2259
+ Factories::V6::Resources.user_data
1772
2260
  end
1773
2261
 
1774
2262
  op
@@ -1787,13 +2275,15 @@ module Google
1787
2275
  # a resource instance to be used for creation in this operation.
1788
2276
  #
1789
2277
  # @return [Google::Ads::GoogleAds::V6::Services::UserDataOperation] instance that will create the resource
1790
- def self.user_data(res=nil, &blk)
2278
+ def self.user_data(res = nil, &blk)
1791
2279
  require "google/ads/google_ads/v6/services/user_data_service_pb"
1792
2280
  op = Google::Ads::GoogleAds::V6::Services::UserDataOperation.new
1793
- if !res.nil?
1794
- op["create"] = res
2281
+ op["create"] = if !res.nil?
2282
+ res
1795
2283
  elsif !blk.nil?
1796
- op["create"] = Factories::V6::Resources.user_data(&blk)
2284
+ Factories::V6::Resources.user_data(&blk)
2285
+ else
2286
+ Factories::V6::Resources.user_data
1797
2287
  end
1798
2288
 
1799
2289
  op
@@ -1812,13 +2302,15 @@ module Google
1812
2302
  # a resource instance to be used for creation in this operation.
1813
2303
  #
1814
2304
  # @return [Google::Ads::GoogleAds::V6::Services::AccountBudgetProposalOperation] instance that will create the resource
1815
- def self.account_budget_proposal(res=nil, &blk)
2305
+ def self.account_budget_proposal(res = nil, &blk)
1816
2306
  require "google/ads/google_ads/v6/services/account_budget_proposal_service_pb"
1817
2307
  op = Google::Ads::GoogleAds::V6::Services::AccountBudgetProposalOperation.new
1818
- if !res.nil?
1819
- op["create"] = res
2308
+ op["create"] = if !res.nil?
2309
+ res
1820
2310
  elsif !blk.nil?
1821
- op["create"] = Factories::V6::Resources.account_budget_proposal(&blk)
2311
+ Factories::V6::Resources.account_budget_proposal(&blk)
2312
+ else
2313
+ Factories::V6::Resources.account_budget_proposal
1822
2314
  end
1823
2315
 
1824
2316
  op
@@ -1837,13 +2329,15 @@ module Google
1837
2329
  # a resource instance to be used for creation in this operation.
1838
2330
  #
1839
2331
  # @return [Google::Ads::GoogleAds::V6::Services::CustomAudienceOperation] instance that will create the resource
1840
- def self.custom_audience(res=nil, &blk)
2332
+ def self.custom_audience(res = nil, &blk)
1841
2333
  require "google/ads/google_ads/v6/services/custom_audience_service_pb"
1842
2334
  op = Google::Ads::GoogleAds::V6::Services::CustomAudienceOperation.new
1843
- if !res.nil?
1844
- op["create"] = res
2335
+ op["create"] = if !res.nil?
2336
+ res
1845
2337
  elsif !blk.nil?
1846
- op["create"] = Factories::V6::Resources.custom_audience(&blk)
2338
+ Factories::V6::Resources.custom_audience(&blk)
2339
+ else
2340
+ Factories::V6::Resources.custom_audience
1847
2341
  end
1848
2342
 
1849
2343
  op
@@ -1862,13 +2356,15 @@ module Google
1862
2356
  # a resource instance to be used for creation in this operation.
1863
2357
  #
1864
2358
  # @return [Google::Ads::GoogleAds::V6::Services::BillingSetupOperation] instance that will create the resource
1865
- def self.billing_setup(res=nil, &blk)
2359
+ def self.billing_setup(res = nil, &blk)
1866
2360
  require "google/ads/google_ads/v6/services/billing_setup_service_pb"
1867
2361
  op = Google::Ads::GoogleAds::V6::Services::BillingSetupOperation.new
1868
- if !res.nil?
1869
- op["create"] = res
2362
+ op["create"] = if !res.nil?
2363
+ res
1870
2364
  elsif !blk.nil?
1871
- op["create"] = Factories::V6::Resources.billing_setup(&blk)
2365
+ Factories::V6::Resources.billing_setup(&blk)
2366
+ else
2367
+ Factories::V6::Resources.billing_setup
1872
2368
  end
1873
2369
 
1874
2370
  op
@@ -3516,7 +4012,7 @@ module Google
3516
4012
  end
3517
4013
 
3518
4014
  module RemoveResource
3519
- # A convenience method for creationg an FeedAttributeOperation instance with
4015
+ # A convenience method for creating an FeedAttributeOperation instance with
3520
4016
  # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3521
4017
  #
3522
4018
  # @param path [String] the resource name of the resource to delete.
@@ -3527,7 +4023,7 @@ module Google
3527
4023
  op
3528
4024
  end
3529
4025
 
3530
- # A convenience method for creationg an TargetRestrictionOperation instance with
4026
+ # A convenience method for creating an TargetRestrictionOperation instance with
3531
4027
  # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3532
4028
  #
3533
4029
  # @param path [String] the resource name of the resource to delete.
@@ -3538,7 +4034,7 @@ module Google
3538
4034
  op
3539
4035
  end
3540
4036
 
3541
- # A convenience method for creationg an CustomerClientLinkOperation instance with
4037
+ # A convenience method for creating an CustomerClientLinkOperation instance with
3542
4038
  # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3543
4039
  #
3544
4040
  # @param path [String] the resource name of the resource to delete.
@@ -3549,7 +4045,7 @@ module Google
3549
4045
  op
3550
4046
  end
3551
4047
 
3552
- # A convenience method for creationg an CustomInterestOperation instance with
4048
+ # A convenience method for creating an CustomInterestOperation instance with
3553
4049
  # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3554
4050
  #
3555
4051
  # @param path [String] the resource name of the resource to delete.
@@ -3560,7 +4056,7 @@ module Google
3560
4056
  op
3561
4057
  end
3562
4058
 
3563
- # A convenience method for creationg an CustomerNegativeCriterionOperation instance with
4059
+ # A convenience method for creating an CustomerNegativeCriterionOperation instance with
3564
4060
  # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3565
4061
  #
3566
4062
  # @param path [String] the resource name of the resource to delete.
@@ -3571,7 +4067,7 @@ module Google
3571
4067
  op
3572
4068
  end
3573
4069
 
3574
- # A convenience method for creationg an SharedCriterionOperation instance with
4070
+ # A convenience method for creating an SharedCriterionOperation instance with
3575
4071
  # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3576
4072
  #
3577
4073
  # @param path [String] the resource name of the resource to delete.
@@ -3582,7 +4078,7 @@ module Google
3582
4078
  op
3583
4079
  end
3584
4080
 
3585
- # A convenience method for creationg an KeywordPlanAdGroupKeywordOperation instance with
4081
+ # A convenience method for creating an KeywordPlanAdGroupKeywordOperation instance with
3586
4082
  # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3587
4083
  #
3588
4084
  # @param path [String] the resource name of the resource to delete.
@@ -3593,7 +4089,7 @@ module Google
3593
4089
  op
3594
4090
  end
3595
4091
 
3596
- # A convenience method for creationg an FeedMappingOperation instance with
4092
+ # A convenience method for creating an FeedMappingOperation instance with
3597
4093
  # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3598
4094
  #
3599
4095
  # @param path [String] the resource name of the resource to delete.
@@ -3604,7 +4100,7 @@ module Google
3604
4100
  op
3605
4101
  end
3606
4102
 
3607
- # A convenience method for creationg an FeedItemSetLinkOperation instance with
4103
+ # A convenience method for creating an FeedItemSetLinkOperation instance with
3608
4104
  # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3609
4105
  #
3610
4106
  # @param path [String] the resource name of the resource to delete.
@@ -3615,7 +4111,7 @@ module Google
3615
4111
  op
3616
4112
  end
3617
4113
 
3618
- # A convenience method for creationg an AdGroupOperation instance with
4114
+ # A convenience method for creating an AdGroupOperation instance with
3619
4115
  # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3620
4116
  #
3621
4117
  # @param path [String] the resource name of the resource to delete.
@@ -3626,7 +4122,7 @@ module Google
3626
4122
  op
3627
4123
  end
3628
4124
 
3629
- # A convenience method for creationg an FeedItemSetOperation instance with
4125
+ # A convenience method for creating an FeedItemSetOperation instance with
3630
4126
  # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3631
4127
  #
3632
4128
  # @param path [String] the resource name of the resource to delete.
@@ -3637,7 +4133,7 @@ module Google
3637
4133
  op
3638
4134
  end
3639
4135
 
3640
- # A convenience method for creationg an CampaignBidModifierOperation instance with
4136
+ # A convenience method for creating an CampaignBidModifierOperation instance with
3641
4137
  # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3642
4138
  #
3643
4139
  # @param path [String] the resource name of the resource to delete.
@@ -3648,7 +4144,7 @@ module Google
3648
4144
  op
3649
4145
  end
3650
4146
 
3651
- # A convenience method for creationg an CustomerManagerLinkOperation instance with
4147
+ # A convenience method for creating an CustomerManagerLinkOperation instance with
3652
4148
  # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3653
4149
  #
3654
4150
  # @param path [String] the resource name of the resource to delete.
@@ -3659,7 +4155,7 @@ module Google
3659
4155
  op
3660
4156
  end
3661
4157
 
3662
- # A convenience method for creationg an CampaignDraftOperation instance with
4158
+ # A convenience method for creating an CampaignDraftOperation instance with
3663
4159
  # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3664
4160
  #
3665
4161
  # @param path [String] the resource name of the resource to delete.
@@ -3670,7 +4166,7 @@ module Google
3670
4166
  op
3671
4167
  end
3672
4168
 
3673
- # A convenience method for creationg an UserListOperation instance with
4169
+ # A convenience method for creating an UserListOperation instance with
3674
4170
  # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3675
4171
  #
3676
4172
  # @param path [String] the resource name of the resource to delete.
@@ -3681,7 +4177,7 @@ module Google
3681
4177
  op
3682
4178
  end
3683
4179
 
3684
- # A convenience method for creationg an CustomerOperation instance with
4180
+ # A convenience method for creating an CustomerOperation instance with
3685
4181
  # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3686
4182
  #
3687
4183
  # @param path [String] the resource name of the resource to delete.
@@ -3692,7 +4188,7 @@ module Google
3692
4188
  op
3693
4189
  end
3694
4190
 
3695
- # A convenience method for creationg an SharedSetOperation instance with
4191
+ # A convenience method for creating an SharedSetOperation instance with
3696
4192
  # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3697
4193
  #
3698
4194
  # @param path [String] the resource name of the resource to delete.
@@ -3703,7 +4199,7 @@ module Google
3703
4199
  op
3704
4200
  end
3705
4201
 
3706
- # A convenience method for creationg an AdGroupCriterionLabelOperation instance with
4202
+ # A convenience method for creating an AdGroupCriterionLabelOperation instance with
3707
4203
  # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3708
4204
  #
3709
4205
  # @param path [String] the resource name of the resource to delete.
@@ -3714,7 +4210,7 @@ module Google
3714
4210
  op
3715
4211
  end
3716
4212
 
3717
- # A convenience method for creationg an LabelOperation instance with
4213
+ # A convenience method for creating an LabelOperation instance with
3718
4214
  # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3719
4215
  #
3720
4216
  # @param path [String] the resource name of the resource to delete.
@@ -3725,7 +4221,7 @@ module Google
3725
4221
  op
3726
4222
  end
3727
4223
 
3728
- # A convenience method for creationg an AdGroupAdLabelOperation instance with
4224
+ # A convenience method for creating an AdGroupAdLabelOperation instance with
3729
4225
  # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3730
4226
  #
3731
4227
  # @param path [String] the resource name of the resource to delete.
@@ -3736,7 +4232,7 @@ module Google
3736
4232
  op
3737
4233
  end
3738
4234
 
3739
- # A convenience method for creationg an AdGroupAdOperation instance with
4235
+ # A convenience method for creating an AdGroupAdOperation instance with
3740
4236
  # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3741
4237
  #
3742
4238
  # @param path [String] the resource name of the resource to delete.
@@ -3747,7 +4243,7 @@ module Google
3747
4243
  op
3748
4244
  end
3749
4245
 
3750
- # A convenience method for creationg an AdGroupBidModifierOperation instance with
4246
+ # A convenience method for creating an AdGroupBidModifierOperation instance with
3751
4247
  # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3752
4248
  #
3753
4249
  # @param path [String] the resource name of the resource to delete.
@@ -3758,7 +4254,7 @@ module Google
3758
4254
  op
3759
4255
  end
3760
4256
 
3761
- # A convenience method for creationg an AdGroupCriterionOperation instance with
4257
+ # A convenience method for creating an AdGroupCriterionOperation instance with
3762
4258
  # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3763
4259
  #
3764
4260
  # @param path [String] the resource name of the resource to delete.
@@ -3769,7 +4265,7 @@ module Google
3769
4265
  op
3770
4266
  end
3771
4267
 
3772
- # A convenience method for creationg an AdGroupExtensionSettingOperation instance with
4268
+ # A convenience method for creating an AdGroupExtensionSettingOperation instance with
3773
4269
  # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3774
4270
  #
3775
4271
  # @param path [String] the resource name of the resource to delete.
@@ -3780,7 +4276,7 @@ module Google
3780
4276
  op
3781
4277
  end
3782
4278
 
3783
- # A convenience method for creationg an AdGroupFeedOperation instance with
4279
+ # A convenience method for creating an AdGroupFeedOperation instance with
3784
4280
  # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3785
4281
  #
3786
4282
  # @param path [String] the resource name of the resource to delete.
@@ -3791,7 +4287,7 @@ module Google
3791
4287
  op
3792
4288
  end
3793
4289
 
3794
- # A convenience method for creationg an AdGroupLabelOperation instance with
4290
+ # A convenience method for creating an AdGroupLabelOperation instance with
3795
4291
  # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3796
4292
  #
3797
4293
  # @param path [String] the resource name of the resource to delete.
@@ -3802,7 +4298,7 @@ module Google
3802
4298
  op
3803
4299
  end
3804
4300
 
3805
- # A convenience method for creationg an AdParameterOperation instance with
4301
+ # A convenience method for creating an AdParameterOperation instance with
3806
4302
  # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3807
4303
  #
3808
4304
  # @param path [String] the resource name of the resource to delete.
@@ -3813,7 +4309,7 @@ module Google
3813
4309
  op
3814
4310
  end
3815
4311
 
3816
- # A convenience method for creationg an AdOperation instance with
4312
+ # A convenience method for creating an AdOperation instance with
3817
4313
  # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3818
4314
  #
3819
4315
  # @param path [String] the resource name of the resource to delete.
@@ -3824,7 +4320,7 @@ module Google
3824
4320
  op
3825
4321
  end
3826
4322
 
3827
- # A convenience method for creationg an AssetOperation instance with
4323
+ # A convenience method for creating an AssetOperation instance with
3828
4324
  # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3829
4325
  #
3830
4326
  # @param path [String] the resource name of the resource to delete.
@@ -3835,7 +4331,7 @@ module Google
3835
4331
  op
3836
4332
  end
3837
4333
 
3838
- # A convenience method for creationg an BiddingStrategyOperation instance with
4334
+ # A convenience method for creating an BiddingStrategyOperation instance with
3839
4335
  # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3840
4336
  #
3841
4337
  # @param path [String] the resource name of the resource to delete.
@@ -3846,7 +4342,7 @@ module Google
3846
4342
  op
3847
4343
  end
3848
4344
 
3849
- # A convenience method for creationg an CampaignAssetOperation instance with
4345
+ # A convenience method for creating an CampaignAssetOperation instance with
3850
4346
  # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3851
4347
  #
3852
4348
  # @param path [String] the resource name of the resource to delete.
@@ -3857,7 +4353,7 @@ module Google
3857
4353
  op
3858
4354
  end
3859
4355
 
3860
- # A convenience method for creationg an CampaignBudgetOperation instance with
4356
+ # A convenience method for creating an CampaignBudgetOperation instance with
3861
4357
  # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3862
4358
  #
3863
4359
  # @param path [String] the resource name of the resource to delete.
@@ -3868,7 +4364,7 @@ module Google
3868
4364
  op
3869
4365
  end
3870
4366
 
3871
- # A convenience method for creationg an CampaignCriterionOperation instance with
4367
+ # A convenience method for creating an CampaignCriterionOperation instance with
3872
4368
  # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3873
4369
  #
3874
4370
  # @param path [String] the resource name of the resource to delete.
@@ -3879,7 +4375,7 @@ module Google
3879
4375
  op
3880
4376
  end
3881
4377
 
3882
- # A convenience method for creationg an CampaignExperimentOperation instance with
4378
+ # A convenience method for creating an CampaignExperimentOperation instance with
3883
4379
  # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3884
4380
  #
3885
4381
  # @param path [String] the resource name of the resource to delete.
@@ -3890,7 +4386,7 @@ module Google
3890
4386
  op
3891
4387
  end
3892
4388
 
3893
- # A convenience method for creationg an CampaignExtensionSettingOperation instance with
4389
+ # A convenience method for creating an CampaignExtensionSettingOperation instance with
3894
4390
  # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3895
4391
  #
3896
4392
  # @param path [String] the resource name of the resource to delete.
@@ -3901,7 +4397,7 @@ module Google
3901
4397
  op
3902
4398
  end
3903
4399
 
3904
- # A convenience method for creationg an CampaignFeedOperation instance with
4400
+ # A convenience method for creating an CampaignFeedOperation instance with
3905
4401
  # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3906
4402
  #
3907
4403
  # @param path [String] the resource name of the resource to delete.
@@ -3912,7 +4408,7 @@ module Google
3912
4408
  op
3913
4409
  end
3914
4410
 
3915
- # A convenience method for creationg an CampaignLabelOperation instance with
4411
+ # A convenience method for creating an CampaignLabelOperation instance with
3916
4412
  # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3917
4413
  #
3918
4414
  # @param path [String] the resource name of the resource to delete.
@@ -3923,7 +4419,7 @@ module Google
3923
4419
  op
3924
4420
  end
3925
4421
 
3926
- # A convenience method for creationg an CampaignOperation instance with
4422
+ # A convenience method for creating an CampaignOperation instance with
3927
4423
  # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3928
4424
  #
3929
4425
  # @param path [String] the resource name of the resource to delete.
@@ -3934,7 +4430,7 @@ module Google
3934
4430
  op
3935
4431
  end
3936
4432
 
3937
- # A convenience method for creationg an CampaignSharedSetOperation instance with
4433
+ # A convenience method for creating an CampaignSharedSetOperation instance with
3938
4434
  # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3939
4435
  #
3940
4436
  # @param path [String] the resource name of the resource to delete.
@@ -3945,7 +4441,7 @@ module Google
3945
4441
  op
3946
4442
  end
3947
4443
 
3948
- # A convenience method for creationg an ConversionActionOperation instance with
4444
+ # A convenience method for creating an ConversionActionOperation instance with
3949
4445
  # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3950
4446
  #
3951
4447
  # @param path [String] the resource name of the resource to delete.
@@ -3956,7 +4452,7 @@ module Google
3956
4452
  op
3957
4453
  end
3958
4454
 
3959
- # A convenience method for creationg an CustomerExtensionSettingOperation instance with
4455
+ # A convenience method for creating an CustomerExtensionSettingOperation instance with
3960
4456
  # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3961
4457
  #
3962
4458
  # @param path [String] the resource name of the resource to delete.
@@ -3967,7 +4463,7 @@ module Google
3967
4463
  op
3968
4464
  end
3969
4465
 
3970
- # A convenience method for creationg an CustomerFeedOperation instance with
4466
+ # A convenience method for creating an CustomerFeedOperation instance with
3971
4467
  # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3972
4468
  #
3973
4469
  # @param path [String] the resource name of the resource to delete.
@@ -3978,7 +4474,7 @@ module Google
3978
4474
  op
3979
4475
  end
3980
4476
 
3981
- # A convenience method for creationg an CustomerLabelOperation instance with
4477
+ # A convenience method for creating an CustomerLabelOperation instance with
3982
4478
  # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3983
4479
  #
3984
4480
  # @param path [String] the resource name of the resource to delete.
@@ -3989,7 +4485,7 @@ module Google
3989
4485
  op
3990
4486
  end
3991
4487
 
3992
- # A convenience method for creationg an ExtensionFeedItemOperation instance with
4488
+ # A convenience method for creating an ExtensionFeedItemOperation instance with
3993
4489
  # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3994
4490
  #
3995
4491
  # @param path [String] the resource name of the resource to delete.
@@ -4000,7 +4496,7 @@ module Google
4000
4496
  op
4001
4497
  end
4002
4498
 
4003
- # A convenience method for creationg an FeedItemOperation instance with
4499
+ # A convenience method for creating an FeedItemOperation instance with
4004
4500
  # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
4005
4501
  #
4006
4502
  # @param path [String] the resource name of the resource to delete.
@@ -4011,7 +4507,7 @@ module Google
4011
4507
  op
4012
4508
  end
4013
4509
 
4014
- # A convenience method for creationg an FeedItemTargetOperation instance with
4510
+ # A convenience method for creating an FeedItemTargetOperation instance with
4015
4511
  # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
4016
4512
  #
4017
4513
  # @param path [String] the resource name of the resource to delete.
@@ -4022,7 +4518,7 @@ module Google
4022
4518
  op
4023
4519
  end
4024
4520
 
4025
- # A convenience method for creationg an FeedOperation instance with
4521
+ # A convenience method for creating an FeedOperation instance with
4026
4522
  # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
4027
4523
  #
4028
4524
  # @param path [String] the resource name of the resource to delete.
@@ -4033,7 +4529,7 @@ module Google
4033
4529
  op
4034
4530
  end
4035
4531
 
4036
- # A convenience method for creationg an KeywordPlanAdGroupOperation instance with
4532
+ # A convenience method for creating an KeywordPlanAdGroupOperation instance with
4037
4533
  # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
4038
4534
  #
4039
4535
  # @param path [String] the resource name of the resource to delete.
@@ -4044,7 +4540,7 @@ module Google
4044
4540
  op
4045
4541
  end
4046
4542
 
4047
- # A convenience method for creationg an KeywordPlanCampaignKeywordOperation instance with
4543
+ # A convenience method for creating an KeywordPlanCampaignKeywordOperation instance with
4048
4544
  # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
4049
4545
  #
4050
4546
  # @param path [String] the resource name of the resource to delete.
@@ -4055,7 +4551,7 @@ module Google
4055
4551
  op
4056
4552
  end
4057
4553
 
4058
- # A convenience method for creationg an KeywordPlanCampaignOperation instance with
4554
+ # A convenience method for creating an KeywordPlanCampaignOperation instance with
4059
4555
  # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
4060
4556
  #
4061
4557
  # @param path [String] the resource name of the resource to delete.
@@ -4066,7 +4562,7 @@ module Google
4066
4562
  op
4067
4563
  end
4068
4564
 
4069
- # A convenience method for creationg an KeywordPlanOperation instance with
4565
+ # A convenience method for creating an KeywordPlanOperation instance with
4070
4566
  # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
4071
4567
  #
4072
4568
  # @param path [String] the resource name of the resource to delete.
@@ -4077,7 +4573,7 @@ module Google
4077
4573
  op
4078
4574
  end
4079
4575
 
4080
- # A convenience method for creationg an MediaFileOperation instance with
4576
+ # A convenience method for creating an MediaFileOperation instance with
4081
4577
  # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
4082
4578
  #
4083
4579
  # @param path [String] the resource name of the resource to delete.
@@ -4088,7 +4584,7 @@ module Google
4088
4584
  op
4089
4585
  end
4090
4586
 
4091
- # A convenience method for creationg an RemarketingActionOperation instance with
4587
+ # A convenience method for creating an RemarketingActionOperation instance with
4092
4588
  # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
4093
4589
  #
4094
4590
  # @param path [String] the resource name of the resource to delete.
@@ -4099,7 +4595,7 @@ module Google
4099
4595
  op
4100
4596
  end
4101
4597
 
4102
- # A convenience method for creationg an MutateOperation instance with
4598
+ # A convenience method for creating an MutateOperation instance with
4103
4599
  # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
4104
4600
  #
4105
4601
  # @param path [String] the resource name of the resource to delete.
@@ -4110,7 +4606,7 @@ module Google
4110
4606
  op
4111
4607
  end
4112
4608
 
4113
- # A convenience method for creationg an BatchJobOperation instance with
4609
+ # A convenience method for creating an BatchJobOperation instance with
4114
4610
  # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
4115
4611
  #
4116
4612
  # @param path [String] the resource name of the resource to delete.
@@ -4121,7 +4617,7 @@ module Google
4121
4617
  op
4122
4618
  end
4123
4619
 
4124
- # A convenience method for creationg an OfflineUserDataJobOperation instance with
4620
+ # A convenience method for creating an OfflineUserDataJobOperation instance with
4125
4621
  # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
4126
4622
  #
4127
4623
  # @param path [String] the resource name of the resource to delete.
@@ -4132,7 +4628,7 @@ module Google
4132
4628
  op
4133
4629
  end
4134
4630
 
4135
- # A convenience method for creationg an UserDataOperation instance with
4631
+ # A convenience method for creating an UserDataOperation instance with
4136
4632
  # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
4137
4633
  #
4138
4634
  # @param path [String] the resource name of the resource to delete.
@@ -4143,7 +4639,7 @@ module Google
4143
4639
  op
4144
4640
  end
4145
4641
 
4146
- # A convenience method for creationg an AccountBudgetProposalOperation instance with
4642
+ # A convenience method for creating an AccountBudgetProposalOperation instance with
4147
4643
  # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
4148
4644
  #
4149
4645
  # @param path [String] the resource name of the resource to delete.
@@ -4154,7 +4650,7 @@ module Google
4154
4650
  op
4155
4651
  end
4156
4652
 
4157
- # A convenience method for creationg an ApplyRecommendationOperation instance with
4653
+ # A convenience method for creating an ApplyRecommendationOperation instance with
4158
4654
  # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
4159
4655
  #
4160
4656
  # @param path [String] the resource name of the resource to delete.
@@ -4165,7 +4661,7 @@ module Google
4165
4661
  op
4166
4662
  end
4167
4663
 
4168
- # A convenience method for creationg an DismissRecommendationOperation instance with
4664
+ # A convenience method for creating an DismissRecommendationOperation instance with
4169
4665
  # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
4170
4666
  #
4171
4667
  # @param path [String] the resource name of the resource to delete.
@@ -4176,7 +4672,7 @@ module Google
4176
4672
  op
4177
4673
  end
4178
4674
 
4179
- # A convenience method for creationg an AccountLinkOperation instance with
4675
+ # A convenience method for creating an AccountLinkOperation instance with
4180
4676
  # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
4181
4677
  #
4182
4678
  # @param path [String] the resource name of the resource to delete.
@@ -4187,7 +4683,7 @@ module Google
4187
4683
  op
4188
4684
  end
4189
4685
 
4190
- # A convenience method for creationg an CustomAudienceOperation instance with
4686
+ # A convenience method for creating an CustomAudienceOperation instance with
4191
4687
  # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
4192
4688
  #
4193
4689
  # @param path [String] the resource name of the resource to delete.
@@ -4198,7 +4694,7 @@ module Google
4198
4694
  op
4199
4695
  end
4200
4696
 
4201
- # A convenience method for creationg an CustomerUserAccessOperation instance with
4697
+ # A convenience method for creating an CustomerUserAccessOperation instance with
4202
4698
  # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
4203
4699
  #
4204
4700
  # @param path [String] the resource name of the resource to delete.
@@ -4209,7 +4705,7 @@ module Google
4209
4705
  op
4210
4706
  end
4211
4707
 
4212
- # A convenience method for creationg an MerchantCenterLinkOperation instance with
4708
+ # A convenience method for creating an MerchantCenterLinkOperation instance with
4213
4709
  # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
4214
4710
  #
4215
4711
  # @param path [String] the resource name of the resource to delete.
@@ -4220,7 +4716,7 @@ module Google
4220
4716
  op
4221
4717
  end
4222
4718
 
4223
- # A convenience method for creationg an BillingSetupOperation instance with
4719
+ # A convenience method for creating an BillingSetupOperation instance with
4224
4720
  # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
4225
4721
  #
4226
4722
  # @param path [String] the resource name of the resource to delete.