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

Defined in:
lib/google/ads/google_ads/factories/v11/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.



5941
5942
5943
5944
5945
5946
# File 'lib/google/ads/google_ads/factories/v11/operations.rb', line 5941

def self.(path)
  require "google/ads/google_ads/v11/services/account_budget_proposal_service_pb"
  op = Google::Ads::GoogleAds::V11::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.



5952
5953
5954
5955
5956
5957
# File 'lib/google/ads/google_ads/factories/v11/operations.rb', line 5952

def self.(path)
  require "google/ads/google_ads/v11/services/account_link_service_pb"
  op = Google::Ads::GoogleAds::V11::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.



6106
6107
6108
6109
6110
6111
# File 'lib/google/ads/google_ads/factories/v11/operations.rb', line 6106

def self.ad(path)
  require "google/ads/google_ads/v11/services/ad_service_pb"
  op = Google::Ads::GoogleAds::V11::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.



6084
6085
6086
6087
6088
6089
# File 'lib/google/ads/google_ads/factories/v11/operations.rb', line 6084

def self.ad_group(path)
  require "google/ads/google_ads/v11/services/ad_group_service_pb"
  op = Google::Ads::GoogleAds::V11::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.



5974
5975
5976
5977
5978
5979
# File 'lib/google/ads/google_ads/factories/v11/operations.rb', line 5974

def self.ad_group_ad(path)
  require "google/ads/google_ads/v11/services/ad_group_ad_service_pb"
  op = Google::Ads::GoogleAds::V11::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.



5963
5964
5965
5966
5967
5968
# File 'lib/google/ads/google_ads/factories/v11/operations.rb', line 5963

def self.ad_group_ad_label(path)
  require "google/ads/google_ads/v11/services/ad_group_ad_label_service_pb"
  op = Google::Ads::GoogleAds::V11::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.



5985
5986
5987
5988
5989
5990
# File 'lib/google/ads/google_ads/factories/v11/operations.rb', line 5985

def self.ad_group_asset(path)
  require "google/ads/google_ads/v11/services/ad_group_asset_service_pb"
  op = Google::Ads::GoogleAds::V11::Services::AdGroupAssetOperation.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.



5996
5997
5998
5999
6000
6001
# File 'lib/google/ads/google_ads/factories/v11/operations.rb', line 5996

def self.ad_group_bid_modifier(path)
  require "google/ads/google_ads/v11/services/ad_group_bid_modifier_service_pb"
  op = Google::Ads::GoogleAds::V11::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.



6029
6030
6031
6032
6033
6034
# File 'lib/google/ads/google_ads/factories/v11/operations.rb', line 6029

def self.ad_group_criterion(path)
  require "google/ads/google_ads/v11/services/ad_group_criterion_service_pb"
  op = Google::Ads::GoogleAds::V11::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.



6007
6008
6009
6010
6011
6012
# File 'lib/google/ads/google_ads/factories/v11/operations.rb', line 6007

def self.ad_group_criterion_customizer(path)
  require "google/ads/google_ads/v11/services/ad_group_criterion_customizer_service_pb"
  op = Google::Ads::GoogleAds::V11::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.



6018
6019
6020
6021
6022
6023
# File 'lib/google/ads/google_ads/factories/v11/operations.rb', line 6018

def self.ad_group_criterion_label(path)
  require "google/ads/google_ads/v11/services/ad_group_criterion_label_service_pb"
  op = Google::Ads::GoogleAds::V11::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.



6040
6041
6042
6043
6044
6045
# File 'lib/google/ads/google_ads/factories/v11/operations.rb', line 6040

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

.ad_group_extension_setting(path) ⇒ Object

A convenience method for creating an AdGroupExtensionSettingOperation 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.



6051
6052
6053
6054
6055
6056
# File 'lib/google/ads/google_ads/factories/v11/operations.rb', line 6051

def self.ad_group_extension_setting(path)
  require "google/ads/google_ads/v11/services/ad_group_extension_setting_service_pb"
  op = Google::Ads::GoogleAds::V11::Services::AdGroupExtensionSettingOperation.new
  op["remove"] = path
  op
end

.ad_group_feed(path) ⇒ Object

A convenience method for creating an AdGroupFeedOperation 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.



6062
6063
6064
6065
6066
6067
# File 'lib/google/ads/google_ads/factories/v11/operations.rb', line 6062

