Module: Google::Ads::GoogleAds::Factories::V21::Operations::RemoveResource

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

Class Method Summary collapse

Class Method Details

.account_budget_proposal(path) ⇒ Object

A convenience method for creating an AccountBudgetProposalOperation instance with its “remove” field preopulated with a resource path corresponding to the resource to be removed.

Parameters:

  • path (String)

    the resource name of the resource to delete.



5290
5291
5292
5293
5294
5295
# File 'lib/google/ads/google_ads/factories/v21/operations.rb', line 5290

def self.(path)
  require "google/ads/google_ads/v21/services/account_budget_proposal_service_pb"
  op = Google::Ads::GoogleAds::V21::Services::AccountBudgetProposalOperation.new
  op["remove"] = path
  op
end

A convenience method for creating an AccountLinkOperation instance with its “remove” field preopulated with a resource path corresponding to the resource to be removed.

Parameters:

  • path (String)

    the resource name of the resource to delete.



5301
5302
5303
5304
5305
5306
# File 'lib/google/ads/google_ads/factories/v21/operations.rb', line 5301

def self.(path)
  require "google/ads/google_ads/v21/services/account_link_service_pb"
  op = Google::Ads::GoogleAds::V21::Services::AccountLinkOperation.new
  op["remove"] = path
  op
end

.ad(path) ⇒ Object

A convenience method for creating an AdOperation instance with its “remove” field preopulated with a resource path corresponding to the resource to be removed.

Parameters:

  • path (String)

    the resource name of the resource to delete.



5444
5445
5446
5447
5448
5449
# File 'lib/google/ads/google_ads/factories/v21/operations.rb', line 5444

def self.ad(path)
  require "google/ads/google_ads/v21/services/ad_service_pb"
  op = Google::Ads::GoogleAds::V21::Services::AdOperation.new
  op["remove"] = path
  op
end

.ad_group(path) ⇒ Object

A convenience method for creating an AdGroupOperation instance with its “remove” field preopulated with a resource path corresponding to the resource to be removed.

Parameters:

  • path (String)

    the resource name of the resource to delete.



5422
5423
5424
5425
5426
5427
# File 'lib/google/ads/google_ads/factories/v21/operations.rb', line 5422

def self.ad_group(path)
  require "google/ads/google_ads/v21/services/ad_group_service_pb"
  op = Google::Ads::GoogleAds::V21::Services::AdGroupOperation.new
  op["remove"] = path
  op
end

.ad_group_ad(path) ⇒ Object

A convenience method for creating an AdGroupAdOperation instance with its “remove” field preopulated with a resource path corresponding to the resource to be removed.

Parameters:

  • path (String)

    the resource name of the resource to delete.



5323
5324
5325
5326
5327
5328
# File 'lib/google/ads/google_ads/factories/v21/operations.rb', line 5323

def self.ad_group_ad(path)
  require "google/ads/google_ads/v21/services/ad_group_ad_service_pb"
  op = Google::Ads::GoogleAds::V21::Services::AdGroupAdOperation.new
  op["remove"] = path
  op
end

.ad_group_ad_label(path) ⇒ Object

A convenience method for creating an AdGroupAdLabelOperation instance with its “remove” field preopulated with a resource path corresponding to the resource to be removed.

Parameters:

  • path (String)

    the resource name of the resource to delete.



5312
5313
5314
5315
5316
5317
# File 'lib/google/ads/google_ads/factories/v21/operations.rb', line 5312

def self.ad_group_ad_label(path)
  require "google/ads/google_ads/v21/services/ad_group_ad_label_service_pb"
  op = Google::Ads::GoogleAds::V21::Services::AdGroupAdLabelOperation.new
  op["remove"] = path
  op
end

.ad_group_asset(path) ⇒ Object

A convenience method for creating an AdGroupAssetOperation instance with its “remove” field preopulated with a resource path corresponding to the resource to be removed.

Parameters:

  • path (String)

    the resource name of the resource to delete.



5334
5335
5336
5337
5338
5339
# File 'lib/google/ads/google_ads/factories/v21/operations.rb', line 5334

def self.ad_group_asset(path)
  require "google/ads/google_ads/v21/services/ad_group_asset_service_pb"
  op = Google::Ads::GoogleAds::V21::Services::AdGroupAssetOperation.new
  op["remove"] = path
  op
end

.ad_group_asset_set(path) ⇒ Object

A convenience method for creating an AdGroupAssetSetOperation instance with its “remove” field preopulated with a resource path corresponding to the resource to be removed.

Parameters:

  • path (String)

    the resource name of the resource to delete.



5345
5346
5347
5348
5349
5350
# File 'lib/google/ads/google_ads/factories/v21/operations.rb', line 5345

def self.ad_group_asset_set(path)
  require "google/ads/google_ads/v21/services/ad_group_asset_set_service_pb"
  op = Google::Ads::GoogleAds::V21::Services::AdGroupAssetSetOperation.new
  op["remove"] = path
  op
end

.ad_group_bid_modifier(path) ⇒ Object

A convenience method for creating an AdGroupBidModifierOperation instance with its “remove” field preopulated with a resource path corresponding to the resource to be removed.

Parameters:

  • path (String)

    the resource name of the resource to delete.



5356
5357
5358
5359
5360
5361
# File 'lib/google/ads/google_ads/factories/v21/operations.rb', line 5356

def self.ad_group_bid_modifier(path)
  require "google/ads/google_ads/v21/services/ad_group_bid_modifier_service_pb"
  op = Google::Ads::GoogleAds::V21::Services::AdGroupBidModifierOperation.new
  op["remove"] = path
  op
end

.ad_group_criterion(path) ⇒ Object

A convenience method for creating an AdGroupCriterionOperation instance with its “remove” field preopulated with a resource path corresponding to the resource to be removed.

Parameters:

  • path (String)

    the resource name of the resource to delete.



5389
5390
5391
5392
5393
5394
# File 'lib/google/ads/google_ads/factories/v21/operations.rb', line 5389

def self.ad_group_criterion(path)
  require "google/ads/google_ads/v21/services/ad_group_criterion_service_pb"
  op = Google::Ads::GoogleAds::V21::Services::AdGroupCriterionOperation.new
  op["remove"] = path
  op
end

.ad_group_criterion_customizer(path) ⇒ Object

A convenience method for creating an AdGroupCriterionCustomizerOperation instance with its “remove” field preopulated with a resource path corresponding to the resource to be removed.

Parameters:

  • path (String)

    the resource name of the resource to delete.



5367
5368
5369
5370
5371
5372
# File 'lib/google/ads/google_ads/factories/v21/operations.rb', line 5367

