Module: Google::Ads::GoogleAds::Factories::V15::Operations

Defined in:
lib/google/ads/google_ads/factories/v15/operations.rb

Defined Under Namespace

Modules: CreateResource, RemoveResource, UpdateResource

Class Method Summary collapse

Class Method Details

.account_budget_proposalGoogle::Ads::GoogleAds::V15::Services::AccountBudgetProposalOperation

Create a new AccountBudgetProposalOperation



38
39
40
41
42
43
44
45
46
47
# File 'lib/google/ads/google_ads/factories/v15/operations.rb', line 38

def self.
  require "google/ads/google_ads/v15/services/account_budget_proposal_service_pb"
  if block_given?
    op = Google::Ads::GoogleAds::V15::Services::AccountBudgetProposalOperation.new
    yield op
    op
  else
    Google::Ads::GoogleAds::V15::Services::AccountBudgetProposalOperation.new
  end
end

Create a new AccountLinkOperation



52
53
54
55
56
57
58
59
60
61
# File 'lib/google/ads/google_ads/factories/v15/operations.rb', line 52

def self.
  require "google/ads/google_ads/v15/services/account_link_service_pb"
  if block_given?
    op = Google::Ads::GoogleAds::V15::Services::AccountLinkOperation.new
    yield op
    op
  else
    Google::Ads::GoogleAds::V15::Services::AccountLinkOperation.new
  end
end

.adGoogle::Ads::GoogleAds::V15::Services::AdOperation

Create a new AdOperation



262
263
264
265
266
267
268
269
270
271
# File 'lib/google/ads/google_ads/factories/v15/operations.rb', line 262

def self.ad
  require "google/ads/google_ads/v15/services/ad_service_pb"
  if block_given?
    op = Google::Ads::GoogleAds::V15::Services::AdOperation.new
    yield op
    op
  else
    Google::Ads::GoogleAds::V15::Services::AdOperation.new
  end
end

.ad_groupGoogle::Ads::GoogleAds::V15::Services::AdGroupOperation

Create a new AdGroupOperation



234
235
236
237
238
239
240
241
242
243
# File 'lib/google/ads/google_ads/factories/v15/operations.rb', line 234

def self.ad_group
  require "google/ads/google_ads/v15/services/ad_group_service_pb"
  if block_given?
    op = Google::Ads::GoogleAds::V15::Services::AdGroupOperation.new
    yield op
    op
  else
    Google::Ads::GoogleAds::V15::Services::AdGroupOperation.new
  end
end

.ad_group_adGoogle::Ads::GoogleAds::V15::Services::AdGroupAdOperation

Create a new AdGroupAdOperation



80
81
82
83
84
85
86
87
88
89
# File 'lib/google/ads/google_ads/factories/v15/operations.rb', line 80

def self.ad_group_ad
  require "google/ads/google_ads/v15/services/ad_group_ad_service_pb"
  if block_given?
    op = Google::Ads::GoogleAds::V15::Services::AdGroupAdOperation.new
    yield op
    op
  else
    Google::Ads::GoogleAds::V15::Services::AdGroupAdOperation.new
  end
end

.ad_group_ad_labelGoogle::Ads::GoogleAds::V15::Services::AdGroupAdLabelOperation

Create a new AdGroupAdLabelOperation



66
67
68
69
70
71
72
73
74
75
# File 'lib/google/ads/google_ads/factories/v15/operations.rb', line 66

def self.ad_group_ad_label
  require "google/ads/google_ads/v15/services/ad_group_ad_label_service_pb"
  if block_given?
    op = Google::Ads::GoogleAds::V15::Services::AdGroupAdLabelOperation.new
    yield op
    op
  else
    Google::Ads::GoogleAds::V15::Services::AdGroupAdLabelOperation.new
  end
end

.ad_group_assetGoogle::Ads::GoogleAds::V15::Services::AdGroupAssetOperation

Create a new AdGroupAssetOperation



94
95
96
97
98
99
100
101
102
103
# File 'lib/google/ads/google_ads/factories/v15/operations.rb', line 94

def self.ad_group_asset
  require "google/ads/google_ads/v15/services/ad_group_asset_service_pb"
  if block_given?
    op = Google::Ads::GoogleAds::V15::Services::AdGroupAssetOperation.new
    yield op
    op
  else
    Google::Ads::GoogleAds::V15::Services::AdGroupAssetOperation.new
  end
end

.ad_group_asset_setGoogle::Ads::GoogleAds::V15::Services::AdGroupAssetSetOperation

Create a new AdGroupAssetSetOperation



108
109
110
111
112
113
114
115
116
117
# File 'lib/google/ads/google_ads/factories/v15/operations.rb', line 108

def self.ad_group_asset_set
  require "google/ads/google_ads/v15/services/ad_group_asset_set_service_pb"
  if block_given?
    op = Google::Ads::GoogleAds::V15::Services::AdGroupAssetSetOperation.new
    yield op
    op
  else
    Google::Ads::GoogleAds::V15::Services::AdGroupAssetSetOperation.new
  end
end

.ad_group_bid_modifierGoogle::Ads::GoogleAds::V15::Services::AdGroupBidModifierOperation

Create a new AdGroupBidModifierOperation



122
123
124
125
126
127
128
129
130
131
# File 'lib/google/ads/google_ads/factories/v15/operations.rb', line 122

def self.ad_group_bid_modifier
  require "google/ads/google_ads/v15/services/ad_group_bid_modifier_service_pb"
  if block_given?
    op = Google::Ads::GoogleAds::V15::Services::AdGroupBidModifierOperation.new
    yield op
    op
  else
    Google::Ads::GoogleAds::V15::Services::AdGroupBidModifierOperation.new
  end
end

.ad_group_criterionGoogle::Ads::GoogleAds::V15::Services::AdGroupCriterionOperation

Create a new AdGroupCriterionOperation



164
165
166
167
168
169
170
171
172
173
# File 'lib/google/ads/google_ads/factories/v15/operations.rb', line 164

def self.ad_group_criterion
  require "google/ads/google_ads/v15/services/ad_group_criterion_service_pb"
  if block_given?
    op = Google::Ads::GoogleAds::V15::Services::AdGroupCriterionOperation.new
    yield op
    op
  else
    Google::Ads::GoogleAds::V15::Services::AdGroupCriterionOperation.new
  end
end

.ad_group_criterion_customizerGoogle::Ads::GoogleAds::V15::Services::AdGroupCriterionCustomizerOperation

Create a new AdGroupCriterionCustomizerOperation



136
137
138
139
140
141
142
143
144
145
# File 'lib/google/ads/google_ads/factories/v15/operations.rb', line 136

def self.ad_group_criterion_customizer
  require "google/ads/google_ads/v15/services/ad_group_criterion_customizer_service_pb"
  if block_given?
    op = Google::Ads::GoogleAds::V15::Services::AdGroupCriterionCustomizerOperation.new
    yield op
    op
  else
    Google::Ads::GoogleAds::V15::Services::AdGroupCriterionCustomizerOperation.new
  end
end

.ad_group_criterion_labelGoogle::Ads::GoogleAds::V15::Services::AdGroupCriterionLabelOperation

Create a new AdGroupCriterionLabelOperation



150
151
152
153
154
155
156
157
158
159
# File 'lib/google/ads/google_ads/factories/v15/operations.rb', line 150

def self.ad_group_criterion_label
  require "google/ads/google_ads/v15/services/ad_group_criterion_label_service_pb"
  if block_given?
    op = Google::Ads::GoogleAds::V15::Services::AdGroupCriterionLabelOperation.new
    yield op
    op
  else
    Google::Ads::GoogleAds::V15::Services::AdGroupCriterionLabelOperation.new
  end