def self.ad_group_feed(path)
  require "google/ads/google_ads/v11/services/ad_group_feed_service_pb"
  op = Google::Ads::GoogleAds::V11::Services::AdGroupFeedOperation.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.



6073
6074
6075
6076
6077
6078
# File 'lib/google/ads/google_ads/factories/v11/operations.rb', line 6073

def self.ad_group_label(path)
  require "google/ads/google_ads/v11/services/ad_group_label_service_pb"
  op = Google::Ads::GoogleAds::V11::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.



6095
6096
6097
6098
6099
6100
# File 'lib/google/ads/google_ads/factories/v11/operations.rb', line 6095

def self.ad_parameter(path)
  require "google/ads/google_ads/v11/services/ad_parameter_service_pb"
  op = Google::Ads::GoogleAds::V11::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.



6920
6921
6922
6923
6924
6925
# File 'lib/google/ads/google_ads/factories/v11/operations.rb', line 6920

def self.apply_recommendation(path)
  require "google/ads/google_ads/v11/services/recommendation_service_pb"
  op = Google::Ads::GoogleAds::V11::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.



6161
6162
6163
6164
6165
6166
# File 'lib/google/ads/google_ads/factories/v11/operations.rb', line 6161

def self.asset(path)
  require "google/ads/google_ads/v11/services/asset_service_pb"
  op = Google::Ads::GoogleAds::V11::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.



6139
6140
6141
6142
6143
6144
# File 'lib/google/ads/google_ads/factories/v11/operations.rb', line 6139

def self.asset_group(path)
  require "google/ads/google_ads/v11/services/asset_group_service_pb"
  op = Google::Ads::GoogleAds::V11::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.



6117
6118
6119
6120
6121
6122
# File 'lib/google/ads/google_ads/factories/v11/operations.rb', line 6117

def self.asset_group_asset(path)
  require "google/ads/google_ads/v11/services/asset_group_asset_service_pb"
  op = Google::Ads::GoogleAds::V11::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.



6128
6129
6130
6131
6132
6133
# File 'lib/google/ads/google_ads/factories/v11/operations.rb', line 6128

def self.asset_group_listing_group_filter(path)
  require "google/ads/google_ads/v11/services/asset_group_listing_group_filter_service_pb"
  op = Google::Ads::GoogleAds::V11::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.



6150
6151
6152
6153
6154
6155
# File 'lib/google/ads/google_ads/factories/v11/operations.rb', line 6150

def self.asset_group_signal(path)
  require "google/ads/google_ads/v11/services/asset_group_signal_service_pb"
  op = Google::Ads::GoogleAds::V11::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.



6183
6184
6185
6186
6187
6188
# File 'lib/google/ads/google_ads/factories/v11/operations.rb', line 6183

def self.asset_set(path)
  require "google/ads/google_ads/v11/services/asset_set_service_pb"
  op = Google::Ads::GoogleAds::V11::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.



6172
6173
6174
6175
6176
6177
# File 'lib/google/ads/google_ads/factories/v11/operations.rb', line 6172

def self.asset_set_asset(path)
  require "google/ads/google_ads/v11/services/asset_set_asset_service_pb"
  op = Google::Ads::GoogleAds::V11::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.



6194
6195
6196
6197
6198
6199
# File 'lib/google/ads/google_ads/factories/v11/operations.rb', line 6194

def self.audience(path)
  require "google/ads/google_ads/v11/services/audience_service_pb"
  op = Google::Ads::GoogleAds::V11::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.



6810
6811
6812
6813
6814
6815
# File 'lib/google/ads/google_ads/factories/v11/operations.rb', line 6810

def self.batch_job(path)
  require "google/ads/google_ads/v11/services/batch_job_service_pb"
  op = Google::Ads::GoogleAds::V11::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.



6205
6206
6207
6208
6209
6210
# File 'lib/google/ads/google_ads/factories/v11/operations.rb', line 6205

def self.bidding_data_exclusion(path)
  require "google/ads/google_ads/v11/services/bidding_data_exclusion_service_pb"
  op = Google::Ads::GoogleAds::V11::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.



6216
6217
6218
6219
6220
6221
# File 'lib/google/ads/google_ads/factories/v11/operations.rb', line 6216

def self.bidding_seasonality_adjustment(path)
  require "google/ads/google_ads/v11/services/bidding_seasonality_adjustment_service_pb"
  op = Google::Ads::GoogleAds::V11::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.



