google-ads-googleads 3.2.0 → 4.0.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.
@@ -12,108 +12,124 @@ module Google
12
12
  Google::Ads::GoogleAds::V1::Resources::FeedAttributeOperation.new
13
13
  end
14
14
 
15
- # Create a new CampaignExperimentOperation
15
+ # Create a new AdGroupCriterionLabelOperation
16
16
  #
17
- # @return [Google::Ads::GoogleAds::V1::Services::CampaignExperimentOperation] the operation
18
- def self.campaign_experiment
19
- require "google/ads/google_ads/v1/services/campaign_experiment_service_pb.rb"
20
- Google::Ads::GoogleAds::V1::Services::CampaignExperimentOperation.new
17
+ # @return [Google::Ads::GoogleAds::V1::Services::AdGroupCriterionLabelOperation] the operation
18
+ def self.ad_group_criterion_label
19
+ require "google/ads/google_ads/v1/services/ad_group_criterion_label_service_pb.rb"
20
+ Google::Ads::GoogleAds::V1::Services::AdGroupCriterionLabelOperation.new
21
21
  end
22
22
 
23
- # Create a new KeywordPlanKeywordOperation
23
+ # Create a new CustomerManagerLinkOperation
24
24
  #
25
- # @return [Google::Ads::GoogleAds::V1::Services::KeywordPlanKeywordOperation] the operation
26
- def self.keyword_plan_keyword
27
- require "google/ads/google_ads/v1/services/keyword_plan_keyword_service_pb.rb"
28
- Google::Ads::GoogleAds::V1::Services::KeywordPlanKeywordOperation.new
25
+ # @return [Google::Ads::GoogleAds::V1::Services::CustomerManagerLinkOperation] the operation
26
+ def self.customer_manager_link
27
+ require "google/ads/google_ads/v1/services/customer_manager_link_service_pb.rb"
28
+ Google::Ads::GoogleAds::V1::Services::CustomerManagerLinkOperation.new
29
29
  end
30
30
 
31
- # Create a new KeywordPlanOperation
31
+ # Create a new KeywordPlanCampaignOperation
32
32
  #
33
- # @return [Google::Ads::GoogleAds::V1::Services::KeywordPlanOperation] the operation
34
- def self.keyword_plan
35
- require "google/ads/google_ads/v1/services/keyword_plan_service_pb.rb"
36
- Google::Ads::GoogleAds::V1::Services::KeywordPlanOperation.new
33
+ # @return [Google::Ads::GoogleAds::V1::Services::KeywordPlanCampaignOperation] the operation
34
+ def self.keyword_plan_campaign
35
+ require "google/ads/google_ads/v1/services/keyword_plan_campaign_service_pb.rb"
36
+ Google::Ads::GoogleAds::V1::Services::KeywordPlanCampaignOperation.new
37
37
  end
38
38
 
39
- # Create a new LabelOperation
39
+ # Create a new SharedSetOperation
40
40
  #
41
- # @return [Google::Ads::GoogleAds::V1::Services::LabelOperation] the operation
42
- def self.label
43
- require "google/ads/google_ads/v1/services/label_service_pb.rb"
44
- Google::Ads::GoogleAds::V1::Services::LabelOperation.new
41
+ # @return [Google::Ads::GoogleAds::V1::Services::SharedSetOperation] the operation
42
+ def self.shared_set
43
+ require "google/ads/google_ads/v1/services/shared_set_service_pb.rb"
44
+ Google::Ads::GoogleAds::V1::Services::SharedSetOperation.new
45
45
  end
46
46
 
47
- # Create a new CampaignCriterionOperation
47
+ # Create a new FeedOperation
48
48
  #
49
- # @return [Google::Ads::GoogleAds::V1::Services::CampaignCriterionOperation] the operation
50
- def self.campaign_criterion
51
- require "google/ads/google_ads/v1/services/campaign_criterion_service_pb.rb"
52
- Google::Ads::GoogleAds::V1::Services::CampaignCriterionOperation.new
49
+ # @return [Google::Ads::GoogleAds::V1::Services::FeedOperation] the operation
50
+ def self.feed
51
+ require "google/ads/google_ads/v1/services/feed_service_pb.rb"
52
+ Google::Ads::GoogleAds::V1::Services::FeedOperation.new
53
53
  end
54
54
 
55
- # Create a new CampaignLabelOperation
55
+ # Create a new AdGroupAdLabelOperation
56
56
  #
57
- # @return [Google::Ads::GoogleAds::V1::Services::CampaignLabelOperation] the operation
58
- def self.campaign_label
59
- require "google/ads/google_ads/v1/services/campaign_label_service_pb.rb"
60
- Google::Ads::GoogleAds::V1::Services::CampaignLabelOperation.new
57
+ # @return [Google::Ads::GoogleAds::V1::Services::AdGroupAdLabelOperation] the operation
58
+ def self.ad_group_ad_label
59
+ require "google/ads/google_ads/v1/services/ad_group_ad_label_service_pb.rb"
60
+ Google::Ads::GoogleAds::V1::Services::AdGroupAdLabelOperation.new
61
61
  end
62
62
 
63
- # Create a new CustomInterestOperation
63
+ # Create a new CustomerClientLinkOperation
64
64
  #
65
- # @return [Google::Ads::GoogleAds::V1::Services::CustomInterestOperation] the operation
66
- def self.custom_interest
67
- require "google/ads/google_ads/v1/services/custom_interest_service_pb.rb"
68
- Google::Ads::GoogleAds::V1::Services::CustomInterestOperation.new
65
+ # @return [Google::Ads::GoogleAds::V1::Services::CustomerClientLinkOperation] the operation
66
+ def self.customer_client_link
67
+ require "google/ads/google_ads/v1/services/customer_client_link_service_pb.rb"
68
+ Google::Ads::GoogleAds::V1::Services::CustomerClientLinkOperation.new
69
69
  end
70
70
 
71
- # Create a new ApplyRecommendationOperation
71
+ # Create a new CampaignSharedSetOperation
72
72
  #
73
- # @return [Google::Ads::GoogleAds::V1::Services::ApplyRecommendationOperation] the operation
74
- def self.apply_recommendation
75
- require "google/ads/google_ads/v1/services/recommendation_service_pb.rb"
76
- Google::Ads::GoogleAds::V1::Services::ApplyRecommendationOperation.new
73
+ # @return [Google::Ads::GoogleAds::V1::Services::CampaignSharedSetOperation] the operation
74
+ def self.campaign_shared_set
75
+ require "google/ads/google_ads/v1/services/campaign_shared_set_service_pb.rb"
76
+ Google::Ads::GoogleAds::V1::Services::CampaignSharedSetOperation.new
77
77
  end
78
78
 
79
- # Create a new DismissRecommendationOperation
79
+ # Create a new MerchantCenterLinkOperation
80
80
  #
81
- # @return [Google::Ads::GoogleAds::V1::Services::DismissRecommendationRequest::DismissRecommendationOperation] the operation
82
- def self.dismiss_recommendation
83
- require "google/ads/google_ads/v1/services/recommendation_service_pb.rb"
84
- Google::Ads::GoogleAds::V1::Services::DismissRecommendationRequest::DismissRecommendationOperation.new
81
+ # @return [Google::Ads::GoogleAds::V1::Services::MerchantCenterLinkOperation] the operation
82
+ def self.merchant_center_link
83
+ require "google/ads/google_ads/v1/services/merchant_center_link_service_pb.rb"
84
+ Google::Ads::GoogleAds::V1::Services::MerchantCenterLinkOperation.new
85
85
  end
86
86
 
87
- # Create a new FeedMappingOperation
87
+ # Create a new AdGroupBidModifierOperation
88
88
  #
89
- # @return [Google::Ads::GoogleAds::V1::Services::FeedMappingOperation] the operation
90
- def self.feed_mapping
91
- require "google/ads/google_ads/v1/services/feed_mapping_service_pb.rb"
92
- Google::Ads::GoogleAds::V1::Services::FeedMappingOperation.new
89
+ # @return [Google::Ads::GoogleAds::V1::Services::AdGroupBidModifierOperation] the operation
90
+ def self.ad_group_bid_modifier
91
+ require "google/ads/google_ads/v1/services/ad_group_bid_modifier_service_pb.rb"
92
+ Google::Ads::GoogleAds::V1::Services::AdGroupBidModifierOperation.new
93
93
  end
94
94
 
95
- # Create a new AdGroupCriterionLabelOperation
95
+ # Create a new CampaignFeedOperation
96
96
  #
97
- # @return [Google::Ads::GoogleAds::V1::Services::AdGroupCriterionLabelOperation] the operation
98
- def self.ad_group_criterion_label
99
- require "google/ads/google_ads/v1/services/ad_group_criterion_label_service_pb.rb"
100
- Google::Ads::GoogleAds::V1::Services::AdGroupCriterionLabelOperation.new
97
+ # @return [Google::Ads::GoogleAds::V1::Services::CampaignFeedOperation] the operation
98
+ def self.campaign_feed
99
+ require "google/ads/google_ads/v1/services/campaign_feed_service_pb.rb"
100
+ Google::Ads::GoogleAds::V1::Services::CampaignFeedOperation.new
101
101
  end
102
102
 
103
- # Create a new AssetOperation
103
+ # Create a new SharedCriterionOperation
104
104
  #
105
- # @return [Google::Ads::GoogleAds::V1::Services::AssetOperation] the operation
106
- def self.asset
107
- require "google/ads/google_ads/v1/services/asset_service_pb.rb"
108
- Google::Ads::GoogleAds::V1::Services::AssetOperation.new
105
+ # @return [Google::Ads::GoogleAds::V1::Services::SharedCriterionOperation] the operation
106
+ def self.shared_criterion
107
+ require "google/ads/google_ads/v1/services/shared_criterion_service_pb.rb"
108
+ Google::Ads::GoogleAds::V1::Services::SharedCriterionOperation.new
109
109
  end
110
110
 
111
- # Create a new AdGroupAdLabelOperation
111
+ # Create a new RemarketingActionOperation
112
112
  #
113
- # @return [Google::Ads::GoogleAds::V1::Services::AdGroupAdLabelOperation] the operation
114
- def self.ad_group_ad_label
115
- require "google/ads/google_ads/v1/services/ad_group_ad_label_service_pb.rb"
116
- Google::Ads::GoogleAds::V1::Services::AdGroupAdLabelOperation.new
113
+ # @return [Google::Ads::GoogleAds::V1::Services::RemarketingActionOperation] the operation
114
+ def self.remarketing_action
115
+ require "google/ads/google_ads/v1/services/remarketing_action_service_pb.rb"
116
+ Google::Ads::GoogleAds::V1::Services::RemarketingActionOperation.new
117
+ end
118
+
119
+ # Create a new AdGroupLabelOperation
120
+ #
121
+ # @return [Google::Ads::GoogleAds::V1::Services::AdGroupLabelOperation] the operation
122
+ def self.ad_group_label
123
+ require "google/ads/google_ads/v1/services/ad_group_label_service_pb.rb"
124
+ Google::Ads::GoogleAds::V1::Services::AdGroupLabelOperation.new
125
+ end
126
+
127
+ # Create a new CustomerLabelOperation
128
+ #
129
+ # @return [Google::Ads::GoogleAds::V1::Services::CustomerLabelOperation] the operation
130
+ def self.customer_label
131
+ require "google/ads/google_ads/v1/services/customer_label_service_pb.rb"
132
+ Google::Ads::GoogleAds::V1::Services::CustomerLabelOperation.new
117
133
  end
118
134
 
119
135
  # Create a new AdGroupAdOperation
@@ -124,14 +140,6 @@ module Google
124
140
  Google::Ads::GoogleAds::V1::Services::AdGroupAdOperation.new
125
141
  end
126
142
 
127
- # Create a new AdGroupBidModifierOperation
128
- #
129
- # @return [Google::Ads::GoogleAds::V1::Services::AdGroupBidModifierOperation] the operation
130
- def self.ad_group_bid_modifier
131
- require "google/ads/google_ads/v1/services/ad_group_bid_modifier_service_pb.rb"
132
- Google::Ads::GoogleAds::V1::Services::AdGroupBidModifierOperation.new
133
- end
134
-
135
143
  # Create a new AdGroupCriterionOperation
136
144
  #
137
145
  # @return [Google::Ads::GoogleAds::V1::Services::AdGroupCriterionOperation] the operation
@@ -156,14 +164,6 @@ module Google
156
164
  Google::Ads::GoogleAds::V1::Services::AdGroupFeedOperation.new
157
165
  end
158
166
 
159
- # Create a new AdGroupLabelOperation
160
- #
161
- # @return [Google::Ads::GoogleAds::V1::Services::AdGroupLabelOperation] the operation
162
- def self.ad_group_label
163
- require "google/ads/google_ads/v1/services/ad_group_label_service_pb.rb"
164
- Google::Ads::GoogleAds::V1::Services::AdGroupLabelOperation.new
165
- end
166
-
167
167
  # Create a new AdGroupOperation
168
168
  #
169
169
  # @return [Google::Ads::GoogleAds::V1::Services::AdGroupOperation] the operation
@@ -180,6 +180,14 @@ module Google
180
180
  Google::Ads::GoogleAds::V1::Services::AdParameterOperation.new
181
181
  end
182
182
 
183
+ # Create a new AssetOperation
184
+ #
185
+ # @return [Google::Ads::GoogleAds::V1::Services::AssetOperation] the operation
186
+ def self.asset
187
+ require "google/ads/google_ads/v1/services/asset_service_pb.rb"
188
+ Google::Ads::GoogleAds::V1::Services::AssetOperation.new
189
+ end
190
+
183
191
  # Create a new BiddingStrategyOperation
184
192
  #
185
193
  # @return [Google::Ads::GoogleAds::V1::Services::BiddingStrategyOperation] the operation
@@ -204,6 +212,14 @@ module Google
204
212
  Google::Ads::GoogleAds::V1::Services::CampaignBudgetOperation.new
205
213
  end
206
214
 
215
+ # Create a new CampaignCriterionOperation
216
+ #
217
+ # @return [Google::Ads::GoogleAds::V1::Services::CampaignCriterionOperation] the operation
218
+ def self.campaign_criterion
219
+ require "google/ads/google_ads/v1/services/campaign_criterion_service_pb.rb"
220
+ Google::Ads::GoogleAds::V1::Services::CampaignCriterionOperation.new
221
+ end
222
+
207
223
  # Create a new CampaignDraftOperation
208
224
  #
209
225
  # @return [Google::Ads::GoogleAds::V1::Services::CampaignDraftOperation] the operation
@@ -212,6 +228,14 @@ module Google
212
228
  Google::Ads::GoogleAds::V1::Services::CampaignDraftOperation.new
213
229
  end
214
230
 
231
+ # Create a new CampaignExperimentOperation
232
+ #
233
+ # @return [Google::Ads::GoogleAds::V1::Services::CampaignExperimentOperation] the operation
234
+ def self.campaign_experiment
235
+ require "google/ads/google_ads/v1/services/campaign_experiment_service_pb.rb"
236
+ Google::Ads::GoogleAds::V1::Services::CampaignExperimentOperation.new
237
+ end
238
+
215
239
  # Create a new CampaignExtensionSettingOperation
216
240
  #
217
241
  # @return [Google::Ads::GoogleAds::V1::Services::CampaignExtensionSettingOperation] the operation
@@ -220,12 +244,12 @@ module Google
220
244
  Google::Ads::GoogleAds::V1::Services::CampaignExtensionSettingOperation.new
221
245
  end
222
246
 
223
- # Create a new CampaignFeedOperation
247
+ # Create a new CampaignLabelOperation
224
248
  #
225
- # @return [Google::Ads::GoogleAds::V1::Services::CampaignFeedOperation] the operation
226
- def self.campaign_feed
227
- require "google/ads/google_ads/v1/services/campaign_feed_service_pb.rb"
228
- Google::Ads::GoogleAds::V1::Services::CampaignFeedOperation.new
249
+ # @return [Google::Ads::GoogleAds::V1::Services::CampaignLabelOperation] the operation
250
+ def self.campaign_label
251
+ require "google/ads/google_ads/v1/services/campaign_label_service_pb.rb"
252
+ Google::Ads::GoogleAds::V1::Services::CampaignLabelOperation.new
229
253
  end
230
254
 
231
255
  # Create a new CampaignOperation
@@ -236,14 +260,6 @@ module Google
236
260
  Google::Ads::GoogleAds::V1::Services::CampaignOperation.new
237
261
  end
238
262
 
239
- # Create a new CampaignSharedSetOperation
240
- #
241
- # @return [Google::Ads::GoogleAds::V1::Services::CampaignSharedSetOperation] the operation
242
- def self.campaign_shared_set
243
- require "google/ads/google_ads/v1/services/campaign_shared_set_service_pb.rb"
244
- Google::Ads::GoogleAds::V1::Services::CampaignSharedSetOperation.new
245
- end
246
-
247
263
  # Create a new ConversionActionOperation
248
264
  #
249
265
  # @return [Google::Ads::GoogleAds::V1::Services::ConversionActionOperation] the operation
@@ -268,14 +284,6 @@ module Google
268
284
  Google::Ads::GoogleAds::V1::Services::CustomerFeedOperation.new
269
285
  end
270
286
 
271
- # Create a new CustomerLabelOperation
272
- #
273
- # @return [Google::Ads::GoogleAds::V1::Services::CustomerLabelOperation] the operation
274
- def self.customer_label
275
- require "google/ads/google_ads/v1/services/customer_label_service_pb.rb"
276
- Google::Ads::GoogleAds::V1::Services::CustomerLabelOperation.new
277
- end
278
-
279
287
  # Create a new CustomerNegativeCriterionOperation
280
288
  #
281
289
  # @return [Google::Ads::GoogleAds::V1::Services::CustomerNegativeCriterionOperation] the operation
@@ -316,12 +324,20 @@ module Google
316
324
  Google::Ads::GoogleAds::V1::Services::FeedItemTargetOperation.new
317
325
  end
318
326
 
319
- # Create a new FeedOperation
327
+ # Create a new FeedMappingOperation
320
328
  #
321
- # @return [Google::Ads::GoogleAds::V1::Services::FeedOperation] the operation
322
- def self.feed
323
- require "google/ads/google_ads/v1/services/feed_service_pb.rb"
324
- Google::Ads::GoogleAds::V1::Services::FeedOperation.new
329
+ # @return [Google::Ads::GoogleAds::V1::Services::FeedMappingOperation] the operation
330
+ def self.feed_mapping
331
+ require "google/ads/google_ads/v1/services/feed_mapping_service_pb.rb"
332
+ Google::Ads::GoogleAds::V1::Services::FeedMappingOperation.new
333
+ end
334
+
335
+ # Create a new LabelOperation
336
+ #
337
+ # @return [Google::Ads::GoogleAds::V1::Services::LabelOperation] the operation
338
+ def self.label
339
+ require "google/ads/google_ads/v1/services/label_service_pb.rb"
340
+ Google::Ads::GoogleAds::V1::Services::LabelOperation.new
325
341
  end
326
342
 
327
343
  # Create a new MediaFileOperation
@@ -332,30 +348,6 @@ module Google
332
348
  Google::Ads::GoogleAds::V1::Services::MediaFileOperation.new
333
349
  end
334
350
 
335
- # Create a new RemarketingActionOperation
336
- #
337
- # @return [Google::Ads::GoogleAds::V1::Services::RemarketingActionOperation] the operation
338
- def self.remarketing_action
339
- require "google/ads/google_ads/v1/services/remarketing_action_service_pb.rb"
340
- Google::Ads::GoogleAds::V1::Services::RemarketingActionOperation.new
341
- end
342
-
343
- # Create a new SharedCriterionOperation
344
- #
345
- # @return [Google::Ads::GoogleAds::V1::Services::SharedCriterionOperation] the operation
346
- def self.shared_criterion
347
- require "google/ads/google_ads/v1/services/shared_criterion_service_pb.rb"
348
- Google::Ads::GoogleAds::V1::Services::SharedCriterionOperation.new
349
- end
350
-
351
- # Create a new SharedSetOperation
352
- #
353
- # @return [Google::Ads::GoogleAds::V1::Services::SharedSetOperation] the operation
354
- def self.shared_set
355
- require "google/ads/google_ads/v1/services/shared_set_service_pb.rb"
356
- Google::Ads::GoogleAds::V1::Services::SharedSetOperation.new
357
- end
358
-
359
351
  # Create a new UserListOperation
360
352
  #
361
353
  # @return [Google::Ads::GoogleAds::V1::Services::UserListOperation] the operation
@@ -372,12 +364,20 @@ module Google
372
364
  Google::Ads::GoogleAds::V1::Services::MutateOperation.new
373
365
  end
374
366
 
375
- # Create a new KeywordPlanCampaignOperation
367
+ # Create a new KeywordPlanKeywordOperation
376
368
  #
377
- # @return [Google::Ads::GoogleAds::V1::Services::KeywordPlanCampaignOperation] the operation
378
- def self.keyword_plan_campaign
379
- require "google/ads/google_ads/v1/services/keyword_plan_campaign_service_pb.rb"
380
- Google::Ads::GoogleAds::V1::Services::KeywordPlanCampaignOperation.new
369
+ # @return [Google::Ads::GoogleAds::V1::Services::KeywordPlanKeywordOperation] the operation
370
+ def self.keyword_plan_keyword
371
+ require "google/ads/google_ads/v1/services/keyword_plan_keyword_service_pb.rb"
372
+ Google::Ads::GoogleAds::V1::Services::KeywordPlanKeywordOperation.new
373
+ end
374
+
375
+ # Create a new KeywordPlanAdGroupOperation
376
+ #
377
+ # @return [Google::Ads::GoogleAds::V1::Services::KeywordPlanAdGroupOperation] the operation
378
+ def self.keyword_plan_ad_group
379
+ require "google/ads/google_ads/v1/services/keyword_plan_ad_group_service_pb.rb"
380
+ Google::Ads::GoogleAds::V1::Services::KeywordPlanAdGroupOperation.new
381
381
  end
382
382
 
383
383
  # Create a new BillingSetupOperation
@@ -388,52 +388,52 @@ module Google
388
388
  Google::Ads::GoogleAds::V1::Services::BillingSetupOperation.new
389
389
  end
390
390
 
391
- # Create a new CustomerClientLinkOperation
391
+ # Create a new CustomInterestOperation
392
392
  #
393
- # @return [Google::Ads::GoogleAds::V1::Services::CustomerClientLinkOperation] the operation
394
- def self.customer_client_link
395
- require "google/ads/google_ads/v1/services/customer_client_link_service_pb.rb"
396
- Google::Ads::GoogleAds::V1::Services::CustomerClientLinkOperation.new
393
+ # @return [Google::Ads::GoogleAds::V1::Services::CustomInterestOperation] the operation
394
+ def self.custom_interest
395
+ require "google/ads/google_ads/v1/services/custom_interest_service_pb.rb"
396
+ Google::Ads::GoogleAds::V1::Services::CustomInterestOperation.new
397
397
  end