end

.ad_group_customizerGoogle::Ads::GoogleAds::V15::Services::AdGroupCustomizerOperation

Create a new AdGroupCustomizerOperation



178
179
180
181
182
183
184
185
186
187
# File 'lib/google/ads/google_ads/factories/v15/operations.rb', line 178

def self.ad_group_customizer
  require "google/ads/google_ads/v15/services/ad_group_customizer_service_pb"
  if block_given?
    op = Google::Ads::GoogleAds::V15::Services::AdGroupCustomizerOperation.new
    yield op
    op
  else
    Google::Ads::GoogleAds::V15::Services::AdGroupCustomizerOperation.new
  end
end

.ad_group_extension_settingGoogle::Ads::GoogleAds::V15::Services::AdGroupExtensionSettingOperation

Create a new AdGroupExtensionSettingOperation



192
193
194
195
196
197
198
199
200
201
# File 'lib/google/ads/google_ads/factories/v15/operations.rb', line 192

def self.ad_group_extension_setting
  require "google/ads/google_ads/v15/services/ad_group_extension_setting_service_pb"
  if block_given?
    op = Google::Ads::GoogleAds::V15::Services::AdGroupExtensionSettingOperation.new
    yield op
    op
  else
    Google::Ads::GoogleAds::V15::Services::AdGroupExtensionSettingOperation.new
  end
end

.ad_group_feedGoogle::Ads::GoogleAds::V15::Services::AdGroupFeedOperation

Create a new AdGroupFeedOperation



206
207
208
209
210
211
212
213
214
215
# File 'lib/google/ads/google_ads/factories/v15/operations.rb', line 206

def self.ad_group_feed
  require "google/ads/google_ads/v15/services/ad_group_feed_service_pb"
  if block_given?
    op = Google::Ads::GoogleAds::V15::Services::AdGroupFeedOperation.new
    yield op
    op
  else
    Google::Ads::GoogleAds::V15::Services::AdGroupFeedOperation.new
  end
end

.ad_group_labelGoogle::Ads::GoogleAds::V15::Services::AdGroupLabelOperation

Create a new AdGroupLabelOperation



220
221
222
223
224
225
226
227
228
229
# File 'lib/google/ads/google_ads/factories/v15/operations.rb', line 220

def self.ad_group_label
  require "google/ads/google_ads/v15/services/ad_group_label_service_pb"
  if block_given?
    op = Google::Ads::GoogleAds::V15::Services::AdGroupLabelOperation.new
    yield op
    op
  else
    Google::Ads::GoogleAds::V15::Services::AdGroupLabelOperation.new
  end
end

.ad_parameterGoogle::Ads::GoogleAds::V15::Services::AdParameterOperation

Create a new AdParameterOperation



248
249
250
251
252
253
254
255
256
257
# File 'lib/google/ads/google_ads/factories/v15/operations.rb', line 248

def self.ad_parameter
  require "google/ads/google_ads/v15/services/ad_parameter_service_pb"
  if block_given?
    op = Google::Ads::GoogleAds::V15::Services::AdParameterOperation.new
    yield op
    op
  else
    Google::Ads::GoogleAds::V15::Services::AdParameterOperation.new
  end
end

.apply_recommendationGoogle::Ads::GoogleAds::V15::Services::ApplyRecommendationOperation

Create a new ApplyRecommendationOperation



1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
# File 'lib/google/ads/google_ads/factories/v15/operations.rb', line 1326

def self.apply_recommendation
  require "google/ads/google_ads/v15/services/recommendation_service_pb"
  if block_given?
    op = Google::Ads::GoogleAds::V15::Services::ApplyRecommendationOperation.new
    yield op
    op
  else
    Google::Ads::GoogleAds::V15::Services::ApplyRecommendationOperation.new
  end
end

.assetGoogle::Ads::GoogleAds::V15::Services::AssetOperation

Create a new AssetOperation



332
333
334
335
336
337
338
339
340
341
# File 'lib/google/ads/google_ads/factories/v15/operations.rb', line 332

def self.asset
  require "google/ads/google_ads/v15/services/asset_service_pb"
  if block_given?
    op = Google::Ads::GoogleAds::V15::Services::AssetOperation.new
    yield op
    op
  else
    Google::Ads::GoogleAds::V15::Services::AssetOperation.new
  end
end

.asset_groupGoogle::Ads::GoogleAds::V15::Services::AssetGroupOperation

Create a new AssetGroupOperation



304
305
306
307
308
309
310
311
312
313
# File 'lib/google/ads/google_ads/factories/v15/operations.rb', line 304

def self.asset_group
  require "google/ads/google_ads/v15/services/asset_group_service_pb"
  if block_given?
    op = Google::Ads::GoogleAds::V15::Services::AssetGroupOperation.new
    yield op
    op
  else
    Google::Ads::GoogleAds::V15::Services::AssetGroupOperation.new
  end
end

.asset_group_assetGoogle::Ads::GoogleAds::V15::Services::AssetGroupAssetOperation

Create a new AssetGroupAssetOperation



276
277
278
279
280
281
282
283
284
285
# File 'lib/google/ads/google_ads/factories/v15/operations.rb', line 276

def self.asset_group_asset
  require "google/ads/google_ads/v15/services/asset_group_asset_service_pb"
  if block_given?
    op = Google::Ads::GoogleAds::V15::Services::AssetGroupAssetOperation.new
    yield op
    op
  else
    Google::Ads::GoogleAds::V15::Services::AssetGroupAssetOperation.new
  end
end

.asset_group_listing_group_filterGoogle::Ads::GoogleAds::V15::Services::AssetGroupListingGroupFilterOperation

Create a new AssetGroupListingGroupFilterOperation



290
291
292
293
294
295
296
297
298
299
# File 'lib/google/ads/google_ads/factories/v15/operations.rb', line 290

def self.asset_group_listing_group_filter
  require "google/ads/google_ads/v15/services/asset_group_listing_group_filter_service_pb"
  if block_given?
    op = Google::Ads::GoogleAds::V15::Services::AssetGroupListingGroupFilterOperation.new
    yield op
    op
  else
    Google::Ads::GoogleAds::V15::Services::AssetGroupListingGroupFilterOperation.new
  end
end

.asset_group_signalGoogle::Ads::GoogleAds::V15::Services::AssetGroupSignalOperation

Create a new AssetGroupSignalOperation



318
319
320
321
322
323
324
325
326
327
# File 'lib/google/ads/google_ads/factories/v15/operations.rb', line 318

def self.asset_group_signal
  require "google/ads/google_ads/v15/services/asset_group_signal_service_pb"
  if block_given?
    op = Google::Ads::GoogleAds::V15::Services::AssetGroupSignalOperation.new
    yield op
    op
  else
    Google::Ads::GoogleAds::V15::Services::AssetGroupSignalOperation.new
  end
end

.asset_setGoogle::Ads::GoogleAds::V15::Services::AssetSetOperation

Create a new AssetSetOperation



360
361
362
363
364
365
366
367
368
369
# File 'lib/google/ads/google_ads/factories/v15/operations.rb', line 360

def self.asset_set
  require "google/ads/google_ads/v15/services/asset_set_service_pb"
  if block_given?
    op = Google::Ads::GoogleAds::V15::Services::AssetSetOperation.new
    yield op
    op
  else
    Google::Ads::GoogleAds::V15::Services::AssetSetOperation.new
  end
end