6227
6228
6229
6230
6231
6232
# File 'lib/google/ads/google_ads/factories/v11/operations.rb', line 6227

def self.bidding_strategy(path)
  require "google/ads/google_ads/v11/services/bidding_strategy_service_pb"
  op = Google::Ads::GoogleAds::V11::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.



6821
6822
6823
6824
6825
6826
# File 'lib/google/ads/google_ads/factories/v11/operations.rb', line 6821

def self.billing_setup(path)
  require "google/ads/google_ads/v11/services/billing_setup_service_pb"
  op = Google::Ads::GoogleAds::V11::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.



6381
6382
6383
6384
6385
6386
# File 'lib/google/ads/google_ads/factories/v11/operations.rb', line 6381

def self.campaign(path)
  require "google/ads/google_ads/v11/services/campaign_service_pb"
  op = Google::Ads::GoogleAds::V11::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.



6238
6239
6240
6241
6242
6243
# File 'lib/google/ads/google_ads/factories/v11/operations.rb', line 6238

def self.campaign_asset(path)
  require "google/ads/google_ads/v11/services/campaign_asset_service_pb"
  op = Google::Ads::GoogleAds::V11::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.



6249
6250
6251
6252
6253
6254
# File 'lib/google/ads/google_ads/factories/v11/operations.rb', line 6249

def self.campaign_asset_set(path)
  require "google/ads/google_ads/v11/services/campaign_asset_set_service_pb"
  op = Google::Ads::GoogleAds::V11::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.



6260
6261
6262
6263
6264
6265
# File 'lib/google/ads/google_ads/factories/v11/operations.rb', line 6260

def self.campaign_bid_modifier(path)
  require "google/ads/google_ads/v11/services/campaign_bid_modifier_service_pb"
  op = Google::Ads::GoogleAds::V11::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.



6271
6272
6273
6274
6275
6276
# File 'lib/google/ads/google_ads/factories/v11/operations.rb', line 6271

def self.campaign_budget(path)
  require "google/ads/google_ads/v11/services/campaign_budget_service_pb"
  op = Google::Ads::GoogleAds::V11::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.



6282
6283
6284
6285
6286
6287
# File 'lib/google/ads/google_ads/factories/v11/operations.rb', line 6282

def self.campaign_conversion_goal(path)
  require "google/ads/google_ads/v11/services/campaign_conversion_goal_service_pb"
  op = Google::Ads::GoogleAds::V11::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.



6293
6294
6295
6296
6297
6298
# File 'lib/google/ads/google_ads/factories/v11/operations.rb', line 6293

def self.campaign_criterion(path)
  require "google/ads/google_ads/v11/services/campaign_criterion_service_pb"
  op = Google::Ads::GoogleAds::V11::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.



6304
6305
6306
6307
6308
6309
# File 'lib/google/ads/google_ads/factories/v11/operations.rb', line 6304

def self.campaign_customizer(path)
  require "google/ads/google_ads/v11/services/campaign_customizer_service_pb"
  op = Google::Ads::GoogleAds::V11::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.



6315
6316
6317
6318
6319
6320
# File 'lib/google/ads/google_ads/factories/v11/operations.rb', line 6315

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

.campaign_experiment(path) ⇒ Object

A convenience method for creating an CampaignExperimentOperation 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.



6326
6327
6328
6329
6330
6331
# File 'lib/google/ads/google_ads/factories/v11/operations.rb', line 6326

def self.campaign_experiment(path)
  require "google/ads/google_ads/v11/services/campaign_experiment_service_pb"
  op = Google::Ads::GoogleAds::V11::Services::CampaignExperimentOperation.new
  op["remove"] = path
  op
end

.campaign_extension_setting(path) ⇒ Object

A convenience method for creating an CampaignExtensionSettingOperation 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.



6337
6338
6339
6340
6341
6342
# File 'lib/google/ads/google_ads/factories/v11/operations.rb', line 6337

def self.campaign_extension_setting(path)
  require "google/ads/google_ads/v11/services/campaign_extension_setting_service_pb"
  op = Google::Ads::GoogleAds::V11::Services::CampaignExtensionSettingOperation.new
  op["remove"] = path
  op
end

.campaign_feed(path) ⇒ Object

A convenience method for creating an CampaignFeedOperation 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.



6348
6349
6350
6351
6352
6353
# File 'lib/google/ads/google_ads/factories/v11/operations.rb', line 6348