398
398
 
399
- # Create a new AccountBudgetProposalOperation
399
+ # Create a new KeywordPlanNegativeKeywordOperation
400
400
  #
401
- # @return [Google::Ads::GoogleAds::V1::Services::AccountBudgetProposalOperation] the operation
402
- def self.account_budget_proposal
403
- require "google/ads/google_ads/v1/services/account_budget_proposal_service_pb.rb"
404
- Google::Ads::GoogleAds::V1::Services::AccountBudgetProposalOperation.new
401
+ # @return [Google::Ads::GoogleAds::V1::Services::KeywordPlanNegativeKeywordOperation] the operation
402
+ def self.keyword_plan_negative_keyword
403
+ require "google/ads/google_ads/v1/services/keyword_plan_negative_keyword_service_pb.rb"
404
+ Google::Ads::GoogleAds::V1::Services::KeywordPlanNegativeKeywordOperation.new
405
405
  end
406
406
 
407
- # Create a new CustomerManagerLinkOperation
407
+ # Create a new KeywordPlanOperation
408
408
  #
409
- # @return [Google::Ads::GoogleAds::V1::Services::CustomerManagerLinkOperation] the operation
410
- def self.customer_manager_link
411
- require "google/ads/google_ads/v1/services/customer_manager_link_service_pb.rb"
412
- Google::Ads::GoogleAds::V1::Services::CustomerManagerLinkOperation.new
409
+ # @return [Google::Ads::GoogleAds::V1::Services::KeywordPlanOperation] the operation
410
+ def self.keyword_plan
411
+ require "google/ads/google_ads/v1/services/keyword_plan_service_pb.rb"
412
+ Google::Ads::GoogleAds::V1::Services::KeywordPlanOperation.new
413
413
  end
414
414
 
415
- # Create a new MerchantCenterLinkOperation
415
+ # Create a new ApplyRecommendationOperation
416
416
  #
417
- # @return [Google::Ads::GoogleAds::V1::Services::MerchantCenterLinkOperation] the operation
418
- def self.merchant_center_link
419
- require "google/ads/google_ads/v1/services/merchant_center_link_service_pb.rb"
420
- Google::Ads::GoogleAds::V1::Services::MerchantCenterLinkOperation.new
417
+ # @return [Google::Ads::GoogleAds::V1::Services::ApplyRecommendationOperation] the operation
418
+ def self.apply_recommendation
419
+ require "google/ads/google_ads/v1/services/recommendation_service_pb.rb"
420
+ Google::Ads::GoogleAds::V1::Services::ApplyRecommendationOperation.new
421
421
  end
422
422
 
423
- # Create a new KeywordPlanNegativeKeywordOperation
423
+ # Create a new DismissRecommendationOperation
424
424
  #
425
- # @return [Google::Ads::GoogleAds::V1::Services::KeywordPlanNegativeKeywordOperation] the operation
426
- def self.keyword_plan_negative_keyword
427
- require "google/ads/google_ads/v1/services/keyword_plan_negative_keyword_service_pb.rb"
428
- Google::Ads::GoogleAds::V1::Services::KeywordPlanNegativeKeywordOperation.new
425
+ # @return [Google::Ads::GoogleAds::V1::Services::DismissRecommendationRequest::DismissRecommendationOperation] the operation
426
+ def self.dismiss_recommendation
427
+ require "google/ads/google_ads/v1/services/recommendation_service_pb.rb"
428
+ Google::Ads::GoogleAds::V1::Services::DismissRecommendationRequest::DismissRecommendationOperation.new
429
429
  end
430
430
 
431
- # Create a new KeywordPlanAdGroupOperation
431
+ # Create a new AccountBudgetProposalOperation
432
432
  #
433
- # @return [Google::Ads::GoogleAds::V1::Services::KeywordPlanAdGroupOperation] the operation
434
- def self.keyword_plan_ad_group
435
- require "google/ads/google_ads/v1/services/keyword_plan_ad_group_service_pb.rb"
436
- Google::Ads::GoogleAds::V1::Services::KeywordPlanAdGroupOperation.new
433
+ # @return [Google::Ads::GoogleAds::V1::Services::AccountBudgetProposalOperation] the operation
434
+ def self.account_budget_proposal
435
+ require "google/ads/google_ads/v1/services/account_budget_proposal_service_pb.rb"
436
+ Google::Ads::GoogleAds::V1::Services::AccountBudgetProposalOperation.new
437
437
  end
438
438
 
439
439
  # Get a reference module containing convenience methods for creating
@@ -461,301 +461,351 @@ module Google
461
461
  end
462
462
 
463
463
  module CreateResource
464
- # A convenience method for creating an KeywordPlanKeywordOperation instance with
465
- # its "create" field prepopulated with an KeywordPlanKeyword instance.
464
+ # A convenience method for creating an AdGroupCriterionLabelOperation instance with
465
+ # its "create" field prepopulated with an AdGroupCriterionLabel instance.
466
466
  #
467
- # @overload keyword_plan_keyword
468
- # creates an operation instance, yielding a newly fabricated KeywordPlanKeyword
467
+ # @overload ad_group_criterion_label
468
+ # creates an operation instance, yielding a newly fabricated AdGroupCriterionLabel
469
469
  # which can be used for setting attributes on the newly created resource
470
- # @overload keyword_plan_keyword(res)
470
+ # @overload ad_group_criterion_label(res)
471
471
  # creates an operation instance, with the resource to be created
472
472
  # set to the passed value (res)
473
- # @param res [Google::Ads::GoogleAds::V1::Resources::KeywordPlanKeyword]
473
+ # @param res [Google::Ads::GoogleAds::V1::Resources::AdGroupCriterionLabel]
474
474
  # a resource instance to be used for creation in this operation.
475
475
  #
476
- # @return [Google::Ads::GoogleAds::V1::Services::KeywordPlanKeywordOperation] instance that will create the resource
477
- def self.keyword_plan_keyword(res = nil, &blk)
478
- require "google/ads/google_ads/v1/services/keyword_plan_keyword_service_pb.rb"
479
- op = Google::Ads::GoogleAds::V1::Services::KeywordPlanKeywordOperation.new
476
+ # @return [Google::Ads::GoogleAds::V1::Services::AdGroupCriterionLabelOperation] instance that will create the resource
477
+ def self.ad_group_criterion_label(res = nil, &blk)
478
+ require "google/ads/google_ads/v1/services/ad_group_criterion_label_service_pb.rb"
479
+ op = Google::Ads::GoogleAds::V1::Services::AdGroupCriterionLabelOperation.new
480
480
  if !res.nil?
481
481
  op["create"] = res
482
482
  elsif !blk.nil?
483
- op["create"] = Factories::V1::Resources.keyword_plan_keyword(&blk)
483
+ op["create"] = Factories::V1::Resources.ad_group_criterion_label(&blk)
484
484
  end
485
485
 
486
486
  op
487
487
  end
488
488
 
489
- # A convenience method for creating an KeywordPlanOperation instance with
490
- # its "create" field prepopulated with an KeywordPlan instance.
489
+ # A convenience method for creating an KeywordPlanCampaignOperation instance with
490
+ # its "create" field prepopulated with an KeywordPlanCampaign instance.
491
491
  #
492
- # @overload keyword_plan
493
- # creates an operation instance, yielding a newly fabricated KeywordPlan
492
+ # @overload keyword_plan_campaign
493
+ # creates an operation instance, yielding a newly fabricated KeywordPlanCampaign
494
494
  # which can be used for setting attributes on the newly created resource
495
- # @overload keyword_plan(res)
495
+ # @overload keyword_plan_campaign(res)
496
496
  # creates an operation instance, with the resource to be created
497
497
  # set to the passed value (res)
498
- # @param res [Google::Ads::GoogleAds::V1::Resources::KeywordPlan]
498
+ # @param res [Google::Ads::GoogleAds::V1::Resources::KeywordPlanCampaign]
499
499
  # a resource instance to be used for creation in this operation.
500
500
  #
501
- # @return [Google::Ads::GoogleAds::V1::Services::KeywordPlanOperation] instance that will create the resource
502
- def self.keyword_plan(res = nil, &blk)
503
- require "google/ads/google_ads/v1/services/keyword_plan_service_pb.rb"
504
- op = Google::Ads::GoogleAds::V1::Services::KeywordPlanOperation.new
501
+ # @return [Google::Ads::GoogleAds::V1::Services::KeywordPlanCampaignOperation] instance that will create the resource
502
+ def self.keyword_plan_campaign(res = nil, &blk)
503
+ require "google/ads/google_ads/v1/services/keyword_plan_campaign_service_pb.rb"
504
+ op = Google::Ads::GoogleAds::V1::Services::KeywordPlanCampaignOperation.new
505
505
  if !res.nil?
506
506
  op["create"] = res
507
507
  elsif !blk.nil?
508
- op["create"] = Factories::V1::Resources.keyword_plan(&blk)
508
+ op["create"] = Factories::V1::Resources.keyword_plan_campaign(&blk)
509
509
  end
510
510
 
511
511
  op
512
512
  end
513
513
 
514
- # A convenience method for creating an LabelOperation instance with
515
- # its "create" field prepopulated with an Label instance.
514
+ # A convenience method for creating an SharedSetOperation instance with
515
+ # its "create" field prepopulated with an SharedSet instance.
516
516
  #
517
- # @overload label
518
- # creates an operation instance, yielding a newly fabricated Label
517
+ # @overload shared_set
518
+ # creates an operation instance, yielding a newly fabricated SharedSet
519
519
  # which can be used for setting attributes on the newly created resource
520
- # @overload label(res)
520
+ # @overload shared_set(res)
521
521
  # creates an operation instance, with the resource to be created
522
522
  # set to the passed value (res)
523
- # @param res [Google::Ads::GoogleAds::V1::Resources::Label]
523
+ # @param res [Google::Ads::GoogleAds::V1::Resources::SharedSet]
524
524
  # a resource instance to be used for creation in this operation.
525
525
  #
526
- # @return [Google::Ads::GoogleAds::V1::Services::LabelOperation] instance that will create the resource
527
- def self.label(res = nil, &blk)
528
- require "google/ads/google_ads/v1/services/label_service_pb.rb"
529
- op = Google::Ads::GoogleAds::V1::Services::LabelOperation.new
526
+ # @return [Google::Ads::GoogleAds::V1::Services::SharedSetOperation] instance that will create the resource
527
+ def self.shared_set(res = nil, &blk)
528
+ require "google/ads/google_ads/v1/services/shared_set_service_pb.rb"
529
+ op = Google::Ads::GoogleAds::V1::Services::SharedSetOperation.new
530
530
  if !res.nil?
531
531
  op["create"] = res
532
532
  elsif !blk.nil?
533
- op["create"] = Factories::V1::Resources.label(&blk)
533
+ op["create"] = Factories::V1::Resources.shared_set(&blk)
534
534
  end
535
535
 
536
536
  op
537
537
  end
538
538
 
539
- # A convenience method for creating an CampaignCriterionOperation instance with
540
- # its "create" field prepopulated with an CampaignCriterion instance.
539
+ # A convenience method for creating an FeedOperation instance with
540
+ # its "create" field prepopulated with an Feed instance.
541
541
  #
542
- # @overload campaign_criterion
543
- # creates an operation instance, yielding a newly fabricated CampaignCriterion
542
+ # @overload feed
543
+ # creates an operation instance, yielding a newly fabricated Feed
544
544
  # which can be used for setting attributes on the newly created resource
545
- # @overload campaign_criterion(res)
545
+ # @overload feed(res)
546
546
  # creates an operation instance, with the resource to be created
547
547
  # set to the passed value (res)
548
- # @param res [Google::Ads::GoogleAds::V1::Resources::CampaignCriterion]
548
+ # @param res [Google::Ads::GoogleAds::V1::Resources::Feed]
549
549
  # a resource instance to be used for creation in this operation.
550
550
  #
551
- # @return [Google::Ads::GoogleAds::V1::Services::CampaignCriterionOperation] instance that will create the resource
552
- def self.campaign_criterion(res = nil, &blk)
553
- require "google/ads/google_ads/v1/services/campaign_criterion_service_pb.rb"
554
- op = Google::Ads::GoogleAds::V1::Services::CampaignCriterionOperation.new
551
+ # @return [Google::Ads::GoogleAds::V1::Services::FeedOperation] instance that will create the resource
552
+ def self.feed(res = nil, &blk)
553
+ require "google/ads/google_ads/v1/services/feed_service_pb.rb"
554
+ op = Google::Ads::GoogleAds::V1::Services::FeedOperation.new
555
555
  if !res.nil?
556
556
  op["create"] = res
557
557
  elsif !blk.nil?
558
- op["create"] = Factories::V1::Resources.campaign_criterion(&blk)
558
+ op["create"] = Factories::V1::Resources.feed(&blk)
559
559
  end
560
560
 
561
561
  op
562
562
  end
563
563
 
564
- # A convenience method for creating an CampaignLabelOperation instance with
565
- # its "create" field prepopulated with an CampaignLabel instance.
564
+ # A convenience method for creating an AdGroupAdLabelOperation instance with
565
+ # its "create" field prepopulated with an AdGroupAdLabel instance.
566
566
  #
567
- # @overload campaign_label
568
- # creates an operation instance, yielding a newly fabricated CampaignLabel
567
+ # @overload ad_group_ad_label
568
+ # creates an operation instance, yielding a newly fabricated AdGroupAdLabel
569
569
  # which can be used for setting attributes on the newly created resource
570
- # @overload campaign_label(res)
570
+ # @overload ad_group_ad_label(res)
571
571
  # creates an operation instance, with the resource to be created
572
572
  # set to the passed value (res)
573
- # @param res [Google::Ads::GoogleAds::V1::Resources::CampaignLabel]
573
+ # @param res [Google::Ads::GoogleAds::V1::Resources::AdGroupAdLabel]
574
574
  # a resource instance to be used for creation in this operation.
575
575
  #
576
- # @return [Google::Ads::GoogleAds::V1::Services::CampaignLabelOperation] instance that will create the resource
577
- def self.campaign_label(res = nil, &blk)
578
- require "google/ads/google_ads/v1/services/campaign_label_service_pb.rb"
579
- op = Google::Ads::GoogleAds::V1::Services::CampaignLabelOperation.new
576
+ # @return [Google::Ads::GoogleAds::V1::Services::AdGroupAdLabelOperation] instance that will create the resource
577
+ def self.ad_group_ad_label(res = nil, &blk)
578
+ require "google/ads/google_ads/v1/services/ad_group_ad_label_service_pb.rb"
579
+ op = Google::Ads::GoogleAds::V1::Services::AdGroupAdLabelOperation.new
580
580
  if !res.nil?
581
581
  op["create"] = res
582
582
  elsif !blk.nil?
583
- op["create"] = Factories::V1::Resources.campaign_label(&blk)
583
+ op["create"] = Factories::V1::Resources.ad_group_ad_label(&blk)
584
584
  end
585
585
 
586
586
  op
587
587
  end
588
588
 
589
- # A convenience method for creating an CustomInterestOperation instance with
590
- # its "create" field prepopulated with an CustomInterest instance.
589
+ # A convenience method for creating an CustomerClientLinkOperation instance with
590
+ # its "create" field prepopulated with an CustomerClientLink instance.
591
591
  #
592
- # @overload custom_interest
593
- # creates an operation instance, yielding a newly fabricated CustomInterest
592
+ # @overload customer_client_link
593
+ # creates an operation instance, yielding a newly fabricated CustomerClientLink
594
594
  # which can be used for setting attributes on the newly created resource
595
- # @overload custom_interest(res)
595
+ # @overload customer_client_link(res)
596
596
  # creates an operation instance, with the resource to be created
597
597
  # set to the passed value (res)
598
- # @param res [Google::Ads::GoogleAds::V1::Resources::CustomInterest]
598
+ # @param res [Google::Ads::GoogleAds::V1::Resources::CustomerClientLink]
599
599
  # a resource instance to be used for creation in this operation.
600
600
  #
601
- # @return [Google::Ads::GoogleAds::V1::Services::CustomInterestOperation] instance that will create the resource
602
- def self.custom_interest(res = nil, &blk)
603
- require "google/ads/google_ads/v1/services/custom_interest_service_pb.rb"
604
- op = Google::Ads::GoogleAds::V1::Services::CustomInterestOperation.new
601
+ # @return [Google::Ads::GoogleAds::V1::Services::CustomerClientLinkOperation] instance that will create the resource
602
+ def self.customer_client_link(res = nil, &blk)
603
+ require "google/ads/google_ads/v1/services/customer_client_link_service_pb.rb"
604
+ op = Google::Ads::GoogleAds::V1::Services::CustomerClientLinkOperation.new
605
605
  if !res.nil?
606
606
  op["create"] = res
607
607
  elsif !blk.nil?
608
- op["create"] = Factories::V1::Resources.custom_interest(&blk)
608
+ op["create"] = Factories::V1::Resources.customer_client_link(&blk)
609
609
  end
610
610
 
611
611
  op
612
612
  end
613
613
 
614
- # A convenience method for creating an FeedMappingOperation instance with
615
- # its "create" field prepopulated with an FeedMapping instance.
614
+ # A convenience method for creating an CampaignSharedSetOperation instance with
615
+ # its "create" field prepopulated with an CampaignSharedSet instance.
616
616
  #
617
- # @overload feed_mapping
618
- # creates an operation instance, yielding a newly fabricated FeedMapping
617
+ # @overload campaign_shared_set
618
+ # creates an operation instance, yielding a newly fabricated CampaignSharedSet
619
619
  # which can be used for setting attributes on the newly created resource
620
- # @overload feed_mapping(res)
620
+ # @overload campaign_shared_set(res)
621
621
  # creates an operation instance, with the resource to be created
622
622
  # set to the passed value (res)
623
- # @param res [Google::Ads::GoogleAds::V1::Resources::FeedMapping]
623
+ # @param res [Google::Ads::GoogleAds::V1::Resources::CampaignSharedSet]
624
624
  # a resource instance to be used for creation in this operation.
625
625
  #
626
- # @return [Google::Ads::GoogleAds::V1::Services::FeedMappingOperation] instance that will create the resource
627
- def self.feed_mapping(res = nil, &blk)
628
- require "google/ads/google_ads/v1/services/feed_mapping_service_pb.rb"
629
- op = Google::Ads::GoogleAds::V1::Services::FeedMappingOperation.new
626
+ # @return [Google::Ads::GoogleAds::V1::Services::CampaignSharedSetOperation] instance that will create the resource
627
+ def self.campaign_shared_set(res = nil, &blk)
628
+ require "google/ads/google_ads/v1/services/campaign_shared_set_service_pb.rb"
629
+ op = Google::Ads::GoogleAds::V1::Services::CampaignSharedSetOperation.new
630
630
  if !res.nil?
631
631
  op["create"] = res
632
632
  elsif !blk.nil?
633
- op["create"] = Factories::V1::Resources.feed_mapping(&blk)
633
+ op["create"] = Factories::V1::Resources.campaign_shared_set(&blk)
634
634
  end
635
635
 
636
636
  op
637
637
  end
638
638
 
639
- # A convenience method for creating an AdGroupCriterionLabelOperation instance with
640
- # its "create" field prepopulated with an AdGroupCriterionLabel instance.
639
+ # A convenience method for creating an AdGroupBidModifierOperation instance with
640
+ # its "create" field prepopulated with an AdGroupBidModifier instance.
641
641
  #
642
- # @overload ad_group_criterion_label
643
- # creates an operation instance, yielding a newly fabricated AdGroupCriterionLabel
642
+ # @overload ad_group_bid_modifier
643
+ # creates an operation instance, yielding a newly fabricated AdGroupBidModifier
644
644
  # which can be used for setting attributes on the newly created resource
645
- # @overload ad_group_criterion_label(res)
645
+ # @overload ad_group_bid_modifier(res)
646
646
  # creates an operation instance, with the resource to be created
647
647
  # set to the passed value (res)
648
- # @param res [Google::Ads::GoogleAds::V1::Resources::AdGroupCriterionLabel]
648
+ # @param res [Google::Ads::GoogleAds::V1::Resources::AdGroupBidModifier]
649
649
  # a resource instance to be used for creation in this operation.
650
650
  #
651
- # @return [Google::Ads::GoogleAds::V1::Services::AdGroupCriterionLabelOperation] instance that will create the resource
652
- def self.ad_group_criterion_label(res = nil, &blk)
653
- require "google/ads/google_ads/v1/services/ad_group_criterion_label_service_pb.rb"
654
- op = Google::Ads::GoogleAds::V1::Services::AdGroupCriterionLabelOperation.new
651
+ # @return [Google::Ads::GoogleAds::V1::Services::AdGroupBidModifierOperation] instance that will create the resource
652
+ def self.ad_group_bid_modifier(res = nil, &blk)
653
+ require "google/ads/google_ads/v1/services/ad_group_bid_modifier_service_pb.rb"
654
+ op = Google::Ads::GoogleAds::V1::Services::AdGroupBidModifierOperation.new
655
655
  if !res.nil?
656
656
  op["create"] = res
657
657
  elsif !blk.nil?
658
- op["create"] = Factories::V1::Resources.ad_group_criterion_label(&blk)
658
+ op["create"] = Factories::V1::Resources.ad_group_bid_modifier(&blk)
659
659
  end
660
660
 
661
661
  op
662
662
  end
663
663
 
664
- # A convenience method for creating an AssetOperation instance with
665
- # its "create" field prepopulated with an Asset instance.
664
+ # A convenience method for creating an CampaignFeedOperation instance with
665
+ # its "create" field prepopulated with an CampaignFeed instance.
666
666
  #
667
- # @overload asset
668
- # creates an operation instance, yielding a newly fabricated Asset
667
+ # @overload campaign_feed
668
+ # creates an operation instance, yielding a newly fabricated CampaignFeed
669
669
  # which can be used for setting attributes on the newly created resource
670
- # @overload asset(res)
670
+ # @overload campaign_feed(res)
671
671
  # creates an operation instance, with the resource to be created
672
672
  # set to the passed value (res)
673
- # @param res [Google::Ads::GoogleAds::V1::Resources::Asset]
673
+ # @param res [Google::Ads::GoogleAds::V1::Resources::CampaignFeed]
674
674
  # a resource instance to be used for creation in this operation.
675
675
  #