def self.ad_group_criterion_customizer(path)
  require "google/ads/google_ads/v21/services/ad_group_criterion_customizer_service_pb"
  op = Google::Ads::GoogleAds::V21::Services::AdGroupCriterionCustomizerOperation.new
  op["remove"] = path
  op
end

.ad_group_criterion_label(path) ⇒ Object

A convenience method for creating an AdGroupCriterionLabelOperation instance with its “remove” field preopulated with a resource path corresponding to the resource to be removed.

Parameters:

  • path (String)

    the resource name of the resource to delete.



5378
5379
5380
5381
5382
5383
# File 'lib/google/ads/google_ads/factories/v21/operations.rb', line 5378

def self.ad_group_criterion_label(path)
  require "google/ads/google_ads/v21/services/ad_group_criterion_label_service_pb"
  op = Google::Ads::GoogleAds::V21::Services::AdGroupCriterionLabelOperation.new
  op["remove"] = path
  op
end

.ad_group_customizer(path) ⇒ Object

A convenience method for creating an AdGroupCustomizerOperation instance with its “remove” field preopulated with a resource path corresponding to the resource to be removed.

Parameters:

  • path (String)

    the resource name of the resource to delete.



5400
5401
5402
5403
5404
5405
# File 'lib/google/ads/google_ads/factories/v21/operations.rb', line 5400

def self.ad_group_customizer(path)
  require "google/ads/google_ads/v21/services/ad_group_customizer_service_pb"
  op = Google::Ads::GoogleAds::V21::Services::AdGroupCustomizerOperation.new
  op["remove"] = path
  op
end

.ad_group_label(path) ⇒ Object

A convenience method for creating an AdGroupLabelOperation instance with its “remove” field preopulated with a resource path corresponding to the resource to be removed.

Parameters:

  • path (String)

    the resource name of the resource to delete.



5411
5412
5413
5414
5415
5416
# File 'lib/google/ads/google_ads/factories/v21/operations.rb', line 5411

def self.ad_group_label(path)
  require "google/ads/google_ads/v21/services/ad_group_label_service_pb"
  op = Google::Ads::GoogleAds::V21::Services::AdGroupLabelOperation.new
  op["remove"] = path
  op
end

.ad_parameter(path) ⇒ Object

A convenience method for creating an AdParameterOperation instance with its “remove” field preopulated with a resource path corresponding to the resource to be removed.

Parameters:

  • path (String)

    the resource name of the resource to delete.



5433
5434
5435
5436
5437
5438
# File 'lib/google/ads/google_ads/factories/v21/operations.rb', line 5433

def self.ad_parameter(path)
  require "google/ads/google_ads/v21/services/ad_parameter_service_pb"
  op = Google::Ads::GoogleAds::V21::Services::AdParameterOperation.new
  op["remove"] = path
  op
end

.apply_recommendation(path) ⇒ Object

A convenience method for creating an ApplyRecommendationOperation instance with its “remove” field preopulated with a resource path corresponding to the resource to be removed.

Parameters:

  • path (String)

    the resource name of the resource to delete.



6181
6182
6183
6184
6185
6186
# File 'lib/google/ads/google_ads/factories/v21/operations.rb', line 6181

def self.apply_recommendation(path)
  require "google/ads/google_ads/v21/services/recommendation_service_pb"
  op = Google::Ads::GoogleAds::V21::Services::ApplyRecommendationOperation.new
  op["remove"] = path
  op
end

.asset(path) ⇒ Object

A convenience method for creating an AssetOperation instance with its “remove” field preopulated with a resource path corresponding to the resource to be removed.

Parameters:

  • path (String)

    the resource name of the resource to delete.



5499
5500
5501
5502
5503
5504
# File 'lib/google/ads/google_ads/factories/v21/operations.rb', line 5499

def self.asset(path)
  require "google/ads/google_ads/v21/services/asset_service_pb"
  op = Google::Ads::GoogleAds::V21::Services::AssetOperation.new
  op["remove"] = path
  op
end

.asset_group(path) ⇒ Object

A convenience method for creating an AssetGroupOperation instance with its “remove” field preopulated with a resource path corresponding to the resource to be removed.

Parameters:

  • path (String)

    the resource name of the resource to delete.



5477
5478
5479
5480
5481
5482
# File 'lib/google/ads/google_ads/factories/v21/operations.rb', line 5477

def self.asset_group(path)
  require "google/ads/google_ads/v21/services/asset_group_service_pb"
  op = Google::Ads::GoogleAds::V21::Services::AssetGroupOperation.new
  op["remove"] = path
  op
end

.asset_group_asset(path) ⇒ Object

A convenience method for creating an AssetGroupAssetOperation instance with its “remove” field preopulated with a resource path corresponding to the resource to be removed.

Parameters:

  • path (String)

    the resource name of the resource to delete.



5455
5456
5457
5458
5459
5460
# File 'lib/google/ads/google_ads/factories/v21/operations.rb', line 5455

def self.asset_group_asset(path)
  require "google/ads/google_ads/v21/services/asset_group_asset_service_pb"
  op = Google::Ads::GoogleAds::V21::Services::AssetGroupAssetOperation.new
  op["remove"] = path
  op
end

.asset_group_listing_group_filter(path) ⇒ Object

A convenience method for creating an AssetGroupListingGroupFilterOperation instance with its “remove” field preopulated with a resource path corresponding to the resource to be removed.

Parameters:

  • path (String)

    the resource name of the resource to delete.



5466
5467
5468
5469
5470
5471
# File 'lib/google/ads/google_ads/factories/v21/operations.rb', line 5466

def self.asset_group_listing_group_filter(path)
  require "google/ads/google_ads/v21/services/asset_group_listing_group_filter_service_pb"
  op = Google::Ads::GoogleAds::V21::Services::AssetGroupListingGroupFilterOperation.new
  op["remove"] = path
  op
end

.asset_group_signal(path) ⇒ Object

A convenience method for creating an AssetGroupSignalOperation instance with its “remove” field preopulated with a resource path corresponding to the resource to be removed.

Parameters:

  • path (String)

    the resource name of the resource to delete.



5488
5489
5490
5491
5492
5493
# File 'lib/google/ads/google_ads/factories/v21/operations.rb', line 5488

def self.asset_group_signal(path)
  require "google/ads/google_ads/v21/services/asset_group_signal_service_pb"
  op = Google::Ads::GoogleAds::V21::Services::AssetGroupSignalOperation.new
  op["remove"] = path
  op
end

.asset_set(path) ⇒ Object

A convenience method for creating an AssetSetOperation instance with its “remove” field preopulated with a resource path corresponding to the resource to be removed.

Parameters:

  • path (String)

    the resource name of the resource to delete.