def self.campaign_feed(path)
  require "google/ads/google_ads/v11/services/campaign_feed_service_pb"
  op = Google::Ads::GoogleAds::V11::Services::CampaignFeedOperation.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.



6359
6360
6361
6362
6363
6364
# File 'lib/google/ads/google_ads/factories/v11/operations.rb', line 6359

def self.campaign_group(path)
  require "google/ads/google_ads/v11/services/campaign_group_service_pb"
  op = Google::Ads::GoogleAds::V11::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.



6370
6371
6372
6373
6374
6375
# File 'lib/google/ads/google_ads/factories/v11/operations.rb', line 6370

def self.campaign_label(path)
  require "google/ads/google_ads/v11/services/campaign_label_service_pb"
  op = Google::Ads::GoogleAds::V11::Services::CampaignLabelOperation.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.



6392
6393
6394
6395
6396
6397
# File 'lib/google/ads/google_ads/factories/v11/operations.rb', line 6392

def self.campaign_shared_set(path)
  require "google/ads/google_ads/v11/services/campaign_shared_set_service_pb"
  op = Google::Ads::GoogleAds::V11::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.



6403
6404
6405
6406
6407
6408
# File 'lib/google/ads/google_ads/factories/v11/operations.rb', line 6403

def self.conversion_action(path)
  require "google/ads/google_ads/v11/services/conversion_action_service_pb"
  op = Google::Ads::GoogleAds::V11::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.



6414
6415
6416
6417
6418
6419
# File 'lib/google/ads/google_ads/factories/v11/operations.rb', line 6414

def self.conversion_custom_variable(path)
  require "google/ads/google_ads/v11/services/conversion_custom_variable_service_pb"
  op = Google::Ads::GoogleAds::V11::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.



6425
6426
6427
6428
6429
6430
# File 'lib/google/ads/google_ads/factories/v11/operations.rb', line 6425

def self.conversion_goal_campaign_config(path)
  require "google/ads/google_ads/v11/services/conversion_goal_campaign_config_service_pb"
  op = Google::Ads::GoogleAds::V11::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.



6436
6437
6438
6439
6440
6441
# File 'lib/google/ads/google_ads/factories/v11/operations.rb', line 6436

def self.conversion_value_rule(path)
  require "google/ads/google_ads/v11/services/conversion_value_rule_service_pb"
  op = Google::Ads::GoogleAds::V11::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.



6447
6448
6449
6450
6451
6452
# File 'lib/google/ads/google_ads/factories/v11/operations.rb', line 6447

def self.conversion_value_rule_set(path)
  require "google/ads/google_ads/v11/services/conversion_value_rule_set_service_pb"
  op = Google::Ads::GoogleAds::V11::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.



6832
6833
6834
6835
6836
6837
# File 'lib/google/ads/google_ads/factories/v11/operations.rb', line 6832

def self.custom_audience(path)
  require "google/ads/google_ads/v11/services/custom_audience_service_pb"
  op = Google::Ads::GoogleAds::V11::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.



6458
6459
6460
6461
6462
6463
# File 'lib/google/ads/google_ads/factories/v11/operations.rb', line 6458

def self.custom_conversion_goal(path)
  require "google/ads/google_ads/v11/services/custom_conversion_goal_service_pb"
  op = Google::Ads::GoogleAds::V11::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.



6843
6844
6845
6846
6847
6848
# File 'lib/google/ads/google_ads/factories/v11/operations.rb', line 6843

def self.custom_interest(path)
  require "google/ads/google_ads/v11/services/custom_interest_service_pb"
  op = Google::Ads::GoogleAds::V11::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.



6546
6547
6548
6549
6550
6551
# File 'lib/google/ads/google_ads/factories/v11/operations.rb', line 6546

def self.customer(path)
  require "google/ads/google_ads/v11/services/customer_service_pb"
  op = Google::Ads::GoogleAds::V11::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.



6469
6470
6471
6472
6473
6474
# File 'lib/google/ads/google_ads/factories/v11/operations.rb', line 6469

def self.customer_asset(path)
  require "google/ads/google_ads/v11/services/customer_asset_service_pb"
  op = Google::Ads::GoogleAds::V11::Services::CustomerAssetOperation.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.



6854
6855
6856
6857
6858
6859
# File 'lib/google/ads/google_ads/factories/v11/operations.rb', line 6854