676
- # @return [Google::Ads::GoogleAds::V1::Services::AssetOperation] instance that will create the resource
677
- def self.asset(res = nil, &blk)
678
- require "google/ads/google_ads/v1/services/asset_service_pb.rb"
679
- op = Google::Ads::GoogleAds::V1::Services::AssetOperation.new
676
+ # @return [Google::Ads::GoogleAds::V1::Services::CampaignFeedOperation] instance that will create the resource
677
+ def self.campaign_feed(res = nil, &blk)
678
+ require "google/ads/google_ads/v1/services/campaign_feed_service_pb.rb"
679
+ op = Google::Ads::GoogleAds::V1::Services::CampaignFeedOperation.new
680
680
  if !res.nil?
681
681
  op["create"] = res
682
682
  elsif !blk.nil?
683
- op["create"] = Factories::V1::Resources.asset(&blk)
683
+ op["create"] = Factories::V1::Resources.campaign_feed(&blk)
684
684
  end
685
685
 
686
686
  op
687
687
  end
688
688
 
689
- # A convenience method for creating an AdGroupAdLabelOperation instance with
690
- # its "create" field prepopulated with an AdGroupAdLabel instance.
689
+ # A convenience method for creating an SharedCriterionOperation instance with
690
+ # its "create" field prepopulated with an SharedCriterion instance.
691
691
  #
692
- # @overload ad_group_ad_label
693
- # creates an operation instance, yielding a newly fabricated AdGroupAdLabel
692
+ # @overload shared_criterion
693
+ # creates an operation instance, yielding a newly fabricated SharedCriterion
694
694
  # which can be used for setting attributes on the newly created resource
695
- # @overload ad_group_ad_label(res)
695
+ # @overload shared_criterion(res)
696
696
  # creates an operation instance, with the resource to be created
697
697
  # set to the passed value (res)
698
- # @param res [Google::Ads::GoogleAds::V1::Resources::AdGroupAdLabel]
698
+ # @param res [Google::Ads::GoogleAds::V1::Resources::SharedCriterion]
699
699
  # a resource instance to be used for creation in this operation.
700
700
  #
701
- # @return [Google::Ads::GoogleAds::V1::Services::AdGroupAdLabelOperation] instance that will create the resource
702
- def self.ad_group_ad_label(res = nil, &blk)
703
- require "google/ads/google_ads/v1/services/ad_group_ad_label_service_pb.rb"
704
- op = Google::Ads::GoogleAds::V1::Services::AdGroupAdLabelOperation.new
701
+ # @return [Google::Ads::GoogleAds::V1::Services::SharedCriterionOperation] instance that will create the resource
702
+ def self.shared_criterion(res = nil, &blk)
703
+ require "google/ads/google_ads/v1/services/shared_criterion_service_pb.rb"
704
+ op = Google::Ads::GoogleAds::V1::Services::SharedCriterionOperation.new
705
705
  if !res.nil?
706
706
  op["create"] = res
707
707
  elsif !blk.nil?
708
- op["create"] = Factories::V1::Resources.ad_group_ad_label(&blk)
708
+ op["create"] = Factories::V1::Resources.shared_criterion(&blk)
709
709
  end
710
710
 
711
711
  op
712
712
  end
713
713
 
714
- # A convenience method for creating an AdGroupAdOperation instance with
715
- # its "create" field prepopulated with an AdGroupAd instance.
714
+ # A convenience method for creating an RemarketingActionOperation instance with
715
+ # its "create" field prepopulated with an RemarketingAction instance.
716
716
  #
717
- # @overload ad_group_ad
718
- # creates an operation instance, yielding a newly fabricated AdGroupAd
717
+ # @overload remarketing_action
718
+ # creates an operation instance, yielding a newly fabricated RemarketingAction
719
719
  # which can be used for setting attributes on the newly created resource
720
- # @overload ad_group_ad(res)
720
+ # @overload remarketing_action(res)
721
721
  # creates an operation instance, with the resource to be created
722
722
  # set to the passed value (res)
723
- # @param res [Google::Ads::GoogleAds::V1::Resources::AdGroupAd]
723
+ # @param res [Google::Ads::GoogleAds::V1::Resources::RemarketingAction]
724
724
  # a resource instance to be used for creation in this operation.
725
725
  #
726
- # @return [Google::Ads::GoogleAds::V1::Services::AdGroupAdOperation] instance that will create the resource
727
- def self.ad_group_ad(res = nil, &blk)
728
- require "google/ads/google_ads/v1/services/ad_group_ad_service_pb.rb"
729
- op = Google::Ads::GoogleAds::V1::Services::AdGroupAdOperation.new
726
+ # @return [Google::Ads::GoogleAds::V1::Services::RemarketingActionOperation] instance that will create the resource
727
+ def self.remarketing_action(res = nil, &blk)
728
+ require "google/ads/google_ads/v1/services/remarketing_action_service_pb.rb"
729
+ op = Google::Ads::GoogleAds::V1::Services::RemarketingActionOperation.new
730
730
  if !res.nil?
731
731
  op["create"] = res
732
732
  elsif !blk.nil?
733
- op["create"] = Factories::V1::Resources.ad_group_ad(&blk)
733
+ op["create"] = Factories::V1::Resources.remarketing_action(&blk)
734
734
  end
735
735
 
736
736
  op
737
737
  end
738
738
 
739
- # A convenience method for creating an AdGroupBidModifierOperation instance with
740
- # its "create" field prepopulated with an AdGroupBidModifier instance.
739
+ # A convenience method for creating an AdGroupLabelOperation instance with
740
+ # its "create" field prepopulated with an AdGroupLabel instance.
741
741
  #
742
- # @overload ad_group_bid_modifier
743
- # creates an operation instance, yielding a newly fabricated AdGroupBidModifier
742
+ # @overload ad_group_label
743
+ # creates an operation instance, yielding a newly fabricated AdGroupLabel
744
744
  # which can be used for setting attributes on the newly created resource
745
- # @overload ad_group_bid_modifier(res)
745
+ # @overload ad_group_label(res)
746
746
  # creates an operation instance, with the resource to be created
747
747
  # set to the passed value (res)
748
- # @param res [Google::Ads::GoogleAds::V1::Resources::AdGroupBidModifier]
748
+ # @param res [Google::Ads::GoogleAds::V1::Resources::AdGroupLabel]
749
749
  # a resource instance to be used for creation in this operation.
750
750
  #
751
- # @return [Google::Ads::GoogleAds::V1::Services::AdGroupBidModifierOperation] instance that will create the resource
752
- def self.ad_group_bid_modifier(res = nil, &blk)
753
- require "google/ads/google_ads/v1/services/ad_group_bid_modifier_service_pb.rb"
754
- op = Google::Ads::GoogleAds::V1::Services::AdGroupBidModifierOperation.new
751
+ # @return [Google::Ads::GoogleAds::V1::Services::AdGroupLabelOperation] instance that will create the resource
752
+ def self.ad_group_label(res = nil, &blk)
753
+ require "google/ads/google_ads/v1/services/ad_group_label_service_pb.rb"
754
+ op = Google::Ads::GoogleAds::V1::Services::AdGroupLabelOperation.new
755
755
  if !res.nil?
756
756
  op["create"] = res
757
757
  elsif !blk.nil?
758
- op["create"] = Factories::V1::Resources.ad_group_bid_modifier(&blk)
758
+ op["create"] = Factories::V1::Resources.ad_group_label(&blk)
759
+ end
760
+
761
+ op
762
+ end
763
+
764
+ # A convenience method for creating an CustomerLabelOperation instance with
765
+ # its "create" field prepopulated with an CustomerLabel instance.
766
+ #
767
+ # @overload customer_label
768
+ # creates an operation instance, yielding a newly fabricated CustomerLabel
769
+ # which can be used for setting attributes on the newly created resource
770
+ # @overload customer_label(res)
771
+ # creates an operation instance, with the resource to be created
772
+ # set to the passed value (res)
773
+ # @param res [Google::Ads::GoogleAds::V1::Resources::CustomerLabel]
774
+ # a resource instance to be used for creation in this operation.
775
+ #
776
+ # @return [Google::Ads::GoogleAds::V1::Services::CustomerLabelOperation] instance that will create the resource
777
+ def self.customer_label(res = nil, &blk)
778
+ require "google/ads/google_ads/v1/services/customer_label_service_pb.rb"
779
+ op = Google::Ads::GoogleAds::V1::Services::CustomerLabelOperation.new
780
+ if !res.nil?
781
+ op["create"] = res
782
+ elsif !blk.nil?
783
+ op["create"] = Factories::V1::Resources.customer_label(&blk)
784
+ end
785
+
786
+ op
787
+ end
788
+
789
+ # A convenience method for creating an AdGroupAdOperation instance with
790
+ # its "create" field prepopulated with an AdGroupAd instance.
791
+ #
792
+ # @overload ad_group_ad
793
+ # creates an operation instance, yielding a newly fabricated AdGroupAd
794
+ # which can be used for setting attributes on the newly created resource
795
+ # @overload ad_group_ad(res)
796
+ # creates an operation instance, with the resource to be created
797
+ # set to the passed value (res)
798
+ # @param res [Google::Ads::GoogleAds::V1::Resources::AdGroupAd]
799
+ # a resource instance to be used for creation in this operation.
800
+ #
801
+ # @return [Google::Ads::GoogleAds::V1::Services::AdGroupAdOperation] instance that will create the resource
802
+ def self.ad_group_ad(res = nil, &blk)
803
+ require "google/ads/google_ads/v1/services/ad_group_ad_service_pb.rb"
804
+ op = Google::Ads::GoogleAds::V1::Services::AdGroupAdOperation.new
805
+ if !res.nil?
806
+ op["create"] = res
807
+ elsif !blk.nil?
808
+ op["create"] = Factories::V1::Resources.ad_group_ad(&blk)
759
809
  end
760
810
 
761
811
  op
@@ -836,31 +886,6 @@ module Google
836
886
  op
837
887
  end
838
888
 
839
- # A convenience method for creating an AdGroupLabelOperation instance with
840
- # its "create" field prepopulated with an AdGroupLabel instance.
841
- #
842
- # @overload ad_group_label
843
- # creates an operation instance, yielding a newly fabricated AdGroupLabel
844
- # which can be used for setting attributes on the newly created resource
845
- # @overload ad_group_label(res)
846
- # creates an operation instance, with the resource to be created
847
- # set to the passed value (res)
848
- # @param res [Google::Ads::GoogleAds::V1::Resources::AdGroupLabel]
849
- # a resource instance to be used for creation in this operation.
850
- #
851
- # @return [Google::Ads::GoogleAds::V1::Services::AdGroupLabelOperation] instance that will create the resource
852
- def self.ad_group_label(res = nil, &blk)
853
- require "google/ads/google_ads/v1/services/ad_group_label_service_pb.rb"
854
- op = Google::Ads::GoogleAds::V1::Services::AdGroupLabelOperation.new
855
- if !res.nil?
856
- op["create"] = res
857
- elsif !blk.nil?
858
- op["create"] = Factories::V1::Resources.ad_group_label(&blk)
859
- end
860
-
861
- op
862
- end
863
-
864
889
  # A convenience method for creating an AdGroupOperation instance with
865
890
  # its "create" field prepopulated with an AdGroup instance.
866
891
  #
@@ -911,6 +936,31 @@ module Google
911
936
  op
912
937
  end
913
938
 
939
+ # A convenience method for creating an AssetOperation instance with
940
+ # its "create" field prepopulated with an Asset instance.
941
+ #
942
+ # @overload asset
943
+ # creates an operation instance, yielding a newly fabricated Asset
944
+ # which can be used for setting attributes on the newly created resource
945
+ # @overload asset(res)
946
+ # creates an operation instance, with the resource to be created
947
+ # set to the passed value (res)
948
+ # @param res [Google::Ads::GoogleAds::V1::Resources::Asset]
949
+ # a resource instance to be used for creation in this operation.
950
+ #
951
+ # @return [Google::Ads::GoogleAds::V1::Services::AssetOperation] instance that will create the resource
952
+ def self.asset(res = nil, &blk)
953
+ require "google/ads/google_ads/v1/services/asset_service_pb.rb"
954
+ op = Google::Ads::GoogleAds::V1::Services::AssetOperation.new
955
+ if !res.nil?
956
+ op["create"] = res
957
+ elsif !blk.nil?
958
+ op["create"] = Factories::V1::Resources.asset(&blk)
959
+ end
960
+
961
+ op
962
+ end
963
+
914
964
  # A convenience method for creating an BiddingStrategyOperation instance with
915
965
  # its "create" field prepopulated with an BiddingStrategy instance.
916
966
  #
@@ -986,6 +1036,31 @@ module Google
986
1036
  op
987
1037
  end
988
1038
 
1039
+ # A convenience method for creating an CampaignCriterionOperation instance with
1040
+ # its "create" field prepopulated with an CampaignCriterion instance.
1041
+ #
1042
+ # @overload campaign_criterion
1043
+ # creates an operation instance, yielding a newly fabricated CampaignCriterion
1044
+ # which can be used for setting attributes on the newly created resource
1045
+ # @overload campaign_criterion(res)
1046
+ # creates an operation instance, with the resource to be created
1047
+ # set to the passed value (res)
1048
+ # @param res [Google::Ads::GoogleAds::V1::Resources::CampaignCriterion]
1049
+ # a resource instance to be used for creation in this operation.
1050
+ #
1051
+ # @return [Google::Ads::GoogleAds::V1::Services::CampaignCriterionOperation] instance that will create the resource
1052
+ def self.campaign_criterion(res = nil, &blk)
1053
+ require "google/ads/google_ads/v1/services/campaign_criterion_service_pb.rb"
1054
+ op = Google::Ads::GoogleAds::V1::Services::CampaignCriterionOperation.new
1055
+ if !res.nil?
1056
+ op["create"] = res
1057
+ elsif !blk.nil?
1058
+ op["create"] = Factories::V1::Resources.campaign_criterion(&blk)
1059
+ end
1060
+
1061
+ op
1062
+ end
1063
+
989
1064
  # A convenience method for creating an CampaignDraftOperation instance with
990
1065
  # its "create" field prepopulated with an CampaignDraft instance.
991
1066
  #
@@ -1036,26 +1111,26 @@ module Google
1036
1111
  op
1037
1112
  end
1038
1113
 
1039
- # A convenience method for creating an CampaignFeedOperation instance with
1040
- # its "create" field prepopulated with an CampaignFeed instance.
1114
+ # A convenience method for creating an CampaignLabelOperation instance with
1115
+ # its "create" field prepopulated with an CampaignLabel instance.
1041
1116
  #
1042
- # @overload campaign_feed
1043
- # creates an operation instance, yielding a newly fabricated CampaignFeed
1117
+ # @overload campaign_label
1118
+ # creates an operation instance, yielding a newly fabricated CampaignLabel
1044
1119
  # which can be used for setting attributes on the newly created resource
1045
- # @overload campaign_feed(res)
1120
+ # @overload campaign_label(res)
1046
1121
  # creates an operation instance, with the resource to be created
1047
1122
  # set to the passed value (res)
1048
- # @param res [Google::Ads::GoogleAds::V1::Resources::CampaignFeed]
1123
+ # @param res [Google::Ads::GoogleAds::V1::Resources::CampaignLabel]
1049
1124
  # a resource instance to be used for creation in this operation.
1050
1125
  #
1051
- # @return [Google::Ads::GoogleAds::V1::Services::CampaignFeedOperation] instance that will create the resource
1052
- def self.campaign_feed(res = nil, &blk)
1053
- require "google/ads/google_ads/v1/services/campaign_feed_service_pb.rb"
1054
- op = Google::Ads::GoogleAds::V1::Services::CampaignFeedOperation.new
1126
+ # @return [Google::Ads::GoogleAds::V1::Services::CampaignLabelOperation] instance that will create the resource
1127
+ def self.campaign_label(res = nil, &blk)
1128
+ require "google/ads/google_ads/v1/services/campaign_label_service_pb.rb"
1129
+ op = Google::Ads::GoogleAds::V1::Services::CampaignLabelOperation.new
1055
1130
  if !res.nil?
1056
1131
  op["create"] = res
1057
1132
  elsif !blk.nil?
1058
- op["create"] = Factories::V1::Resources.campaign_feed(&blk)
1133
+ op["create"] = Factories::V1::Resources.campaign_label(&blk)
1059
1134
  end
1060
1135
 
1061
1136
  op
@@ -1086,31 +1161,6 @@ module Google
1086
1161
  op
1087
1162
  end
1088
1163
 
1089
- # A convenience method for creating an CampaignSharedSetOperation instance with
1090
- # its "create" field prepopulated with an CampaignSharedSet instance.
1091
- #
1092
- # @overload campaign_shared_set
1093
- # creates an operation instance, yielding a newly fabricated CampaignSharedSet
1094
- # which can be used for setting attributes on the newly created resource
1095
- # @overload campaign_shared_set(res)
1096
- # creates an operation instance, with the resource to be created
1097
- # set to the passed value (res)
1098
- # @param res [Google::Ads::GoogleAds::V1::Resources::CampaignSharedSet]
1099
- # a resource instance to be used for creation in this operation.
1100
- #
1101
- # @return [Google::Ads::GoogleAds::V1::Services::CampaignSharedSetOperation] instance that will create the resource
1102
- def self.campaign_shared_set(res = nil, &blk)
1103
- require "google/ads/google_ads/v1/services/campaign_shared_set_service_pb.rb"
1104
- op = Google::Ads::GoogleAds::V1::Services::CampaignSharedSetOperation.new
1105
- if !res.nil?
1106
- op["create"] = res
1107
- elsif !blk.nil?
1108
- op["create"] = Factories::V1::Resources.campaign_shared_set(&blk)
1109
- end
1110
-
1111
- op
1112
- end
1113
-
1114
1164
  # A convenience method for creating an ConversionActionOperation instance with
1115
1165
  # its "create" field prepopulated with an ConversionAction instance.
1116
1166
  #
@@ -1186,31 +1236,6 @@ module Google
1186
1236
  op
1187
1237
  end
1188
1238
 
1189
- # A convenience method for creating an CustomerLabelOperation instance with
1190
- # its "create" field prepopulated with an CustomerLabel instance.
1191
- #
1192
- # @overload customer_label
1193
- # creates an operation instance, yielding a newly fabricated CustomerLabel
1194
- # which can be used for setting attributes on the newly created resource
1195
- # @overload customer_label(res)
1196
- # creates an operation instance, with the resource to be created
1197
- # set to the passed value (res)
1198
- # @param res [Google::Ads::GoogleAds::V1::Resources::CustomerLabel]
1199
- # a resource instance to be used for creation in this operation.
1200
- #
1201
- # @return [Google::Ads::GoogleAds::V1::Services::CustomerLabelOperation] instance that will create the resource
1202
- def self.customer_label(res = nil, &blk)
1203
- require "google/ads/google_ads/v1/services/customer_label_service_pb.rb"
1204
- op = Google::Ads::GoogleAds::V1::Services::CustomerLabelOperation.new
1205
- if !res.nil?
1206
- op["create"] = res
1207
- elsif !blk.nil?
1208
- op["create"] = Factories::V1::Resources.customer_label(&blk)
1209
- end
1210
-
1211
- op
1212
- end
1213
-
1214
1239
  # A convenience method for creating an CustomerNegativeCriterionOperation instance with
1215
1240
  # its "create" field prepopulated with an CustomerNegativeCriterion instance.
1216
1241
  #
@@ -1311,26 +1336,51 @@ module Google
1311
1336
  op
1312
1337
  end
1313
1338
 
1314
- # A convenience method for creating an FeedOperation instance with
1315
- # its "create" field prepopulated with an Feed instance.
1339
+ # A convenience method for creating an FeedMappingOperation instance with
1340
+ # its "create" field prepopulated with an FeedMapping instance.
1316
1341
  #
1317
- # @overload feed
1318
- # creates an operation instance, yielding a newly fabricated Feed
1342
+ # @overload feed_mapping
1343
+ # creates an operation instance, yielding a newly fabricated FeedMapping
1319
1344
  # which can be used for setting attributes on the newly created resource
1320
- # @overload feed(res)
1345
+ # @overload feed_mapping(res)
1321
1346
  # creates an operation instance, with the resource to be created
1322
1347
  # set to the passed value (res)
1323
- # @param res [Google::Ads::GoogleAds::V1::Resources::Feed]
1348
+ # @param res [Google::Ads::GoogleAds::V1::Resources::FeedMapping]
1324
1349
  # a resource instance to be used for creation in this operation.
1325
1350
  #
1326
- # @return [Google::Ads::GoogleAds::V1::Services::FeedOperation] instance that will create the resource
1327
- def self.feed(res = nil, &blk)
1328
- require "google/ads/google_ads/v1/services/feed_service_pb.rb"
1329
- op = Google::Ads::GoogleAds::V1::Services::FeedOperation.new
1351
+ # @return [Google::Ads::GoogleAds::V1::Services::FeedMappingOperation] instance that will create the resource
1352
+ def self.feed_mapping(res = nil, &blk)
1353
+ require "google/ads/google_ads/v1/services/feed_mapping_service_pb.rb"
1354
+ op = Google::Ads::GoogleAds::V1::Services::FeedMappingOperation.new
1330
1355
  if !res.nil?
1331
1356
  op["create"] = res
1332
1357
  elsif !blk.nil?
1333
- op["create"] = Factories::V1::Resources.feed(&blk)
1358
+ op["create"] = Factories::V1::Resources.feed_mapping(&blk)
1359
+ end
1360
+
1361
+ op
1362
+ end
1363
+
1364
+ # A convenience method for creating an LabelOperation instance with
1365
+ # its "create" field prepopulated with an Label instance.
1366
+ #
1367
+ # @overload label
1368
+ # creates an operation instance, yielding a newly fabricated Label
1369
+ # which can be used for setting attributes on the newly created resource
1370
+ # @overload label(res)
1371
+ # creates an operation instance, with the resource to be created
1372
+ # set to the passed value (res)
1373
+ # @param res [Google::Ads::GoogleAds::V1::Resources::Label]
1374
+ # a resource instance to be used for creation in this operation.
1375
+ #
1376
+ # @return [Google::Ads::GoogleAds::V1::Services::LabelOperation] instance that will create the resource
1377
+ def self.label(res = nil, &blk)
1378
+ require "google/ads/google_ads/v1/services/label_service_pb.rb"
1379
+ op = Google::Ads::GoogleAds::V1::Services::LabelOperation.new
1380
+ if !res.nil?
1381
+ op["create"] = res
1382
+ elsif !blk.nil?
1383
+ op["create"] = Factories::V1::Resources.label(&blk)
1334
1384
  end
1335
1385
 
1336
1386
  op
@@ -1361,176 +1411,176 @@ module Google
1361
1411
  op
1362
1412
  end
1363
1413
 