.asset_set_assetGoogle::Ads::GoogleAds::V15::Services::AssetSetAssetOperation

Create a new AssetSetAssetOperation



346
347
348
349
350
351
352
353
354
355
# File 'lib/google/ads/google_ads/factories/v15/operations.rb', line 346

def self.asset_set_asset
  require "google/ads/google_ads/v15/services/asset_set_asset_service_pb"
  if block_given?
    op = Google::Ads::GoogleAds::V15::Services::AssetSetAssetOperation.new
    yield op
    op
  else
    Google::Ads::GoogleAds::V15::Services::AssetSetAssetOperation.new
  end
end

.audienceGoogle::Ads::GoogleAds::V15::Services::AudienceOperation

Create a new AudienceOperation



374
375
376
377
378
379
380
381
382
383
# File 'lib/google/ads/google_ads/factories/v15/operations.rb', line 374

def self.audience
  require "google/ads/google_ads/v15/services/audience_service_pb"
  if block_given?
    op = Google::Ads::GoogleAds::V15::Services::AudienceOperation.new
    yield op
    op
  else
    Google::Ads::GoogleAds::V15::Services::AudienceOperation.new
  end
end

.batch_jobGoogle::Ads::GoogleAds::V15::Services::BatchJobOperation

Create a new BatchJobOperation



1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
# File 'lib/google/ads/google_ads/factories/v15/operations.rb', line 1144

def self.batch_job
  require "google/ads/google_ads/v15/services/batch_job_service_pb"
  if block_given?
    op = Google::Ads::GoogleAds::V15::Services::BatchJobOperation.new
    yield op
    op
  else
    Google::Ads::GoogleAds::V15::Services::BatchJobOperation.new
  end
end

.bidding_data_exclusionGoogle::Ads::GoogleAds::V15::Services::BiddingDataExclusionOperation

Create a new BiddingDataExclusionOperation



388
389
390
391
392
393
394
395
396
397
# File 'lib/google/ads/google_ads/factories/v15/operations.rb', line 388

def self.bidding_data_exclusion
  require "google/ads/google_ads/v15/services/bidding_data_exclusion_service_pb"
  if block_given?
    op = Google::Ads::GoogleAds::V15::Services::BiddingDataExclusionOperation.new
    yield op
    op
  else
    Google::Ads::GoogleAds::V15::Services::BiddingDataExclusionOperation.new
  end
end

.bidding_seasonality_adjustmentGoogle::Ads::GoogleAds::V15::Services::BiddingSeasonalityAdjustmentOperation

Create a new BiddingSeasonalityAdjustmentOperation



402
403
404
405
406
407
408
409
410
411
# File 'lib/google/ads/google_ads/factories/v15/operations.rb', line 402

def self.bidding_seasonality_adjustment
  require "google/ads/google_ads/v15/services/bidding_seasonality_adjustment_service_pb"
  if block_given?
    op = Google::Ads::GoogleAds::V15::Services::BiddingSeasonalityAdjustmentOperation.new
    yield op
    op
  else
    Google::Ads::GoogleAds::V15::Services::BiddingSeasonalityAdjustmentOperation.new
  end
end

.bidding_strategyGoogle::Ads::GoogleAds::V15::Services::BiddingStrategyOperation

Create a new BiddingStrategyOperation



416
417
418
419
420
421
422
423
424
425
# File 'lib/google/ads/google_ads/factories/v15/operations.rb', line 416

def self.bidding_strategy
  require "google/ads/google_ads/v15/services/bidding_strategy_service_pb"
  if block_given?
    op = Google::Ads::GoogleAds::V15::Services::BiddingStrategyOperation.new
    yield op
    op
  else
    Google::Ads::GoogleAds::V15::Services::BiddingStrategyOperation.new
  end
end

.billing_setupGoogle::Ads::GoogleAds::V15::Services::BillingSetupOperation

Create a new BillingSetupOperation



1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
# File 'lib/google/ads/google_ads/factories/v15/operations.rb', line 1158

def self.billing_setup
  require "google/ads/google_ads/v15/services/billing_setup_service_pb"
  if block_given?
    op = Google::Ads::GoogleAds::V15::Services::BillingSetupOperation.new
    yield op
    op
  else
    Google::Ads::GoogleAds::V15::Services::BillingSetupOperation.new
  end
end

.campaignGoogle::Ads::GoogleAds::V15::Services::CampaignOperation

Create a new CampaignOperation



598
599
600
601
602
603
604
605
606
607
# File 'lib/google/ads/google_ads/factories/v15/operations.rb', line 598

def self.campaign
  require "google/ads/google_ads/v15/services/campaign_service_pb"
  if block_given?
    op = Google::Ads::GoogleAds::V15::Services::CampaignOperation.new
    yield op
    op
  else
    Google::Ads::GoogleAds::V15::Services::CampaignOperation.new
  end
end

.campaign_assetGoogle::Ads::GoogleAds::V15::Services::CampaignAssetOperation

Create a new CampaignAssetOperation



430
431
432
433
434
435
436
437
438
439
# File 'lib/google/ads/google_ads/factories/v15/operations.rb', line 430

def self.campaign_asset
  require "google/ads/google_ads/v15/services/campaign_asset_service_pb"
  if block_given?
    op = Google::Ads::GoogleAds::V15::Services::CampaignAssetOperation.new
    yield op
    op
  else
    Google::Ads::GoogleAds::V15::Services::CampaignAssetOperation.new
  end
end

.campaign_asset_setGoogle::Ads::GoogleAds::V15::Services::CampaignAssetSetOperation

Create a new CampaignAssetSetOperation



444
445
446
447
448
449
450
451
452
453
# File 'lib/google/ads/google_ads/factories/v15/operations.rb', line 444

def self.campaign_asset_set
  require "google/ads/google_ads/v15/services/campaign_asset_set_service_pb"
  if block_given?
    op = Google::Ads::GoogleAds::V15::Services::CampaignAssetSetOperation.new
    yield op
    op
  else
    Google::Ads::GoogleAds::V15::Services::CampaignAssetSetOperation.new
  end
end

.campaign_bid_modifierGoogle::Ads::GoogleAds::V15::Services::CampaignBidModifierOperation

Create a new CampaignBidModifierOperation



458
459
460
461
462
463
464
465
466
467
# File 'lib/google/ads/google_ads/factories/v15/operations.rb', line 458

def self.campaign_bid_modifier
  require "google/ads/google_ads/v15/services/campaign_bid_modifier_service_pb"
  if block_given?
    op = Google::Ads::GoogleAds::V15::Services::CampaignBidModifierOperation.new
    yield op
    op
  else
    Google::Ads::GoogleAds::V15::Services::CampaignBidModifierOperation.new
  end
end

.campaign_budgetGoogle::Ads::GoogleAds::V15::Services::CampaignBudgetOperation

Create a new CampaignBudgetOperation



472
473
474
475
476
477
478
479
480
481
# File 'lib/google/ads/google_ads/factories/v15/operations.rb', line 472

def self.campaign_budget
  require "google/ads/google_ads/v15/services/campaign_budget_service_pb"
  if block_given?
    op = Google::Ads::GoogleAds::V15::Services::CampaignBudgetOperation.new
    yield op
    op
  else
    Google::Ads::GoogleAds::V15::Services::CampaignBudgetOperation.new
  end
end

.campaign_conversion_goalGoogle::Ads::GoogleAds::V15::Services::CampaignConversionGoalOperation

Create a new CampaignConversionGoalOperation



486
487
488
489
490
491
492
493
494
495
# File 'lib/google/ads/google_ads/factories/v15/operations.rb', line 486

