lib/google/ads/google_ads/factories/v1/operations.rb in google-ads-googleads-2.2.0 vs lib/google/ads/google_ads/factories/v1/operations.rb in google-ads-googleads-2.2.1

- old
+ new

@@ -3162,539 +3162,593 @@ # A convenience method for creationg an FeedAttributeOperation instance with # its "remove" field preopulated with a resource path corresponding to the resource to be removed. # # @param path [String] the resource name of the resource to delete. def self.feed_attribute(path) + require "google/ads/google_ads/v1/resources/feed_pb.rb" op = Google::Ads::GoogleAds::V1::Resources::FeedAttributeOperation.new op["remove"] = path op end # A convenience method for creationg an CustomInterestOperation instance with # its "remove" field preopulated with a resource path corresponding to the resource to be removed. # # @param path [String] the resource name of the resource to delete. def self.custom_interest(path) + require "google/ads/google_ads/v1/services/custom_interest_service_pb.rb" op = Google::Ads::GoogleAds::V1::Services::CustomInterestOperation.new op["remove"] = path op end # A convenience method for creationg an RemarketingActionOperation instance with # its "remove" field preopulated with a resource path corresponding to the resource to be removed. # # @param path [String] the resource name of the resource to delete. def self.remarketing_action(path) + require "google/ads/google_ads/v1/services/remarketing_action_service_pb.rb" op = Google::Ads::GoogleAds::V1::Services::RemarketingActionOperation.new op["remove"] = path op end # A convenience method for creationg an KeywordPlanCampaignOperation instance with # its "remove" field preopulated with a resource path corresponding to the resource to be removed. # # @param path [String] the resource name of the resource to delete. def self.keyword_plan_campaign(path) + require "google/ads/google_ads/v1/services/keyword_plan_campaign_service_pb.rb" op = Google::Ads::GoogleAds::V1::Services::KeywordPlanCampaignOperation.new op["remove"] = path op end # A convenience method for creationg an AdGroupAdLabelOperation instance with # its "remove" field preopulated with a resource path corresponding to the resource to be removed. # # @param path [String] the resource name of the resource to delete. def self.ad_group_ad_label(path) + require "google/ads/google_ads/v1/services/ad_group_ad_label_service_pb.rb" op = Google::Ads::GoogleAds::V1::Services::AdGroupAdLabelOperation.new op["remove"] = path op end # A convenience method for creationg an AdGroupAdOperation instance with # its "remove" field preopulated with a resource path corresponding to the resource to be removed. # # @param path [String] the resource name of the resource to delete. def self.ad_group_ad(path) + require "google/ads/google_ads/v1/services/ad_group_ad_service_pb.rb" op = Google::Ads::GoogleAds::V1::Services::AdGroupAdOperation.new op["remove"] = path op end # A convenience method for creationg an AdGroupBidModifierOperation instance with # its "remove" field preopulated with a resource path corresponding to the resource to be removed. # # @param path [String] the resource name of the resource to delete. def self.ad_group_bid_modifier(path) + require "google/ads/google_ads/v1/services/ad_group_bid_modifier_service_pb.rb" op = Google::Ads::GoogleAds::V1::Services::AdGroupBidModifierOperation.new op["remove"] = path op end # A convenience method for creationg an AdGroupCriterionLabelOperation instance with # its "remove" field preopulated with a resource path corresponding to the resource to be removed. # # @param path [String] the resource name of the resource to delete. def self.ad_group_criterion_label(path) + require "google/ads/google_ads/v1/services/ad_group_criterion_label_service_pb.rb" op = Google::Ads::GoogleAds::V1::Services::AdGroupCriterionLabelOperation.new op["remove"] = path op end # A convenience method for creationg an AdGroupCriterionOperation instance with # its "remove" field preopulated with a resource path corresponding to the resource to be removed. # # @param path [String] the resource name of the resource to delete. def self.ad_group_criterion(path) + require "google/ads/google_ads/v1/services/ad_group_criterion_service_pb.rb" op = Google::Ads::GoogleAds::V1::Services::AdGroupCriterionOperation.new op["remove"] = path op end # A convenience method for creationg an AdGroupExtensionSettingOperation instance with # its "remove" field preopulated with a resource path corresponding to the resource to be removed. # # @param path [String] the resource name of the resource to delete. def self.ad_group_extension_setting(path) + require "google/ads/google_ads/v1/services/ad_group_extension_setting_service_pb.rb" op = Google::Ads::GoogleAds::V1::Services::AdGroupExtensionSettingOperation.new op["remove"] = path op end # A convenience method for creationg an AdGroupFeedOperation instance with # its "remove" field preopulated with a resource path corresponding to the resource to be removed. # # @param path [String] the resource name of the resource to delete. def self.ad_group_feed(path) + require "google/ads/google_ads/v1/services/ad_group_feed_service_pb.rb" op = Google::Ads::GoogleAds::V1::Services::AdGroupFeedOperation.new op["remove"] = path op end # A convenience method for creationg an AdGroupLabelOperation instance with # its "remove" field preopulated with a resource path corresponding to the resource to be removed. # # @param path [String] the resource name of the resource to delete. def self.ad_group_label(path) + require "google/ads/google_ads/v1/services/ad_group_label_service_pb.rb" op = Google::Ads::GoogleAds::V1::Services::AdGroupLabelOperation.new op["remove"] = path op end # A convenience method for creationg an AdGroupOperation instance with # its "remove" field preopulated with a resource path corresponding to the resource to be removed. # # @param path [String] the resource name of the resource to delete. def self.ad_group(path) + require "google/ads/google_ads/v1/services/ad_group_service_pb.rb" op = Google::Ads::GoogleAds::V1::Services::AdGroupOperation.new op["remove"] = path op end # A convenience method for creationg an AdParameterOperation instance with # its "remove" field preopulated with a resource path corresponding to the resource to be removed. # # @param path [String] the resource name of the resource to delete. def self.ad_parameter(path) + require "google/ads/google_ads/v1/services/ad_parameter_service_pb.rb" op = Google::Ads::GoogleAds::V1::Services::AdParameterOperation.new op["remove"] = path op end # A convenience method for creationg an AssetOperation instance with # its "remove" field preopulated with a resource path corresponding to the resource to be removed. # # @param path [String] the resource name of the resource to delete. def self.asset(path) + require "google/ads/google_ads/v1/services/asset_service_pb.rb" op = Google::Ads::GoogleAds::V1::Services::AssetOperation.new op["remove"] = path op end # A convenience method for creationg an BiddingStrategyOperation instance with # its "remove" field preopulated with a resource path corresponding to the resource to be removed. # # @param path [String] the resource name of the resource to delete. def self.bidding_strategy(path) + require "google/ads/google_ads/v1/services/bidding_strategy_service_pb.rb" op = Google::Ads::GoogleAds::V1::Services::BiddingStrategyOperation.new op["remove"] = path op end # A convenience method for creationg an CampaignBidModifierOperation instance with # its "remove" field preopulated with a resource path corresponding to the resource to be removed. # # @param path [String] the resource name of the resource to delete. def self.campaign_bid_modifier(path) + require "google/ads/google_ads/v1/services/campaign_bid_modifier_service_pb.rb" op = Google::Ads::GoogleAds::V1::Services::CampaignBidModifierOperation.new op["remove"] = path op end # A convenience method for creationg an CampaignBudgetOperation instance with # its "remove" field preopulated with a resource path corresponding to the resource to be removed. # # @param path [String] the resource name of the resource to delete. def self.campaign_budget(path) + require "google/ads/google_ads/v1/services/campaign_budget_service_pb.rb" op = Google::Ads::GoogleAds::V1::Services::CampaignBudgetOperation.new op["remove"] = path op end # A convenience method for creationg an CampaignCriterionOperation instance with # its "remove" field preopulated with a resource path corresponding to the resource to be removed. # # @param path [String] the resource name of the resource to delete. def self.campaign_criterion(path) + require "google/ads/google_ads/v1/services/campaign_criterion_service_pb.rb" op = Google::Ads::GoogleAds::V1::Services::CampaignCriterionOperation.new op["remove"] = path op end # A convenience method for creationg an CampaignDraftOperation instance with # its "remove" field preopulated with a resource path corresponding to the resource to be removed. # # @param path [String] the resource name of the resource to delete. def self.campaign_draft(path) + require "google/ads/google_ads/v1/services/campaign_draft_service_pb.rb" op = Google::Ads::GoogleAds::V1::Services::CampaignDraftOperation.new op["remove"] = path op end # A convenience method for creationg an CampaignExperimentOperation instance with # its "remove" field preopulated with a resource path corresponding to the resource to be removed. # # @param path [String] the resource name of the resource to delete. def self.campaign_experiment(path) + require "google/ads/google_ads/v1/services/campaign_experiment_service_pb.rb" op = Google::Ads::GoogleAds::V1::Services::CampaignExperimentOperation.new op["remove"] = path op end # A convenience method for creationg an CampaignExtensionSettingOperation instance with # its "remove" field preopulated with a resource path corresponding to the resource to be removed. # # @param path [String] the resource name of the resource to delete. def self.campaign_extension_setting(path) + require "google/ads/google_ads/v1/services/campaign_extension_setting_service_pb.rb" op = Google::Ads::GoogleAds::V1::Services::CampaignExtensionSettingOperation.new op["remove"] = path op end # A convenience method for creationg an CampaignFeedOperation instance with # its "remove" field preopulated with a resource path corresponding to the resource to be removed. # # @param path [String] the resource name of the resource to delete. def self.campaign_feed(path) + require "google/ads/google_ads/v1/services/campaign_feed_service_pb.rb" op = Google::Ads::GoogleAds::V1::Services::CampaignFeedOperation.new op["remove"] = path op end # A convenience method for creationg an CampaignLabelOperation instance with # its "remove" field preopulated with a resource path corresponding to the resource to be removed. # # @param path [String] the resource name of the resource to delete. def self.campaign_label(path) + require "google/ads/google_ads/v1/services/campaign_label_service_pb.rb" op = Google::Ads::GoogleAds::V1::Services::CampaignLabelOperation.new op["remove"] = path op end # A convenience method for creationg an CampaignOperation instance with # its "remove" field preopulated with a resource path corresponding to the resource to be removed. # # @param path [String] the resource name of the resource to delete. def self.campaign(path) + require "google/ads/google_ads/v1/services/campaign_service_pb.rb" op = Google::Ads::GoogleAds::V1::Services::CampaignOperation.new op["remove"] = path op end # A convenience method for creationg an CampaignSharedSetOperation instance with # its "remove" field preopulated with a resource path corresponding to the resource to be removed. # # @param path [String] the resource name of the resource to delete. def self.campaign_shared_set(path) + require "google/ads/google_ads/v1/services/campaign_shared_set_service_pb.rb" op = Google::Ads::GoogleAds::V1::Services::CampaignSharedSetOperation.new op["remove"] = path op end # A convenience method for creationg an ConversionActionOperation instance with # its "remove" field preopulated with a resource path corresponding to the resource to be removed. # # @param path [String] the resource name of the resource to delete. def self.conversion_action(path) + require "google/ads/google_ads/v1/services/conversion_action_service_pb.rb" op = Google::Ads::GoogleAds::V1::Services::ConversionActionOperation.new op["remove"] = path op end # A convenience method for creationg an CustomerExtensionSettingOperation instance with # its "remove" field preopulated with a resource path corresponding to the resource to be removed. # # @param path [String] the resource name of the resource to delete. def self.customer_extension_setting(path) + require "google/ads/google_ads/v1/services/customer_extension_setting_service_pb.rb" op = Google::Ads::GoogleAds::V1::Services::CustomerExtensionSettingOperation.new op["remove"] = path op end # A convenience method for creationg an CustomerFeedOperation instance with # its "remove" field preopulated with a resource path corresponding to the resource to be removed. # # @param path [String] the resource name of the resource to delete. def self.customer_feed(path) + require "google/ads/google_ads/v1/services/customer_feed_service_pb.rb" op = Google::Ads::GoogleAds::V1::Services::CustomerFeedOperation.new op["remove"] = path op end # A convenience method for creationg an CustomerLabelOperation instance with # its "remove" field preopulated with a resource path corresponding to the resource to be removed. # # @param path [String] the resource name of the resource to delete. def self.customer_label(path) + require "google/ads/google_ads/v1/services/customer_label_service_pb.rb" op = Google::Ads::GoogleAds::V1::Services::CustomerLabelOperation.new op["remove"] = path op end # A convenience method for creationg an CustomerNegativeCriterionOperation instance with # its "remove" field preopulated with a resource path corresponding to the resource to be removed. # # @param path [String] the resource name of the resource to delete. def self.customer_negative_criterion(path) + require "google/ads/google_ads/v1/services/customer_negative_criterion_service_pb.rb" op = Google::Ads::GoogleAds::V1::Services::CustomerNegativeCriterionOperation.new op["remove"] = path op end # A convenience method for creationg an CustomerOperation instance with # its "remove" field preopulated with a resource path corresponding to the resource to be removed. # # @param path [String] the resource name of the resource to delete. def self.customer(path) + require "google/ads/google_ads/v1/services/customer_service_pb.rb" op = Google::Ads::GoogleAds::V1::Services::CustomerOperation.new op["remove"] = path op end # A convenience method for creationg an ExtensionFeedItemOperation instance with # its "remove" field preopulated with a resource path corresponding to the resource to be removed. # # @param path [String] the resource name of the resource to delete. def self.extension_feed_item(path) + require "google/ads/google_ads/v1/services/extension_feed_item_service_pb.rb" op = Google::Ads::GoogleAds::V1::Services::ExtensionFeedItemOperation.new op["remove"] = path op end # A convenience method for creationg an FeedItemOperation instance with # its "remove" field preopulated with a resource path corresponding to the resource to be removed. # # @param path [String] the resource name of the resource to delete. def self.feed_item(path) + require "google/ads/google_ads/v1/services/feed_item_service_pb.rb" op = Google::Ads::GoogleAds::V1::Services::FeedItemOperation.new op["remove"] = path op end # A convenience method for creationg an FeedItemTargetOperation instance with # its "remove" field preopulated with a resource path corresponding to the resource to be removed. # # @param path [String] the resource name of the resource to delete. def self.feed_item_target(path) + require "google/ads/google_ads/v1/services/feed_item_target_service_pb.rb" op = Google::Ads::GoogleAds::V1::Services::FeedItemTargetOperation.new op["remove"] = path op end # A convenience method for creationg an FeedMappingOperation instance with # its "remove" field preopulated with a resource path corresponding to the resource to be removed. # # @param path [String] the resource name of the resource to delete. def self.feed_mapping(path) + require "google/ads/google_ads/v1/services/feed_mapping_service_pb.rb" op = Google::Ads::GoogleAds::V1::Services::FeedMappingOperation.new op["remove"] = path op end # A convenience method for creationg an FeedOperation instance with # its "remove" field preopulated with a resource path corresponding to the resource to be removed. # # @param path [String] the resource name of the resource to delete. def self.feed(path) + require "google/ads/google_ads/v1/services/feed_service_pb.rb" op = Google::Ads::GoogleAds::V1::Services::FeedOperation.new op["remove"] = path op end # A convenience method for creationg an LabelOperation instance with # its "remove" field preopulated with a resource path corresponding to the resource to be removed. # # @param path [String] the resource name of the resource to delete. def self.label(path) + require "google/ads/google_ads/v1/services/label_service_pb.rb" op = Google::Ads::GoogleAds::V1::Services::LabelOperation.new op["remove"] = path op end # A convenience method for creationg an MediaFileOperation instance with # its "remove" field preopulated with a resource path corresponding to the resource to be removed. # # @param path [String] the resource name of the resource to delete. def self.media_file(path) + require "google/ads/google_ads/v1/services/media_file_service_pb.rb" op = Google::Ads::GoogleAds::V1::Services::MediaFileOperation.new op["remove"] = path op end # A convenience method for creationg an SharedCriterionOperation instance with # its "remove" field preopulated with a resource path corresponding to the resource to be removed. # # @param path [String] the resource name of the resource to delete. def self.shared_criterion(path) + require "google/ads/google_ads/v1/services/shared_criterion_service_pb.rb" op = Google::Ads::GoogleAds::V1::Services::SharedCriterionOperation.new op["remove"] = path op end # A convenience method for creationg an SharedSetOperation instance with # its "remove" field preopulated with a resource path corresponding to the resource to be removed. # # @param path [String] the resource name of the resource to delete. def self.shared_set(path) + require "google/ads/google_ads/v1/services/shared_set_service_pb.rb" op = Google::Ads::GoogleAds::V1::Services::SharedSetOperation.new op["remove"] = path op end # A convenience method for creationg an UserListOperation instance with # its "remove" field preopulated with a resource path corresponding to the resource to be removed. # # @param path [String] the resource name of the resource to delete. def self.user_list(path) + require "google/ads/google_ads/v1/services/user_list_service_pb.rb" op = Google::Ads::GoogleAds::V1::Services::UserListOperation.new op["remove"] = path op end # A convenience method for creationg an MutateOperation instance with # its "remove" field preopulated with a resource path corresponding to the resource to be removed. # # @param path [String] the resource name of the resource to delete. def self.mutate(path) + require "google/ads/google_ads/v1/services/google_ads_service_pb.rb" op = Google::Ads::GoogleAds::V1::Services::MutateOperation.new op["remove"] = path op end # A convenience method for creationg an KeywordPlanKeywordOperation instance with # its "remove" field preopulated with a resource path corresponding to the resource to be removed. # # @param path [String] the resource name of the resource to delete. def self.keyword_plan_keyword(path) + require "google/ads/google_ads/v1/services/keyword_plan_keyword_service_pb.rb" op = Google::Ads::GoogleAds::V1::Services::KeywordPlanKeywordOperation.new op["remove"] = path op end # A convenience method for creationg an ApplyRecommendationOperation instance with # its "remove" field preopulated with a resource path corresponding to the resource to be removed. # # @param path [String] the resource name of the resource to delete. def self.apply_recommendation(path) + require "google/ads/google_ads/v1/services/recommendation_service_pb.rb" op = Google::Ads::GoogleAds::V1::Services::ApplyRecommendationOperation.new op["remove"] = path op end # A convenience method for creationg an DismissRecommendationOperation instance with # its "remove" field preopulated with a resource path corresponding to the resource to be removed. # # @param path [String] the resource name of the resource to delete. def self.dismiss_recommendation(path) + require "google/ads/google_ads/v1/services/recommendation_service_pb.rb" op = Google::Ads::GoogleAds::V1::Services::DismissRecommendationRequest::DismissRecommendationOperation.new op["remove"] = path op end # A convenience method for creationg an KeywordPlanNegativeKeywordOperation instance with # its "remove" field preopulated with a resource path corresponding to the resource to be removed. # # @param path [String] the resource name of the resource to delete. def self.keyword_plan_negative_keyword(path) + require "google/ads/google_ads/v1/services/keyword_plan_negative_keyword_service_pb.rb" op = Google::Ads::GoogleAds::V1::Services::KeywordPlanNegativeKeywordOperation.new op["remove"] = path op end # A convenience method for creationg an KeywordPlanOperation instance with # its "remove" field preopulated with a resource path corresponding to the resource to be removed. # # @param path [String] the resource name of the resource to delete. def self.keyword_plan(path) + require "google/ads/google_ads/v1/services/keyword_plan_service_pb.rb" op = Google::Ads::GoogleAds::V1::Services::KeywordPlanOperation.new op["remove"] = path op end # A convenience method for creationg an MerchantCenterLinkOperation instance with # its "remove" field preopulated with a resource path corresponding to the resource to be removed. # # @param path [String] the resource name of the resource to delete. def self.merchant_center_link(path) + require "google/ads/google_ads/v1/services/merchant_center_link_service_pb.rb" op = Google::Ads::GoogleAds::V1::Services::MerchantCenterLinkOperation.new op["remove"] = path op end # A convenience method for creationg an CustomerManagerLinkOperation instance with # its "remove" field preopulated with a resource path corresponding to the resource to be removed. # # @param path [String] the resource name of the resource to delete. def self.customer_manager_link(path) + require "google/ads/google_ads/v1/services/customer_manager_link_service_pb.rb" op = Google::Ads::GoogleAds::V1::Services::CustomerManagerLinkOperation.new op["remove"] = path op end # A convenience method for creationg an AccountBudgetProposalOperation instance with # its "remove" field preopulated with a resource path corresponding to the resource to be removed. # # @param path [String] the resource name of the resource to delete. def self.account_budget_proposal(path) + require "google/ads/google_ads/v1/services/account_budget_proposal_service_pb.rb" op = Google::Ads::GoogleAds::V1::Services::AccountBudgetProposalOperation.new op["remove"] = path op end # A convenience method for creationg an CustomerClientLinkOperation instance with # its "remove" field preopulated with a resource path corresponding to the resource to be removed. # # @param path [String] the resource name of the resource to delete. def self.customer_client_link(path) + require "google/ads/google_ads/v1/services/customer_client_link_service_pb.rb" op = Google::Ads::GoogleAds::V1::Services::CustomerClientLinkOperation.new op["remove"] = path op end # A convenience method for creationg an BillingSetupOperation instance with # its "remove" field preopulated with a resource path corresponding to the resource to be removed. # # @param path [String] the resource name of the resource to delete. def self.billing_setup(path) + require "google/ads/google_ads/v1/services/billing_setup_service_pb.rb" op = Google::Ads::GoogleAds::V1::Services::BillingSetupOperation.new op["remove"] = path op end # A convenience method for creationg an KeywordPlanAdGroupOperation instance with # its "remove" field preopulated with a resource path corresponding to the resource to be removed. # # @param path [String] the resource name of the resource to delete. def self.keyword_plan_ad_group(path) + require "google/ads/google_ads/v1/services/keyword_plan_ad_group_service_pb.rb" op = Google::Ads::GoogleAds::V1::Services::KeywordPlanAdGroupOperation.new op["remove"] = path op end end