1364
- # A convenience method for creating an RemarketingActionOperation instance with
1365
- # its "create" field prepopulated with an RemarketingAction instance.
1414
+ # A convenience method for creating an UserListOperation instance with
1415
+ # its "create" field prepopulated with an UserList instance.
1366
1416
  #
1367
- # @overload remarketing_action
1368
- # creates an operation instance, yielding a newly fabricated RemarketingAction
1417
+ # @overload user_list
1418
+ # creates an operation instance, yielding a newly fabricated UserList
1369
1419
  # which can be used for setting attributes on the newly created resource
1370
- # @overload remarketing_action(res)
1420
+ # @overload user_list(res)
1371
1421
  # creates an operation instance, with the resource to be created
1372
1422
  # set to the passed value (res)
1373
- # @param res [Google::Ads::GoogleAds::V1::Resources::RemarketingAction]
1423
+ # @param res [Google::Ads::GoogleAds::V1::Resources::UserList]
1374
1424
  # a resource instance to be used for creation in this operation.
1375
1425
  #
1376
- # @return [Google::Ads::GoogleAds::V1::Services::RemarketingActionOperation] instance that will create the resource
1377
- def self.remarketing_action(res = nil, &blk)
1378
- require "google/ads/google_ads/v1/services/remarketing_action_service_pb.rb"
1379
- op = Google::Ads::GoogleAds::V1::Services::RemarketingActionOperation.new
1426
+ # @return [Google::Ads::GoogleAds::V1::Services::UserListOperation] instance that will create the resource
1427
+ def self.user_list(res = nil, &blk)
1428
+ require "google/ads/google_ads/v1/services/user_list_service_pb.rb"
1429
+ op = Google::Ads::GoogleAds::V1::Services::UserListOperation.new
1380
1430
  if !res.nil?
1381
1431
  op["create"] = res
1382
1432
  elsif !blk.nil?
1383
- op["create"] = Factories::V1::Resources.remarketing_action(&blk)
1433
+ op["create"] = Factories::V1::Resources.user_list(&blk)
1384
1434
  end
1385
1435
 
1386
1436
  op
1387
1437
  end
1388
1438
 
1389
- # A convenience method for creating an SharedCriterionOperation instance with
1390
- # its "create" field prepopulated with an SharedCriterion instance.
1439
+ # A convenience method for creating an KeywordPlanKeywordOperation instance with
1440
+ # its "create" field prepopulated with an KeywordPlanKeyword instance.
1391
1441
  #
1392
- # @overload shared_criterion
1393
- # creates an operation instance, yielding a newly fabricated SharedCriterion
1442
+ # @overload keyword_plan_keyword
1443
+ # creates an operation instance, yielding a newly fabricated KeywordPlanKeyword
1394
1444
  # which can be used for setting attributes on the newly created resource
1395
- # @overload shared_criterion(res)
1445
+ # @overload keyword_plan_keyword(res)
1396
1446
  # creates an operation instance, with the resource to be created
1397
1447
  # set to the passed value (res)
1398
- # @param res [Google::Ads::GoogleAds::V1::Resources::SharedCriterion]
1448
+ # @param res [Google::Ads::GoogleAds::V1::Resources::KeywordPlanKeyword]
1399
1449
  # a resource instance to be used for creation in this operation.
1400
1450
  #
1401
- # @return [Google::Ads::GoogleAds::V1::Services::SharedCriterionOperation] instance that will create the resource
1402
- def self.shared_criterion(res = nil, &blk)
1403
- require "google/ads/google_ads/v1/services/shared_criterion_service_pb.rb"
1404
- op = Google::Ads::GoogleAds::V1::Services::SharedCriterionOperation.new
1451
+ # @return [Google::Ads::GoogleAds::V1::Services::KeywordPlanKeywordOperation] instance that will create the resource
1452
+ def self.keyword_plan_keyword(res = nil, &blk)
1453
+ require "google/ads/google_ads/v1/services/keyword_plan_keyword_service_pb.rb"
1454
+ op = Google::Ads::GoogleAds::V1::Services::KeywordPlanKeywordOperation.new
1405
1455
  if !res.nil?
1406
1456
  op["create"] = res
1407
1457
  elsif !blk.nil?
1408
- op["create"] = Factories::V1::Resources.shared_criterion(&blk)
1458
+ op["create"] = Factories::V1::Resources.keyword_plan_keyword(&blk)
1409
1459
  end
1410
1460
 
1411
1461
  op
1412
1462
  end
1413
1463
 
1414
- # A convenience method for creating an SharedSetOperation instance with
1415
- # its "create" field prepopulated with an SharedSet instance.
1464
+ # A convenience method for creating an KeywordPlanAdGroupOperation instance with
1465
+ # its "create" field prepopulated with an KeywordPlanAdGroup instance.
1416
1466
  #
1417
- # @overload shared_set
1418
- # creates an operation instance, yielding a newly fabricated SharedSet
1467
+ # @overload keyword_plan_ad_group
1468
+ # creates an operation instance, yielding a newly fabricated KeywordPlanAdGroup
1419
1469
  # which can be used for setting attributes on the newly created resource
1420
- # @overload shared_set(res)
1470
+ # @overload keyword_plan_ad_group(res)
1421
1471
  # creates an operation instance, with the resource to be created
1422
1472
  # set to the passed value (res)
1423
- # @param res [Google::Ads::GoogleAds::V1::Resources::SharedSet]
1473
+ # @param res [Google::Ads::GoogleAds::V1::Resources::KeywordPlanAdGroup]
1424
1474
  # a resource instance to be used for creation in this operation.
1425
1475
  #
1426
- # @return [Google::Ads::GoogleAds::V1::Services::SharedSetOperation] instance that will create the resource
1427
- def self.shared_set(res = nil, &blk)
1428
- require "google/ads/google_ads/v1/services/shared_set_service_pb.rb"
1429
- op = Google::Ads::GoogleAds::V1::Services::SharedSetOperation.new
1476
+ # @return [Google::Ads::GoogleAds::V1::Services::KeywordPlanAdGroupOperation] instance that will create the resource
1477
+ def self.keyword_plan_ad_group(res = nil, &blk)
1478
+ require "google/ads/google_ads/v1/services/keyword_plan_ad_group_service_pb.rb"
1479
+ op = Google::Ads::GoogleAds::V1::Services::KeywordPlanAdGroupOperation.new
1430
1480
  if !res.nil?
1431
1481
  op["create"] = res
1432
1482
  elsif !blk.nil?
1433
- op["create"] = Factories::V1::Resources.shared_set(&blk)
1483
+ op["create"] = Factories::V1::Resources.keyword_plan_ad_group(&blk)
1434
1484
  end
1435
1485
 
1436
1486
  op
1437
1487
  end
1438
1488
 
1439
- # A convenience method for creating an UserListOperation instance with
1440
- # its "create" field prepopulated with an UserList instance.
1489
+ # A convenience method for creating an BillingSetupOperation instance with
1490
+ # its "create" field prepopulated with an BillingSetup instance.
1441
1491
  #
1442
- # @overload user_list
1443
- # creates an operation instance, yielding a newly fabricated UserList
1492
+ # @overload billing_setup
1493
+ # creates an operation instance, yielding a newly fabricated BillingSetup
1444
1494
  # which can be used for setting attributes on the newly created resource
1445
- # @overload user_list(res)
1495
+ # @overload billing_setup(res)
1446
1496
  # creates an operation instance, with the resource to be created
1447
1497
  # set to the passed value (res)
1448
- # @param res [Google::Ads::GoogleAds::V1::Resources::UserList]
1498
+ # @param res [Google::Ads::GoogleAds::V1::Resources::BillingSetup]
1449
1499
  # a resource instance to be used for creation in this operation.
1450
1500
  #
1451
- # @return [Google::Ads::GoogleAds::V1::Services::UserListOperation] instance that will create the resource
1452
- def self.user_list(res = nil, &blk)
1453
- require "google/ads/google_ads/v1/services/user_list_service_pb.rb"
1454
- op = Google::Ads::GoogleAds::V1::Services::UserListOperation.new
1501
+ # @return [Google::Ads::GoogleAds::V1::Services::BillingSetupOperation] instance that will create the resource
1502
+ def self.billing_setup(res = nil, &blk)
1503
+ require "google/ads/google_ads/v1/services/billing_setup_service_pb.rb"
1504
+ op = Google::Ads::GoogleAds::V1::Services::BillingSetupOperation.new
1455
1505
  if !res.nil?
1456
1506
  op["create"] = res
1457
1507
  elsif !blk.nil?
1458
- op["create"] = Factories::V1::Resources.user_list(&blk)
1508
+ op["create"] = Factories::V1::Resources.billing_setup(&blk)
1459
1509
  end
1460
1510
 
1461
1511
  op
1462
1512
  end
1463
1513
 
1464
- # A convenience method for creating an KeywordPlanCampaignOperation instance with
1465
- # its "create" field prepopulated with an KeywordPlanCampaign instance.
1514
+ # A convenience method for creating an CustomInterestOperation instance with
1515
+ # its "create" field prepopulated with an CustomInterest instance.
1466
1516
  #
1467
- # @overload keyword_plan_campaign
1468
- # creates an operation instance, yielding a newly fabricated KeywordPlanCampaign
1517
+ # @overload custom_interest
1518
+ # creates an operation instance, yielding a newly fabricated CustomInterest
1469
1519
  # which can be used for setting attributes on the newly created resource
1470
- # @overload keyword_plan_campaign(res)
1520
+ # @overload custom_interest(res)
1471
1521
  # creates an operation instance, with the resource to be created
1472
1522
  # set to the passed value (res)
1473
- # @param res [Google::Ads::GoogleAds::V1::Resources::KeywordPlanCampaign]
1523
+ # @param res [Google::Ads::GoogleAds::V1::Resources::CustomInterest]
1474
1524
  # a resource instance to be used for creation in this operation.
1475
1525
  #
1476
- # @return [Google::Ads::GoogleAds::V1::Services::KeywordPlanCampaignOperation] instance that will create the resource
1477
- def self.keyword_plan_campaign(res = nil, &blk)
1478
- require "google/ads/google_ads/v1/services/keyword_plan_campaign_service_pb.rb"
1479
- op = Google::Ads::GoogleAds::V1::Services::KeywordPlanCampaignOperation.new
1526
+ # @return [Google::Ads::GoogleAds::V1::Services::CustomInterestOperation] instance that will create the resource
1527
+ def self.custom_interest(res = nil, &blk)
1528
+ require "google/ads/google_ads/v1/services/custom_interest_service_pb.rb"
1529
+ op = Google::Ads::GoogleAds::V1::Services::CustomInterestOperation.new
1480
1530
  if !res.nil?
1481
1531
  op["create"] = res
1482
1532
  elsif !blk.nil?
1483
- op["create"] = Factories::V1::Resources.keyword_plan_campaign(&blk)
1533
+ op["create"] = Factories::V1::Resources.custom_interest(&blk)
1484
1534
  end
1485
1535
 
1486
1536
  op
1487
1537
  end
1488
1538
 
1489
- # A convenience method for creating an BillingSetupOperation instance with
1490
- # its "create" field prepopulated with an BillingSetup instance.
1539
+ # A convenience method for creating an KeywordPlanNegativeKeywordOperation instance with
1540
+ # its "create" field prepopulated with an KeywordPlanNegativeKeyword instance.
1491
1541
  #
1492
- # @overload billing_setup
1493
- # creates an operation instance, yielding a newly fabricated BillingSetup
1542
+ # @overload keyword_plan_negative_keyword
1543
+ # creates an operation instance, yielding a newly fabricated KeywordPlanNegativeKeyword
1494
1544
  # which can be used for setting attributes on the newly created resource
1495
- # @overload billing_setup(res)
1545
+ # @overload keyword_plan_negative_keyword(res)
1496
1546
  # creates an operation instance, with the resource to be created
1497
1547
  # set to the passed value (res)
1498
- # @param res [Google::Ads::GoogleAds::V1::Resources::BillingSetup]
1548
+ # @param res [Google::Ads::GoogleAds::V1::Resources::KeywordPlanNegativeKeyword]
1499
1549
  # a resource instance to be used for creation in this operation.
1500
1550
  #
1501
- # @return [Google::Ads::GoogleAds::V1::Services::BillingSetupOperation] instance that will create the resource
1502
- def self.billing_setup(res = nil, &blk)
1503
- require "google/ads/google_ads/v1/services/billing_setup_service_pb.rb"
1504
- op = Google::Ads::GoogleAds::V1::Services::BillingSetupOperation.new
1551
+ # @return [Google::Ads::GoogleAds::V1::Services::KeywordPlanNegativeKeywordOperation] instance that will create the resource
1552
+ def self.keyword_plan_negative_keyword(res = nil, &blk)
1553
+ require "google/ads/google_ads/v1/services/keyword_plan_negative_keyword_service_pb.rb"
1554
+ op = Google::Ads::GoogleAds::V1::Services::KeywordPlanNegativeKeywordOperation.new
1505
1555
  if !res.nil?
1506
1556
  op["create"] = res
1507
1557
  elsif !blk.nil?
1508
- op["create"] = Factories::V1::Resources.billing_setup(&blk)
1558
+ op["create"] = Factories::V1::Resources.keyword_plan_negative_keyword(&blk)
1509
1559
  end
1510
1560
 
1511
1561
  op
1512
1562
  end
1513
1563
 
1514
- # A convenience method for creating an CustomerClientLinkOperation instance with
1515
- # its "create" field prepopulated with an CustomerClientLink instance.
1564
+ # A convenience method for creating an KeywordPlanOperation instance with
1565
+ # its "create" field prepopulated with an KeywordPlan instance.
1516
1566
  #
1517
- # @overload customer_client_link
1518
- # creates an operation instance, yielding a newly fabricated CustomerClientLink
1567
+ # @overload keyword_plan
1568
+ # creates an operation instance, yielding a newly fabricated KeywordPlan
1519
1569
  # which can be used for setting attributes on the newly created resource
1520
- # @overload customer_client_link(res)
1570
+ # @overload keyword_plan(res)
1521
1571
  # creates an operation instance, with the resource to be created
1522
1572
  # set to the passed value (res)
1523
- # @param res [Google::Ads::GoogleAds::V1::Resources::CustomerClientLink]
1573
+ # @param res [Google::Ads::GoogleAds::V1::Resources::KeywordPlan]
1524
1574
  # a resource instance to be used for creation in this operation.
1525
1575
  #
1526
- # @return [Google::Ads::GoogleAds::V1::Services::CustomerClientLinkOperation] instance that will create the resource
1527
- def self.customer_client_link(res = nil, &blk)
1528
- require "google/ads/google_ads/v1/services/customer_client_link_service_pb.rb"
1529
- op = Google::Ads::GoogleAds::V1::Services::CustomerClientLinkOperation.new
1576
+ # @return [Google::Ads::GoogleAds::V1::Services::KeywordPlanOperation] instance that will create the resource
1577
+ def self.keyword_plan(res = nil, &blk)
1578
+ require "google/ads/google_ads/v1/services/keyword_plan_service_pb.rb"
1579
+ op = Google::Ads::GoogleAds::V1::Services::KeywordPlanOperation.new
1530
1580
  if !res.nil?
1531
1581
  op["create"] = res
1532
1582
  elsif !blk.nil?
1533
- op["create"] = Factories::V1::Resources.customer_client_link(&blk)
1583
+ op["create"] = Factories::V1::Resources.keyword_plan(&blk)
1534
1584
  end
1535
1585
 
1536
1586
  op
@@ -1560,84 +1610,112 @@ module Google
1560
1610
 
1561
1611
  op
1562
1612
  end
1613
+ end
1563
1614
 
1564
- # A convenience method for creating an KeywordPlanNegativeKeywordOperation instance with
1565
- # its "create" field prepopulated with an KeywordPlanNegativeKeyword instance.
1615
+ module UpdateResource
1616
+ # A convenience method for creating an CustomerManagerLinkOperation instance with
1617
+ # its "update" field prepopulated with an CustomerManagerLink instance, and
1618
+ # its "update_mask" field populated as needed to send the updates to the API.
1566
1619
  #
1567
- # @overload keyword_plan_negative_keyword
1568
- # creates an operation instance, yielding a newly fabricated KeywordPlanNegativeKeyword
1569
- # which can be used for setting attributes on the newly created resource
1570
- # @overload keyword_plan_negative_keyword(res)
1571
- # creates an operation instance, with the resource to be created
1572
- # set to the passed value (res)
1573
- # @param res [Google::Ads::GoogleAds::V1::Resources::KeywordPlanNegativeKeyword]
1574
- # a resource instance to be used for creation in this operation.
1620
+ # @overload #customer_manager_link(path, &blk)
1621
+ # @param path [String] a resource path for the resource to update
1622
+ # @yield [Google::Ads::GoogleAds::V1::Resources::CustomerManagerLink] a new instance of the resource for this update operation, on
1623
+ # which fields can be set to update
1575
1624
  #
1576
- # @return [Google::Ads::GoogleAds::V1::Services::KeywordPlanNegativeKeywordOperation] instance that will create the resource
1577
- def self.keyword_plan_negative_keyword(res = nil, &blk)
1578
- require "google/ads/google_ads/v1/services/keyword_plan_negative_keyword_service_pb.rb"
1579
- op = Google::Ads::GoogleAds::V1::Services::KeywordPlanNegativeKeywordOperation.new
1580
- if !res.nil?
1581
- op["create"] = res
1582
- elsif !blk.nil?
1583
- op["create"] = Factories::V1::Resources.keyword_plan_negative_keyword(&blk)
1584
- end
1585
-
1586
- op
1625
+ # @overload #customer_manager_link(resource, &blk)
1626
+ # @param resource [Google::Ads::GoogleAds::V1::Resources::CustomerManagerLink] a resource instance to update
1627
+ # @yield the passed block is called and updates against `resource` are recordered in the update mask
1628
+ # @return [Google::Ads::GoogleAds::V1::Services::CustomerManagerLinkOperation] the operation instance to update the resource
1629
+ def self.customer_manager_link(resource_or_path, &blk)
1630
+ require "google/ads/google_ads/v1/services/customer_manager_link_service_pb.rb"
1631
+ res = case resource_or_path
1632
+ when Google::Ads::GoogleAds::V1::Resources::CustomerManagerLink
1633
+ resource_or_path
1634
+ # got a resource path
1635
+ when String
1636
+ obj = Google::Ads::GoogleAds::V1::Resources::CustomerManagerLink.new
1637
+ obj.resource_name = resource_or_path
1638
+ obj
1639
+ else
1640
+ unless Google::Ads::GoogleAds::V1::Resources::CustomerManagerLink === res
1641
+ raise ArgumentError.new(
1642
+ "Called #{__method__} with instance of wrong type:"\
1643
+ " #{res.class} want #{operation.update_class}"\
1644
+ " or String representing resource name"
1645
+ )
1646
+ end
1647
+ end
1648
+
1649
+ op = Google::Ads::GoogleAds::V1::Services::CustomerManagerLinkOperation.new
1650
+ op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
1651
+ op["update"] = res
1652
+ op
1587
1653
  end
1588
1654
 
1589
- # A convenience method for creating an KeywordPlanAdGroupOperation instance with
1590
- # its "create" field prepopulated with an KeywordPlanAdGroup instance.
1655
+ # A convenience method for creating an KeywordPlanCampaignOperation instance with
1656
+ # its "update" field prepopulated with an KeywordPlanCampaign instance, and
1657
+ # its "update_mask" field populated as needed to send the updates to the API.
1591
1658
  #
1592
- # @overload keyword_plan_ad_group
1593
- # creates an operation instance, yielding a newly fabricated KeywordPlanAdGroup
1594
- # which can be used for setting attributes on the newly created resource
1595
- # @overload keyword_plan_ad_group(res)
1596
- # creates an operation instance, with the resource to be created
1597
- # set to the passed value (res)
1598
- # @param res [Google::Ads::GoogleAds::V1::Resources::KeywordPlanAdGroup]
1599
- # a resource instance to be used for creation in this operation.
1659
+ # @overload #keyword_plan_campaign(path, &blk)
1660
+ # @param path [String] a resource path for the resource to update
1661
+ # @yield [Google::Ads::GoogleAds::V1::Resources::KeywordPlanCampaign] a new instance of the resource for this update operation, on
1662
+ # which fields can be set to update
1600
1663
  #
1601
- # @return [Google::Ads::GoogleAds::V1::Services::KeywordPlanAdGroupOperation] instance that will create the resource
1602
- def self.keyword_plan_ad_group(res = nil, &blk)
1603
- require "google/ads/google_ads/v1/services/keyword_plan_ad_group_service_pb.rb"
1604
- op = Google::Ads::GoogleAds::V1::Services::KeywordPlanAdGroupOperation.new
1605
- if !res.nil?
1606
- op["create"] = res
1607
- elsif !blk.nil?
1608
- op["create"] = Factories::V1::Resources.keyword_plan_ad_group(&blk)
1664
+ # @overload #keyword_plan_campaign(resource, &blk)
1665
+ # @param resource [Google::Ads::GoogleAds::V1::Resources::KeywordPlanCampaign] a resource instance to update
1666
+ # @yield the passed block is called and updates against `resource` are recordered in the update mask
1667
+ # @return [Google::Ads::GoogleAds::V1::Services::KeywordPlanCampaignOperation] the operation instance to update the resource
1668
+ def self.keyword_plan_campaign(resource_or_path, &blk)
1669
+ require "google/ads/google_ads/v1/services/keyword_plan_campaign_service_pb.rb"
1670
+ res = case resource_or_path
1671
+ when Google::Ads::GoogleAds::V1::Resources::KeywordPlanCampaign
1672
+ resource_or_path
1673
+ # got a resource path
1674
+ when String
1675
+ obj = Google::Ads::GoogleAds::V1::Resources::KeywordPlanCampaign.new
1676
+ obj.resource_name = resource_or_path
1677
+ obj
1678
+ else
1679
+ unless Google::Ads::GoogleAds::V1::Resources::KeywordPlanCampaign === res
1680
+ raise ArgumentError.new(
1681
+ "Called #{__method__} with instance of wrong type:"\
1682
+ " #{res.class} want #{operation.update_class}"\
1683
+ " or String representing resource name"
1684
+ )
1685
+ end
1609
1686
  end
1610
1687
 
1688
+ op = Google::Ads::GoogleAds::V1::Services::KeywordPlanCampaignOperation.new
1689
+ op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
1690
+ op["update"] = res
1611
1691
  op
1612
1692
  end
1613
- end
1614
1693
 
1615
- module UpdateResource
1616
- # A convenience method for creating an CampaignExperimentOperation instance with
1617
- # its "update" field prepopulated with an CampaignExperiment instance, and
1694
+ # A convenience method for creating an SharedSetOperation instance with
1695
+ # its "update" field prepopulated with an SharedSet instance, and
1618
1696
  # its "update_mask" field populated as needed to send the updates to the API.