5521
5522
5523
5524
5525
5526
# File 'lib/google/ads/google_ads/factories/v21/operations.rb', line 5521

def self.asset_set(path)
  require "google/ads/google_ads/v21/services/asset_set_service_pb"
  op = Google::Ads::GoogleAds::V21::Services::AssetSetOperation.new
  op["remove"] = path
  op
end

.asset_set_asset(path) ⇒ Object

A convenience method for creating an AssetSetAssetOperation instance with its “remove” field preopulated with a resource path corresponding to the resource to be removed.

Parameters:

  • path (String)

    the resource name of the resource to delete.



5510
5511
5512
5513
5514
5515
# File 'lib/google/ads/google_ads/factories/v21/operations.rb', line 5510

def self.asset_set_asset(path)
  require "google/ads/google_ads/v21/services/asset_set_asset_service_pb"
  op = Google::Ads::GoogleAds::V21::Services::AssetSetAssetOperation.new
  op["remove"] = path
  op
end

.audience(path) ⇒ Object

A convenience method for creating an AudienceOperation instance with its “remove” field preopulated with a resource path corresponding to the resource to be removed.

Parameters:

  • path (String)

    the resource name of the resource to delete.



5532
5533
5534
5535
5536
5537
# File 'lib/google/ads/google_ads/factories/v21/operations.rb', line 5532

def self.audience(path)
  require "google/ads/google_ads/v21/services/audience_service_pb"
  op = Google::Ads::GoogleAds::V21::Services::AudienceOperation.new
  op["remove"] = path
  op
end

.batch_job(path) ⇒ Object

A convenience method for creating an BatchJobOperation instance with its “remove” field preopulated with a resource path corresponding to the resource to be removed.

Parameters:

  • path (String)

    the resource name of the resource to delete.



6038
6039
6040
6041
6042
6043
# File 'lib/google/ads/google_ads/factories/v21/operations.rb', line 6038

def self.batch_job(path)
  require "google/ads/google_ads/v21/services/batch_job_service_pb"
  op = Google::Ads::GoogleAds::V21::Services::BatchJobOperation.new
  op["remove"] = path
  op
end

.bidding_data_exclusion(path) ⇒ Object

A convenience method for creating an BiddingDataExclusionOperation instance with its “remove” field preopulated with a resource path corresponding to the resource to be removed.

Parameters:

  • path (String)

    the resource name of the resource to delete.



5554
5555
5556
5557
5558
5559
# File 'lib/google/ads/google_ads/factories/v21/operations.rb', line 5554

def self.bidding_data_exclusion(path)
  require "google/ads/google_ads/v21/services/bidding_data_exclusion_service_pb"
  op = Google::Ads::GoogleAds::V21::Services::BiddingDataExclusionOperation.new
  op["remove"] = path
  op
end

.bidding_seasonality_adjustment(path) ⇒ Object

A convenience method for creating an BiddingSeasonalityAdjustmentOperation instance with its “remove” field preopulated with a resource path corresponding to the resource to be removed.

Parameters:

  • path (String)

    the resource name of the resource to delete.



5565
5566
5567
5568
5569
5570
# File 'lib/google/ads/google_ads/factories/v21/operations.rb', line 5565

def self.bidding_seasonality_adjustment(path)
  require "google/ads/google_ads/v21/services/bidding_seasonality_adjustment_service_pb"
  op = Google::Ads::GoogleAds::V21::Services::BiddingSeasonalityAdjustmentOperation.new
  op["remove"] = path
  op
end

.bidding_strategy(path) ⇒ Object

A convenience method for creating an BiddingStrategyOperation instance with its “remove” field preopulated with a resource path corresponding to the resource to be removed.

Parameters:

  • path (String)

    the resource name of the resource to delete.



5576
5577
5578
5579
5580
5581
# File 'lib/google/ads/google_ads/factories/v21/operations.rb', line 5576

def self.bidding_strategy(path)
  require "google/ads/google_ads/v21/services/bidding_strategy_service_pb"
  op = Google::Ads::GoogleAds::V21::Services::BiddingStrategyOperation.new
  op["remove"] = path
  op
end

.billing_setup(path) ⇒ Object

A convenience method for creating an BillingSetupOperation instance with its “remove” field preopulated with a resource path corresponding to the resource to be removed.

Parameters:

  • path (String)

    the resource name of the resource to delete.



6049
6050
6051
6052
6053
6054
# File 'lib/google/ads/google_ads/factories/v21/operations.rb', line 6049

def self.billing_setup(path)
  require "google/ads/google_ads/v21/services/billing_setup_service_pb"
  op = Google::Ads::GoogleAds::V21::Services::BillingSetupOperation.new
  op["remove"] = path
  op
end

.campaign(path) ⇒ Object

A convenience method for creating an CampaignOperation instance with its “remove” field preopulated with a resource path corresponding to the resource to be removed.

Parameters:

  • path (String)

    the resource name of the resource to delete.



5697
5698
5699
5700
5701
5702
# File 'lib/google/ads/google_ads/factories/v21/operations.rb', line 5697

def self.campaign(path)
  require "google/ads/google_ads/v21/services/campaign_service_pb"
  op = Google::Ads::GoogleAds::V21::Services::CampaignOperation.new
  op["remove"] = path
  op
end

.campaign_asset(path) ⇒ Object

A convenience method for creating an CampaignAssetOperation instance with its “remove” field preopulated with a resource path corresponding to the resource to be removed.

Parameters:

  • path (String)

    the resource name of the resource to delete.



5587
5588
5589
5590
5591
5592
# File 'lib/google/ads/google_ads/factories/v21/operations.rb', line 5587

def self.campaign_asset(path)
  require "google/ads/google_ads/v21/services/campaign_asset_service_pb"
  op = Google::Ads::GoogleAds::V21::Services::CampaignAssetOperation.new
  op["remove"] = path
  op
end

.campaign_asset_set(path) ⇒ Object

A convenience method for creating an CampaignAssetSetOperation instance with its “remove” field preopulated with a resource path corresponding to the resource to be removed.

Parameters:

  • path (String)

    the resource name of the resource to delete.



5598
5599
5600
5601
5602
5603
# File 'lib/google/ads/google_ads/factories/v21/operations.rb', line 5598

def self.campaign_asset_set(path)
  require "google/ads/google_ads/v21/services/campaign_asset_set_service_pb"
  op = Google::Ads::GoogleAds::V21::Services::CampaignAssetSetOperation.new
  op["remove"] = path
  op
end

.campaign_bid_modifier(path) ⇒ Object

A convenience method for creating an CampaignBidModifierOperation instance with its “remove” field preopulated with a resource path corresponding to the resource to be removed.

Parameters:

  • path (String)

    the resource name of the resource to delete.