def self.campaign_conversion_goal
  require "google/ads/google_ads/v15/services/campaign_conversion_goal_service_pb"
  if block_given?
    op = Google::Ads::GoogleAds::V15::Services::CampaignConversionGoalOperation.new
    yield op
    op
  else
    Google::Ads::GoogleAds::V15::Services::CampaignConversionGoalOperation.new
  end
end

.campaign_criterionGoogle::Ads::GoogleAds::V15::Services::CampaignCriterionOperation

Create a new CampaignCriterionOperation



500
501
502
503
504
505
506
507
508
509
# File 'lib/google/ads/google_ads/factories/v15/operations.rb', line 500

def self.campaign_criterion
  require "google/ads/google_ads/v15/services/campaign_criterion_service_pb"
  if block_given?
    op = Google::Ads::GoogleAds::V15::Services::CampaignCriterionOperation.new
    yield op
    op
  else
    Google::Ads::GoogleAds::V15::Services::CampaignCriterionOperation.new
  end
end

.campaign_customizerGoogle::Ads::GoogleAds::V15::Services::CampaignCustomizerOperation

Create a new CampaignCustomizerOperation



514
515
516
517
518
519
520
521
522
523
# File 'lib/google/ads/google_ads/factories/v15/operations.rb', line 514

def self.campaign_customizer
  require "google/ads/google_ads/v15/services/campaign_customizer_service_pb"
  if block_given?
    op = Google::Ads::GoogleAds::V15::Services::CampaignCustomizerOperation.new
    yield op
    op
  else
    Google::Ads::GoogleAds::V15::Services::CampaignCustomizerOperation.new
  end
end

.campaign_draftGoogle::Ads::GoogleAds::V15::Services::CampaignDraftOperation

Create a new CampaignDraftOperation



528
529
530
531
532
533
534
535
536
537
# File 'lib/google/ads/google_ads/factories/v15/operations.rb', line 528

def self.campaign_draft
  require "google/ads/google_ads/v15/services/campaign_draft_service_pb"
  if block_given?
    op = Google::Ads::GoogleAds::V15::Services::CampaignDraftOperation.new
    yield op
    op
  else
    Google::Ads::GoogleAds::V15::Services::CampaignDraftOperation.new
  end
end

.campaign_extension_settingGoogle::Ads::GoogleAds::V15::Services::CampaignExtensionSettingOperation

Create a new CampaignExtensionSettingOperation



542
543
544
545
546
547
548
549
550
551
# File 'lib/google/ads/google_ads/factories/v15/operations.rb', line 542

def self.campaign_extension_setting
  require "google/ads/google_ads/v15/services/campaign_extension_setting_service_pb"
  if block_given?
    op = Google::Ads::GoogleAds::V15::Services::CampaignExtensionSettingOperation.new
    yield op
    op
  else
    Google::Ads::GoogleAds::V15::Services::CampaignExtensionSettingOperation.new
  end
end

.campaign_feedGoogle::Ads::GoogleAds::V15::Services::CampaignFeedOperation

Create a new CampaignFeedOperation



556
557
558
559
560
561
562
563
564
565
# File 'lib/google/ads/google_ads/factories/v15/operations.rb', line 556

def self.campaign_feed
  require "google/ads/google_ads/v15/services/campaign_feed_service_pb"
  if block_given?
    op = Google::Ads::GoogleAds::V15::Services::CampaignFeedOperation.new
    yield op
    op
  else
    Google::Ads::GoogleAds::V15::Services::CampaignFeedOperation.new
  end
end

.campaign_groupGoogle::Ads::GoogleAds::V15::Services::CampaignGroupOperation

Create a new CampaignGroupOperation



570
571
572
573
574
575
576
577
578
579
# File 'lib/google/ads/google_ads/factories/v15/operations.rb', line 570

def self.campaign_group
  require "google/ads/google_ads/v15/services/campaign_group_service_pb"
  if block_given?
    op = Google::Ads::GoogleAds::V15::Services::CampaignGroupOperation.new
    yield op
    op
  else
    Google::Ads::GoogleAds::V15::Services::CampaignGroupOperation.new
  end
end

.campaign_labelGoogle::Ads::GoogleAds::V15::Services::CampaignLabelOperation

Create a new CampaignLabelOperation



584
585
586
587
588
589
590
591
592
593
# File 'lib/google/ads/google_ads/factories/v15/operations.rb', line 584

def self.campaign_label
  require "google/ads/google_ads/v15/services/campaign_label_service_pb"
  if block_given?
    op = Google::Ads::GoogleAds::V15::Services::CampaignLabelOperation.new
    yield op
    op
  else
    Google::Ads::GoogleAds::V15::Services::CampaignLabelOperation.new
  end
end

.campaign_lifecycle_goalGoogle::Ads::GoogleAds::V15::Services::CampaignLifecycleGoalOperation

Create a new CampaignLifecycleGoalOperation



1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
# File 'lib/google/ads/google_ads/factories/v15/operations.rb', line 1172

def self.campaign_lifecycle_goal
  require "google/ads/google_ads/v15/services/campaign_lifecycle_goal_service_pb"
  if block_given?
    op = Google::Ads::GoogleAds::V15::Services::CampaignLifecycleGoalOperation.new
    yield op
    op
  else
    Google::Ads::GoogleAds::V15::Services::CampaignLifecycleGoalOperation.new
  end
end

.campaign_shared_setGoogle::Ads::GoogleAds::V15::Services::CampaignSharedSetOperation

Create a new CampaignSharedSetOperation



612
613
614
615
616
617
618
619
620
621
# File 'lib/google/ads/google_ads/factories/v15/operations.rb', line 612

def self.campaign_shared_set
  require "google/ads/google_ads/v15/services/campaign_shared_set_service_pb"
  if block_given?
    op = Google::Ads::GoogleAds::V15::Services::CampaignSharedSetOperation.new
    yield op
    op
  else
    Google::Ads::GoogleAds::V15::Services::CampaignSharedSetOperation.new
  end
end

.conversion_actionGoogle::Ads::GoogleAds::V15::Services::ConversionActionOperation

Create a new ConversionActionOperation



626
627
628
629
630
631
632
633
634
635
# File 'lib/google/ads/google_ads/factories/v15/operations.rb', line 626

def self.conversion_action
  require "google/ads/google_ads/v15/services/conversion_action_service_pb"
  if block_given?
    op = Google::Ads::GoogleAds::V15::Services::ConversionActionOperation.new
    yield op
    op
  else
    Google::Ads::GoogleAds::V15::Services::ConversionActionOperation.new
  end
end

.conversion_custom_variableGoogle::Ads::GoogleAds::V15::Services::ConversionCustomVariableOperation

Create a new ConversionCustomVariableOperation



640
641
642
643
644
645
646
647
648
649
# File 'lib/google/ads/google_ads/factories/v15/operations.rb', line 640

def self.conversion_custom_variable
  require "google/ads/google_ads/v15/services/conversion_custom_variable_service_pb"
  if block_given?
    op = Google::Ads::GoogleAds::V15::Services::ConversionCustomVariableOperation.new
    yield op
    op
  else
    Google::Ads::GoogleAds::V15::Services::ConversionCustomVariableOperation.new
  end
end

.conversion_goal_campaign_configGoogle::Ads::GoogleAds::V15::Services::ConversionGoalCampaignConfigOperation

Create a new ConversionGoalCampaignConfigOperation



654
655
656
657
658
659
660
661
662
663
# File 'lib/google/ads/google_ads/factories/v15/operations.rb', line 654