def self.customer_client_link(path)
  require "google/ads/google_ads/v11/services/customer_client_link_service_pb"
  op = Google::Ads::GoogleAds::V11::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.



6480
6481
6482
6483
6484
6485
# File 'lib/google/ads/google_ads/factories/v11/operations.rb', line 6480

def self.customer_conversion_goal(path)
  require "google/ads/google_ads/v11/services/customer_conversion_goal_service_pb"
  op = Google::Ads::GoogleAds::V11::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.



6491
6492
6493
6494
6495
6496
# File 'lib/google/ads/google_ads/factories/v11/operations.rb', line 6491

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

.customer_extension_setting(path) ⇒ Object

A convenience method for creating an CustomerExtensionSettingOperation 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.



6502
6503
6504
6505
6506
6507
# File 'lib/google/ads/google_ads/factories/v11/operations.rb', line 6502

def self.customer_extension_setting(path)
  require "google/ads/google_ads/v11/services/customer_extension_setting_service_pb"
  op = Google::Ads::GoogleAds::V11::Services::CustomerExtensionSettingOperation.new
  op["remove"] = path
  op
end

.customer_feed(path) ⇒ Object

A convenience method for creating an CustomerFeedOperation 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.



6513
6514
6515
6516
6517
6518
# File 'lib/google/ads/google_ads/factories/v11/operations.rb', line 6513

def self.customer_feed(path)
  require "google/ads/google_ads/v11/services/customer_feed_service_pb"
  op = Google::Ads::GoogleAds::V11::Services::CustomerFeedOperation.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.



6524
6525
6526
6527
6528
6529
# File 'lib/google/ads/google_ads/factories/v11/operations.rb', line 6524

def self.customer_label(path)
  require "google/ads/google_ads/v11/services/customer_label_service_pb"
  op = Google::Ads::GoogleAds::V11::Services::CustomerLabelOperation.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.



6865
6866
6867
6868
6869
6870
# File 'lib/google/ads/google_ads/factories/v11/operations.rb', line 6865

def self.customer_manager_link(path)
  require "google/ads/google_ads/v11/services/customer_manager_link_service_pb"
  op = Google::Ads::GoogleAds::V11::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.



6535
6536
6537
6538
6539
6540
# File 'lib/google/ads/google_ads/factories/v11/operations.rb', line 6535

def self.customer_negative_criterion(path)
  require "google/ads/google_ads/v11/services/customer_negative_criterion_service_pb"
  op = Google::Ads::GoogleAds::V11::Services::CustomerNegativeCriterionOperation.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.



6887
6888
6889
6890
6891
6892
# File 'lib/google/ads/google_ads/factories/v11/operations.rb', line 6887

def self.customer_user_access(path)
  require "google/ads/google_ads/v11/services/customer_user_access_service_pb"
  op = Google::Ads::GoogleAds::V11::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.



6876
6877
6878
6879
6880
6881
# File 'lib/google/ads/google_ads/factories/v11/operations.rb', line 6876

def self.customer_user_access_invitation(path)
  require "google/ads/google_ads/v11/services/customer_user_access_invitation_service_pb"
  op = Google::Ads::GoogleAds::V11::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.



6557
6558
6559
6560
6561
6562
# File 'lib/google/ads/google_ads/factories/v11/operations.rb', line 6557

def self.customizer_attribute(path)
  require "google/ads/google_ads/v11/services/customizer_attribute_service_pb"
  op = Google::Ads::GoogleAds::V11::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.



6931
6932
6933
6934
6935
6936
# File 'lib/google/ads/google_ads/factories/v11/operations.rb', line 6931

def self.dismiss_recommendation(path)
  require "google/ads/google_ads/v11/services/recommendation_service_pb"
  op = Google::Ads::GoogleAds::V11::Services::DismissRecommendationRequest::DismissRecommendationOperation.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.



6579
6580
6581
6582
6583
6584
# File 'lib/google/ads/google_ads/factories/v11/operations.rb', line 6579

def self.experiment(path)
  require "google/ads/google_ads/v11/services/experiment_service_pb"
  op = Google::Ads::GoogleAds::V11::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.



6568
6569
6570
6571
6572
6573
# File 'lib/google/ads/google_ads/factories/v11/operations.rb', line 6568

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

.extension_feed_item(path) ⇒ Object

A convenience method for creating an ExtensionFeedItemOperation 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.