5609
5610
5611
5612
5613
5614
# File 'lib/google/ads/google_ads/factories/v21/operations.rb', line 5609

def self.campaign_bid_modifier(path)
  require "google/ads/google_ads/v21/services/campaign_bid_modifier_service_pb"
  op = Google::Ads::GoogleAds::V21::Services::CampaignBidModifierOperation.new
  op["remove"] = path
  op
end

.campaign_budget(path) ⇒ Object

A convenience method for creating an CampaignBudgetOperation instance with its “remove” field preopulated with a resource path corresponding to the resource to be removed.

Parameters:

  • path (String)

    the resource name of the resource to delete.



5620
5621
5622
5623
5624
5625
# File 'lib/google/ads/google_ads/factories/v21/operations.rb', line 5620

def self.campaign_budget(path)
  require "google/ads/google_ads/v21/services/campaign_budget_service_pb"
  op = Google::Ads::GoogleAds::V21::Services::CampaignBudgetOperation.new
  op["remove"] = path
  op
end

.campaign_conversion_goal(path) ⇒ Object

A convenience method for creating an CampaignConversionGoalOperation instance with its “remove” field preopulated with a resource path corresponding to the resource to be removed.

Parameters:

  • path (String)

    the resource name of the resource to delete.



5631
5632
5633
5634
5635
5636
# File 'lib/google/ads/google_ads/factories/v21/operations.rb', line 5631

def self.campaign_conversion_goal(path)
  require "google/ads/google_ads/v21/services/campaign_conversion_goal_service_pb"
  op = Google::Ads::GoogleAds::V21::Services::CampaignConversionGoalOperation.new
  op["remove"] = path
  op
end

.campaign_criterion(path) ⇒ Object

A convenience method for creating an CampaignCriterionOperation instance with its “remove” field preopulated with a resource path corresponding to the resource to be removed.

Parameters:

  • path (String)

    the resource name of the resource to delete.



5642
5643
5644
5645
5646
5647
# File 'lib/google/ads/google_ads/factories/v21/operations.rb', line 5642

def self.campaign_criterion(path)
  require "google/ads/google_ads/v21/services/campaign_criterion_service_pb"
  op = Google::Ads::GoogleAds::V21::Services::CampaignCriterionOperation.new
  op["remove"] = path
  op
end

.campaign_customizer(path) ⇒ Object

A convenience method for creating an CampaignCustomizerOperation instance with its “remove” field preopulated with a resource path corresponding to the resource to be removed.

Parameters:

  • path (String)

    the resource name of the resource to delete.



5653
5654
5655
5656
5657
5658
# File 'lib/google/ads/google_ads/factories/v21/operations.rb', line 5653

def self.campaign_customizer(path)
  require "google/ads/google_ads/v21/services/campaign_customizer_service_pb"
  op = Google::Ads::GoogleAds::V21::Services::CampaignCustomizerOperation.new
  op["remove"] = path
  op
end

.campaign_draft(path) ⇒ Object

A convenience method for creating an CampaignDraftOperation instance with its “remove” field preopulated with a resource path corresponding to the resource to be removed.

Parameters:

  • path (String)

    the resource name of the resource to delete.



5664
5665
5666
5667
5668
5669
# File 'lib/google/ads/google_ads/factories/v21/operations.rb', line 5664

def self.campaign_draft(path)
  require "google/ads/google_ads/v21/services/campaign_draft_service_pb"
  op = Google::Ads::GoogleAds::V21::Services::CampaignDraftOperation.new
  op["remove"] = path
  op
end

.campaign_group(path) ⇒ Object

A convenience method for creating an CampaignGroupOperation instance with its “remove” field preopulated with a resource path corresponding to the resource to be removed.

Parameters:

  • path (String)

    the resource name of the resource to delete.



5675
5676
5677
5678
5679
5680
# File 'lib/google/ads/google_ads/factories/v21/operations.rb', line 5675

def self.campaign_group(path)
  require "google/ads/google_ads/v21/services/campaign_group_service_pb"
  op = Google::Ads::GoogleAds::V21::Services::CampaignGroupOperation.new
  op["remove"] = path
  op
end

.campaign_label(path) ⇒ Object

A convenience method for creating an CampaignLabelOperation instance with its “remove” field preopulated with a resource path corresponding to the resource to be removed.

Parameters:

  • path (String)

    the resource name of the resource to delete.



5686
5687
5688
5689
5690
5691
# File 'lib/google/ads/google_ads/factories/v21/operations.rb', line 5686

def self.campaign_label(path)
  require "google/ads/google_ads/v21/services/campaign_label_service_pb"
  op = Google::Ads::GoogleAds::V21::Services::CampaignLabelOperation.new
  op["remove"] = path
  op
end

.campaign_lifecycle_goal(path) ⇒ Object

A convenience method for creating an CampaignLifecycleGoalOperation instance with its “remove” field preopulated with a resource path corresponding to the resource to be removed.

Parameters:

  • path (String)

    the resource name of the resource to delete.



6060
6061
6062
6063
6064
6065
# File 'lib/google/ads/google_ads/factories/v21/operations.rb', line 6060

def self.campaign_lifecycle_goal(path)
  require "google/ads/google_ads/v21/services/campaign_lifecycle_goal_service_pb"
  op = Google::Ads::GoogleAds::V21::Services::CampaignLifecycleGoalOperation.new
  op["remove"] = path
  op
end

.campaign_shared_set(path) ⇒ Object

A convenience method for creating an CampaignSharedSetOperation instance with its “remove” field preopulated with a resource path corresponding to the resource to be removed.

Parameters:

  • path (String)

    the resource name of the resource to delete.



5719
5720
5721
5722
5723
5724
# File 'lib/google/ads/google_ads/factories/v21/operations.rb', line 5719

def self.campaign_shared_set(path)
  require "google/ads/google_ads/v21/services/campaign_shared_set_service_pb"
  op = Google::Ads::GoogleAds::V21::Services::CampaignSharedSetOperation.new
  op["remove"] = path
  op
end

.conversion_action(path) ⇒ Object

A convenience method for creating an ConversionActionOperation instance with its “remove” field preopulated with a resource path corresponding to the resource to be removed.

Parameters:

  • path (String)

    the resource name of the resource to delete.



5730
5731
5732
5733
5734
5735
# File 'lib/google/ads/google_ads/factories/v21/operations.rb', line 5730

def self.conversion_action(path)
  require "google/ads/google_ads/v21/services/conversion_action_service_pb"
  op = Google::Ads::GoogleAds::V21::Services::ConversionActionOperation.new
  op["remove"] = path
  op
end

.conversion_custom_variable(path) ⇒ Object