def self.conversion_goal_campaign_config
  require "google/ads/google_ads/v15/services/conversion_goal_campaign_config_service_pb"
  if block_given?
    op = Google::Ads::GoogleAds::V15::Services::ConversionGoalCampaignConfigOperation.new
    yield op
    op
  else
    Google::Ads::GoogleAds::V15::Services::ConversionGoalCampaignConfigOperation.new
  end
end

.conversion_value_ruleGoogle::Ads::GoogleAds::V15::Services::ConversionValueRuleOperation

Create a new ConversionValueRuleOperation



668
669
670
671
672
673
674
675
676
677
# File 'lib/google/ads/google_ads/factories/v15/operations.rb', line 668

def self.conversion_value_rule
  require "google/ads/google_ads/v15/services/conversion_value_rule_service_pb"
  if block_given?
    op = Google::Ads::GoogleAds::V15::Services::ConversionValueRuleOperation.new
    yield op
    op
  else
    Google::Ads::GoogleAds::V15::Services::ConversionValueRuleOperation.new
  end
end

.conversion_value_rule_setGoogle::Ads::GoogleAds::V15::Services::ConversionValueRuleSetOperation

Create a new ConversionValueRuleSetOperation



682
683
684
685
686
687
688
689
690
691
# File 'lib/google/ads/google_ads/factories/v15/operations.rb', line 682

def self.conversion_value_rule_set
  require "google/ads/google_ads/v15/services/conversion_value_rule_set_service_pb"
  if block_given?
    op = Google::Ads::GoogleAds::V15::Services::ConversionValueRuleSetOperation.new
    yield op
    op
  else
    Google::Ads::GoogleAds::V15::Services::ConversionValueRuleSetOperation.new
  end
end

.create_resourceGoogle::Ads::GoogleAds::Factories::V15::Operations::CreateResource

Get a reference module containing convenience methods for creating resources



1369
1370
1371
# File 'lib/google/ads/google_ads/factories/v15/operations.rb', line 1369

def self.create_resource
  CreateResource
end

.custom_audienceGoogle::Ads::GoogleAds::V15::Services::CustomAudienceOperation

Create a new CustomAudienceOperation



1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
# File 'lib/google/ads/google_ads/factories/v15/operations.rb', line 1186

def self.custom_audience
  require "google/ads/google_ads/v15/services/custom_audience_service_pb"
  if block_given?
    op = Google::Ads::GoogleAds::V15::Services::CustomAudienceOperation.new
    yield op
    op
  else
    Google::Ads::GoogleAds::V15::Services::CustomAudienceOperation.new
  end
end

.custom_conversion_goalGoogle::Ads::GoogleAds::V15::Services::CustomConversionGoalOperation

Create a new CustomConversionGoalOperation



696
697
698
699
700
701
702
703
704
705
# File 'lib/google/ads/google_ads/factories/v15/operations.rb', line 696

def self.custom_conversion_goal
  require "google/ads/google_ads/v15/services/custom_conversion_goal_service_pb"
  if block_given?
    op = Google::Ads::GoogleAds::V15::Services::CustomConversionGoalOperation.new
    yield op
    op
  else
    Google::Ads::GoogleAds::V15::Services::CustomConversionGoalOperation.new
  end
end

.custom_interestGoogle::Ads::GoogleAds::V15::Services::CustomInterestOperation

Create a new CustomInterestOperation



1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
# File 'lib/google/ads/google_ads/factories/v15/operations.rb', line 1200

def self.custom_interest
  require "google/ads/google_ads/v15/services/custom_interest_service_pb"
  if block_given?
    op = Google::Ads::GoogleAds::V15::Services::CustomInterestOperation.new
    yield op
    op
  else
    Google::Ads::GoogleAds::V15::Services::CustomInterestOperation.new
  end
end

.customerGoogle::Ads::GoogleAds::V15::Services::CustomerOperation

Create a new CustomerOperation



808
809
810
811
812
813
814
815
816
817
# File 'lib/google/ads/google_ads/factories/v15/operations.rb', line 808

def self.customer
  require "google/ads/google_ads/v15/services/customer_service_pb"
  if block_given?
    op = Google::Ads::GoogleAds::V15::Services::CustomerOperation.new
    yield op
    op
  else
    Google::Ads::GoogleAds::V15::Services::CustomerOperation.new
  end
end

.customer_assetGoogle::Ads::GoogleAds::V15::Services::CustomerAssetOperation

Create a new CustomerAssetOperation



710
711
712
713
714
715
716
717
718
719
# File 'lib/google/ads/google_ads/factories/v15/operations.rb', line 710

def self.customer_asset
  require "google/ads/google_ads/v15/services/customer_asset_service_pb"
  if block_given?
    op = Google::Ads::GoogleAds::V15::Services::CustomerAssetOperation.new
    yield op
    op
  else
    Google::Ads::GoogleAds::V15::Services::CustomerAssetOperation.new
  end
end

.customer_asset_setGoogle::Ads::GoogleAds::V15::Services::CustomerAssetSetOperation

Create a new CustomerAssetSetOperation



1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
# File 'lib/google/ads/google_ads/factories/v15/operations.rb', line 1214

def self.customer_asset_set
  require "google/ads/google_ads/v15/services/customer_asset_set_service_pb"
  if block_given?
    op = Google::Ads::GoogleAds::V15::Services::CustomerAssetSetOperation.new
    yield op
    op
  else
    Google::Ads::GoogleAds::V15::Services::CustomerAssetSetOperation.new
  end
end

Create a new CustomerClientLinkOperation



1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
# File 'lib/google/ads/google_ads/factories/v15/operations.rb', line 1228

def self.customer_client_link
  require "google/ads/google_ads/v15/services/customer_client_link_service_pb"
  if block_given?
    op = Google::Ads::GoogleAds::V15::Services::CustomerClientLinkOperation.new
    yield op
    op
  else
    Google::Ads::GoogleAds::V15::Services::CustomerClientLinkOperation.new
  end
end

.customer_conversion_goalGoogle::Ads::GoogleAds::V15::Services::CustomerConversionGoalOperation

Create a new CustomerConversionGoalOperation



724
725
726
727
728
729
730
731
732
733
# File 'lib/google/ads/google_ads/factories/v15/operations.rb', line 724

def self.customer_conversion_goal
  require "google/ads/google_ads/v15/services/customer_conversion_goal_service_pb"
  if block_given?
    op = Google::Ads::GoogleAds::V15::Services::CustomerConversionGoalOperation.new
    yield op
    op
  else
    Google::Ads::GoogleAds::V15::Services::CustomerConversionGoalOperation.new
  end
end

.customer_customizerGoogle::Ads::GoogleAds::V15::Services::CustomerCustomizerOperation

Create a new CustomerCustomizerOperation



738
739
740
741
742
743
744
745
746
747
# File 'lib/google/ads/google_ads/factories/v15/operations.rb', line 738

def self.customer_customizer
  require "google/ads/google_ads/v15/services/customer_customizer_service_pb"
  if block_given?
    op = Google::Ads::GoogleAds::V15::Services::CustomerCustomizerOperation.new
    yield op
    op
  else
    Google::Ads::GoogleAds::V15::Services::CustomerCustomizerOperation.new
  end
end

.customer_extension_settingGoogle::Ads::GoogleAds::V15::Services::CustomerExtensionSettingOperation

Create a new CustomerExtensionSettingOperation



752
753
754
755
756
757
758
759
760
761
# File 'lib/google/ads/google_ads/factories/v15/operations.rb', line 752