1619
1697
  #
1620
- # @overload #campaign_experiment(path, &blk)
1698
+ # @overload #shared_set(path, &blk)
1621
1699
  # @param path [String] a resource path for the resource to update
1622
- # @yield [Google::Ads::GoogleAds::V1::Resources::CampaignExperiment] a new instance of the resource for this update operation, on
1700
+ # @yield [Google::Ads::GoogleAds::V1::Resources::SharedSet] a new instance of the resource for this update operation, on
1623
1701
  # which fields can be set to update
1624
1702
  #
1625
- # @overload #campaign_experiment(resource, &blk)
1626
- # @param resource [Google::Ads::GoogleAds::V1::Resources::CampaignExperiment] a resource instance to update
1703
+ # @overload #shared_set(resource, &blk)
1704
+ # @param resource [Google::Ads::GoogleAds::V1::Resources::SharedSet] a resource instance to update
1627
1705
  # @yield the passed block is called and updates against `resource` are recordered in the update mask
1628
- # @return [Google::Ads::GoogleAds::V1::Services::CampaignExperimentOperation] the operation instance to update the resource
1629
- def self.campaign_experiment(resource_or_path, &blk)
1630
- require "google/ads/google_ads/v1/services/campaign_experiment_service_pb.rb"
1706
+ # @return [Google::Ads::GoogleAds::V1::Services::SharedSetOperation] the operation instance to update the resource
1707
+ def self.shared_set(resource_or_path, &blk)
1708
+ require "google/ads/google_ads/v1/services/shared_set_service_pb.rb"
1631
1709
  res = case resource_or_path
1632
- when Google::Ads::GoogleAds::V1::Resources::CampaignExperiment
1710
+ when Google::Ads::GoogleAds::V1::Resources::SharedSet
1633
1711
  resource_or_path
1634
1712
  # got a resource path
1635
1713
  when String
1636
- obj = Google::Ads::GoogleAds::V1::Resources::CampaignExperiment.new
1714
+ obj = Google::Ads::GoogleAds::V1::Resources::SharedSet.new
1637
1715
  obj.resource_name = resource_or_path
1638
1716
  obj
1639
1717
  else