A convenience method for creating an ConversionCustomVariableOperation instance with its “remove” field preopulated with a resource path corresponding to the resource to be removed.

Parameters:

  • path (String)

    the resource name of the resource to delete.



5741
5742
5743
5744
5745
5746
# File 'lib/google/ads/google_ads/factories/v21/operations.rb', line 5741

def self.conversion_custom_variable(path)
  require "google/ads/google_ads/v21/services/conversion_custom_variable_service_pb"
  op = Google::Ads::GoogleAds::V21::Services::ConversionCustomVariableOperation.new
  op["remove"] = path
  op
end

.conversion_goal_campaign_config(path) ⇒ Object

A convenience method for creating an ConversionGoalCampaignConfigOperation instance with its “remove” field preopulated with a resource path corresponding to the resource to be removed.

Parameters:

  • path (String)

    the resource name of the resource to delete.



5752
5753
5754
5755
5756
5757
# File 'lib/google/ads/google_ads/factories/v21/operations.rb', line 5752

def self.conversion_goal_campaign_config(path)
  require "google/ads/google_ads/v21/services/conversion_goal_campaign_config_service_pb"
  op = Google::Ads::GoogleAds::V21::Services::ConversionGoalCampaignConfigOperation.new
  op["remove"] = path
  op
end

.conversion_value_rule(path) ⇒ Object

A convenience method for creating an ConversionValueRuleOperation instance with its “remove” field preopulated with a resource path corresponding to the resource to be removed.

Parameters:

  • path (String)

    the resource name of the resource to delete.



5763
5764
5765
5766
5767
5768
# File 'lib/google/ads/google_ads/factories/v21/operations.rb', line 5763

def self.conversion_value_rule(path)
  require "google/ads/google_ads/v21/services/conversion_value_rule_service_pb"
  op = Google::Ads::GoogleAds::V21::Services::ConversionValueRuleOperation.new
  op["remove"] = path
  op
end

.conversion_value_rule_set(path) ⇒ Object

A convenience method for creating an ConversionValueRuleSetOperation instance with its “remove” field preopulated with a resource path corresponding to the resource to be removed.

Parameters:

  • path (String)

    the resource name of the resource to delete.



5774
5775
5776
5777
5778
5779
# File 'lib/google/ads/google_ads/factories/v21/operations.rb', line 5774

def self.conversion_value_rule_set(path)
  require "google/ads/google_ads/v21/services/conversion_value_rule_set_service_pb"
  op = Google::Ads::GoogleAds::V21::Services::ConversionValueRuleSetOperation.new
  op["remove"] = path
  op
end

.custom_audience(path) ⇒ Object

A convenience method for creating an CustomAudienceOperation instance with its “remove” field preopulated with a resource path corresponding to the resource to be removed.

Parameters:

  • path (String)

    the resource name of the resource to delete.



6071
6072
6073
6074
6075
6076
# File 'lib/google/ads/google_ads/factories/v21/operations.rb', line 6071

def self.custom_audience(path)
  require "google/ads/google_ads/v21/services/custom_audience_service_pb"
  op = Google::Ads::GoogleAds::V21::Services::CustomAudienceOperation.new
  op["remove"] = path
  op
end

.custom_conversion_goal(path) ⇒ Object

A convenience method for creating an CustomConversionGoalOperation instance with its “remove” field preopulated with a resource path corresponding to the resource to be removed.

Parameters:

  • path (String)

    the resource name of the resource to delete.



5785
5786
5787
5788
5789
5790
# File 'lib/google/ads/google_ads/factories/v21/operations.rb', line 5785

def self.custom_conversion_goal(path)
  require "google/ads/google_ads/v21/services/custom_conversion_goal_service_pb"
  op = Google::Ads::GoogleAds::V21::Services::CustomConversionGoalOperation.new
  op["remove"] = path
  op
end

.custom_interest(path) ⇒ Object

A convenience method for creating an CustomInterestOperation instance with its “remove” field preopulated with a resource path corresponding to the resource to be removed.

Parameters:

  • path (String)

    the resource name of the resource to delete.



6082
6083
6084
6085
6086
6087
# File 'lib/google/ads/google_ads/factories/v21/operations.rb', line 6082

def self.custom_interest(path)
  require "google/ads/google_ads/v21/services/custom_interest_service_pb"
  op = Google::Ads::GoogleAds::V21::Services::CustomInterestOperation.new
  op["remove"] = path
  op
end

.customer(path) ⇒ Object

A convenience method for creating an CustomerOperation instance with its “remove” field preopulated with a resource path corresponding to the resource to be removed.

Parameters:

  • path (String)

    the resource name of the resource to delete.



5851
5852
5853
5854
5855
5856
# File 'lib/google/ads/google_ads/factories/v21/operations.rb', line 5851

def self.customer(path)
  require "google/ads/google_ads/v21/services/customer_service_pb"
  op = Google::Ads::GoogleAds::V21::Services::CustomerOperation.new
  op["remove"] = path
  op
end

.customer_asset(path) ⇒ Object

A convenience method for creating an CustomerAssetOperation instance with its “remove” field preopulated with a resource path corresponding to the resource to be removed.

Parameters:

  • path (String)

    the resource name of the resource to delete.



5796
5797
5798
5799
5800
5801
# File 'lib/google/ads/google_ads/factories/v21/operations.rb', line 5796

def self.customer_asset(path)
  require "google/ads/google_ads/v21/services/customer_asset_service_pb"
  op = Google::Ads::GoogleAds::V21::Services::CustomerAssetOperation.new
  op["remove"] = path
  op
end

.customer_asset_set(path) ⇒ Object

A convenience method for creating an CustomerAssetSetOperation instance with its “remove” field preopulated with a resource path corresponding to the resource to be removed.

Parameters:

  • path (String)

    the resource name of the resource to delete.



6093
6094
6095
6096
6097
6098
# File 'lib/google/ads/google_ads/factories/v21/operations.rb', line 6093

def self.customer_asset_set(path)
  require "google/ads/google_ads/v21/services/customer_asset_set_service_pb"
  op = Google::Ads::GoogleAds::V21::Services::CustomerAssetSetOperation.new
  op["remove"] = path
  op
end

A convenience method for creating an CustomerClientLinkOperation instance with its “remove” field preopulated with a resource path corresponding to the resource to be removed.

Parameters:

  • path (String)

    the resource name of the resource to delete.



6104
6105
6106
6107
6108
6109
# File 'lib/google/ads/google_ads/factories/v21/operations.rb', line 6104

def self.customer_client_link(path)
  require "google/ads/google_ads/v21/services/customer_client_link_service_pb"
  op = Google::Ads::GoogleAds::V21::Services::CustomerClientLinkOperation.new
  op["remove"] = path
  op
end