def self.customer_extension_setting
  require "google/ads/google_ads/v15/services/customer_extension_setting_service_pb"
  if block_given?
    op = Google::Ads::GoogleAds::V15::Services::CustomerExtensionSettingOperation.new
    yield op
    op
  else
    Google::Ads::GoogleAds::V15::Services::CustomerExtensionSettingOperation.new
  end
end

.customer_feedGoogle::Ads::GoogleAds::V15::Services::CustomerFeedOperation

Create a new CustomerFeedOperation



766
767
768
769
770
771
772
773
774
775
# File 'lib/google/ads/google_ads/factories/v15/operations.rb', line 766

def self.customer_feed
  require "google/ads/google_ads/v15/services/customer_feed_service_pb"
  if block_given?
    op = Google::Ads::GoogleAds::V15::Services::CustomerFeedOperation.new
    yield op
    op
  else
    Google::Ads::GoogleAds::V15::Services::CustomerFeedOperation.new
  end
end

.customer_labelGoogle::Ads::GoogleAds::V15::Services::CustomerLabelOperation

Create a new CustomerLabelOperation



780
781
782
783
784
785
786
787
788
789
# File 'lib/google/ads/google_ads/factories/v15/operations.rb', line 780

def self.customer_label
  require "google/ads/google_ads/v15/services/customer_label_service_pb"
  if block_given?
    op = Google::Ads::GoogleAds::V15::Services::CustomerLabelOperation.new
    yield op
    op
  else
    Google::Ads::GoogleAds::V15::Services::CustomerLabelOperation.new
  end
end

.customer_lifecycle_goalGoogle::Ads::GoogleAds::V15::Services::CustomerLifecycleGoalOperation

Create a new CustomerLifecycleGoalOperation



1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
# File 'lib/google/ads/google_ads/factories/v15/operations.rb', line 1242

def self.customer_lifecycle_goal
  require "google/ads/google_ads/v15/services/customer_lifecycle_goal_service_pb"
  if block_given?
    op = Google::Ads::GoogleAds::V15::Services::CustomerLifecycleGoalOperation.new
    yield op
    op
  else
    Google::Ads::GoogleAds::V15::Services::CustomerLifecycleGoalOperation.new
  end
end

Create a new CustomerManagerLinkOperation



1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
# File 'lib/google/ads/google_ads/factories/v15/operations.rb', line 1256

def self.customer_manager_link
  require "google/ads/google_ads/v15/services/customer_manager_link_service_pb"
  if block_given?
    op = Google::Ads::GoogleAds::V15::Services::CustomerManagerLinkOperation.new
    yield op
    op
  else
    Google::Ads::GoogleAds::V15::Services::CustomerManagerLinkOperation.new
  end
end

.customer_negative_criterionGoogle::Ads::GoogleAds::V15::Services::CustomerNegativeCriterionOperation

Create a new CustomerNegativeCriterionOperation



794
795
796
797
798
799
800
801
802
803
# File 'lib/google/ads/google_ads/factories/v15/operations.rb', line 794

def self.customer_negative_criterion
  require "google/ads/google_ads/v15/services/customer_negative_criterion_service_pb"
  if block_given?
    op = Google::Ads::GoogleAds::V15::Services::CustomerNegativeCriterionOperation.new
    yield op
    op
  else
    Google::Ads::GoogleAds::V15::Services::CustomerNegativeCriterionOperation.new
  end
end

.customer_sk_ad_network_conversion_value_schemaGoogle::Ads::GoogleAds::V15::Services::CustomerSkAdNetworkConversionValueSchemaOperation

Create a new CustomerSkAdNetworkConversionValueSchemaOperation



1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
# File 'lib/google/ads/google_ads/factories/v15/operations.rb', line 1270

def self.customer_sk_ad_network_conversion_value_schema
  require "google/ads/google_ads/v15/services/customer_sk_ad_network_conversion_value_schema_service_pb"
  if block_given?
    op = Google::Ads::GoogleAds::V15::Services::CustomerSkAdNetworkConversionValueSchemaOperation.new
    yield op
    op
  else
    Google::Ads::GoogleAds::V15::Services::CustomerSkAdNetworkConversionValueSchemaOperation.new
  end
end

.customer_user_accessGoogle::Ads::GoogleAds::V15::Services::CustomerUserAccessOperation

Create a new CustomerUserAccessOperation



1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
# File 'lib/google/ads/google_ads/factories/v15/operations.rb', line 1298

def self.customer_user_access
  require "google/ads/google_ads/v15/services/customer_user_access_service_pb"
  if block_given?
    op = Google::Ads::GoogleAds::V15::Services::CustomerUserAccessOperation.new
    yield op
    op
  else
    Google::Ads::GoogleAds::V15::Services::CustomerUserAccessOperation.new
  end
end

.customer_user_access_invitationGoogle::Ads::GoogleAds::V15::Services::CustomerUserAccessInvitationOperation

Create a new CustomerUserAccessInvitationOperation



1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
# File 'lib/google/ads/google_ads/factories/v15/operations.rb', line 1284

def self.customer_user_access_invitation
  require "google/ads/google_ads/v15/services/customer_user_access_invitation_service_pb"
  if block_given?
    op = Google::Ads::GoogleAds::V15::Services::CustomerUserAccessInvitationOperation.new
    yield op
    op
  else
    Google::Ads::GoogleAds::V15::Services::CustomerUserAccessInvitationOperation.new
  end
end

.customizer_attributeGoogle::Ads::GoogleAds::V15::Services::CustomizerAttributeOperation

Create a new CustomizerAttributeOperation



822
823
824
825
826
827
828
829
830
831
# File 'lib/google/ads/google_ads/factories/v15/operations.rb', line 822

def self.customizer_attribute
  require "google/ads/google_ads/v15/services/customizer_attribute_service_pb"
  if block_given?
    op = Google::Ads::GoogleAds::V15::Services::CustomizerAttributeOperation.new
    yield op
    op
  else
    Google::Ads::GoogleAds::V15::Services::CustomizerAttributeOperation.new
  end
end

.dismiss_recommendationGoogle::Ads::GoogleAds::V15::Services::DismissRecommendationRequest::DismissRecommendationOperation

Create a new DismissRecommendationOperation

Returns:

  • (Google::Ads::GoogleAds::V15::Services::DismissRecommendationRequest::DismissRecommendationOperation)

    the operation



1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
# File 'lib/google/ads/google_ads/factories/v15/operations.rb', line 1340

def self.dismiss_recommendation
  require "google/ads/google_ads/v15/services/recommendation_service_pb"
  if block_given?
    op = Google::Ads::GoogleAds::V15::Services::DismissRecommendationRequest::DismissRecommendationOperation.new
    yield op
    op
  else
    Google::Ads::GoogleAds::V15::Services::DismissRecommendationRequest::DismissRecommendationOperation.new
  end
end

.experimentGoogle::Ads::GoogleAds::V15::Services::ExperimentOperation

Create a new ExperimentOperation



850
851
852
853
854
855
856
857
858
859
# File 'lib/google/ads/google_ads/factories/v15/operations.rb', line 850

def self.experiment
  require "google/ads/google_ads/v15/services/experiment_service_pb"
  if block_given?
    op = Google::Ads::GoogleAds::V15::Services::ExperimentOperation.new
    yield op
    op
  else
    Google::Ads::GoogleAds::V15::Services::ExperimentOperation.new
  end
end

.experiment_armGoogle::Ads::GoogleAds::V15::Services::ExperimentArmOperation

Create a new ExperimentArmOperation



836
837
838
839
840
841
842
843
844
845
# File 'lib/google/ads/google_ads/factories/v15/operations.rb', line 836