1640
- unless Google::Ads::GoogleAds::V1::Resources::CampaignExperiment === res
1718
+ unless Google::Ads::GoogleAds::V1::Resources::SharedSet === res
1641
1719
  raise ArgumentError.new(
1642
1720
  "Called #{__method__} with instance of wrong type:"\
1643
1721
  " #{res.class} want #{operation.update_class}"\
@@ -1646,37 +1724,37 @@ module Google
1646
1724
  end
1647
1725
  end
1648
1726
 
1649
- op = Google::Ads::GoogleAds::V1::Services::CampaignExperimentOperation.new
1727
+ op = Google::Ads::GoogleAds::V1::Services::SharedSetOperation.new
1650
1728
  op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
1651
1729
  op["update"] = res
1652
1730
  op
1653
1731
  end
1654
1732
 
1655
- # A convenience method for creating an KeywordPlanKeywordOperation instance with
1656
- # its "update" field prepopulated with an KeywordPlanKeyword instance, and
1733
+ # A convenience method for creating an FeedOperation instance with
1734
+ # its "update" field prepopulated with an Feed instance, and
1657
1735
  # its "update_mask" field populated as needed to send the updates to the API.
1658
1736
  #
1659
- # @overload #keyword_plan_keyword(path, &blk)
1737
+ # @overload #feed(path, &blk)
1660
1738
  # @param path [String] a resource path for the resource to update
1661
- # @yield [Google::Ads::GoogleAds::V1::Resources::KeywordPlanKeyword] a new instance of the resource for this update operation, on
1739
+ # @yield [Google::Ads::GoogleAds::V1::Resources::Feed] a new instance of the resource for this update operation, on
1662
1740
  # which fields can be set to update
1663
1741
  #
1664
- # @overload #keyword_plan_keyword(resource, &blk)
1665
- # @param resource [Google::Ads::GoogleAds::V1::Resources::KeywordPlanKeyword] a resource instance to update
1742
+ # @overload #feed(resource, &blk)
1743
+ # @param resource [Google::Ads::GoogleAds::V1::Resources::Feed] a resource instance to update
1666
1744
  # @yield the passed block is called and updates against `resource` are recordered in the update mask
1667
- # @return [Google::Ads::GoogleAds::V1::Services::KeywordPlanKeywordOperation] the operation instance to update the resource
1668
- def self.keyword_plan_keyword(resource_or_path, &blk)
1669
- require "google/ads/google_ads/v1/services/keyword_plan_keyword_service_pb.rb"
1745
+ # @return [Google::Ads::GoogleAds::V1::Services::FeedOperation] the operation instance to update the resource
1746
+ def self.feed(resource_or_path, &blk)
1747
+ require "google/ads/google_ads/v1/services/feed_service_pb.rb"
1670
1748
  res = case resource_or_path
1671
- when Google::Ads::GoogleAds::V1::Resources::KeywordPlanKeyword
1749
+ when Google::Ads::GoogleAds::V1::Resources::Feed
1672
1750
  resource_or_path
1673
1751
  # got a resource path
1674
1752
  when String
1675
- obj = Google::Ads::GoogleAds::V1::Resources::KeywordPlanKeyword.new
1753
+ obj = Google::Ads::GoogleAds::V1::Resources::Feed.new
1676
1754
  obj.resource_name = resource_or_path
1677
1755
  obj
1678
1756
  else
1679
- unless Google::Ads::GoogleAds::V1::Resources::KeywordPlanKeyword === res
1757
+ unless Google::Ads::GoogleAds::V1::Resources::Feed === res
1680
1758
  raise ArgumentError.new(
1681
1759
  "Called #{__method__} with instance of wrong type:"\
1682
1760
  " #{res.class} want #{operation.update_class}"\
@@ -1685,37 +1763,37 @@ module Google
1685
1763
  end
1686
1764
  end
1687
1765
 
1688
- op = Google::Ads::GoogleAds::V1::Services::KeywordPlanKeywordOperation.new
1766
+ op = Google::Ads::GoogleAds::V1::Services::FeedOperation.new
1689
1767
  op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
1690
1768
  op["update"] = res
1691
1769
  op
1692
1770
  end
1693
1771
 
1694
- # A convenience method for creating an KeywordPlanOperation instance with
1695
- # its "update" field prepopulated with an KeywordPlan instance, and
1772
+ # A convenience method for creating an CustomerClientLinkOperation instance with
1773
+ # its "update" field prepopulated with an CustomerClientLink instance, and
1696
1774
  # its "update_mask" field populated as needed to send the updates to the API.
1697
1775
  #
1698
- # @overload #keyword_plan(path, &blk)
1776
+ # @overload #customer_client_link(path, &blk)
1699
1777
  # @param path [String] a resource path for the resource to update
1700
- # @yield [Google::Ads::GoogleAds::V1::Resources::KeywordPlan] a new instance of the resource for this update operation, on
1778
+ # @yield [Google::Ads::GoogleAds::V1::Resources::CustomerClientLink] a new instance of the resource for this update operation, on
1701
1779
  # which fields can be set to update
1702
1780
  #
1703
- # @overload #keyword_plan(resource, &blk)
1704
- # @param resource [Google::Ads::GoogleAds::V1::Resources::KeywordPlan] a resource instance to update
1781
+ # @overload #customer_client_link(resource, &blk)
1782
+ # @param resource [Google::Ads::GoogleAds::V1::Resources::CustomerClientLink] a resource instance to update
1705
1783
  # @yield the passed block is called and updates against `resource` are recordered in the update mask
1706
- # @return [Google::Ads::GoogleAds::V1::Services::KeywordPlanOperation] the operation instance to update the resource
1707
- def self.keyword_plan(resource_or_path, &blk)
1708
- require "google/ads/google_ads/v1/services/keyword_plan_service_pb.rb"
1784
+ # @return [Google::Ads::GoogleAds::V1::Services::CustomerClientLinkOperation] the operation instance to update the resource
1785
+ def self.customer_client_link(resource_or_path, &blk)
1786
+ require "google/ads/google_ads/v1/services/customer_client_link_service_pb.rb"
1709
1787
  res = case resource_or_path
1710
- when Google::Ads::GoogleAds::V1::Resources::KeywordPlan
1788
+ when Google::Ads::GoogleAds::V1::Resources::CustomerClientLink
1711
1789
  resource_or_path
1712
1790
  # got a resource path
1713
1791
  when String
1714
- obj = Google::Ads::GoogleAds::V1::Resources::KeywordPlan.new
1792
+ obj = Google::Ads::GoogleAds::V1::Resources::CustomerClientLink.new
1715
1793
  obj.resource_name = resource_or_path
1716
1794
  obj
1717
1795
  else
1718
- unless Google::Ads::GoogleAds::V1::Resources::KeywordPlan === res
1796
+ unless Google::Ads::GoogleAds::V1::Resources::CustomerClientLink === res
1719
1797
  raise ArgumentError.new(
1720
1798
  "Called #{__method__} with instance of wrong type:"\
1721
1799
  " #{res.class} want #{operation.update_class}"\
@@ -1724,37 +1802,37 @@ module Google
1724
1802
  end
1725
1803
  end
1726
1804
 
1727
- op = Google::Ads::GoogleAds::V1::Services::KeywordPlanOperation.new
1805
+ op = Google::Ads::GoogleAds::V1::Services::CustomerClientLinkOperation.new
1728
1806
  op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
1729
1807
  op["update"] = res
1730
1808
  op
1731
1809
  end
1732
1810
 
1733
- # A convenience method for creating an LabelOperation instance with
1734
- # its "update" field prepopulated with an Label instance, and
1811
+ # A convenience method for creating an MerchantCenterLinkOperation instance with
1812
+ # its "update" field prepopulated with an MerchantCenterLink instance, and
1735
1813
  # its "update_mask" field populated as needed to send the updates to the API.
1736
1814
  #
1737
- # @overload #label(path, &blk)
1815
+ # @overload #merchant_center_link(path, &blk)
1738
1816
  # @param path [String] a resource path for the resource to update
1739
- # @yield [Google::Ads::GoogleAds::V1::Resources::Label] a new instance of the resource for this update operation, on
1817
+ # @yield [Google::Ads::GoogleAds::V1::Resources::MerchantCenterLink] a new instance of the resource for this update operation, on
1740
1818
  # which fields can be set to update
1741
1819
  #
1742
- # @overload #label(resource, &blk)
1743
- # @param resource [Google::Ads::GoogleAds::V1::Resources::Label] a resource instance to update
1820
+ # @overload #merchant_center_link(resource, &blk)
1821
+ # @param resource [Google::Ads::GoogleAds::V1::Resources::MerchantCenterLink] a resource instance to update
1744
1822
  # @yield the passed block is called and updates against `resource` are recordered in the update mask
1745
- # @return [Google::Ads::GoogleAds::V1::Services::LabelOperation] the operation instance to update the resource
1746
- def self.label(resource_or_path, &blk)
1747
- require "google/ads/google_ads/v1/services/label_service_pb.rb"
1823
+ # @return [Google::Ads::GoogleAds::V1::Services::MerchantCenterLinkOperation] the operation instance to update the resource
1824
+ def self.merchant_center_link(resource_or_path, &blk)
1825
+ require "google/ads/google_ads/v1/services/merchant_center_link_service_pb.rb"
1748
1826
  res = case resource_or_path
1749
- when Google::Ads::GoogleAds::V1::Resources::Label
1827
+ when Google::Ads::GoogleAds::V1::Resources::MerchantCenterLink
1750
1828
  resource_or_path
1751
1829
  # got a resource path
1752
1830
  when String
1753
- obj = Google::Ads::GoogleAds::V1::Resources::Label.new
1831
+ obj = Google::Ads::GoogleAds::V1::Resources::MerchantCenterLink.new
1754
1832
  obj.resource_name = resource_or_path
1755
1833
  obj
1756
1834
  else
1757
- unless Google::Ads::GoogleAds::V1::Resources::Label === res
1835
+ unless Google::Ads::GoogleAds::V1::Resources::MerchantCenterLink === res
1758
1836
  raise ArgumentError.new(
1759
1837
  "Called #{__method__} with instance of wrong type:"\
1760
1838
  " #{res.class} want #{operation.update_class}"\
@@ -1763,37 +1841,37 @@ module Google
1763
1841
  end
1764
1842
  end
1765
1843
 
1766
- op = Google::Ads::GoogleAds::V1::Services::LabelOperation.new
1844
+ op = Google::Ads::GoogleAds::V1::Services::MerchantCenterLinkOperation.new
1767
1845
  op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
1768
1846
  op["update"] = res
1769
1847
  op
1770
1848
  end
1771
1849
 
1772
- # A convenience method for creating an CampaignCriterionOperation instance with
1773
- # its "update" field prepopulated with an CampaignCriterion instance, and
1850
+ # A convenience method for creating an AdGroupBidModifierOperation instance with
1851
+ # its "update" field prepopulated with an AdGroupBidModifier instance, and
1774
1852
  # its "update_mask" field populated as needed to send the updates to the API.
1775
1853
  #
1776
- # @overload #campaign_criterion(path, &blk)
1854
+ # @overload #ad_group_bid_modifier(path, &blk)
1777
1855
  # @param path [String] a resource path for the resource to update
1778
- # @yield [Google::Ads::GoogleAds::V1::Resources::CampaignCriterion] a new instance of the resource for this update operation, on
1856
+ # @yield [Google::Ads::GoogleAds::V1::Resources::AdGroupBidModifier] a new instance of the resource for this update operation, on
1779
1857
  # which fields can be set to update
1780
1858
  #
1781
- # @overload #campaign_criterion(resource, &blk)
1782
- # @param resource [Google::Ads::GoogleAds::V1::Resources::CampaignCriterion] a resource instance to update
1859
+ # @overload #ad_group_bid_modifier(resource, &blk)
1860
+ # @param resource [Google::Ads::GoogleAds::V1::Resources::AdGroupBidModifier] a resource instance to update
1783
1861
  # @yield the passed block is called and updates against `resource` are recordered in the update mask
1784
- # @return [Google::Ads::GoogleAds::V1::Services::CampaignCriterionOperation] the operation instance to update the resource
1785
- def self.campaign_criterion(resource_or_path, &blk)
1786
- require "google/ads/google_ads/v1/services/campaign_criterion_service_pb.rb"
1862
+ # @return [Google::Ads::GoogleAds::V1::Services::AdGroupBidModifierOperation] the operation instance to update the resource
1863
+ def self.ad_group_bid_modifier(resource_or_path, &blk)
1864
+ require "google/ads/google_ads/v1/services/ad_group_bid_modifier_service_pb.rb"
1787
1865
  res = case resource_or_path
1788
- when Google::Ads::GoogleAds::V1::Resources::CampaignCriterion
1866
+ when Google::Ads::GoogleAds::V1::Resources::AdGroupBidModifier
1789
1867
  resource_or_path
1790
1868
  # got a resource path
1791
1869
  when String
1792
- obj = Google::Ads::GoogleAds::V1::Resources::CampaignCriterion.new
1870
+ obj = Google::Ads::GoogleAds::V1::Resources::AdGroupBidModifier.new
1793
1871
  obj.resource_name = resource_or_path
1794
1872
  obj
1795
1873
  else
1796
- unless Google::Ads::GoogleAds::V1::Resources::CampaignCriterion === res
1874
+ unless Google::Ads::GoogleAds::V1::Resources::AdGroupBidModifier === res
1797
1875
  raise ArgumentError.new(
1798
1876
  "Called #{__method__} with instance of wrong type:"\
1799
1877
  " #{res.class} want #{operation.update_class}"\
@@ -1802,37 +1880,76 @@ module Google
1802
1880
  end
1803
1881
  end
1804
1882
 
1805
- op = Google::Ads::GoogleAds::V1::Services::CampaignCriterionOperation.new
1883
+ op = Google::Ads::GoogleAds::V1::Services::AdGroupBidModifierOperation.new
1806
1884
  op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
1807
1885
  op["update"] = res
1808
1886
  op
1809
1887
  end
1810
1888
 
1811
- # A convenience method for creating an CustomInterestOperation instance with
1812
- # its "update" field prepopulated with an CustomInterest instance, and
1889
+ # A convenience method for creating an CampaignFeedOperation instance with
1890
+ # its "update" field prepopulated with an CampaignFeed instance, and
1813
1891
  # its "update_mask" field populated as needed to send the updates to the API.
1814
1892
  #
1815
- # @overload #custom_interest(path, &blk)
1893
+ # @overload #campaign_feed(path, &blk)
1816
1894
  # @param path [String] a resource path for the resource to update
1817
- # @yield [Google::Ads::GoogleAds::V1::Resources::CustomInterest] a new instance of the resource for this update operation, on
1895
+ # @yield [Google::Ads::GoogleAds::V1::Resources::CampaignFeed] a new instance of the resource for this update operation, on
1818
1896
  # which fields can be set to update
1819
1897
  #
1820
- # @overload #custom_interest(resource, &blk)
1821
- # @param resource [Google::Ads::GoogleAds::V1::Resources::CustomInterest] a resource instance to update
1898
+ # @overload #campaign_feed(resource, &blk)
1899
+ # @param resource [Google::Ads::GoogleAds::V1::Resources::CampaignFeed] a resource instance to update
1822
1900
  # @yield the passed block is called and updates against `resource` are recordered in the update mask
1823
- # @return [Google::Ads::GoogleAds::V1::Services::CustomInterestOperation] the operation instance to update the resource
1824
- def self.custom_interest(resource_or_path, &blk)
1825
- require "google/ads/google_ads/v1/services/custom_interest_service_pb.rb"
1901
+ # @return [Google::Ads::GoogleAds::V1::Services::CampaignFeedOperation] the operation instance to update the resource
1902
+ def self.campaign_feed(resource_or_path, &blk)
1903
+ require "google/ads/google_ads/v1/services/campaign_feed_service_pb.rb"
1904
+ res = case resource_or_path
1905
+ when Google::Ads::GoogleAds::V1::Resources::CampaignFeed
1906
+ resource_or_path
1907
+ # got a resource path
1908
+ when String
1909
+ obj = Google::Ads::GoogleAds::V1::Resources::CampaignFeed.new
1910
+ obj.resource_name = resource_or_path
1911
+ obj
1912
+ else
1913
+ unless Google::Ads::GoogleAds::V1::Resources::CampaignFeed === res
1914
+ raise ArgumentError.new(
1915
+ "Called #{__method__} with instance of wrong type:"\
1916
+ " #{res.class} want #{operation.update_class}"\
1917
+ " or String representing resource name"
1918
+ )
1919
+ end
1920
+ end
1921
+
1922
+ op = Google::Ads::GoogleAds::V1::Services::CampaignFeedOperation.new
1923
+ op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
1924
+ op["update"] = res
1925
+ op
1926
+ end
1927
+
1928
+ # A convenience method for creating an RemarketingActionOperation instance with
1929
+ # its "update" field prepopulated with an RemarketingAction instance, and
1930
+ # its "update_mask" field populated as needed to send the updates to the API.
1931
+ #
1932
+ # @overload #remarketing_action(path, &blk)
1933
+ # @param path [String] a resource path for the resource to update
1934
+ # @yield [Google::Ads::GoogleAds::V1::Resources::RemarketingAction] a new instance of the resource for this update operation, on
1935
+ # which fields can be set to update
1936
+ #
1937
+ # @overload #remarketing_action(resource, &blk)
1938
+ # @param resource [Google::Ads::GoogleAds::V1::Resources::RemarketingAction] a resource instance to update
1939
+ # @yield the passed block is called and updates against `resource` are recordered in the update mask
1940
+ # @return [Google::Ads::GoogleAds::V1::Services::RemarketingActionOperation] the operation instance to update the resource
1941
+ def self.remarketing_action(resource_or_path, &blk)
1942
+ require "google/ads/google_ads/v1/services/remarketing_action_service_pb.rb"
1826
1943
  res = case resource_or_path
1827
- when Google::Ads::GoogleAds::V1::Resources::CustomInterest
1944
+ when Google::Ads::GoogleAds::V1::Resources::RemarketingAction
1828
1945
  resource_or_path
1829
1946
  # got a resource path
1830
1947
  when String
1831
- obj = Google::Ads::GoogleAds::V1::Resources::CustomInterest.new
1948
+ obj = Google::Ads::GoogleAds::V1::Resources::RemarketingAction.new
1832
1949
  obj.resource_name = resource_or_path
1833
1950
  obj
1834
1951
  else
1835
- unless Google::Ads::GoogleAds::V1::Resources::CustomInterest === res
1952
+ unless Google::Ads::GoogleAds::V1::Resources::RemarketingAction === res
1836
1953
  raise ArgumentError.new(
1837
1954
  "Called #{__method__} with instance of wrong type:"\
1838
1955
  " #{res.class} want #{operation.update_class}"\
@@ -1841,7 +1958,7 @@ module Google
1841
1958
  end
1842
1959
  end
1843
1960
 
1844
- op = Google::Ads::GoogleAds::V1::Services::CustomInterestOperation.new
1961
+ op = Google::Ads::GoogleAds::V1::Services::RemarketingActionOperation.new
1845
1962
  op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
1846
1963
  op["update"] = res
1847
1964
  op
@@ -1886,45 +2003,6 @@ module Google
1886
2003
  op
1887
2004
  end
1888
2005
 
1889
- # A convenience method for creating an AdGroupBidModifierOperation instance with
1890
- # its "update" field prepopulated with an AdGroupBidModifier instance, and
1891
- # its "update_mask" field populated as needed to send the updates to the API.
1892
- #
1893
- # @overload #ad_group_bid_modifier(path, &blk)
1894
- # @param path [String] a resource path for the resource to update
1895
- # @yield [Google::Ads::GoogleAds::V1::Resources::AdGroupBidModifier] a new instance of the resource for this update operation, on
1896
- # which fields can be set to update
1897
- #
1898
- # @overload #ad_group_bid_modifier(resource, &blk)
1899
- # @param resource [Google::Ads::GoogleAds::V1::Resources::AdGroupBidModifier] a resource instance to update
1900
- # @yield the passed block is called and updates against `resource` are recordered in the update mask
1901
- # @return [Google::Ads::GoogleAds::V1::Services::AdGroupBidModifierOperation] the operation instance to update the resource
1902
- def self.ad_group_bid_modifier(resource_or_path, &blk)
1903
- require "google/ads/google_ads/v1/services/ad_group_bid_modifier_service_pb.rb"
1904
- res = case resource_or_path
1905
- when Google::Ads::GoogleAds::V1::Resources::AdGroupBidModifier
1906
- resource_or_path
1907
- # got a resource path
1908
- when String
1909
- obj = Google::Ads::GoogleAds::V1::Resources::AdGroupBidModifier.new
1910
- obj.resource_name = resource_or_path
1911
- obj
1912
- else
1913
- unless Google::Ads::GoogleAds::V1::Resources::AdGroupBidModifier === res
1914
- raise ArgumentError.new(
1915
- "Called #{__method__} with instance of wrong type:"\
1916
- " #{res.class} want #{operation.update_class}"\
1917
- " or String representing resource name"
1918
- )
1919
- end
1920
- end
1921
-
1922
- op = Google::Ads::GoogleAds::V1::Services::AdGroupBidModifierOperation.new
1923
- op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
1924
- op["update"] = res
1925
- op
1926
- end
1927
-
1928
2006
  # A convenience method for creating an AdGroupCriterionOperation instance with
1929
2007
  # its "update" field prepopulated with an AdGroupCriterion instance, and
1930
2008
  # its "update_mask" field populated as needed to send the updates to the API.
@@ -2237,6 +2315,45 @@ module Google
2237
2315
  op
2238
2316
  end
2239
2317
 
2318
+ # A convenience method for creating an CampaignCriterionOperation instance with
2319
+ # its "update" field prepopulated with an CampaignCriterion instance, and
2320
+ # its "update_mask" field populated as needed to send the updates to the API.
2321
+ #
2322
+ # @overload #campaign_criterion(path, &blk)
2323
+ # @param path [String] a resource path for the resource to update
2324
+ # @yield [Google::Ads::GoogleAds::V1::Resources::CampaignCriterion] a new instance of the resource for this update operation, on
2325
+ # which fields can be set to update
2326
+ #
2327
+ # @overload #campaign_criterion(resource, &blk)
2328
+ # @param resource [Google::Ads::GoogleAds::V1::Resources::CampaignCriterion] a resource instance to update
2329
+ # @yield the passed block is called and updates against `resource` are recordered in the update mask
2330
+ # @return [Google::Ads::GoogleAds::V1::Services::CampaignCriterionOperation] the operation instance to update the resource
2331
+ def self.campaign_criterion(resource_or_path, &blk)
2332
+ require "google/ads/google_ads/v1/services/campaign_criterion_service_pb.rb"
2333
+ res = case resource_or_path
2334
+ when Google::Ads::GoogleAds::V1::Resources::CampaignCriterion
2335
+ resource_or_path
2336
+ # got a resource path
2337
+ when String
2338
+ obj = Google::Ads::GoogleAds::V1::Resources::CampaignCriterion.new
2339
+ obj.resource_name = resource_or_path
2340
+ obj
2341
+ else
2342
+ unless Google::Ads::GoogleAds::V1::Resources::CampaignCriterion === res
2343
+ raise ArgumentError.new(
2344
+ "Called #{__method__} with instance of wrong type:"\
2345
+ " #{res.class} want #{operation.update_class}"\
2346
+ " or String representing resource name"
2347
+ )
2348
+ end
2349
+ end
2350
+
2351
+ op = Google::Ads::GoogleAds::V1::Services::CampaignCriterionOperation.new
2352
+ op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
2353
+ op["update"] = res
2354
+ op
2355
+ end
2356
+
2240
2357
  # A convenience method for creating an CampaignDraftOperation instance with
2241
2358
  # its "update" field prepopulated with an CampaignDraft instance, and
2242
2359
  # its "update_mask" field populated as needed to send the updates to the API.
@@ -2276,31 +2393,31 @@ module Google
2276
2393
  op
2277
2394
  end
2278
2395
 
2279
- # A convenience method for creating an CampaignExtensionSettingOperation instance with
2280
- # its "update" field prepopulated with an CampaignExtensionSetting instance, and
2396
+ # A convenience method for creating an CampaignExperimentOperation instance with
2397
+ # its "update" field prepopulated with an CampaignExperiment instance, and
2281
2398
  # its "update_mask" field populated as needed to send the updates to the API.
2282
2399
  #
2283
- # @overload #campaign_extension_setting(path, &blk)
2400
+ # @overload #campaign_experiment(path, &blk)
2284
2401
  # @param path [String] a resource path for the resource to update
2285
- # @yield [Google::Ads::GoogleAds::V1::Resources::CampaignExtensionSetting] a new instance of the resource for this update operation, on
2402
+ # @yield [Google::Ads::GoogleAds::V1::Resources::CampaignExperiment] a new instance of the resource for this update operation, on
2286
2403
  # which fields can be set to update
2287
2404
  #
2288
- # @overload #campaign_extension_setting(resource, &blk)
2289
- # @param resource [Google::Ads::GoogleAds::V1::Resources::CampaignExtensionSetting] a resource instance to update
2405
+ # @overload #campaign_experiment(resource, &blk)
2406
+ # @param resource [Google::Ads::GoogleAds::V1::Resources::CampaignExperiment] a resource instance to update
2290
2407
  # @yield the passed block is called and updates against `resource` are recordered in the update mask
2291
- # @return [Google::Ads::GoogleAds::V1::Services::CampaignExtensionSettingOperation] the operation instance to update the resource
2292
- def self.campaign_extension_setting(resource_or_path, &blk)
2293
- require "google/ads/google_ads/v1/services/campaign_extension_setting_service_pb.rb"
2408
+ # @return [Google::Ads::GoogleAds::V1::Services::CampaignExperimentOperation] the operation instance to update the resource
2409
+ def self.campaign_experiment(resource_or_path, &blk)
2410
+ require "google/ads/google_ads/v1/services/campaign_experiment_service_pb.rb"
2294
2411
  res = case resource_or_path
2295
- when Google::Ads::GoogleAds::V1::Resources::CampaignExtensionSetting
2412
+ when Google::Ads::GoogleAds::V1::Resources::CampaignExperiment
2296
2413
  resource_or_path
2297
2414
  # got a resource path
2298
2415
  when String
2299
- obj = Google::Ads::GoogleAds::V1::Resources::CampaignExtensionSetting.new
2416
+ obj = Google::Ads::GoogleAds::V1::Resources::CampaignExperiment.new
2300
2417
  obj.resource_name = resource_or_path
2301
2418
  obj
2302
2419
  else
2303
- unless Google::Ads::GoogleAds::V1::Resources::CampaignExtensionSetting === res
2420
+ unless Google::Ads::GoogleAds::V1::Resources::CampaignExperiment === res
2304
2421
  raise ArgumentError.new(
2305
2422
  "Called #{__method__} with instance of wrong type:"\
2306
2423
  " #{res.class} want #{operation.update_class}"\
@@ -2309,37 +2426,37 @@ module Google
2309
2426
  end
2310
2427
  end
2311
2428
 
2312
- op = Google::Ads::GoogleAds::V1::Services::CampaignExtensionSettingOperation.new
2429
+ op = Google::Ads::GoogleAds::V1::Services::CampaignExperimentOperation.new
2313
2430
  op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
2314
2431
  op["update"] = res
2315
2432
  op
2316
2433
  end
2317
2434
 
2318
- # A convenience method for creating an CampaignFeedOperation instance with
2319
- # its "update" field prepopulated with an CampaignFeed instance, and
2435
+ # A convenience method for creating an CampaignExtensionSettingOperation instance with
2436
+ # its "update" field prepopulated with an CampaignExtensionSetting instance, and
2320
2437
  # its "update_mask" field populated as needed to send the updates to the API.
2321
2438
  #
2322
- # @overload #campaign_feed(path, &blk)
2439
+ # @overload #campaign_extension_setting(path, &blk)
2323
2440
  # @param path [String] a resource path for the resource to update
2324
- # @yield [Google::Ads::GoogleAds::V1::Resources::CampaignFeed] a new instance of the resource for this update operation, on
2441
+ # @yield [Google::Ads::GoogleAds::V1::Resources::CampaignExtensionSetting] a new instance of the resource for this update operation, on
2325
2442
  # which fields can be set to update
2326
2443
  #
2327
- # @overload #campaign_feed(resource, &blk)
2328
- # @param resource [Google::Ads::GoogleAds::V1::Resources::CampaignFeed] a resource instance to update
2444
+ # @overload #campaign_extension_setting(resource, &blk)
2445
+ # @param resource [Google::Ads::GoogleAds::V1::Resources::CampaignExtensionSetting] a resource instance to update
2329
2446
  # @yield the passed block is called and updates against `resource` are recordered in the update mask
2330
- # @return [Google::Ads::GoogleAds::V1::Services::CampaignFeedOperation] the operation instance to update the resource
2331
- def self.campaign_feed(resource_or_path, &blk)
2332
- require "google/ads/google_ads/v1/services/campaign_feed_service_pb.rb"
2447
+ # @return [Google::Ads::GoogleAds::V1::Services::CampaignExtensionSettingOperation] the operation instance to update the resource
2448
+ def self.campaign_extension_setting(resource_or_path, &blk)
2449
+ require "google/ads/google_ads/v1/services/campaign_extension_setting_service_pb.rb"
2333
2450
  res = case resource_or_path
2334
- when Google::Ads::GoogleAds::V1::Resources::CampaignFeed
2451
+ when Google::Ads::GoogleAds::V1::Resources::CampaignExtensionSetting
2335
2452
  resource_or_path
2336
2453
  # got a resource path
2337
2454
  when String
2338
- obj = Google::Ads::GoogleAds::V1::Resources::CampaignFeed.new
2455
+ obj = Google::Ads::GoogleAds::V1::Resources::CampaignExtensionSetting.new
2339
2456
  obj.resource_name = resource_or_path
2340
2457
  obj
2341
2458
  else
2342
- unless Google::Ads::GoogleAds::V1::Resources::CampaignFeed === res
2459
+ unless Google::Ads::GoogleAds::V1::Resources::CampaignExtensionSetting === res
2343
2460
  raise ArgumentError.new(
2344
2461
  "Called #{__method__} with instance of wrong type:"\
2345
2462
  " #{res.class} want #{operation.update_class}"\
@@ -2348,7 +2465,7 @@ module Google
2348
2465
  end
2349
2466
  end
2350
2467
 
2351
- op = Google::Ads::GoogleAds::V1::Services::CampaignFeedOperation.new
2468
+ op = Google::Ads::GoogleAds::V1::Services::CampaignExtensionSettingOperation.new
2352
2469
  op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
2353
2470
  op["update"] = res
2354
2471
  op
@@ -2569,128 +2686,11 @@ module Google
2569
2686
  resource_or_path
2570
2687
  # got a resource path
2571
2688
  when String
2572
- obj = Google::Ads::GoogleAds::V1::Resources::ExtensionFeedItem.new
2573
- obj.resource_name = resource_or_path
2574
- obj
2575
- else
2576
- unless Google::Ads::GoogleAds::V1::Resources::ExtensionFeedItem === res
2577
- raise ArgumentError.new(
2578
- "Called #{__method__} with instance of wrong type:"\
2579
- " #{res.class} want #{operation.update_class}"\
2580
- " or String representing resource name"
2581
- )
2582
- end
2583
- end
2584
-
2585
- op = Google::Ads::GoogleAds::V1::Services::ExtensionFeedItemOperation.new
2586
- op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
2587
- op["update"] = res
2588
- op
2589
- end
2590
-
2591
- # A convenience method for creating an FeedItemOperation instance with
2592
- # its "update" field prepopulated with an FeedItem instance, and
2593
- # its "update_mask" field populated as needed to send the updates to the API.
2594
- #
2595
- # @overload #feed_item(path, &blk)
2596
- # @param path [String] a resource path for the resource to update
2597
- # @yield [Google::Ads::GoogleAds::V1::Resources::FeedItem] a new instance of the resource for this update operation, on
2598
- # which fields can be set to update
2599
- #
2600
- # @overload #feed_item(resource, &blk)
2601
- # @param resource [Google::Ads::GoogleAds::V1::Resources::FeedItem] a resource instance to update
2602
- # @yield the passed block is called and updates against `resource` are recordered in the update mask
2603
- # @return [Google::Ads::GoogleAds::V1::Services::FeedItemOperation] the operation instance to update the resource
2604
- def self.feed_item(resource_or_path, &blk)
2605
- require "google/ads/google_ads/v1/services/feed_item_service_pb.rb"
2606
- res = case resource_or_path
2607
- when Google::Ads::GoogleAds::V1::Resources::FeedItem
2608
- resource_or_path
2609
- # got a resource path
2610
- when String
2611
- obj = Google::Ads::GoogleAds::V1::Resources::FeedItem.new
2612
- obj.resource_name = resource_or_path
2613
- obj
2614
- else
2615
- unless Google::Ads::GoogleAds::V1::Resources::FeedItem === res
2616
- raise ArgumentError.new(
2617
- "Called #{__method__} with instance of wrong type:"\
2618
- " #{res.class} want #{operation.update_class}"\
2619
- " or String representing resource name"
2620
- )
2621
- end
2622
- end
2623
-
2624
- op = Google::Ads::GoogleAds::V1::Services::FeedItemOperation.new
2625
- op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
2626
- op["update"] = res
2627
- op
2628
- end
2629
-
2630
- # A convenience method for creating an FeedOperation instance with
2631
- # its "update" field prepopulated with an Feed instance, and
2632
- # its "update_mask" field populated as needed to send the updates to the API.
2633
- #
2634
- # @overload #feed(path, &blk)
2635
- # @param path [String] a resource path for the resource to update
2636
- # @yield [Google::Ads::GoogleAds::V1::Resources::Feed] a new instance of the resource for this update operation, on
2637
- # which fields can be set to update
2638
- #
2639
- # @overload #feed(resource, &blk)
2640
- # @param resource [Google::Ads::GoogleAds::V1::Resources::Feed] a resource instance to update
2641
- # @yield the passed block is called and updates against `resource` are recordered in the update mask
2642
- # @return [Google::Ads::GoogleAds::V1::Services::FeedOperation] the operation instance to update the resource
2643
- def self.feed(resource_or_path, &blk)
2644
- require "google/ads/google_ads/v1/services/feed_service_pb.rb"
2645
- res = case resource_or_path
2646
- when Google::Ads::GoogleAds::V1::Resources::Feed
2647
- resource_or_path
2648
- # got a resource path
2649
- when String
2650
- obj = Google::Ads::GoogleAds::V1::Resources::Feed.new
2651
- obj.resource_name = resource_or_path
2652
- obj
2653
- else
2654
- unless Google::Ads::GoogleAds::V1::Resources::Feed === res
2655
- raise ArgumentError.new(
2656
- "Called #{__method__} with instance of wrong type:"\
2657
- " #{res.class} want #{operation.update_class}"\
2658
- " or String representing resource name"
2659
- )
2660
- end
2661
- end
2662
-
2663
- op = Google::Ads::GoogleAds::V1::Services::FeedOperation.new
2664
- op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
2665
- op["update"] = res
2666
- op
2667
- end
2668
-
2669
- # A convenience method for creating an RemarketingActionOperation instance with
2670
- # its "update" field prepopulated with an RemarketingAction instance, and
2671
- # its "update_mask" field populated as needed to send the updates to the API.
2672
- #
2673
- # @overload #remarketing_action(path, &blk)
2674
- # @param path [String] a resource path for the resource to update
2675
- # @yield [Google::Ads::GoogleAds::V1::Resources::RemarketingAction] a new instance of the resource for this update operation, on
2676
- # which fields can be set to update
2677
- #
2678
- # @overload #remarketing_action(resource, &blk)
2679
- # @param resource [Google::Ads::GoogleAds::V1::Resources::RemarketingAction] a resource instance to update
2680
- # @yield the passed block is called and updates against `resource` are recordered in the update mask
2681
- # @return [Google::Ads::GoogleAds::V1::Services::RemarketingActionOperation] the operation instance to update the resource
2682
- def self.remarketing_action(resource_or_path, &blk)
2683
- require "google/ads/google_ads/v1/services/remarketing_action_service_pb.rb"
2684
- res = case resource_or_path
2685
- when Google::Ads::GoogleAds::V1::Resources::RemarketingAction
2686
- resource_or_path
2687
- # got a resource path
2688
- when String
2689
- obj = Google::Ads::GoogleAds::V1::Resources::RemarketingAction.new
2689
+ obj = Google::Ads::GoogleAds::V1::Resources::ExtensionFeedItem.new
2690
2690
  obj.resource_name = resource_or_path
2691
2691
  obj
2692
2692
  else
2693
- unless Google::Ads::GoogleAds::V1::Resources::RemarketingAction === res
2693
+ unless Google::Ads::GoogleAds::V1::Resources::ExtensionFeedItem === res
2694
2694
  raise ArgumentError.new(
2695
2695
  "Called #{__method__} with instance of wrong type:"\
2696
2696
  " #{res.class} want #{operation.update_class}"\
@@ -2699,37 +2699,37 @@ module Google
2699
2699
  end
2700
2700
  end
2701
2701
 
2702
- op = Google::Ads::GoogleAds::V1::Services::RemarketingActionOperation.new
2702
+ op = Google::Ads::GoogleAds::V1::Services::ExtensionFeedItemOperation.new
2703
2703
  op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
2704
2704
  op["update"] = res
2705
2705
  op
2706
2706
  end
2707
2707
 
2708
- # A convenience method for creating an SharedSetOperation instance with
2709
- # its "update" field prepopulated with an SharedSet instance, and
2708
+ # A convenience method for creating an FeedItemOperation instance with
2709
+ # its "update" field prepopulated with an FeedItem instance, and
2710
2710
  # its "update_mask" field populated as needed to send the updates to the API.
2711
2711
  #
2712
- # @overload #shared_set(path, &blk)
2712
+ # @overload #feed_item(path, &blk)
2713
2713
  # @param path [String] a resource path for the resource to update
2714
- # @yield [Google::Ads::GoogleAds::V1::Resources::SharedSet] a new instance of the resource for this update operation, on
2714
+ # @yield [Google::Ads::GoogleAds::V1::Resources::FeedItem] a new instance of the resource for this update operation, on
2715
2715
  # which fields can be set to update
2716
2716
  #
2717
- # @overload #shared_set(resource, &blk)
2718
- # @param resource [Google::Ads::GoogleAds::V1::Resources::SharedSet] a resource instance to update
2717
+ # @overload #feed_item(resource, &blk)
2718
+ # @param resource [Google::Ads::GoogleAds::V1::Resources::FeedItem] a resource instance to update
2719
2719
  # @yield the passed block is called and updates against `resource` are recordered in the update mask
2720
- # @return [Google::Ads::GoogleAds::V1::Services::SharedSetOperation] the operation instance to update the resource
2721
- def self.shared_set(resource_or_path, &blk)
2722
- require "google/ads/google_ads/v1/services/shared_set_service_pb.rb"
2720
+ # @return [Google::Ads::GoogleAds::V1::Services::FeedItemOperation] the operation instance to update the resource
2721
+ def self.feed_item(resource_or_path, &blk)
2722
+ require "google/ads/google_ads/v1/services/feed_item_service_pb.rb"
2723
2723
  res = case resource_or_path
2724
- when Google::Ads::GoogleAds::V1::Resources::SharedSet
2724
+ when Google::Ads::GoogleAds::V1::Resources::FeedItem
2725
2725
  resource_or_path
2726
2726
  # got a resource path
2727
2727
  when String
2728
- obj = Google::Ads::GoogleAds::V1::Resources::SharedSet.new
2728
+ obj = Google::Ads::GoogleAds::V1::Resources::FeedItem.new
2729
2729
  obj.resource_name = resource_or_path
2730
2730
  obj
2731
2731
  else
2732
- unless Google::Ads::GoogleAds::V1::Resources::SharedSet === res
2732
+ unless Google::Ads::GoogleAds::V1::Resources::FeedItem === res
2733
2733
  raise ArgumentError.new(
2734
2734
  "Called #{__method__} with instance of wrong type:"\
2735
2735
  " #{res.class} want #{operation.update_class}"\
@@ -2738,37 +2738,37 @@ module Google
2738
2738
  end
2739
2739
  end
2740
2740
 
2741
- op = Google::Ads::GoogleAds::V1::Services::SharedSetOperation.new
2741
+ op = Google::Ads::GoogleAds::V1::Services::FeedItemOperation.new
2742
2742
  op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
2743
2743
  op["update"] = res
2744
2744
  op
2745
2745
  end
2746
2746
 
2747
- # A convenience method for creating an UserListOperation instance with
2748
- # its "update" field prepopulated with an UserList instance, and
2747
+ # A convenience method for creating an LabelOperation instance with
2748
+ # its "update" field prepopulated with an Label instance, and
2749
2749
  # its "update_mask" field populated as needed to send the updates to the API.
2750
2750
  #
2751
- # @overload #user_list(path, &blk)
2751
+ # @overload #label(path, &blk)
2752
2752
  # @param path [String] a resource path for the resource to update
2753
- # @yield [Google::Ads::GoogleAds::V1::Resources::UserList] a new instance of the resource for this update operation, on
2753
+ # @yield [Google::Ads::GoogleAds::V1::Resources::Label] a new instance of the resource for this update operation, on
2754
2754
  # which fields can be set to update
2755
2755
  #
2756
- # @overload #user_list(resource, &blk)
2757
- # @param resource [Google::Ads::GoogleAds::V1::Resources::UserList] a resource instance to update
2756
+ # @overload #label(resource, &blk)
2757
+ # @param resource [Google::Ads::GoogleAds::V1::Resources::Label] a resource instance to update
2758
2758
  # @yield the passed block is called and updates against `resource` are recordered in the update mask
2759
- # @return [Google::Ads::GoogleAds::V1::Services::UserListOperation] the operation instance to update the resource
2760
- def self.user_list(resource_or_path, &blk)
2761
- require "google/ads/google_ads/v1/services/user_list_service_pb.rb"
2759
+ # @return [Google::Ads::GoogleAds::V1::Services::LabelOperation] the operation instance to update the resource
2760
+ def self.label(resource_or_path, &blk)
2761
+ require "google/ads/google_ads/v1/services/label_service_pb.rb"
2762
2762
  res = case resource_or_path
2763
- when Google::Ads::GoogleAds::V1::Resources::UserList
2763
+ when Google::Ads::GoogleAds::V1::Resources::Label
2764
2764
  resource_or_path
2765
2765
  # got a resource path
2766
2766
  when String
2767
- obj = Google::Ads::GoogleAds::V1::Resources::UserList.new
2767
+ obj = Google::Ads::GoogleAds::V1::Resources::Label.new
2768
2768
  obj.resource_name = resource_or_path
2769
2769
  obj
2770
2770
  else
2771
- unless Google::Ads::GoogleAds::V1::Resources::UserList === res
2771
+ unless Google::Ads::GoogleAds::V1::Resources::Label === res
2772
2772
  raise ArgumentError.new(
2773
2773
  "Called #{__method__} with instance of wrong type:"\
2774
2774
  " #{res.class} want #{operation.update_class}"\
@@ -2777,37 +2777,37 @@ module Google
2777
2777
  end
2778
2778
  end
2779
2779
 
2780
- op = Google::Ads::GoogleAds::V1::Services::UserListOperation.new
2780
+ op = Google::Ads::GoogleAds::V1::Services::LabelOperation.new
2781
2781
  op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
2782
2782
  op["update"] = res
2783
2783
  op
2784
2784
  end
2785
2785
 
2786
- # A convenience method for creating an KeywordPlanCampaignOperation instance with
2787
- # its "update" field prepopulated with an KeywordPlanCampaign instance, and
2786
+ # A convenience method for creating an UserListOperation instance with
2787
+ # its "update" field prepopulated with an UserList instance, and
2788
2788
  # its "update_mask" field populated as needed to send the updates to the API.
2789
2789
  #
2790
- # @overload #keyword_plan_campaign(path, &blk)
2790
+ # @overload #user_list(path, &blk)
2791
2791
  # @param path [String] a resource path for the resource to update
2792
- # @yield [Google::Ads::GoogleAds::V1::Resources::KeywordPlanCampaign] a new instance of the resource for this update operation, on
2792
+ # @yield [Google::Ads::GoogleAds::V1::Resources::UserList] a new instance of the resource for this update operation, on
2793
2793
  # which fields can be set to update
2794
2794
  #
2795
- # @overload #keyword_plan_campaign(resource, &blk)
2796
- # @param resource [Google::Ads::GoogleAds::V1::Resources::KeywordPlanCampaign] a resource instance to update
2795
+ # @overload #user_list(resource, &blk)
2796
+ # @param resource [Google::Ads::GoogleAds::V1::Resources::UserList] a resource instance to update
2797
2797
  # @yield the passed block is called and updates against `resource` are recordered in the update mask
2798
- # @return [Google::Ads::GoogleAds::V1::Services::KeywordPlanCampaignOperation] the operation instance to update the resource
2799
- def self.keyword_plan_campaign(resource_or_path, &blk)
2800
- require "google/ads/google_ads/v1/services/keyword_plan_campaign_service_pb.rb"
2798
+ # @return [Google::Ads::GoogleAds::V1::Services::UserListOperation] the operation instance to update the resource
2799
+ def self.user_list(resource_or_path, &blk)
2800
+ require "google/ads/google_ads/v1/services/user_list_service_pb.rb"
2801
2801
  res = case resource_or_path
2802
- when Google::Ads::GoogleAds::V1::Resources::KeywordPlanCampaign
2802
+ when Google::Ads::GoogleAds::V1::Resources::UserList
2803
2803
  resource_or_path
2804
2804
  # got a resource path
2805
2805
  when String
2806
- obj = Google::Ads::GoogleAds::V1::Resources::KeywordPlanCampaign.new
2806
+ obj = Google::Ads::GoogleAds::V1::Resources::UserList.new
2807
2807
  obj.resource_name = resource_or_path
2808
2808
  obj
2809
2809
  else
2810
- unless Google::Ads::GoogleAds::V1::Resources::KeywordPlanCampaign === res
2810
+ unless Google::Ads::GoogleAds::V1::Resources::UserList === res
2811
2811
  raise ArgumentError.new(
2812
2812
  "Called #{__method__} with instance of wrong type:"\
2813
2813
  " #{res.class} want #{operation.update_class}"\
@@ -2816,37 +2816,37 @@ module Google
2816
2816
  end
2817
2817
  end
2818
2818
 
2819
- op = Google::Ads::GoogleAds::V1::Services::KeywordPlanCampaignOperation.new
2819
+ op = Google::Ads::GoogleAds::V1::Services::UserListOperation.new
2820
2820
  op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
2821
2821
  op["update"] = res
2822
2822
  op
2823
2823
  end
2824
2824
 
2825
- # A convenience method for creating an CustomerClientLinkOperation instance with
2826
- # its "update" field prepopulated with an CustomerClientLink instance, and
2825
+ # A convenience method for creating an KeywordPlanKeywordOperation instance with
2826
+ # its "update" field prepopulated with an KeywordPlanKeyword instance, and
2827
2827
  # its "update_mask" field populated as needed to send the updates to the API.
2828
2828
  #
2829
- # @overload #customer_client_link(path, &blk)
2829
+ # @overload #keyword_plan_keyword(path, &blk)
2830
2830
  # @param path [String] a resource path for the resource to update
2831
- # @yield [Google::Ads::GoogleAds::V1::Resources::CustomerClientLink] a new instance of the resource for this update operation, on
2831
+ # @yield [Google::Ads::GoogleAds::V1::Resources::KeywordPlanKeyword] a new instance of the resource for this update operation, on
2832
2832
  # which fields can be set to update
2833
2833
  #
2834
- # @overload #customer_client_link(resource, &blk)
2835
- # @param resource [Google::Ads::GoogleAds::V1::Resources::CustomerClientLink] a resource instance to update
2834
+ # @overload #keyword_plan_keyword(resource, &blk)
2835
+ # @param resource [Google::Ads::GoogleAds::V1::Resources::KeywordPlanKeyword] a resource instance to update
2836
2836
  # @yield the passed block is called and updates against `resource` are recordered in the update mask
2837
- # @return [Google::Ads::GoogleAds::V1::Services::CustomerClientLinkOperation] the operation instance to update the resource
2838
- def self.customer_client_link(resource_or_path, &blk)
2839
- require "google/ads/google_ads/v1/services/customer_client_link_service_pb.rb"
2837
+ # @return [Google::Ads::GoogleAds::V1::Services::KeywordPlanKeywordOperation] the operation instance to update the resource
2838
+ def self.keyword_plan_keyword(resource_or_path, &blk)
2839
+ require "google/ads/google_ads/v1/services/keyword_plan_keyword_service_pb.rb"
2840
2840
  res = case resource_or_path
2841
- when Google::Ads::GoogleAds::V1::Resources::CustomerClientLink
2841
+ when Google::Ads::GoogleAds::V1::Resources::KeywordPlanKeyword
2842
2842
  resource_or_path
2843
2843
  # got a resource path
2844
2844
  when String
2845
- obj = Google::Ads::GoogleAds::V1::Resources::CustomerClientLink.new
2845
+ obj = Google::Ads::GoogleAds::V1::Resources::KeywordPlanKeyword.new
2846
2846
  obj.resource_name = resource_or_path
2847
2847
  obj
2848
2848
  else
2849
- unless Google::Ads::GoogleAds::V1::Resources::CustomerClientLink === res
2849
+ unless Google::Ads::GoogleAds::V1::Resources::KeywordPlanKeyword === res
2850
2850
  raise ArgumentError.new(
2851
2851
  "Called #{__method__} with instance of wrong type:"\
2852
2852
  " #{res.class} want #{operation.update_class}"\
@@ -2855,37 +2855,37 @@ module Google
2855
2855
  end
2856
2856
  end
2857
2857
 
2858
- op = Google::Ads::GoogleAds::V1::Services::CustomerClientLinkOperation.new
2858
+ op = Google::Ads::GoogleAds::V1::Services::KeywordPlanKeywordOperation.new
2859
2859
  op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
2860
2860
  op["update"] = res
2861
2861
  op
2862
2862
  end
2863
2863
 
2864
- # A convenience method for creating an CustomerManagerLinkOperation instance with
2865
- # its "update" field prepopulated with an CustomerManagerLink instance, and
2864
+ # A convenience method for creating an KeywordPlanAdGroupOperation instance with
2865
+ # its "update" field prepopulated with an KeywordPlanAdGroup instance, and
2866
2866
  # its "update_mask" field populated as needed to send the updates to the API.
2867
2867
  #
2868
- # @overload #customer_manager_link(path, &blk)
2868
+ # @overload #keyword_plan_ad_group(path, &blk)
2869
2869
  # @param path [String] a resource path for the resource to update
2870
- # @yield [Google::Ads::GoogleAds::V1::Resources::CustomerManagerLink] a new instance of the resource for this update operation, on
2870
+ # @yield [Google::Ads::GoogleAds::V1::Resources::KeywordPlanAdGroup] a new instance of the resource for this update operation, on
2871
2871
  # which fields can be set to update
2872
2872
  #
2873
- # @overload #customer_manager_link(resource, &blk)
2874
- # @param resource [Google::Ads::GoogleAds::V1::Resources::CustomerManagerLink] a resource instance to update
2873
+ # @overload #keyword_plan_ad_group(resource, &blk)
2874
+ # @param resource [Google::Ads::GoogleAds::V1::Resources::KeywordPlanAdGroup] a resource instance to update
2875
2875
  # @yield the passed block is called and updates against `resource` are recordered in the update mask
2876
- # @return [Google::Ads::GoogleAds::V1::Services::CustomerManagerLinkOperation] the operation instance to update the resource
2877
- def self.customer_manager_link(resource_or_path, &blk)
2878
- require "google/ads/google_ads/v1/services/customer_manager_link_service_pb.rb"
2876
+ # @return [Google::Ads::GoogleAds::V1::Services::KeywordPlanAdGroupOperation] the operation instance to update the resource
2877
+ def self.keyword_plan_ad_group(resource_or_path, &blk)
2878
+ require "google/ads/google_ads/v1/services/keyword_plan_ad_group_service_pb.rb"
2879
2879
  res = case resource_or_path
2880
- when Google::Ads::GoogleAds::V1::Resources::CustomerManagerLink
2880
+ when Google::Ads::GoogleAds::V1::Resources::KeywordPlanAdGroup
2881
2881
  resource_or_path
2882
2882
  # got a resource path
2883
2883
  when String
2884
- obj = Google::Ads::GoogleAds::V1::Resources::CustomerManagerLink.new
2884
+ obj = Google::Ads::GoogleAds::V1::Resources::KeywordPlanAdGroup.new
2885
2885
  obj.resource_name = resource_or_path
2886
2886
  obj
2887
2887
  else
2888
- unless Google::Ads::GoogleAds::V1::Resources::CustomerManagerLink === res
2888
+ unless Google::Ads::GoogleAds::V1::Resources::KeywordPlanAdGroup === res
2889
2889
  raise ArgumentError.new(
2890
2890
  "Called #{__method__} with instance of wrong type:"\
2891
2891
  " #{res.class} want #{operation.update_class}"\
@@ -2894,37 +2894,37 @@ module Google
2894
2894
  end
2895
2895
  end
2896
2896
 
2897
- op = Google::Ads::GoogleAds::V1::Services::CustomerManagerLinkOperation.new
2897
+ op = Google::Ads::GoogleAds::V1::Services::KeywordPlanAdGroupOperation.new
2898
2898
  op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
2899
2899
  op["update"] = res
2900
2900
  op
2901
2901
  end
2902
2902
 
2903
- # A convenience method for creating an MerchantCenterLinkOperation instance with
2904
- # its "update" field prepopulated with an MerchantCenterLink instance, and
2903
+ # A convenience method for creating an CustomInterestOperation instance with
2904
+ # its "update" field prepopulated with an CustomInterest instance, and
2905
2905
  # its "update_mask" field populated as needed to send the updates to the API.
2906
2906
  #
2907
- # @overload #merchant_center_link(path, &blk)
2907
+ # @overload #custom_interest(path, &blk)
2908
2908
  # @param path [String] a resource path for the resource to update
2909
- # @yield [Google::Ads::GoogleAds::V1::Resources::MerchantCenterLink] a new instance of the resource for this update operation, on
2909
+ # @yield [Google::Ads::GoogleAds::V1::Resources::CustomInterest] a new instance of the resource for this update operation, on
2910
2910
  # which fields can be set to update
2911
2911
  #
2912
- # @overload #merchant_center_link(resource, &blk)
2913
- # @param resource [Google::Ads::GoogleAds::V1::Resources::MerchantCenterLink] a resource instance to update
2912
+ # @overload #custom_interest(resource, &blk)
2913
+ # @param resource [Google::Ads::GoogleAds::V1::Resources::CustomInterest] a resource instance to update
2914
2914
  # @yield the passed block is called and updates against `resource` are recordered in the update mask
2915
- # @return [Google::Ads::GoogleAds::V1::Services::MerchantCenterLinkOperation] the operation instance to update the resource
2916
- def self.merchant_center_link(resource_or_path, &blk)
2917
- require "google/ads/google_ads/v1/services/merchant_center_link_service_pb.rb"
2915
+ # @return [Google::Ads::GoogleAds::V1::Services::CustomInterestOperation] the operation instance to update the resource
2916
+ def self.custom_interest(resource_or_path, &blk)
2917
+ require "google/ads/google_ads/v1/services/custom_interest_service_pb.rb"
2918
2918
  res = case resource_or_path
2919
- when Google::Ads::GoogleAds::V1::Resources::MerchantCenterLink
2919
+ when Google::Ads::GoogleAds::V1::Resources::CustomInterest
2920
2920
  resource_or_path
2921
2921
  # got a resource path
2922
2922
  when String
2923
- obj = Google::Ads::GoogleAds::V1::Resources::MerchantCenterLink.new
2923
+ obj = Google::Ads::GoogleAds::V1::Resources::CustomInterest.new
2924
2924
  obj.resource_name = resource_or_path
2925
2925
  obj
2926
2926
  else
2927
- unless Google::Ads::GoogleAds::V1::Resources::MerchantCenterLink === res
2927
+ unless Google::Ads::GoogleAds::V1::Resources::CustomInterest === res
2928
2928
  raise ArgumentError.new(
2929
2929
  "Called #{__method__} with instance of wrong type:"\
2930
2930
  " #{res.class} want #{operation.update_class}"\
@@ -2933,7 +2933,7 @@ module Google
2933
2933
  end
2934
2934
  end
2935
2935
 
2936
- op = Google::Ads::GoogleAds::V1::Services::MerchantCenterLinkOperation.new
2936
+ op = Google::Ads::GoogleAds::V1::Services::CustomInterestOperation.new
2937
2937
  op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
2938
2938
  op["update"] = res
2939
2939
  op
@@ -2978,31 +2978,31 @@ module Google
2978
2978
  op
2979
2979
  end
2980
2980
 
2981
- # A convenience method for creating an KeywordPlanAdGroupOperation instance with
2982
- # its "update" field prepopulated with an KeywordPlanAdGroup instance, and
2981
+ # A convenience method for creating an KeywordPlanOperation instance with
2982
+ # its "update" field prepopulated with an KeywordPlan instance, and
2983
2983
  # its "update_mask" field populated as needed to send the updates to the API.
2984
2984
  #
2985
- # @overload #keyword_plan_ad_group(path, &blk)
2985
+ # @overload #keyword_plan(path, &blk)
2986
2986
  # @param path [String] a resource path for the resource to update
2987
- # @yield [Google::Ads::GoogleAds::V1::Resources::KeywordPlanAdGroup] a new instance of the resource for this update operation, on
2987
+ # @yield [Google::Ads::GoogleAds::V1::Resources::KeywordPlan] a new instance of the resource for this update operation, on
2988
2988
  # which fields can be set to update
2989
2989
  #
2990
- # @overload #keyword_plan_ad_group(resource, &blk)
2991
- # @param resource [Google::Ads::GoogleAds::V1::Resources::KeywordPlanAdGroup] a resource instance to update
2990
+ # @overload #keyword_plan(resource, &blk)
2991
+ # @param resource [Google::Ads::GoogleAds::V1::Resources::KeywordPlan] a resource instance to update
2992
2992
  # @yield the passed block is called and updates against `resource` are recordered in the update mask
2993
- # @return [Google::Ads::GoogleAds::V1::Services::KeywordPlanAdGroupOperation] the operation instance to update the resource
2994
- def self.keyword_plan_ad_group(resource_or_path, &blk)
2995
- require "google/ads/google_ads/v1/services/keyword_plan_ad_group_service_pb.rb"
2993
+ # @return [Google::Ads::GoogleAds::V1::Services::KeywordPlanOperation] the operation instance to update the resource
2994
+ def self.keyword_plan(resource_or_path, &blk)
2995
+ require "google/ads/google_ads/v1/services/keyword_plan_service_pb.rb"
2996
2996
  res = case resource_or_path
2997
- when Google::Ads::GoogleAds::V1::Resources::KeywordPlanAdGroup
2997
+ when Google::Ads::GoogleAds::V1::Resources::KeywordPlan
2998
2998
  resource_or_path
2999
2999
  # got a resource path
3000
3000
  when String
3001
- obj = Google::Ads::GoogleAds::V1::Resources::KeywordPlanAdGroup.new
3001
+ obj = Google::Ads::GoogleAds::V1::Resources::KeywordPlan.new
3002
3002
  obj.resource_name = resource_or_path
3003
3003
  obj
3004
3004
  else
3005
- unless Google::Ads::GoogleAds::V1::Resources::KeywordPlanAdGroup === res
3005
+ unless Google::Ads::GoogleAds::V1::Resources::KeywordPlan === res
3006
3006
  raise ArgumentError.new(
3007
3007
  "Called #{__method__} with instance of wrong type:"\
3008
3008
  " #{res.class} want #{operation.update_class}"\
@@ -3011,7 +3011,7 @@ module Google
3011
3011
  end
3012
3012
  end
3013
3013
 
3014
- op = Google::Ads::GoogleAds::V1::Services::KeywordPlanAdGroupOperation.new
3014
+ op = Google::Ads::GoogleAds::V1::Services::KeywordPlanOperation.new
3015
3015
  op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
3016
3016
  op["update"] = res
3017
3017
  op
@@ -3030,145 +3030,167 @@ module Google
3030
3030
  op
3031
3031
  end
3032
3032
 
3033
- # A convenience method for creationg an CampaignExperimentOperation instance with
3033
+ # A convenience method for creationg an AdGroupCriterionLabelOperation instance with
3034
3034
  # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3035
3035
  #
3036
3036
  # @param path [String] the resource name of the resource to delete.
3037
- def self.campaign_experiment(path)
3038
- require "google/ads/google_ads/v1/services/campaign_experiment_service_pb.rb"
3039
- op = Google::Ads::GoogleAds::V1::Services::CampaignExperimentOperation.new
3037
+ def self.ad_group_criterion_label(path)
3038
+ require "google/ads/google_ads/v1/services/ad_group_criterion_label_service_pb.rb"
3039
+ op = Google::Ads::GoogleAds::V1::Services::AdGroupCriterionLabelOperation.new
3040
3040
  op["remove"] = path
3041
3041
  op
3042
3042
  end
3043
3043
 
3044
- # A convenience method for creationg an KeywordPlanKeywordOperation instance with
3044
+ # A convenience method for creationg an CustomerManagerLinkOperation instance with
3045
3045
  # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3046
3046
  #
3047
3047
  # @param path [String] the resource name of the resource to delete.
3048
- def self.keyword_plan_keyword(path)
3049
- require "google/ads/google_ads/v1/services/keyword_plan_keyword_service_pb.rb"
3050
- op = Google::Ads::GoogleAds::V1::Services::KeywordPlanKeywordOperation.new
3048
+ def self.customer_manager_link(path)
3049
+ require "google/ads/google_ads/v1/services/customer_manager_link_service_pb.rb"
3050
+ op = Google::Ads::GoogleAds::V1::Services::CustomerManagerLinkOperation.new
3051
3051
  op["remove"] = path
3052
3052
  op
3053
3053
  end
3054
3054
 
3055
- # A convenience method for creationg an KeywordPlanOperation instance with
3055
+ # A convenience method for creationg an KeywordPlanCampaignOperation instance with
3056
3056
  # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3057
3057
  #
3058
3058
  # @param path [String] the resource name of the resource to delete.
3059
- def self.keyword_plan(path)
3060
- require "google/ads/google_ads/v1/services/keyword_plan_service_pb.rb"
3061
- op = Google::Ads::GoogleAds::V1::Services::KeywordPlanOperation.new
3059
+ def self.keyword_plan_campaign(path)
3060
+ require "google/ads/google_ads/v1/services/keyword_plan_campaign_service_pb.rb"
3061
+ op = Google::Ads::GoogleAds::V1::Services::KeywordPlanCampaignOperation.new
3062
3062
  op["remove"] = path
3063
3063
  op
3064
3064
  end
3065
3065
 
3066
- # A convenience method for creationg an LabelOperation instance with
3066
+ # A convenience method for creationg an SharedSetOperation instance with
3067
3067
  # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3068
3068
  #
3069
3069
  # @param path [String] the resource name of the resource to delete.
3070
- def self.label(path)
3071
- require "google/ads/google_ads/v1/services/label_service_pb.rb"
3072
- op = Google::Ads::GoogleAds::V1::Services::LabelOperation.new
3070
+ def self.shared_set(path)
3071
+ require "google/ads/google_ads/v1/services/shared_set_service_pb.rb"
3072
+ op = Google::Ads::GoogleAds::V1::Services::SharedSetOperation.new
3073
3073
  op["remove"] = path
3074
3074
  op
3075
3075
  end
3076
3076
 
3077
- # A convenience method for creationg an CampaignCriterionOperation instance with
3077
+ # A convenience method for creationg an FeedOperation instance with
3078
3078
  # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3079
3079
  #
3080
3080
  # @param path [String] the resource name of the resource to delete.
3081
- def self.campaign_criterion(path)
3082
- require "google/ads/google_ads/v1/services/campaign_criterion_service_pb.rb"
3083
- op = Google::Ads::GoogleAds::V1::Services::CampaignCriterionOperation.new
3081
+ def self.feed(path)
3082
+ require "google/ads/google_ads/v1/services/feed_service_pb.rb"
3083
+ op = Google::Ads::GoogleAds::V1::Services::FeedOperation.new
3084
3084
  op["remove"] = path
3085
3085
  op
3086
3086
  end
3087
3087
 
3088
- # A convenience method for creationg an CampaignLabelOperation instance with
3088
+ # A convenience method for creationg an AdGroupAdLabelOperation instance with
3089
3089
  # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3090
3090
  #
3091
3091
  # @param path [String] the resource name of the resource to delete.
3092
- def self.campaign_label(path)
3093
- require "google/ads/google_ads/v1/services/campaign_label_service_pb.rb"
3094
- op = Google::Ads::GoogleAds::V1::Services::CampaignLabelOperation.new
3092
+ def self.ad_group_ad_label(path)
3093
+ require "google/ads/google_ads/v1/services/ad_group_ad_label_service_pb.rb"
3094
+ op = Google::Ads::GoogleAds::V1::Services::AdGroupAdLabelOperation.new
3095
+ op["remove"] = path
3096
+ op
3097
+ end
3098
+
3099
+ # A convenience method for creationg an CustomerClientLinkOperation instance with
3100
+ # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3101
+ #
3102
+ # @param path [String] the resource name of the resource to delete.
3103
+ def self.customer_client_link(path)
3104
+ require "google/ads/google_ads/v1/services/customer_client_link_service_pb.rb"
3105
+ op = Google::Ads::GoogleAds::V1::Services::CustomerClientLinkOperation.new
3106
+ op["remove"] = path
3107
+ op
3108
+ end
3109
+
3110
+ # A convenience method for creationg an CampaignSharedSetOperation instance with
3111
+ # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3112
+ #
3113
+ # @param path [String] the resource name of the resource to delete.
3114
+ def self.campaign_shared_set(path)
3115
+ require "google/ads/google_ads/v1/services/campaign_shared_set_service_pb.rb"
3116
+ op = Google::Ads::GoogleAds::V1::Services::CampaignSharedSetOperation.new
3095
3117
  op["remove"] = path
3096
3118
  op
3097
3119
  end
3098
3120
 
3099
- # A convenience method for creationg an CustomInterestOperation instance with
3121
+ # A convenience method for creationg an MerchantCenterLinkOperation instance with
3100
3122
  # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3101
3123
  #
3102
3124
  # @param path [String] the resource name of the resource to delete.
3103
- def self.custom_interest(path)
3104
- require "google/ads/google_ads/v1/services/custom_interest_service_pb.rb"
3105
- op = Google::Ads::GoogleAds::V1::Services::CustomInterestOperation.new
3125
+ def self.merchant_center_link(path)
3126
+ require "google/ads/google_ads/v1/services/merchant_center_link_service_pb.rb"
3127
+ op = Google::Ads::GoogleAds::V1::Services::MerchantCenterLinkOperation.new
3106
3128
  op["remove"] = path
3107
3129
  op
3108
3130
  end
3109
3131
 
3110
- # A convenience method for creationg an ApplyRecommendationOperation instance with
3132
+ # A convenience method for creationg an AdGroupBidModifierOperation instance with
3111
3133
  # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3112
3134
  #
3113
3135
  # @param path [String] the resource name of the resource to delete.
3114
- def self.apply_recommendation(path)
3115
- require "google/ads/google_ads/v1/services/recommendation_service_pb.rb"
3116
- op = Google::Ads::GoogleAds::V1::Services::ApplyRecommendationOperation.new
3136
+ def self.ad_group_bid_modifier(path)
3137
+ require "google/ads/google_ads/v1/services/ad_group_bid_modifier_service_pb.rb"
3138
+ op = Google::Ads::GoogleAds::V1::Services::AdGroupBidModifierOperation.new
3117
3139
  op["remove"] = path
3118
3140
  op
3119
3141
  end
3120
3142
 
3121
- # A convenience method for creationg an DismissRecommendationOperation instance with
3143
+ # A convenience method for creationg an CampaignFeedOperation instance with
3122
3144
  # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3123
3145
  #
3124
3146
  # @param path [String] the resource name of the resource to delete.
3125
- def self.dismiss_recommendation(path)
3126
- require "google/ads/google_ads/v1/services/recommendation_service_pb.rb"
3127
- op = Google::Ads::GoogleAds::V1::Services::DismissRecommendationRequest::DismissRecommendationOperation.new
3147
+ def self.campaign_feed(path)
3148
+ require "google/ads/google_ads/v1/services/campaign_feed_service_pb.rb"
3149
+ op = Google::Ads::GoogleAds::V1::Services::CampaignFeedOperation.new
3128
3150
  op["remove"] = path
3129
3151
  op
3130
3152
  end
3131
3153
 
3132
- # A convenience method for creationg an FeedMappingOperation instance with
3154
+ # A convenience method for creationg an SharedCriterionOperation instance with
3133
3155
  # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3134
3156
  #
3135
3157
  # @param path [String] the resource name of the resource to delete.
3136
- def self.feed_mapping(path)
3137
- require "google/ads/google_ads/v1/services/feed_mapping_service_pb.rb"
3138
- op = Google::Ads::GoogleAds::V1::Services::FeedMappingOperation.new
3158
+ def self.shared_criterion(path)
3159
+ require "google/ads/google_ads/v1/services/shared_criterion_service_pb.rb"
3160
+ op = Google::Ads::GoogleAds::V1::Services::SharedCriterionOperation.new
3139
3161
  op["remove"] = path
3140
3162
  op
3141
3163
  end
3142
3164
 
3143
- # A convenience method for creationg an AdGroupCriterionLabelOperation instance with
3165
+ # A convenience method for creationg an RemarketingActionOperation instance with
3144
3166
  # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3145
3167
  #
3146
3168
  # @param path [String] the resource name of the resource to delete.
3147
- def self.ad_group_criterion_label(path)
3148
- require "google/ads/google_ads/v1/services/ad_group_criterion_label_service_pb.rb"
3149
- op = Google::Ads::GoogleAds::V1::Services::AdGroupCriterionLabelOperation.new
3169
+ def self.remarketing_action(path)
3170
+ require "google/ads/google_ads/v1/services/remarketing_action_service_pb.rb"
3171
+ op = Google::Ads::GoogleAds::V1::Services::RemarketingActionOperation.new
3150
3172
  op["remove"] = path
3151
3173
  op
3152
3174
  end
3153
3175
 
3154
- # A convenience method for creationg an AssetOperation instance with
3176
+ # A convenience method for creationg an AdGroupLabelOperation instance with
3155
3177
  # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3156
3178
  #
3157
3179
  # @param path [String] the resource name of the resource to delete.
3158
- def self.asset(path)
3159
- require "google/ads/google_ads/v1/services/asset_service_pb.rb"
3160
- op = Google::Ads::GoogleAds::V1::Services::AssetOperation.new
3180
+ def self.ad_group_label(path)
3181
+ require "google/ads/google_ads/v1/services/ad_group_label_service_pb.rb"
3182
+ op = Google::Ads::GoogleAds::V1::Services::AdGroupLabelOperation.new
3161
3183
  op["remove"] = path
3162
3184
  op
3163
3185
  end
3164
3186
 
3165
- # A convenience method for creationg an AdGroupAdLabelOperation instance with
3187
+ # A convenience method for creationg an CustomerLabelOperation instance with
3166
3188
  # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3167
3189
  #
3168
3190
  # @param path [String] the resource name of the resource to delete.
3169
- def self.ad_group_ad_label(path)
3170
- require "google/ads/google_ads/v1/services/ad_group_ad_label_service_pb.rb"
3171
- op = Google::Ads::GoogleAds::V1::Services::AdGroupAdLabelOperation.new
3191
+ def self.customer_label(path)
3192
+ require "google/ads/google_ads/v1/services/customer_label_service_pb.rb"
3193
+ op = Google::Ads::GoogleAds::V1::Services::CustomerLabelOperation.new
3172
3194
  op["remove"] = path
3173
3195
  op
3174
3196
  end
@@ -3184,17 +3206,6 @@ module Google
3184
3206
  op
3185
3207
  end
3186
3208
 
3187
- # A convenience method for creationg an AdGroupBidModifierOperation instance with
3188
- # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3189
- #
3190
- # @param path [String] the resource name of the resource to delete.
3191
- def self.ad_group_bid_modifier(path)
3192
- require "google/ads/google_ads/v1/services/ad_group_bid_modifier_service_pb.rb"
3193
- op = Google::Ads::GoogleAds::V1::Services::AdGroupBidModifierOperation.new
3194
- op["remove"] = path
3195
- op
3196
- end
3197
-
3198
3209
  # A convenience method for creationg an AdGroupCriterionOperation instance with
3199
3210
  # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3200
3211
  #
@@ -3228,17 +3239,6 @@ module Google
3228
3239
  op
3229
3240
  end
3230
3241
 
3231
- # A convenience method for creationg an AdGroupLabelOperation instance with
3232
- # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3233
- #
3234
- # @param path [String] the resource name of the resource to delete.
3235
- def self.ad_group_label(path)
3236
- require "google/ads/google_ads/v1/services/ad_group_label_service_pb.rb"
3237
- op = Google::Ads::GoogleAds::V1::Services::AdGroupLabelOperation.new
3238
- op["remove"] = path
3239
- op
3240
- end
3241
-
3242
3242
  # A convenience method for creationg an AdGroupOperation instance with
3243
3243
  # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3244
3244
  #
@@ -3261,6 +3261,17 @@ module Google
3261
3261
  op
3262
3262
  end
3263
3263
 
3264
+ # A convenience method for creationg an AssetOperation instance with
3265
+ # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3266
+ #
3267
+ # @param path [String] the resource name of the resource to delete.
3268
+ def self.asset(path)
3269
+ require "google/ads/google_ads/v1/services/asset_service_pb.rb"
3270
+ op = Google::Ads::GoogleAds::V1::Services::AssetOperation.new
3271
+ op["remove"] = path
3272
+ op
3273
+ end
3274
+
3264
3275
  # A convenience method for creationg an BiddingStrategyOperation instance with
3265
3276
  # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3266
3277
  #
@@ -3294,6 +3305,17 @@ module Google
3294
3305
  op
3295
3306
  end
3296
3307
 
3308
+ # A convenience method for creationg an CampaignCriterionOperation instance with
3309
+ # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3310
+ #
3311
+ # @param path [String] the resource name of the resource to delete.
3312
+ def self.campaign_criterion(path)
3313
+ require "google/ads/google_ads/v1/services/campaign_criterion_service_pb.rb"
3314
+ op = Google::Ads::GoogleAds::V1::Services::CampaignCriterionOperation.new
3315
+ op["remove"] = path
3316
+ op
3317
+ end
3318
+
3297
3319
  # A convenience method for creationg an CampaignDraftOperation instance with
3298
3320
  # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3299
3321
  #
@@ -3305,6 +3327,17 @@ module Google
3305
3327
  op
3306
3328
  end
3307
3329
 
3330
+ # A convenience method for creationg an CampaignExperimentOperation instance with
3331
+ # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3332
+ #
3333
+ # @param path [String] the resource name of the resource to delete.
3334
+ def self.campaign_experiment(path)
3335
+ require "google/ads/google_ads/v1/services/campaign_experiment_service_pb.rb"
3336
+ op = Google::Ads::GoogleAds::V1::Services::CampaignExperimentOperation.new
3337
+ op["remove"] = path
3338
+ op
3339
+ end
3340
+
3308
3341
  # A convenience method for creationg an CampaignExtensionSettingOperation instance with
3309
3342
  # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3310
3343
  #
@@ -3316,13 +3349,13 @@ module Google
3316
3349
  op
3317
3350
  end
3318
3351
 
3319
- # A convenience method for creationg an CampaignFeedOperation instance with
3352
+ # A convenience method for creationg an CampaignLabelOperation instance with
3320
3353
  # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3321
3354
  #
3322
3355
  # @param path [String] the resource name of the resource to delete.
3323
- def self.campaign_feed(path)
3324
- require "google/ads/google_ads/v1/services/campaign_feed_service_pb.rb"
3325
- op = Google::Ads::GoogleAds::V1::Services::CampaignFeedOperation.new
3356
+ def self.campaign_label(path)
3357
+ require "google/ads/google_ads/v1/services/campaign_label_service_pb.rb"
3358
+ op = Google::Ads::GoogleAds::V1::Services::CampaignLabelOperation.new
3326
3359
  op["remove"] = path
3327
3360
  op
3328
3361
  end
@@ -3338,17 +3371,6 @@ module Google
3338
3371
  op
3339
3372
  end
3340
3373
 
3341
- # A convenience method for creationg an CampaignSharedSetOperation instance with
3342
- # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3343
- #
3344
- # @param path [String] the resource name of the resource to delete.
3345
- def self.campaign_shared_set(path)
3346
- require "google/ads/google_ads/v1/services/campaign_shared_set_service_pb.rb"
3347
- op = Google::Ads::GoogleAds::V1::Services::CampaignSharedSetOperation.new
3348
- op["remove"] = path
3349
- op
3350
- end
3351
-
3352
3374
  # A convenience method for creationg an ConversionActionOperation instance with
3353
3375
  # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3354
3376
  #
@@ -3382,17 +3404,6 @@ module Google
3382
3404
  op
3383
3405
  end
3384
3406
 
3385
- # A convenience method for creationg an CustomerLabelOperation instance with
3386
- # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3387
- #
3388
- # @param path [String] the resource name of the resource to delete.
3389
- def self.customer_label(path)
3390
- require "google/ads/google_ads/v1/services/customer_label_service_pb.rb"
3391
- op = Google::Ads::GoogleAds::V1::Services::CustomerLabelOperation.new
3392
- op["remove"] = path
3393
- op
3394
- end
3395
-
3396
3407
  # A convenience method for creationg an CustomerNegativeCriterionOperation instance with
3397
3408
  # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3398
3409
  #
@@ -3448,57 +3459,35 @@ module Google
3448
3459
  op
3449
3460
  end
3450
3461
 
3451
- # A convenience method for creationg an FeedOperation instance with
3452
- # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3453
- #
3454
- # @param path [String] the resource name of the resource to delete.
3455
- def self.feed(path)
3456
- require "google/ads/google_ads/v1/services/feed_service_pb.rb"
3457
- op = Google::Ads::GoogleAds::V1::Services::FeedOperation.new
3458
- op["remove"] = path
3459
- op
3460
- end
3461
-
3462
- # A convenience method for creationg an MediaFileOperation instance with
3463
- # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3464
- #
3465
- # @param path [String] the resource name of the resource to delete.
3466
- def self.media_file(path)
3467
- require "google/ads/google_ads/v1/services/media_file_service_pb.rb"
3468
- op = Google::Ads::GoogleAds::V1::Services::MediaFileOperation.new
3469
- op["remove"] = path
3470
- op
3471
- end
3472
-
3473
- # A convenience method for creationg an RemarketingActionOperation instance with
3462
+ # A convenience method for creationg an FeedMappingOperation instance with
3474
3463
  # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3475
3464
  #
3476
3465
  # @param path [String] the resource name of the resource to delete.
3477
- def self.remarketing_action(path)
3478
- require "google/ads/google_ads/v1/services/remarketing_action_service_pb.rb"
3479
- op = Google::Ads::GoogleAds::V1::Services::RemarketingActionOperation.new
3466
+ def self.feed_mapping(path)
3467
+ require "google/ads/google_ads/v1/services/feed_mapping_service_pb.rb"
3468
+ op = Google::Ads::GoogleAds::V1::Services::FeedMappingOperation.new
3480
3469
  op["remove"] = path
3481
3470
  op
3482
3471
  end
3483
3472
 
3484
- # A convenience method for creationg an SharedCriterionOperation instance with
3473
+ # A convenience method for creationg an LabelOperation instance with
3485
3474
  # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3486
3475
  #
3487
3476
  # @param path [String] the resource name of the resource to delete.
3488
- def self.shared_criterion(path)
3489
- require "google/ads/google_ads/v1/services/shared_criterion_service_pb.rb"
3490
- op = Google::Ads::GoogleAds::V1::Services::SharedCriterionOperation.new
3477
+ def self.label(path)
3478
+ require "google/ads/google_ads/v1/services/label_service_pb.rb"
3479
+ op = Google::Ads::GoogleAds::V1::Services::LabelOperation.new
3491
3480
  op["remove"] = path
3492
3481
  op
3493
3482
  end
3494
3483
 
3495
- # A convenience method for creationg an SharedSetOperation instance with
3484
+ # A convenience method for creationg an MediaFileOperation instance with
3496
3485
  # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3497
3486
  #
3498
3487
  # @param path [String] the resource name of the resource to delete.
3499
- def self.shared_set(path)
3500
- require "google/ads/google_ads/v1/services/shared_set_service_pb.rb"
3501
- op = Google::Ads::GoogleAds::V1::Services::SharedSetOperation.new
3488
+ def self.media_file(path)
3489
+ require "google/ads/google_ads/v1/services/media_file_service_pb.rb"
3490
+ op = Google::Ads::GoogleAds::V1::Services::MediaFileOperation.new
3502
3491
  op["remove"] = path
3503
3492
  op
3504
3493
  end
@@ -3525,13 +3514,24 @@ module Google
3525
3514
  op
3526
3515
  end
3527
3516
 
3528
- # A convenience method for creationg an KeywordPlanCampaignOperation instance with
3517
+ # A convenience method for creationg an KeywordPlanKeywordOperation instance with
3529
3518
  # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3530
3519
  #
3531
3520
  # @param path [String] the resource name of the resource to delete.
3532
- def self.keyword_plan_campaign(path)
3533
- require "google/ads/google_ads/v1/services/keyword_plan_campaign_service_pb.rb"
3534
- op = Google::Ads::GoogleAds::V1::Services::KeywordPlanCampaignOperation.new
3521
+ def self.keyword_plan_keyword(path)
3522
+ require "google/ads/google_ads/v1/services/keyword_plan_keyword_service_pb.rb"
3523
+ op = Google::Ads::GoogleAds::V1::Services::KeywordPlanKeywordOperation.new
3524
+ op["remove"] = path
3525
+ op
3526
+ end
3527
+
3528
+ # A convenience method for creationg an KeywordPlanAdGroupOperation instance with
3529
+ # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3530
+ #
3531
+ # @param path [String] the resource name of the resource to delete.
3532
+ def self.keyword_plan_ad_group(path)
3533
+ require "google/ads/google_ads/v1/services/keyword_plan_ad_group_service_pb.rb"
3534
+ op = Google::Ads::GoogleAds::V1::Services::KeywordPlanAdGroupOperation.new
3535
3535
  op["remove"] = path
3536
3536
  op
3537
3537
  end
@@ -3547,68 +3547,68 @@ module Google
3547
3547
  op
3548
3548
  end
3549
3549
 
3550
- # A convenience method for creationg an CustomerClientLinkOperation instance with
3550
+ # A convenience method for creationg an CustomInterestOperation instance with
3551
3551
  # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3552
3552
  #
3553
3553
  # @param path [String] the resource name of the resource to delete.
3554
- def self.customer_client_link(path)
3555
- require "google/ads/google_ads/v1/services/customer_client_link_service_pb.rb"
3556
- op = Google::Ads::GoogleAds::V1::Services::CustomerClientLinkOperation.new
3554
+ def self.custom_interest(path)
3555
+ require "google/ads/google_ads/v1/services/custom_interest_service_pb.rb"
3556
+ op = Google::Ads::GoogleAds::V1::Services::CustomInterestOperation.new
3557
3557
  op["remove"] = path
3558
3558
  op
3559
3559
  end
3560
3560
 
3561
- # A convenience method for creationg an AccountBudgetProposalOperation instance with
3561
+ # A convenience method for creationg an KeywordPlanNegativeKeywordOperation instance with
3562
3562
  # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3563
3563
  #
3564
3564
  # @param path [String] the resource name of the resource to delete.
3565
- def self.account_budget_proposal(path)
3566
- require "google/ads/google_ads/v1/services/account_budget_proposal_service_pb.rb"
3567
- op = Google::Ads::GoogleAds::V1::Services::AccountBudgetProposalOperation.new
3565
+ def self.keyword_plan_negative_keyword(path)
3566
+ require "google/ads/google_ads/v1/services/keyword_plan_negative_keyword_service_pb.rb"
3567
+ op = Google::Ads::GoogleAds::V1::Services::KeywordPlanNegativeKeywordOperation.new
3568
3568
  op["remove"] = path
3569
3569
  op
3570
3570
  end
3571
3571
 
3572
- # A convenience method for creationg an CustomerManagerLinkOperation instance with
3572
+ # A convenience method for creationg an KeywordPlanOperation instance with
3573
3573
  # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3574
3574
  #
3575
3575
  # @param path [String] the resource name of the resource to delete.
3576
- def self.customer_manager_link(path)
3577
- require "google/ads/google_ads/v1/services/customer_manager_link_service_pb.rb"
3578
- op = Google::Ads::GoogleAds::V1::Services::CustomerManagerLinkOperation.new
3576
+ def self.keyword_plan(path)
3577
+ require "google/ads/google_ads/v1/services/keyword_plan_service_pb.rb"
3578
+ op = Google::Ads::GoogleAds::V1::Services::KeywordPlanOperation.new
3579
3579
  op["remove"] = path
3580
3580
  op
3581
3581
  end
3582
3582
 
3583
- # A convenience method for creationg an MerchantCenterLinkOperation instance with
3583
+ # A convenience method for creationg an ApplyRecommendationOperation instance with
3584
3584
  # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3585
3585
  #
3586
3586
  # @param path [String] the resource name of the resource to delete.
3587
- def self.merchant_center_link(path)
3588
- require "google/ads/google_ads/v1/services/merchant_center_link_service_pb.rb"
3589
- op = Google::Ads::GoogleAds::V1::Services::MerchantCenterLinkOperation.new
3587
+ def self.apply_recommendation(path)
3588
+ require "google/ads/google_ads/v1/services/recommendation_service_pb.rb"
3589
+ op = Google::Ads::GoogleAds::V1::Services::ApplyRecommendationOperation.new
3590
3590
  op["remove"] = path
3591
3591
  op
3592
3592
  end
3593
3593
 
3594
- # A convenience method for creationg an KeywordPlanNegativeKeywordOperation instance with
3594
+ # A convenience method for creationg an DismissRecommendationOperation instance with
3595
3595
  # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3596
3596
  #
3597
3597
  # @param path [String] the resource name of the resource to delete.
3598
- def self.keyword_plan_negative_keyword(path)
3599
- require "google/ads/google_ads/v1/services/keyword_plan_negative_keyword_service_pb.rb"
3600
- op = Google::Ads::GoogleAds::V1::Services::KeywordPlanNegativeKeywordOperation.new
3598
+ def self.dismiss_recommendation(path)
3599
+ require "google/ads/google_ads/v1/services/recommendation_service_pb.rb"
3600
+ op = Google::Ads::GoogleAds::V1::Services::DismissRecommendationRequest::DismissRecommendationOperation.new
3601
3601
  op["remove"] = path
3602
3602
  op
3603
3603
  end
3604
3604
 
3605
- # A convenience method for creationg an KeywordPlanAdGroupOperation instance with
3605
+ # A convenience method for creationg an AccountBudgetProposalOperation instance with
3606
3606
  # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3607
3607
  #
3608
3608
  # @param path [String] the resource name of the resource to delete.
3609
- def self.keyword_plan_ad_group(path)
3610
- require "google/ads/google_ads/v1/services/keyword_plan_ad_group_service_pb.rb"
3611
- op = Google::Ads::GoogleAds::V1::Services::KeywordPlanAdGroupOperation.new
3609
+ def self.account_budget_proposal(path)
3610
+ require "google/ads/google_ads/v1/services/account_budget_proposal_service_pb.rb"
3611
+ op = Google::Ads::GoogleAds::V1::Services::AccountBudgetProposalOperation.new
3612
3612
  op["remove"] = path
3613
3613
  op
3614
3614
  end