.customer_conversion_goal(path) ⇒ Object

A convenience method for creating an CustomerConversionGoalOperation instance with its “remove” field preopulated with a resource path corresponding to the resource to be removed.

Parameters:

  • path (String)

    the resource name of the resource to delete.



5807
5808
5809
5810
5811
5812
# File 'lib/google/ads/google_ads/factories/v21/operations.rb', line 5807

def self.customer_conversion_goal(path)
  require "google/ads/google_ads/v21/services/customer_conversion_goal_service_pb"
  op = Google::Ads::GoogleAds::V21::Services::CustomerConversionGoalOperation.new
  op["remove"] = path
  op
end

.customer_customizer(path) ⇒ Object

A convenience method for creating an CustomerCustomizerOperation instance with its “remove” field preopulated with a resource path corresponding to the resource to be removed.

Parameters:

  • path (String)

    the resource name of the resource to delete.



5818
5819
5820
5821
5822
5823
# File 'lib/google/ads/google_ads/factories/v21/operations.rb', line 5818

def self.customer_customizer(path)
  require "google/ads/google_ads/v21/services/customer_customizer_service_pb"
  op = Google::Ads::GoogleAds::V21::Services::CustomerCustomizerOperation.new
  op["remove"] = path
  op
end

.customer_label(path) ⇒ Object

A convenience method for creating an CustomerLabelOperation instance with its “remove” field preopulated with a resource path corresponding to the resource to be removed.

Parameters:

  • path (String)

    the resource name of the resource to delete.



5829
5830
5831
5832
5833
5834
# File 'lib/google/ads/google_ads/factories/v21/operations.rb', line 5829

def self.customer_label(path)
  require "google/ads/google_ads/v21/services/customer_label_service_pb"
  op = Google::Ads::GoogleAds::V21::Services::CustomerLabelOperation.new
  op["remove"] = path
  op
end

.customer_lifecycle_goal(path) ⇒ Object

A convenience method for creating an CustomerLifecycleGoalOperation instance with its “remove” field preopulated with a resource path corresponding to the resource to be removed.

Parameters:

  • path (String)

    the resource name of the resource to delete.



6115
6116
6117
6118
6119
6120
# File 'lib/google/ads/google_ads/factories/v21/operations.rb', line 6115

def self.customer_lifecycle_goal(path)
  require "google/ads/google_ads/v21/services/customer_lifecycle_goal_service_pb"
  op = Google::Ads::GoogleAds::V21::Services::CustomerLifecycleGoalOperation.new
  op["remove"] = path
  op
end

A convenience method for creating an CustomerManagerLinkOperation instance with its “remove” field preopulated with a resource path corresponding to the resource to be removed.

Parameters:

  • path (String)

    the resource name of the resource to delete.



6126
6127
6128
6129
6130
6131
# File 'lib/google/ads/google_ads/factories/v21/operations.rb', line 6126

def self.customer_manager_link(path)
  require "google/ads/google_ads/v21/services/customer_manager_link_service_pb"
  op = Google::Ads::GoogleAds::V21::Services::CustomerManagerLinkOperation.new
  op["remove"] = path
  op
end

.customer_negative_criterion(path) ⇒ Object

A convenience method for creating an CustomerNegativeCriterionOperation instance with its “remove” field preopulated with a resource path corresponding to the resource to be removed.

Parameters:

  • path (String)

    the resource name of the resource to delete.



5840
5841
5842
5843
5844
5845
# File 'lib/google/ads/google_ads/factories/v21/operations.rb', line 5840

def self.customer_negative_criterion(path)
  require "google/ads/google_ads/v21/services/customer_negative_criterion_service_pb"
  op = Google::Ads::GoogleAds::V21::Services::CustomerNegativeCriterionOperation.new
  op["remove"] = path
  op
end

.customer_sk_ad_network_conversion_value_schema(path) ⇒ Object

A convenience method for creating an CustomerSkAdNetworkConversionValueSchemaOperation instance with its “remove” field preopulated with a resource path corresponding to the resource to be removed.

Parameters:

  • path (String)

    the resource name of the resource to delete.



6137
6138
6139
6140
6141
6142
# File 'lib/google/ads/google_ads/factories/v21/operations.rb', line 6137

def self.customer_sk_ad_network_conversion_value_schema(path)
  require "google/ads/google_ads/v21/services/customer_sk_ad_network_conversion_value_schema_service_pb"
  op = Google::Ads::GoogleAds::V21::Services::CustomerSkAdNetworkConversionValueSchemaOperation.new
  op["remove"] = path
  op
end

.customer_user_access(path) ⇒ Object

A convenience method for creating an CustomerUserAccessOperation instance with its “remove” field preopulated with a resource path corresponding to the resource to be removed.

Parameters:

  • path (String)

    the resource name of the resource to delete.



6159
6160
6161
6162
6163
6164
# File 'lib/google/ads/google_ads/factories/v21/operations.rb', line 6159

def self.customer_user_access(path)
  require "google/ads/google_ads/v21/services/customer_user_access_service_pb"
  op = Google::Ads::GoogleAds::V21::Services::CustomerUserAccessOperation.new
  op["remove"] = path
  op
end

.customer_user_access_invitation(path) ⇒ Object

A convenience method for creating an CustomerUserAccessInvitationOperation instance with its “remove” field preopulated with a resource path corresponding to the resource to be removed.

Parameters:

  • path (String)

    the resource name of the resource to delete.



6148
6149
6150
6151
6152
6153
# File 'lib/google/ads/google_ads/factories/v21/operations.rb', line 6148

def self.customer_user_access_invitation(path)
  require "google/ads/google_ads/v21/services/customer_user_access_invitation_service_pb"
  op = Google::Ads::GoogleAds::V21::Services::CustomerUserAccessInvitationOperation.new
  op["remove"] = path
  op
end

.customizer_attribute(path) ⇒ Object

A convenience method for creating an CustomizerAttributeOperation instance with its “remove” field preopulated with a resource path corresponding to the resource to be removed.

Parameters:

  • path (String)

    the resource name of the resource to delete.



5862
5863
5864
5865
5866
5867
# File 'lib/google/ads/google_ads/factories/v21/operations.rb', line 5862

def self.customizer_attribute(path)
  require "google/ads/google_ads/v21/services/customizer_attribute_service_pb"
  op = Google::Ads::GoogleAds::V21::Services::CustomizerAttributeOperation.new
  op["remove"] = path
  op
end

.dismiss_recommendation(path) ⇒ Object

A convenience method for creating an DismissRecommendationOperation instance with its “remove” field preopulated with a resource path corresponding to the resource to be removed.

Parameters:

  • path (String)

    the resource name of the resource to delete.