def self.experiment_arm
  require "google/ads/google_ads/v15/services/experiment_arm_service_pb"
  if block_given?
    op = Google::Ads::GoogleAds::V15::Services::ExperimentArmOperation.new
    yield op
    op
  else
    Google::Ads::GoogleAds::V15::Services::ExperimentArmOperation.new
  end
end

.extension_feed_itemGoogle::Ads::GoogleAds::V15::Services::ExtensionFeedItemOperation

Create a new ExtensionFeedItemOperation



864
865
866
867
868
869
870
871
872
873
# File 'lib/google/ads/google_ads/factories/v15/operations.rb', line 864

def self.extension_feed_item
  require "google/ads/google_ads/v15/services/extension_feed_item_service_pb"
  if block_given?
    op = Google::Ads::GoogleAds::V15::Services::ExtensionFeedItemOperation.new
    yield op
    op
  else
    Google::Ads::GoogleAds::V15::Services::ExtensionFeedItemOperation.new
  end
end

.feedGoogle::Ads::GoogleAds::V15::Services::FeedOperation

Create a new FeedOperation



948
949
950
951
952
953
954
955
956
957
# File 'lib/google/ads/google_ads/factories/v15/operations.rb', line 948

def self.feed
  require "google/ads/google_ads/v15/services/feed_service_pb"
  if block_given?
    op = Google::Ads::GoogleAds::V15::Services::FeedOperation.new
    yield op
    op
  else
    Google::Ads::GoogleAds::V15::Services::FeedOperation.new
  end
end

.feed_attributeGoogle::Ads::GoogleAds::V15::Resources::FeedAttributeOperation

Create a new FeedAttributeOperation



24
25
26
27
28
29
30
31
32
33
# File 'lib/google/ads/google_ads/factories/v15/operations.rb', line 24

def self.feed_attribute
  require "google/ads/google_ads/v15/resources/feed_pb"
  if block_given?
    op = Google::Ads::GoogleAds::V15::Resources::FeedAttributeOperation.new
    yield op
    op
  else
    Google::Ads::GoogleAds::V15::Resources::FeedAttributeOperation.new
  end
end

.feed_itemGoogle::Ads::GoogleAds::V15::Services::FeedItemOperation

Create a new FeedItemOperation



878
879
880
881
882
883
884
885
886
887
# File 'lib/google/ads/google_ads/factories/v15/operations.rb', line 878

def self.feed_item
  require "google/ads/google_ads/v15/services/feed_item_service_pb"
  if block_given?
    op = Google::Ads::GoogleAds::V15::Services::FeedItemOperation.new
    yield op
    op
  else
    Google::Ads::GoogleAds::V15::Services::FeedItemOperation.new
  end
end

.feed_item_setGoogle::Ads::GoogleAds::V15::Services::FeedItemSetOperation

Create a new FeedItemSetOperation



906
907
908
909
910
911
912
913
914
915
# File 'lib/google/ads/google_ads/factories/v15/operations.rb', line 906

def self.feed_item_set
  require "google/ads/google_ads/v15/services/feed_item_set_service_pb"
  if block_given?
    op = Google::Ads::GoogleAds::V15::Services::FeedItemSetOperation.new
    yield op
    op
  else
    Google::Ads::GoogleAds::V15::Services::FeedItemSetOperation.new
  end
end

Create a new FeedItemSetLinkOperation



892
893
894
895
896
897
898
899
900
901
# File 'lib/google/ads/google_ads/factories/v15/operations.rb', line 892

def self.feed_item_set_link
  require "google/ads/google_ads/v15/services/feed_item_set_link_service_pb"
  if block_given?
    op = Google::Ads::GoogleAds::V15::Services::FeedItemSetLinkOperation.new
    yield op
    op
  else
    Google::Ads::GoogleAds::V15::Services::FeedItemSetLinkOperation.new
  end
end

.feed_item_targetGoogle::Ads::GoogleAds::V15::Services::FeedItemTargetOperation

Create a new FeedItemTargetOperation



920
921
922
923
924
925
926
927
928
929
# File 'lib/google/ads/google_ads/factories/v15/operations.rb', line 920

def self.feed_item_target
  require "google/ads/google_ads/v15/services/feed_item_target_service_pb"
  if block_given?
    op = Google::Ads::GoogleAds::V15::Services::FeedItemTargetOperation.new
    yield op
    op
  else
    Google::Ads::GoogleAds::V15::Services::FeedItemTargetOperation.new
  end
end

.feed_mappingGoogle::Ads::GoogleAds::V15::Services::FeedMappingOperation

Create a new FeedMappingOperation



934
935
936
937
938
939
940
941
942
943
# File 'lib/google/ads/google_ads/factories/v15/operations.rb', line 934

def self.feed_mapping
  require "google/ads/google_ads/v15/services/feed_mapping_service_pb"
  if block_given?
    op = Google::Ads::GoogleAds::V15::Services::FeedMappingOperation.new
    yield op
    op
  else
    Google::Ads::GoogleAds::V15::Services::FeedMappingOperation.new
  end
end

.keyword_planGoogle::Ads::GoogleAds::V15::Services::KeywordPlanOperation

Create a new KeywordPlanOperation



1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
# File 'lib/google/ads/google_ads/factories/v15/operations.rb', line 1018

def self.keyword_plan
  require "google/ads/google_ads/v15/services/keyword_plan_service_pb"
  if block_given?
    op = Google::Ads::GoogleAds::V15::Services::KeywordPlanOperation.new
    yield op
    op
  else
    Google::Ads::GoogleAds::V15::Services::KeywordPlanOperation.new
  end
end

.keyword_plan_ad_groupGoogle::Ads::GoogleAds::V15::Services::KeywordPlanAdGroupOperation

Create a new KeywordPlanAdGroupOperation



976
977
978
979
980
981
982
983
984
985
# File 'lib/google/ads/google_ads/factories/v15/operations.rb', line 976

def self.keyword_plan_ad_group
  require "google/ads/google_ads/v15/services/keyword_plan_ad_group_service_pb"
  if block_given?
    op = Google::Ads::GoogleAds::V15::Services::KeywordPlanAdGroupOperation.new
    yield op
    op
  else
    Google::Ads::GoogleAds::V15::Services::KeywordPlanAdGroupOperation.new
  end
end

.keyword_plan_ad_group_keywordGoogle::Ads::GoogleAds::V15::Services::KeywordPlanAdGroupKeywordOperation

Create a new KeywordPlanAdGroupKeywordOperation



962
963
964
965
966
967
968
969
970
971
# File 'lib/google/ads/google_ads/factories/v15/operations.rb', line 962

def self.keyword_plan_ad_group_keyword
  require "google/ads/google_ads/v15/services/keyword_plan_ad_group_keyword_service_pb"
  if block_given?
    op = Google::Ads::GoogleAds::V15::Services::KeywordPlanAdGroupKeywordOperation.new
    yield op
    op
  else
    Google::Ads::GoogleAds::V15::Services::KeywordPlanAdGroupKeywordOperation.new
  end
end

.keyword_plan_campaignGoogle::Ads::GoogleAds::V15::Services::KeywordPlanCampaignOperation

Create a new KeywordPlanCampaignOperation



1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
# File 'lib/google/ads/google_ads/factories/v15/operations.rb', line 1004

def self.keyword_plan_campaign
  require "google/ads/google_ads/v15/services/keyword_plan_campaign_service_pb"
  if block_given?
    op = Google::Ads::GoogleAds::V15::Services::KeywordPlanCampaignOperation.new
    yield op
    op
  else
    Google::Ads::GoogleAds::V15::Services::KeywordPlanCampaignOperation.new
  end