6590
6591
6592
6593
6594
6595
# File 'lib/google/ads/google_ads/factories/v11/operations.rb', line 6590

def self.extension_feed_item(path)
  require "google/ads/google_ads/v11/services/extension_feed_item_service_pb"
  op = Google::Ads::GoogleAds::V11::Services::ExtensionFeedItemOperation.new
  op["remove"] = path
  op
end

.feed(path) ⇒ Object

A convenience method for creating an FeedOperation 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.



6656
6657
6658
6659
6660
6661
# File 'lib/google/ads/google_ads/factories/v11/operations.rb', line 6656

def self.feed(path)
  require "google/ads/google_ads/v11/services/feed_service_pb"
  op = Google::Ads::GoogleAds::V11::Services::FeedOperation.new
  op["remove"] = path
  op
end

.feed_attribute(path) ⇒ Object

A convenience method for creating an FeedAttributeOperation 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.



5930
5931
5932
5933
5934
5935
# File 'lib/google/ads/google_ads/factories/v11/operations.rb', line 5930

def self.feed_attribute(path)
  require "google/ads/google_ads/v11/resources/feed_pb"
  op = Google::Ads::GoogleAds::V11::Resources::FeedAttributeOperation.new
  op["remove"] = path
  op
end

.feed_item(path) ⇒ Object

A convenience method for creating an FeedItemOperation 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.



6601
6602
6603
6604
6605
6606
# File 'lib/google/ads/google_ads/factories/v11/operations.rb', line 6601

def self.feed_item(path)
  require "google/ads/google_ads/v11/services/feed_item_service_pb"
  op = Google::Ads::GoogleAds::V11::Services::FeedItemOperation.new
  op["remove"] = path
  op
end

.feed_item_set(path) ⇒ Object

A convenience method for creating an FeedItemSetOperation 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.



6623
6624
6625
6626
6627
6628
# File 'lib/google/ads/google_ads/factories/v11/operations.rb', line 6623

def self.feed_item_set(path)
  require "google/ads/google_ads/v11/services/feed_item_set_service_pb"
  op = Google::Ads::GoogleAds::V11::Services::FeedItemSetOperation.new
  op["remove"] = path
  op
end

A convenience method for creating an FeedItemSetLinkOperation 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.



6612
6613
6614
6615
6616
6617
# File 'lib/google/ads/google_ads/factories/v11/operations.rb', line 6612

def self.feed_item_set_link(path)
  require "google/ads/google_ads/v11/services/feed_item_set_link_service_pb"
  op = Google::Ads::GoogleAds::V11::Services::FeedItemSetLinkOperation.new
  op["remove"] = path
  op
end

.feed_item_target(path) ⇒ Object

A convenience method for creating an FeedItemTargetOperation 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.



6634
6635
6636
6637
6638
6639
# File 'lib/google/ads/google_ads/factories/v11/operations.rb', line 6634

def self.feed_item_target(path)
  require "google/ads/google_ads/v11/services/feed_item_target_service_pb"
  op = Google::Ads::GoogleAds::V11::Services::FeedItemTargetOperation.new
  op["remove"] = path
  op
end

.feed_mapping(path) ⇒ Object

A convenience method for creating an FeedMappingOperation 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.



6645
6646
6647
6648
6649
6650
# File 'lib/google/ads/google_ads/factories/v11/operations.rb', line 6645

def self.feed_mapping(path)
  require "google/ads/google_ads/v11/services/feed_mapping_service_pb"
  op = Google::Ads::GoogleAds::V11::Services::FeedMappingOperation.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.



6711
6712
6713
6714
6715
6716
# File 'lib/google/ads/google_ads/factories/v11/operations.rb', line 6711

def self.keyword_plan(path)
  require "google/ads/google_ads/v11/services/keyword_plan_service_pb"
  op = Google::Ads::GoogleAds::V11::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.



6678
6679
6680
6681
6682
6683
# File 'lib/google/ads/google_ads/factories/v11/operations.rb', line 6678

def self.keyword_plan_ad_group(path)
  require "google/ads/google_ads/v11/services/keyword_plan_ad_group_service_pb"
  op = Google::Ads::GoogleAds::V11::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.



6667
6668
6669
6670
6671
6672
# File 'lib/google/ads/google_ads/factories/v11/operations.rb', line 6667