6192
6193
6194
6195
6196
6197
# File 'lib/google/ads/google_ads/factories/v21/operations.rb', line 6192

def self.dismiss_recommendation(path)
  require "google/ads/google_ads/v21/services/recommendation_service_pb"
  op = Google::Ads::GoogleAds::V21::Services::DismissRecommendationRequest::DismissRecommendationOperation.new
  op["remove"] = path
  op
end

.enable(path) ⇒ Object

A convenience method for creating an EnableOperation instance with its “remove” field preopulated with a resource path corresponding to the resource to be removed.

Parameters:

  • path (String)

    the resource name of the resource to delete.



5708
5709
5710
5711
5712
5713
# File 'lib/google/ads/google_ads/factories/v21/operations.rb', line 5708

def self.enable(path)
  require "google/ads/google_ads/v21/services/campaign_service_pb"
  op = Google::Ads::GoogleAds::V21::Services::EnableOperation.new
  op["remove"] = path
  op
end

.experiment(path) ⇒ Object

A convenience method for creating an ExperimentOperation instance with its “remove” field preopulated with a resource path corresponding to the resource to be removed.

Parameters:

  • path (String)

    the resource name of the resource to delete.



5884
5885
5886
5887
5888
5889
# File 'lib/google/ads/google_ads/factories/v21/operations.rb', line 5884

def self.experiment(path)
  require "google/ads/google_ads/v21/services/experiment_service_pb"
  op = Google::Ads::GoogleAds::V21::Services::ExperimentOperation.new
  op["remove"] = path
  op
end

.experiment_arm(path) ⇒ Object

A convenience method for creating an ExperimentArmOperation instance with its “remove” field preopulated with a resource path corresponding to the resource to be removed.

Parameters:

  • path (String)

    the resource name of the resource to delete.



5873
5874
5875
5876
5877
5878
# File 'lib/google/ads/google_ads/factories/v21/operations.rb', line 5873

def self.experiment_arm(path)
  require "google/ads/google_ads/v21/services/experiment_arm_service_pb"
  op = Google::Ads::GoogleAds::V21::Services::ExperimentArmOperation.new
  op["remove"] = path
  op
end

.keyword_plan(path) ⇒ Object

A convenience method for creating an KeywordPlanOperation instance with its “remove” field preopulated with a resource path corresponding to the resource to be removed.

Parameters:

  • path (String)

    the resource name of the resource to delete.



5939
5940
5941
5942
5943
5944
# File 'lib/google/ads/google_ads/factories/v21/operations.rb', line 5939

def self.keyword_plan(path)
  require "google/ads/google_ads/v21/services/keyword_plan_service_pb"
  op = Google::Ads::GoogleAds::V21::Services::KeywordPlanOperation.new
  op["remove"] = path
  op
end

.keyword_plan_ad_group(path) ⇒ Object

A convenience method for creating an KeywordPlanAdGroupOperation instance with its “remove” field preopulated with a resource path corresponding to the resource to be removed.

Parameters:

  • path (String)

    the resource name of the resource to delete.



5906
5907
5908
5909
5910
5911
# File 'lib/google/ads/google_ads/factories/v21/operations.rb', line 5906

def self.keyword_plan_ad_group(path)
  require "google/ads/google_ads/v21/services/keyword_plan_ad_group_service_pb"
  op = Google::Ads::GoogleAds::V21::Services::KeywordPlanAdGroupOperation.new
  op["remove"] = path
  op
end

.keyword_plan_ad_group_keyword(path) ⇒ Object

A convenience method for creating an KeywordPlanAdGroupKeywordOperation instance with its “remove” field preopulated with a resource path corresponding to the resource to be removed.

Parameters:

  • path (String)

    the resource name of the resource to delete.



5895
5896
5897
5898
5899
5900
# File 'lib/google/ads/google_ads/factories/v21/operations.rb', line 5895

def self.keyword_plan_ad_group_keyword(path)
  require "google/ads/google_ads/v21/services/keyword_plan_ad_group_keyword_service_pb"
  op = Google::Ads::GoogleAds::V21::Services::KeywordPlanAdGroupKeywordOperation.new
  op["remove"] = path
  op
end

.keyword_plan_campaign(path) ⇒ Object

A convenience method for creating an KeywordPlanCampaignOperation instance with its “remove” field preopulated with a resource path corresponding to the resource to be removed.

Parameters:

  • path (String)

    the resource name of the resource to delete.



5928
5929
5930
5931
5932
5933
# File 'lib/google/ads/google_ads/factories/v21/operations.rb', line 5928

def self.keyword_plan_campaign(path)
  require "google/ads/google_ads/v21/services/keyword_plan_campaign_service_pb"
  op = Google::Ads::GoogleAds::V21::Services::KeywordPlanCampaignOperation.new
  op["remove"] = path
  op
end

.keyword_plan_campaign_keyword(path) ⇒ Object

A convenience method for creating an KeywordPlanCampaignKeywordOperation instance with its “remove” field preopulated with a resource path corresponding to the resource to be removed.

Parameters:

  • path (String)

    the resource name of the resource to delete.



5917
5918
5919
5920
5921
5922
# File 'lib/google/ads/google_ads/factories/v21/operations.rb', line 5917

def self.keyword_plan_campaign_keyword(path)
  require "google/ads/google_ads/v21/services/keyword_plan_campaign_keyword_service_pb"
  op = Google::Ads::GoogleAds::V21::Services::KeywordPlanCampaignKeywordOperation.new
  op["remove"] = path
  op
end

.label(path) ⇒ Object

A convenience method for creating an LabelOperation instance with its “remove” field preopulated with a resource path corresponding to the resource to be removed.

Parameters:

  • path (String)

    the resource name of the resource to delete.



5950
5951
5952
5953
5954
5955
# File 'lib/google/ads/google_ads/factories/v21/operations.rb', line 5950

def self.label(path)
  require "google/ads/google_ads/v21/services/label_service_pb"
  op = Google::Ads::GoogleAds::V21::Services::LabelOperation.new
  op["remove"] = path
  op
end

.mutate(path) ⇒ Object

A convenience method for creating an MutateOperation instance with its “remove” field preopulated with a resource path corresponding to the resource to be removed.

Parameters:

  • path (String)

    the resource name of the resource to delete.



6027
6028
6029
6030
6031
6032
# File 'lib/google/ads/google_ads/factories/v21/operations.rb', line 6027

def self.mutate(path)
  require "google/ads/google_ads/v21/services/google_ads_service_pb"
  op = Google::Ads::GoogleAds::V21::Services::MutateOperation.new
  op["remove"] = path
  op
end

.offline_user_data_job(path) ⇒ Object

A convenience method for creating an OfflineUserDataJobOperation instance with its “remove” field preopulated with a resource path corresponding to the resource to be removed.