end

.keyword_plan_campaign_keywordGoogle::Ads::GoogleAds::V15::Services::KeywordPlanCampaignKeywordOperation

Create a new KeywordPlanCampaignKeywordOperation



990
991
992
993
994
995
996
997
998
999
# File 'lib/google/ads/google_ads/factories/v15/operations.rb', line 990

def self.keyword_plan_campaign_keyword
  require "google/ads/google_ads/v15/services/keyword_plan_campaign_keyword_service_pb"
  if block_given?
    op = Google::Ads::GoogleAds::V15::Services::KeywordPlanCampaignKeywordOperation.new
    yield op
    op
  else
    Google::Ads::GoogleAds::V15::Services::KeywordPlanCampaignKeywordOperation.new
  end
end

.labelGoogle::Ads::GoogleAds::V15::Services::LabelOperation

Create a new LabelOperation



1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
# File 'lib/google/ads/google_ads/factories/v15/operations.rb', line 1032

def self.label
  require "google/ads/google_ads/v15/services/label_service_pb"
  if block_given?
    op = Google::Ads::GoogleAds::V15::Services::LabelOperation.new
    yield op
    op
  else
    Google::Ads::GoogleAds::V15::Services::LabelOperation.new
  end
end

.mutateGoogle::Ads::GoogleAds::V15::Services::MutateOperation

Create a new MutateOperation



1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
# File 'lib/google/ads/google_ads/factories/v15/operations.rb', line 1130

def self.mutate
  require "google/ads/google_ads/v15/services/google_ads_service_pb"
  if block_given?
    op = Google::Ads::GoogleAds::V15::Services::MutateOperation.new
    yield op
    op
  else
    Google::Ads::GoogleAds::V15::Services::MutateOperation.new
  end
end

.offline_user_data_jobGoogle::Ads::GoogleAds::V15::Services::OfflineUserDataJobOperation

Create a new OfflineUserDataJobOperation



1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
# File 'lib/google/ads/google_ads/factories/v15/operations.rb', line 1312

def self.offline_user_data_job
  require "google/ads/google_ads/v15/services/offline_user_data_job_service_pb"
  if block_given?
    op = Google::Ads::GoogleAds::V15::Services::OfflineUserDataJobOperation.new
    yield op
    op
  else
    Google::Ads::GoogleAds::V15::Services::OfflineUserDataJobOperation.new
  end
end

.recommendation_subscriptionGoogle::Ads::GoogleAds::V15::Services::RecommendationSubscriptionOperation

Create a new RecommendationSubscriptionOperation



1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
# File 'lib/google/ads/google_ads/factories/v15/operations.rb', line 1046

def self.recommendation_subscription
  require "google/ads/google_ads/v15/services/recommendation_subscription_service_pb"
  if block_given?
    op = Google::Ads::GoogleAds::V15::Services::RecommendationSubscriptionOperation.new
    yield op
    op
  else
    Google::Ads::GoogleAds::V15::Services::RecommendationSubscriptionOperation.new
  end
end

.remarketing_actionGoogle::Ads::GoogleAds::V15::Services::RemarketingActionOperation

Create a new RemarketingActionOperation



1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
# File 'lib/google/ads/google_ads/factories/v15/operations.rb', line 1060

def self.remarketing_action
  require "google/ads/google_ads/v15/services/remarketing_action_service_pb"
  if block_given?
    op = Google::Ads::GoogleAds::V15::Services::RemarketingActionOperation.new
    yield op
    op
  else
    Google::Ads::GoogleAds::V15::Services::RemarketingActionOperation.new
  end
end

.remove_resourceGoogle::Ads::GoogleAds::Factories::V15::Operations::RemoveResource

Get a reference module containing convenience methods for removing resources



1385
1386
1387
# File 'lib/google/ads/google_ads/factories/v15/operations.rb', line 1385

def self.remove_resource
  RemoveResource
end

.shared_criterionGoogle::Ads::GoogleAds::V15::Services::SharedCriterionOperation

Create a new SharedCriterionOperation



1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
# File 'lib/google/ads/google_ads/factories/v15/operations.rb', line 1074

def self.shared_criterion
  require "google/ads/google_ads/v15/services/shared_criterion_service_pb"
  if block_given?
    op = Google::Ads::GoogleAds::V15::Services::SharedCriterionOperation.new
    yield op
    op
  else
    Google::Ads::GoogleAds::V15::Services::SharedCriterionOperation.new
  end
end

.shared_setGoogle::Ads::GoogleAds::V15::Services::SharedSetOperation

Create a new SharedSetOperation



1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
# File 'lib/google/ads/google_ads/factories/v15/operations.rb', line 1088

def self.shared_set
  require "google/ads/google_ads/v15/services/shared_set_service_pb"
  if block_given?
    op = Google::Ads::GoogleAds::V15::Services::SharedSetOperation.new
    yield op
    op
  else
    Google::Ads::GoogleAds::V15::Services::SharedSetOperation.new
  end
end

.smart_campaign_settingGoogle::Ads::GoogleAds::V15::Services::SmartCampaignSettingOperation

Create a new SmartCampaignSettingOperation



1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
# File 'lib/google/ads/google_ads/factories/v15/operations.rb', line 1102

def self.smart_campaign_setting
  require "google/ads/google_ads/v15/services/smart_campaign_setting_service_pb"
  if block_given?
    op = Google::Ads::GoogleAds::V15::Services::SmartCampaignSettingOperation.new
    yield op
    op
  else
    Google::Ads::GoogleAds::V15::Services::SmartCampaignSettingOperation.new
  end
end

.target_restrictionGoogle::Ads::GoogleAds::V15::Common::TargetRestrictionOperation

Create a new TargetRestrictionOperation



10
11
12
13
14
15
16
17
18
19
# File 'lib/google/ads/google_ads/factories/v15/operations.rb', line 10

def self.target_restriction
  require "google/ads/google_ads/v15/common/targeting_setting_pb"
  if block_given?
    op = Google::Ads::GoogleAds::V15::Common::TargetRestrictionOperation.new
    yield op
    op
  else
    Google::Ads::GoogleAds::V15::Common::TargetRestrictionOperation.new
  end
end

.update_resourceGoogle::Ads::GoogleAds::Factories::V15::Operations::UpdateResource

Get a reference module containing convenience methods for updating resources



1377
1378
1379
# File 'lib/google/ads/google_ads/factories/v15/operations.rb', line 1377

def self.update_resource
  UpdateResource
end

.user_dataGoogle::Ads::GoogleAds::V15::Services::UserDataOperation

Create a new UserDataOperation



1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
# File 'lib/google/ads/google_ads/factories/v15/operations.rb', line 1354

def self.user_data
  require "google/ads/google_ads/v15/services/user_data_service_pb"
  if block_given?
    op = Google::Ads::GoogleAds::V15::Services::UserDataOperation.new
    yield op
    op
  else
    Google::Ads::GoogleAds::V15::Services::UserDataOperation.new
  end
end

.user_listGoogle::Ads::GoogleAds::V15::Services::UserListOperation

Create a new UserListOperation



1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
# File 'lib/google/ads/google_ads/factories/v15/operations.rb', line 1116

def self.user_list
  require "google/ads/google_ads/v15/services/user_list_service_pb"
  if block_given?
    op = Google::Ads::GoogleAds::V15::Services::UserListOperation.new
    yield op
    op
  else
    Google::Ads::GoogleAds::V15::Services::UserListOperation.new
  end
end