def self.keyword_plan_ad_group_keyword(path)
  require "google/ads/google_ads/v11/services/keyword_plan_ad_group_keyword_service_pb"
  op = Google::Ads::GoogleAds::V11::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.



6700
6701
6702
6703
6704
6705
# File 'lib/google/ads/google_ads/factories/v11/operations.rb', line 6700

def self.keyword_plan_campaign(path)
  require "google/ads/google_ads/v11/services/keyword_plan_campaign_service_pb"
  op = Google::Ads::GoogleAds::V11::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.



6689
6690
6691
6692
6693
6694
# File 'lib/google/ads/google_ads/factories/v11/operations.rb', line 6689

def self.keyword_plan_campaign_keyword(path)
  require "google/ads/google_ads/v11/services/keyword_plan_campaign_keyword_service_pb"
  op = Google::Ads::GoogleAds::V11::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.



6722
6723
6724
6725
6726
6727
# File 'lib/google/ads/google_ads/factories/v11/operations.rb', line 6722

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

.media_file(path) ⇒ Object

A convenience method for creating an MediaFileOperation 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.



6733
6734
6735
6736
6737
6738
# File 'lib/google/ads/google_ads/factories/v11/operations.rb', line 6733

def self.media_file(path)
  require "google/ads/google_ads/v11/services/media_file_service_pb"
  op = Google::Ads::GoogleAds::V11::Services::MediaFileOperation.new
  op["remove"] = path
  op
end

A convenience method for creating an MerchantCenterLinkOperation 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.



6898
6899
6900
6901
6902
6903
# File 'lib/google/ads/google_ads/factories/v11/operations.rb', line 6898

def self.merchant_center_link(path)
  require "google/ads/google_ads/v11/services/merchant_center_link_service_pb"
  op = Google::Ads::GoogleAds::V11::Services::MerchantCenterLinkOperation.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.



6799
6800
6801
6802
6803
6804
# File 'lib/google/ads/google_ads/factories/v11/operations.rb', line 6799

def self.mutate(path)
  require "google/ads/google_ads/v11/services/google_ads_service_pb"
  op = Google::Ads::GoogleAds::V11::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.



6909
6910
6911
6912
6913
6914
# File 'lib/google/ads/google_ads/factories/v11/operations.rb', line 6909

def self.offline_user_data_job(path)
  require "google/ads/google_ads/v11/services/offline_user_data_job_service_pb"
  op = Google::Ads::GoogleAds::V11::Services::OfflineUserDataJobOperation.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.



6744
6745
6746
6747
6748
6749
# File 'lib/google/ads/google_ads/factories/v11/operations.rb', line 6744

def self.remarketing_action(path)
  require "google/ads/google_ads/v11/services/remarketing_action_service_pb"
  op = Google::Ads::GoogleAds::V11::Services::RemarketingActionOperation.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.



6755
6756
6757
6758
6759
6760
# File 'lib/google/ads/google_ads/factories/v11/operations.rb', line 6755

def self.shared_criterion(path)
  require "google/ads/google_ads/v11/services/shared_criterion_service_pb"
  op = Google::Ads::GoogleAds::V11::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.



6766
6767
6768
6769
6770
6771
# File 'lib/google/ads/google_ads/factories/v11/operations.rb', line 6766

def self.shared_set(path)
  require "google/ads/google_ads/v11/services/shared_set_service_pb"
  op = Google::Ads::GoogleAds::V11::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.



6777
6778
6779
6780
6781
6782
# File 'lib/google/ads/google_ads/factories/v11/operations.rb', line 6777

def self.smart_campaign_setting(path)
  require "google/ads/google_ads/v11/services/smart_campaign_setting_service_pb"
  op = Google::Ads::GoogleAds::V11::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.



5919
5920
5921
5922
5923
5924
# File 'lib/google/ads/google_ads/factories/v11/operations.rb', line 5919

def self.target_restriction(path)
  require "google/ads/google_ads/v11/common/targeting_setting_pb"
  op = Google::Ads::GoogleAds::V11::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.



6942
6943
6944
6945
6946
6947
# File 'lib/google/ads/google_ads/factories/v11/operations.rb', line 6942

def self.user_data(path)
  require "google/ads/google_ads/v11/services/user_data_service_pb"
  op = Google::Ads::GoogleAds::V11::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.



6788
6789
6790
6791
6792
6793
# File 'lib/google/ads/google_ads/factories/v11/operations.rb', line 6788

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