Parameters:

  • path (String)

    the resource name of the resource to delete.



6170
6171
6172
6173
6174
6175
# File 'lib/google/ads/google_ads/factories/v21/operations.rb', line 6170

def self.offline_user_data_job(path)
  require "google/ads/google_ads/v21/services/offline_user_data_job_service_pb"
  op = Google::Ads::GoogleAds::V21::Services::OfflineUserDataJobOperation.new
  op["remove"] = path
  op
end

.recommendation_subscription(path) ⇒ Object

A convenience method for creating an RecommendationSubscriptionOperation instance with its “remove” field preopulated with a resource path corresponding to the resource to be removed.

Parameters:

  • path (String)

    the resource name of the resource to delete.



5961
5962
5963
5964
5965
5966
# File 'lib/google/ads/google_ads/factories/v21/operations.rb', line 5961

def self.recommendation_subscription(path)
  require "google/ads/google_ads/v21/services/recommendation_subscription_service_pb"
  op = Google::Ads::GoogleAds::V21::Services::RecommendationSubscriptionOperation.new
  op["remove"] = path
  op
end

.remarketing_action(path) ⇒ Object

A convenience method for creating an RemarketingActionOperation instance with its “remove” field preopulated with a resource path corresponding to the resource to be removed.

Parameters:

  • path (String)

    the resource name of the resource to delete.



5972
5973
5974
5975
5976
5977
# File 'lib/google/ads/google_ads/factories/v21/operations.rb', line 5972

def self.remarketing_action(path)
  require "google/ads/google_ads/v21/services/remarketing_action_service_pb"
  op = Google::Ads::GoogleAds::V21::Services::RemarketingActionOperation.new
  op["remove"] = path
  op
end

.remove_campaign_automatically_created_asset(path) ⇒ Object

A convenience method for creating an RemoveCampaignAutomaticallyCreatedAssetOperation instance with its “remove” field preopulated with a resource path corresponding to the resource to be removed.

Parameters:

  • path (String)

    the resource name of the resource to delete.



5543
5544
5545
5546
5547
5548
# File 'lib/google/ads/google_ads/factories/v21/operations.rb', line 5543

def self.remove_campaign_automatically_created_asset(path)
  require "google/ads/google_ads/v21/services/automatically_created_asset_removal_service_pb"
  op = Google::Ads::GoogleAds::V21::Services::RemoveCampaignAutomaticallyCreatedAssetOperation.new
  op["remove"] = path
  op
end

.shared_criterion(path) ⇒ Object

A convenience method for creating an SharedCriterionOperation instance with its “remove” field preopulated with a resource path corresponding to the resource to be removed.

Parameters:

  • path (String)

    the resource name of the resource to delete.



5983
5984
5985
5986
5987
5988
# File 'lib/google/ads/google_ads/factories/v21/operations.rb', line 5983

def self.shared_criterion(path)
  require "google/ads/google_ads/v21/services/shared_criterion_service_pb"
  op = Google::Ads::GoogleAds::V21::Services::SharedCriterionOperation.new
  op["remove"] = path
  op
end

.shared_set(path) ⇒ Object

A convenience method for creating an SharedSetOperation instance with its “remove” field preopulated with a resource path corresponding to the resource to be removed.

Parameters:

  • path (String)

    the resource name of the resource to delete.



5994
5995
5996
5997
5998
5999
# File 'lib/google/ads/google_ads/factories/v21/operations.rb', line 5994

def self.shared_set(path)
  require "google/ads/google_ads/v21/services/shared_set_service_pb"
  op = Google::Ads::GoogleAds::V21::Services::SharedSetOperation.new
  op["remove"] = path
  op
end

.smart_campaign_setting(path) ⇒ Object

A convenience method for creating an SmartCampaignSettingOperation instance with its “remove” field preopulated with a resource path corresponding to the resource to be removed.

Parameters:

  • path (String)

    the resource name of the resource to delete.



6005
6006
6007
6008
6009
6010
# File 'lib/google/ads/google_ads/factories/v21/operations.rb', line 6005

def self.smart_campaign_setting(path)
  require "google/ads/google_ads/v21/services/smart_campaign_setting_service_pb"
  op = Google::Ads::GoogleAds::V21::Services::SmartCampaignSettingOperation.new
  op["remove"] = path
  op
end

.target_restriction(path) ⇒ Object

A convenience method for creating an TargetRestrictionOperation instance with its “remove” field preopulated with a resource path corresponding to the resource to be removed.

Parameters:

  • path (String)

    the resource name of the resource to delete.



5279
5280
5281
5282
5283
5284
# File 'lib/google/ads/google_ads/factories/v21/operations.rb', line 5279

def self.target_restriction(path)
  require "google/ads/google_ads/v21/common/targeting_setting_pb"
  op = Google::Ads::GoogleAds::V21::Common::TargetRestrictionOperation.new
  op["remove"] = path
  op
end

.user_data(path) ⇒ Object

A convenience method for creating an UserDataOperation instance with its “remove” field preopulated with a resource path corresponding to the resource to be removed.

Parameters:

  • path (String)

    the resource name of the resource to delete.



6203
6204
6205
6206
6207
6208
# File 'lib/google/ads/google_ads/factories/v21/operations.rb', line 6203

def self.user_data(path)
  require "google/ads/google_ads/v21/services/user_data_service_pb"
  op = Google::Ads::GoogleAds::V21::Services::UserDataOperation.new
  op["remove"] = path
  op
end

.user_list(path) ⇒ Object

A convenience method for creating an UserListOperation instance with its “remove” field preopulated with a resource path corresponding to the resource to be removed.

Parameters:

  • path (String)

    the resource name of the resource to delete.



6016
6017
6018
6019
6020
6021
# File 'lib/google/ads/google_ads/factories/v21/operations.rb', line 6016

def self.user_list(path)
  require "google/ads/google_ads/v21/services/user_list_service_pb"
  op = Google::Ads::GoogleAds::V21::Services::UserListOperation.new
  op["remove"] = path
  op
end

.user_list_customer_type(path) ⇒ Object

A convenience method for creating an UserListCustomerTypeOperation instance with its “remove” field preopulated with a resource path corresponding to the resource to be removed.

Parameters:

  • path (String)

    the resource name of the resource to delete.



6214
6215
6216
6217
6218
6219
# File 'lib/google/ads/google_ads/factories/v21/operations.rb', line 6214

def self.user_list_customer_type(path)
  require "google/ads/google_ads/v21/services/user_list_customer_type_service_pb"
  op = Google::Ads::GoogleAds::V21::Services::UserListCustomerTypeOperation.new
  op["remove"] = path
  op
end