lib/google/ads/google_ads/factories/v3/operations.rb in google-ads-googleads-7.0.0 vs lib/google/ads/google_ads/factories/v3/operations.rb in google-ads-googleads-8.0.0
- old
+ new
@@ -6,467 +6,467 @@
module Operations
# Create a new FeedAttributeOperation
#
# @return [Google::Ads::GoogleAds::V3::Resources::FeedAttributeOperation] the operation
def self.feed_attribute
- require "google/ads/google_ads/v3/resources/feed_pb.rb"
+ require "google/ads/google_ads/v3/resources/feed_pb"
Google::Ads::GoogleAds::V3::Resources::FeedAttributeOperation.new
end
# Create a new TargetRestrictionOperation
#
# @return [Google::Ads::GoogleAds::V3::Common::TargetRestrictionOperation] the operation
def self.target_restriction
- require "google/ads/google_ads/v3/common/targeting_setting_pb.rb"
+ require "google/ads/google_ads/v3/common/targeting_setting_pb"
Google::Ads::GoogleAds::V3::Common::TargetRestrictionOperation.new
end
# Create a new CustomerClientLinkOperation
#
# @return [Google::Ads::GoogleAds::V3::Services::CustomerClientLinkOperation] the operation
def self.customer_client_link
- require "google/ads/google_ads/v3/services/customer_client_link_service_pb.rb"
+ require "google/ads/google_ads/v3/services/customer_client_link_service_pb"
Google::Ads::GoogleAds::V3::Services::CustomerClientLinkOperation.new
end
# Create a new CustomInterestOperation
#
# @return [Google::Ads::GoogleAds::V3::Services::CustomInterestOperation] the operation
def self.custom_interest
- require "google/ads/google_ads/v3/services/custom_interest_service_pb.rb"
+ require "google/ads/google_ads/v3/services/custom_interest_service_pb"
Google::Ads::GoogleAds::V3::Services::CustomInterestOperation.new
end
# Create a new CustomerNegativeCriterionOperation
#
# @return [Google::Ads::GoogleAds::V3::Services::CustomerNegativeCriterionOperation] the operation
def self.customer_negative_criterion
- require "google/ads/google_ads/v3/services/customer_negative_criterion_service_pb.rb"
+ require "google/ads/google_ads/v3/services/customer_negative_criterion_service_pb"
Google::Ads::GoogleAds::V3::Services::CustomerNegativeCriterionOperation.new
end
# Create a new SharedCriterionOperation
#
# @return [Google::Ads::GoogleAds::V3::Services::SharedCriterionOperation] the operation
def self.shared_criterion
- require "google/ads/google_ads/v3/services/shared_criterion_service_pb.rb"
+ require "google/ads/google_ads/v3/services/shared_criterion_service_pb"
Google::Ads::GoogleAds::V3::Services::SharedCriterionOperation.new
end
# Create a new FeedMappingOperation
#
# @return [Google::Ads::GoogleAds::V3::Services::FeedMappingOperation] the operation
def self.feed_mapping
- require "google/ads/google_ads/v3/services/feed_mapping_service_pb.rb"
+ require "google/ads/google_ads/v3/services/feed_mapping_service_pb"
Google::Ads::GoogleAds::V3::Services::FeedMappingOperation.new
end
# Create a new AdGroupOperation
#
# @return [Google::Ads::GoogleAds::V3::Services::AdGroupOperation] the operation
def self.ad_group
- require "google/ads/google_ads/v3/services/ad_group_service_pb.rb"
+ require "google/ads/google_ads/v3/services/ad_group_service_pb"
Google::Ads::GoogleAds::V3::Services::AdGroupOperation.new
end
# Create a new CampaignBidModifierOperation
#
# @return [Google::Ads::GoogleAds::V3::Services::CampaignBidModifierOperation] the operation
def self.campaign_bid_modifier
- require "google/ads/google_ads/v3/services/campaign_bid_modifier_service_pb.rb"
+ require "google/ads/google_ads/v3/services/campaign_bid_modifier_service_pb"
Google::Ads::GoogleAds::V3::Services::CampaignBidModifierOperation.new
end
# Create a new CustomerManagerLinkOperation
#
# @return [Google::Ads::GoogleAds::V3::Services::CustomerManagerLinkOperation] the operation
def self.customer_manager_link
- require "google/ads/google_ads/v3/services/customer_manager_link_service_pb.rb"
+ require "google/ads/google_ads/v3/services/customer_manager_link_service_pb"
Google::Ads::GoogleAds::V3::Services::CustomerManagerLinkOperation.new
end
# Create a new CampaignDraftOperation
#
# @return [Google::Ads::GoogleAds::V3::Services::CampaignDraftOperation] the operation
def self.campaign_draft
- require "google/ads/google_ads/v3/services/campaign_draft_service_pb.rb"
+ require "google/ads/google_ads/v3/services/campaign_draft_service_pb"
Google::Ads::GoogleAds::V3::Services::CampaignDraftOperation.new
end
# Create a new UserListOperation
#
# @return [Google::Ads::GoogleAds::V3::Services::UserListOperation] the operation
def self.user_list
- require "google/ads/google_ads/v3/services/user_list_service_pb.rb"
+ require "google/ads/google_ads/v3/services/user_list_service_pb"
Google::Ads::GoogleAds::V3::Services::UserListOperation.new
end
# Create a new CustomerOperation
#
# @return [Google::Ads::GoogleAds::V3::Services::CustomerOperation] the operation
def self.customer
- require "google/ads/google_ads/v3/services/customer_service_pb.rb"
+ require "google/ads/google_ads/v3/services/customer_service_pb"
Google::Ads::GoogleAds::V3::Services::CustomerOperation.new
end
# Create a new SharedSetOperation
#
# @return [Google::Ads::GoogleAds::V3::Services::SharedSetOperation] the operation
def self.shared_set
- require "google/ads/google_ads/v3/services/shared_set_service_pb.rb"
+ require "google/ads/google_ads/v3/services/shared_set_service_pb"
Google::Ads::GoogleAds::V3::Services::SharedSetOperation.new
end
# Create a new AdGroupCriterionLabelOperation
#
# @return [Google::Ads::GoogleAds::V3::Services::AdGroupCriterionLabelOperation] the operation
def self.ad_group_criterion_label
- require "google/ads/google_ads/v3/services/ad_group_criterion_label_service_pb.rb"
+ require "google/ads/google_ads/v3/services/ad_group_criterion_label_service_pb"
Google::Ads::GoogleAds::V3::Services::AdGroupCriterionLabelOperation.new
end
# Create a new LabelOperation
#
# @return [Google::Ads::GoogleAds::V3::Services::LabelOperation] the operation
def self.label
- require "google/ads/google_ads/v3/services/label_service_pb.rb"
+ require "google/ads/google_ads/v3/services/label_service_pb"
Google::Ads::GoogleAds::V3::Services::LabelOperation.new
end
# Create a new AdOperation
#
# @return [Google::Ads::GoogleAds::V3::Services::AdOperation] the operation
def self.ad
- require "google/ads/google_ads/v3/services/ad_service_pb.rb"
+ require "google/ads/google_ads/v3/services/ad_service_pb"
Google::Ads::GoogleAds::V3::Services::AdOperation.new
end
# Create a new AdGroupAdLabelOperation
#
# @return [Google::Ads::GoogleAds::V3::Services::AdGroupAdLabelOperation] the operation
def self.ad_group_ad_label
- require "google/ads/google_ads/v3/services/ad_group_ad_label_service_pb.rb"
+ require "google/ads/google_ads/v3/services/ad_group_ad_label_service_pb"
Google::Ads::GoogleAds::V3::Services::AdGroupAdLabelOperation.new
end
# Create a new AdGroupAdOperation
#
# @return [Google::Ads::GoogleAds::V3::Services::AdGroupAdOperation] the operation
def self.ad_group_ad
- require "google/ads/google_ads/v3/services/ad_group_ad_service_pb.rb"
+ require "google/ads/google_ads/v3/services/ad_group_ad_service_pb"
Google::Ads::GoogleAds::V3::Services::AdGroupAdOperation.new
end
# Create a new AdGroupBidModifierOperation
#
# @return [Google::Ads::GoogleAds::V3::Services::AdGroupBidModifierOperation] the operation
def self.ad_group_bid_modifier
- require "google/ads/google_ads/v3/services/ad_group_bid_modifier_service_pb.rb"
+ require "google/ads/google_ads/v3/services/ad_group_bid_modifier_service_pb"
Google::Ads::GoogleAds::V3::Services::AdGroupBidModifierOperation.new
end
# Create a new AdGroupCriterionOperation
#
# @return [Google::Ads::GoogleAds::V3::Services::AdGroupCriterionOperation] the operation
def self.ad_group_criterion
- require "google/ads/google_ads/v3/services/ad_group_criterion_service_pb.rb"
+ require "google/ads/google_ads/v3/services/ad_group_criterion_service_pb"
Google::Ads::GoogleAds::V3::Services::AdGroupCriterionOperation.new
end
# Create a new AdGroupExtensionSettingOperation
#
# @return [Google::Ads::GoogleAds::V3::Services::AdGroupExtensionSettingOperation] the operation
def self.ad_group_extension_setting
- require "google/ads/google_ads/v3/services/ad_group_extension_setting_service_pb.rb"
+ require "google/ads/google_ads/v3/services/ad_group_extension_setting_service_pb"
Google::Ads::GoogleAds::V3::Services::AdGroupExtensionSettingOperation.new
end
# Create a new AdGroupFeedOperation
#
# @return [Google::Ads::GoogleAds::V3::Services::AdGroupFeedOperation] the operation
def self.ad_group_feed
- require "google/ads/google_ads/v3/services/ad_group_feed_service_pb.rb"
+ require "google/ads/google_ads/v3/services/ad_group_feed_service_pb"
Google::Ads::GoogleAds::V3::Services::AdGroupFeedOperation.new
end
# Create a new AdGroupLabelOperation
#
# @return [Google::Ads::GoogleAds::V3::Services::AdGroupLabelOperation] the operation
def self.ad_group_label
- require "google/ads/google_ads/v3/services/ad_group_label_service_pb.rb"
+ require "google/ads/google_ads/v3/services/ad_group_label_service_pb"
Google::Ads::GoogleAds::V3::Services::AdGroupLabelOperation.new
end
# Create a new AdParameterOperation
#
# @return [Google::Ads::GoogleAds::V3::Services::AdParameterOperation] the operation
def self.ad_parameter
- require "google/ads/google_ads/v3/services/ad_parameter_service_pb.rb"
+ require "google/ads/google_ads/v3/services/ad_parameter_service_pb"
Google::Ads::GoogleAds::V3::Services::AdParameterOperation.new
end
# Create a new AssetOperation
#
# @return [Google::Ads::GoogleAds::V3::Services::AssetOperation] the operation
def self.asset
- require "google/ads/google_ads/v3/services/asset_service_pb.rb"
+ require "google/ads/google_ads/v3/services/asset_service_pb"
Google::Ads::GoogleAds::V3::Services::AssetOperation.new
end
# Create a new BiddingStrategyOperation
#
# @return [Google::Ads::GoogleAds::V3::Services::BiddingStrategyOperation] the operation
def self.bidding_strategy
- require "google/ads/google_ads/v3/services/bidding_strategy_service_pb.rb"
+ require "google/ads/google_ads/v3/services/bidding_strategy_service_pb"
Google::Ads::GoogleAds::V3::Services::BiddingStrategyOperation.new
end
# Create a new CampaignBudgetOperation
#
# @return [Google::Ads::GoogleAds::V3::Services::CampaignBudgetOperation] the operation
def self.campaign_budget
- require "google/ads/google_ads/v3/services/campaign_budget_service_pb.rb"
+ require "google/ads/google_ads/v3/services/campaign_budget_service_pb"
Google::Ads::GoogleAds::V3::Services::CampaignBudgetOperation.new
end
# Create a new CampaignCriterionOperation
#
# @return [Google::Ads::GoogleAds::V3::Services::CampaignCriterionOperation] the operation
def self.campaign_criterion
- require "google/ads/google_ads/v3/services/campaign_criterion_service_pb.rb"
+ require "google/ads/google_ads/v3/services/campaign_criterion_service_pb"
Google::Ads::GoogleAds::V3::Services::CampaignCriterionOperation.new
end
# Create a new CampaignExperimentOperation
#
# @return [Google::Ads::GoogleAds::V3::Services::CampaignExperimentOperation] the operation
def self.campaign_experiment
- require "google/ads/google_ads/v3/services/campaign_experiment_service_pb.rb"
+ require "google/ads/google_ads/v3/services/campaign_experiment_service_pb"
Google::Ads::GoogleAds::V3::Services::CampaignExperimentOperation.new
end
# Create a new CampaignExtensionSettingOperation
#
# @return [Google::Ads::GoogleAds::V3::Services::CampaignExtensionSettingOperation] the operation
def self.campaign_extension_setting
- require "google/ads/google_ads/v3/services/campaign_extension_setting_service_pb.rb"
+ require "google/ads/google_ads/v3/services/campaign_extension_setting_service_pb"
Google::Ads::GoogleAds::V3::Services::CampaignExtensionSettingOperation.new
end
# Create a new CampaignFeedOperation
#
# @return [Google::Ads::GoogleAds::V3::Services::CampaignFeedOperation] the operation
def self.campaign_feed
- require "google/ads/google_ads/v3/services/campaign_feed_service_pb.rb"
+ require "google/ads/google_ads/v3/services/campaign_feed_service_pb"
Google::Ads::GoogleAds::V3::Services::CampaignFeedOperation.new
end
# Create a new CampaignLabelOperation
#
# @return [Google::Ads::GoogleAds::V3::Services::CampaignLabelOperation] the operation
def self.campaign_label
- require "google/ads/google_ads/v3/services/campaign_label_service_pb.rb"
+ require "google/ads/google_ads/v3/services/campaign_label_service_pb"
Google::Ads::GoogleAds::V3::Services::CampaignLabelOperation.new
end
# Create a new CampaignOperation
#
# @return [Google::Ads::GoogleAds::V3::Services::CampaignOperation] the operation
def self.campaign
- require "google/ads/google_ads/v3/services/campaign_service_pb.rb"
+ require "google/ads/google_ads/v3/services/campaign_service_pb"
Google::Ads::GoogleAds::V3::Services::CampaignOperation.new
end
# Create a new CampaignSharedSetOperation
#
# @return [Google::Ads::GoogleAds::V3::Services::CampaignSharedSetOperation] the operation
def self.campaign_shared_set
- require "google/ads/google_ads/v3/services/campaign_shared_set_service_pb.rb"
+ require "google/ads/google_ads/v3/services/campaign_shared_set_service_pb"
Google::Ads::GoogleAds::V3::Services::CampaignSharedSetOperation.new
end
# Create a new ConversionActionOperation
#
# @return [Google::Ads::GoogleAds::V3::Services::ConversionActionOperation] the operation
def self.conversion_action
- require "google/ads/google_ads/v3/services/conversion_action_service_pb.rb"
+ require "google/ads/google_ads/v3/services/conversion_action_service_pb"
Google::Ads::GoogleAds::V3::Services::ConversionActionOperation.new
end
# Create a new CustomerExtensionSettingOperation
#
# @return [Google::Ads::GoogleAds::V3::Services::CustomerExtensionSettingOperation] the operation
def self.customer_extension_setting
- require "google/ads/google_ads/v3/services/customer_extension_setting_service_pb.rb"
+ require "google/ads/google_ads/v3/services/customer_extension_setting_service_pb"
Google::Ads::GoogleAds::V3::Services::CustomerExtensionSettingOperation.new
end
# Create a new CustomerFeedOperation
#
# @return [Google::Ads::GoogleAds::V3::Services::CustomerFeedOperation] the operation
def self.customer_feed
- require "google/ads/google_ads/v3/services/customer_feed_service_pb.rb"
+ require "google/ads/google_ads/v3/services/customer_feed_service_pb"
Google::Ads::GoogleAds::V3::Services::CustomerFeedOperation.new
end
# Create a new CustomerLabelOperation
#
# @return [Google::Ads::GoogleAds::V3::Services::CustomerLabelOperation] the operation
def self.customer_label
- require "google/ads/google_ads/v3/services/customer_label_service_pb.rb"
+ require "google/ads/google_ads/v3/services/customer_label_service_pb"
Google::Ads::GoogleAds::V3::Services::CustomerLabelOperation.new
end
# Create a new ExtensionFeedItemOperation
#
# @return [Google::Ads::GoogleAds::V3::Services::ExtensionFeedItemOperation] the operation
def self.extension_feed_item
- require "google/ads/google_ads/v3/services/extension_feed_item_service_pb.rb"
+ require "google/ads/google_ads/v3/services/extension_feed_item_service_pb"
Google::Ads::GoogleAds::V3::Services::ExtensionFeedItemOperation.new
end
# Create a new FeedItemOperation
#
# @return [Google::Ads::GoogleAds::V3::Services::FeedItemOperation] the operation
def self.feed_item
- require "google/ads/google_ads/v3/services/feed_item_service_pb.rb"
+ require "google/ads/google_ads/v3/services/feed_item_service_pb"
Google::Ads::GoogleAds::V3::Services::FeedItemOperation.new
end
# Create a new FeedItemTargetOperation
#
# @return [Google::Ads::GoogleAds::V3::Services::FeedItemTargetOperation] the operation
def self.feed_item_target
- require "google/ads/google_ads/v3/services/feed_item_target_service_pb.rb"
+ require "google/ads/google_ads/v3/services/feed_item_target_service_pb"
Google::Ads::GoogleAds::V3::Services::FeedItemTargetOperation.new
end
# Create a new FeedOperation
#
# @return [Google::Ads::GoogleAds::V3::Services::FeedOperation] the operation
def self.feed
- require "google/ads/google_ads/v3/services/feed_service_pb.rb"
+ require "google/ads/google_ads/v3/services/feed_service_pb"
Google::Ads::GoogleAds::V3::Services::FeedOperation.new
end
# Create a new MediaFileOperation
#
# @return [Google::Ads::GoogleAds::V3::Services::MediaFileOperation] the operation
def self.media_file
- require "google/ads/google_ads/v3/services/media_file_service_pb.rb"
+ require "google/ads/google_ads/v3/services/media_file_service_pb"
Google::Ads::GoogleAds::V3::Services::MediaFileOperation.new
end
# Create a new RemarketingActionOperation
#
# @return [Google::Ads::GoogleAds::V3::Services::RemarketingActionOperation] the operation
def self.remarketing_action
- require "google/ads/google_ads/v3/services/remarketing_action_service_pb.rb"
+ require "google/ads/google_ads/v3/services/remarketing_action_service_pb"
Google::Ads::GoogleAds::V3::Services::RemarketingActionOperation.new
end
# Create a new MutateOperation
#
# @return [Google::Ads::GoogleAds::V3::Services::MutateOperation] the operation
def self.mutate
- require "google/ads/google_ads/v3/services/google_ads_service_pb.rb"
+ require "google/ads/google_ads/v3/services/google_ads_service_pb"
Google::Ads::GoogleAds::V3::Services::MutateOperation.new
end
# Create a new OfflineUserDataJobOperation
#
# @return [Google::Ads::GoogleAds::V3::Services::OfflineUserDataJobOperation] the operation
def self.offline_user_data_job
- require "google/ads/google_ads/v3/services/offline_user_data_job_service_pb.rb"
+ require "google/ads/google_ads/v3/services/offline_user_data_job_service_pb"
Google::Ads::GoogleAds::V3::Services::OfflineUserDataJobOperation.new
end
# Create a new UserDataOperation
#
# @return [Google::Ads::GoogleAds::V3::Services::UserDataOperation] the operation
def self.user_data
- require "google/ads/google_ads/v3/services/user_data_service_pb.rb"
+ require "google/ads/google_ads/v3/services/user_data_service_pb"
Google::Ads::GoogleAds::V3::Services::UserDataOperation.new
end
# Create a new KeywordPlanAdGroupOperation
#
# @return [Google::Ads::GoogleAds::V3::Services::KeywordPlanAdGroupOperation] the operation
def self.keyword_plan_ad_group
- require "google/ads/google_ads/v3/services/keyword_plan_ad_group_service_pb.rb"
+ require "google/ads/google_ads/v3/services/keyword_plan_ad_group_service_pb"
Google::Ads::GoogleAds::V3::Services::KeywordPlanAdGroupOperation.new
end
# Create a new KeywordPlanNegativeKeywordOperation
#
# @return [Google::Ads::GoogleAds::V3::Services::KeywordPlanNegativeKeywordOperation] the operation
def self.keyword_plan_negative_keyword
- require "google/ads/google_ads/v3/services/keyword_plan_negative_keyword_service_pb.rb"
+ require "google/ads/google_ads/v3/services/keyword_plan_negative_keyword_service_pb"
Google::Ads::GoogleAds::V3::Services::KeywordPlanNegativeKeywordOperation.new
end
# Create a new KeywordPlanKeywordOperation
#
# @return [Google::Ads::GoogleAds::V3::Services::KeywordPlanKeywordOperation] the operation
def self.keyword_plan_keyword
- require "google/ads/google_ads/v3/services/keyword_plan_keyword_service_pb.rb"
+ require "google/ads/google_ads/v3/services/keyword_plan_keyword_service_pb"
Google::Ads::GoogleAds::V3::Services::KeywordPlanKeywordOperation.new
end
# Create a new KeywordPlanCampaignOperation
#
# @return [Google::Ads::GoogleAds::V3::Services::KeywordPlanCampaignOperation] the operation
def self.keyword_plan_campaign
- require "google/ads/google_ads/v3/services/keyword_plan_campaign_service_pb.rb"
+ require "google/ads/google_ads/v3/services/keyword_plan_campaign_service_pb"
Google::Ads::GoogleAds::V3::Services::KeywordPlanCampaignOperation.new
end
# Create a new AccountBudgetProposalOperation
#
# @return [Google::Ads::GoogleAds::V3::Services::AccountBudgetProposalOperation] the operation
def self.account_budget_proposal
- require "google/ads/google_ads/v3/services/account_budget_proposal_service_pb.rb"
+ require "google/ads/google_ads/v3/services/account_budget_proposal_service_pb"
Google::Ads::GoogleAds::V3::Services::AccountBudgetProposalOperation.new
end
# Create a new ApplyRecommendationOperation
#
# @return [Google::Ads::GoogleAds::V3::Services::ApplyRecommendationOperation] the operation
def self.apply_recommendation
- require "google/ads/google_ads/v3/services/recommendation_service_pb.rb"
+ require "google/ads/google_ads/v3/services/recommendation_service_pb"
Google::Ads::GoogleAds::V3::Services::ApplyRecommendationOperation.new
end
# Create a new DismissRecommendationOperation
#
# @return [Google::Ads::GoogleAds::V3::Services::DismissRecommendationRequest::DismissRecommendationOperation] the operation
def self.dismiss_recommendation
- require "google/ads/google_ads/v3/services/recommendation_service_pb.rb"
+ require "google/ads/google_ads/v3/services/recommendation_service_pb"
Google::Ads::GoogleAds::V3::Services::DismissRecommendationRequest::DismissRecommendationOperation.new
end
# Create a new MerchantCenterLinkOperation
#
# @return [Google::Ads::GoogleAds::V3::Services::MerchantCenterLinkOperation] the operation
def self.merchant_center_link
- require "google/ads/google_ads/v3/services/merchant_center_link_service_pb.rb"
+ require "google/ads/google_ads/v3/services/merchant_center_link_service_pb"
Google::Ads::GoogleAds::V3::Services::MerchantCenterLinkOperation.new
end
# Create a new BillingSetupOperation
#
# @return [Google::Ads::GoogleAds::V3::Services::BillingSetupOperation] the operation
def self.billing_setup
- require "google/ads/google_ads/v3/services/billing_setup_service_pb.rb"
+ require "google/ads/google_ads/v3/services/billing_setup_service_pb"
Google::Ads::GoogleAds::V3::Services::BillingSetupOperation.new
end
# Create a new KeywordPlanOperation
#
# @return [Google::Ads::GoogleAds::V3::Services::KeywordPlanOperation] the operation
def self.keyword_plan
- require "google/ads/google_ads/v3/services/keyword_plan_service_pb.rb"
+ require "google/ads/google_ads/v3/services/keyword_plan_service_pb"
Google::Ads::GoogleAds::V3::Services::KeywordPlanOperation.new
end
# Get a reference module containing convenience methods for creating
# resources
@@ -505,11 +505,11 @@
# @param res [Google::Ads::GoogleAds::V3::Resources::CustomerClientLink]
# a resource instance to be used for creation in this operation.
#
# @return [Google::Ads::GoogleAds::V3::Services::CustomerClientLinkOperation] instance that will create the resource
def self.customer_client_link(res = nil, &blk)
- require "google/ads/google_ads/v3/services/customer_client_link_service_pb.rb"
+ require "google/ads/google_ads/v3/services/customer_client_link_service_pb"
op = Google::Ads::GoogleAds::V3::Services::CustomerClientLinkOperation.new
if !res.nil?
op["create"] = res
elsif !blk.nil?
op["create"] = Factories::V3::Resources.customer_client_link(&blk)
@@ -530,11 +530,11 @@
# @param res [Google::Ads::GoogleAds::V3::Resources::CustomInterest]
# a resource instance to be used for creation in this operation.
#
# @return [Google::Ads::GoogleAds::V3::Services::CustomInterestOperation] instance that will create the resource
def self.custom_interest(res = nil, &blk)
- require "google/ads/google_ads/v3/services/custom_interest_service_pb.rb"
+ require "google/ads/google_ads/v3/services/custom_interest_service_pb"
op = Google::Ads::GoogleAds::V3::Services::CustomInterestOperation.new
if !res.nil?
op["create"] = res
elsif !blk.nil?
op["create"] = Factories::V3::Resources.custom_interest(&blk)
@@ -555,11 +555,11 @@
# @param res [Google::Ads::GoogleAds::V3::Resources::CustomerNegativeCriterion]
# a resource instance to be used for creation in this operation.
#
# @return [Google::Ads::GoogleAds::V3::Services::CustomerNegativeCriterionOperation] instance that will create the resource
def self.customer_negative_criterion(res = nil, &blk)
- require "google/ads/google_ads/v3/services/customer_negative_criterion_service_pb.rb"
+ require "google/ads/google_ads/v3/services/customer_negative_criterion_service_pb"
op = Google::Ads::GoogleAds::V3::Services::CustomerNegativeCriterionOperation.new
if !res.nil?
op["create"] = res
elsif !blk.nil?
op["create"] = Factories::V3::Resources.customer_negative_criterion(&blk)
@@ -580,11 +580,11 @@
# @param res [Google::Ads::GoogleAds::V3::Resources::SharedCriterion]
# a resource instance to be used for creation in this operation.
#
# @return [Google::Ads::GoogleAds::V3::Services::SharedCriterionOperation] instance that will create the resource
def self.shared_criterion(res = nil, &blk)
- require "google/ads/google_ads/v3/services/shared_criterion_service_pb.rb"
+ require "google/ads/google_ads/v3/services/shared_criterion_service_pb"
op = Google::Ads::GoogleAds::V3::Services::SharedCriterionOperation.new
if !res.nil?
op["create"] = res
elsif !blk.nil?
op["create"] = Factories::V3::Resources.shared_criterion(&blk)
@@ -605,11 +605,11 @@
# @param res [Google::Ads::GoogleAds::V3::Resources::FeedMapping]
# a resource instance to be used for creation in this operation.
#
# @return [Google::Ads::GoogleAds::V3::Services::FeedMappingOperation] instance that will create the resource
def self.feed_mapping(res = nil, &blk)
- require "google/ads/google_ads/v3/services/feed_mapping_service_pb.rb"
+ require "google/ads/google_ads/v3/services/feed_mapping_service_pb"
op = Google::Ads::GoogleAds::V3::Services::FeedMappingOperation.new
if !res.nil?
op["create"] = res
elsif !blk.nil?
op["create"] = Factories::V3::Resources.feed_mapping(&blk)
@@ -630,11 +630,11 @@
# @param res [Google::Ads::GoogleAds::V3::Resources::AdGroup]
# a resource instance to be used for creation in this operation.
#
# @return [Google::Ads::GoogleAds::V3::Services::AdGroupOperation] instance that will create the resource
def self.ad_group(res = nil, &blk)
- require "google/ads/google_ads/v3/services/ad_group_service_pb.rb"
+ require "google/ads/google_ads/v3/services/ad_group_service_pb"
op = Google::Ads::GoogleAds::V3::Services::AdGroupOperation.new
if !res.nil?
op["create"] = res
elsif !blk.nil?
op["create"] = Factories::V3::Resources.ad_group(&blk)
@@ -655,11 +655,11 @@
# @param res [Google::Ads::GoogleAds::V3::Resources::CampaignBidModifier]
# a resource instance to be used for creation in this operation.
#
# @return [Google::Ads::GoogleAds::V3::Services::CampaignBidModifierOperation] instance that will create the resource
def self.campaign_bid_modifier(res = nil, &blk)
- require "google/ads/google_ads/v3/services/campaign_bid_modifier_service_pb.rb"
+ require "google/ads/google_ads/v3/services/campaign_bid_modifier_service_pb"
op = Google::Ads::GoogleAds::V3::Services::CampaignBidModifierOperation.new
if !res.nil?
op["create"] = res
elsif !blk.nil?
op["create"] = Factories::V3::Resources.campaign_bid_modifier(&blk)
@@ -680,11 +680,11 @@
# @param res [Google::Ads::GoogleAds::V3::Resources::CampaignDraft]
# a resource instance to be used for creation in this operation.
#
# @return [Google::Ads::GoogleAds::V3::Services::CampaignDraftOperation] instance that will create the resource
def self.campaign_draft(res = nil, &blk)
- require "google/ads/google_ads/v3/services/campaign_draft_service_pb.rb"
+ require "google/ads/google_ads/v3/services/campaign_draft_service_pb"
op = Google::Ads::GoogleAds::V3::Services::CampaignDraftOperation.new
if !res.nil?
op["create"] = res
elsif !blk.nil?
op["create"] = Factories::V3::Resources.campaign_draft(&blk)
@@ -705,11 +705,11 @@
# @param res [Google::Ads::GoogleAds::V3::Resources::UserList]
# a resource instance to be used for creation in this operation.
#
# @return [Google::Ads::GoogleAds::V3::Services::UserListOperation] instance that will create the resource
def self.user_list(res = nil, &blk)
- require "google/ads/google_ads/v3/services/user_list_service_pb.rb"
+ require "google/ads/google_ads/v3/services/user_list_service_pb"
op = Google::Ads::GoogleAds::V3::Services::UserListOperation.new
if !res.nil?
op["create"] = res
elsif !blk.nil?
op["create"] = Factories::V3::Resources.user_list(&blk)
@@ -730,11 +730,11 @@
# @param res [Google::Ads::GoogleAds::V3::Resources::SharedSet]
# a resource instance to be used for creation in this operation.
#
# @return [Google::Ads::GoogleAds::V3::Services::SharedSetOperation] instance that will create the resource
def self.shared_set(res = nil, &blk)
- require "google/ads/google_ads/v3/services/shared_set_service_pb.rb"
+ require "google/ads/google_ads/v3/services/shared_set_service_pb"
op = Google::Ads::GoogleAds::V3::Services::SharedSetOperation.new
if !res.nil?
op["create"] = res
elsif !blk.nil?
op["create"] = Factories::V3::Resources.shared_set(&blk)
@@ -755,11 +755,11 @@
# @param res [Google::Ads::GoogleAds::V3::Resources::AdGroupCriterionLabel]
# a resource instance to be used for creation in this operation.
#
# @return [Google::Ads::GoogleAds::V3::Services::AdGroupCriterionLabelOperation] instance that will create the resource
def self.ad_group_criterion_label(res = nil, &blk)
- require "google/ads/google_ads/v3/services/ad_group_criterion_label_service_pb.rb"
+ require "google/ads/google_ads/v3/services/ad_group_criterion_label_service_pb"
op = Google::Ads::GoogleAds::V3::Services::AdGroupCriterionLabelOperation.new
if !res.nil?
op["create"] = res
elsif !blk.nil?
op["create"] = Factories::V3::Resources.ad_group_criterion_label(&blk)
@@ -780,11 +780,11 @@
# @param res [Google::Ads::GoogleAds::V3::Resources::Label]
# a resource instance to be used for creation in this operation.
#
# @return [Google::Ads::GoogleAds::V3::Services::LabelOperation] instance that will create the resource
def self.label(res = nil, &blk)
- require "google/ads/google_ads/v3/services/label_service_pb.rb"
+ require "google/ads/google_ads/v3/services/label_service_pb"
op = Google::Ads::GoogleAds::V3::Services::LabelOperation.new
if !res.nil?
op["create"] = res
elsif !blk.nil?
op["create"] = Factories::V3::Resources.label(&blk)
@@ -805,11 +805,11 @@
# @param res [Google::Ads::GoogleAds::V3::Resources::AdGroupAdLabel]
# a resource instance to be used for creation in this operation.
#
# @return [Google::Ads::GoogleAds::V3::Services::AdGroupAdLabelOperation] instance that will create the resource
def self.ad_group_ad_label(res = nil, &blk)
- require "google/ads/google_ads/v3/services/ad_group_ad_label_service_pb.rb"
+ require "google/ads/google_ads/v3/services/ad_group_ad_label_service_pb"
op = Google::Ads::GoogleAds::V3::Services::AdGroupAdLabelOperation.new
if !res.nil?
op["create"] = res
elsif !blk.nil?
op["create"] = Factories::V3::Resources.ad_group_ad_label(&blk)
@@ -830,11 +830,11 @@
# @param res [Google::Ads::GoogleAds::V3::Resources::AdGroupAd]
# a resource instance to be used for creation in this operation.
#
# @return [Google::Ads::GoogleAds::V3::Services::AdGroupAdOperation] instance that will create the resource
def self.ad_group_ad(res = nil, &blk)
- require "google/ads/google_ads/v3/services/ad_group_ad_service_pb.rb"
+ require "google/ads/google_ads/v3/services/ad_group_ad_service_pb"
op = Google::Ads::GoogleAds::V3::Services::AdGroupAdOperation.new
if !res.nil?
op["create"] = res
elsif !blk.nil?
op["create"] = Factories::V3::Resources.ad_group_ad(&blk)
@@ -855,11 +855,11 @@
# @param res [Google::Ads::GoogleAds::V3::Resources::AdGroupBidModifier]
# a resource instance to be used for creation in this operation.
#
# @return [Google::Ads::GoogleAds::V3::Services::AdGroupBidModifierOperation] instance that will create the resource
def self.ad_group_bid_modifier(res = nil, &blk)
- require "google/ads/google_ads/v3/services/ad_group_bid_modifier_service_pb.rb"
+ require "google/ads/google_ads/v3/services/ad_group_bid_modifier_service_pb"
op = Google::Ads::GoogleAds::V3::Services::AdGroupBidModifierOperation.new
if !res.nil?
op["create"] = res
elsif !blk.nil?
op["create"] = Factories::V3::Resources.ad_group_bid_modifier(&blk)
@@ -880,11 +880,11 @@
# @param res [Google::Ads::GoogleAds::V3::Resources::AdGroupCriterion]
# a resource instance to be used for creation in this operation.
#
# @return [Google::Ads::GoogleAds::V3::Services::AdGroupCriterionOperation] instance that will create the resource
def self.ad_group_criterion(res = nil, &blk)
- require "google/ads/google_ads/v3/services/ad_group_criterion_service_pb.rb"
+ require "google/ads/google_ads/v3/services/ad_group_criterion_service_pb"
op = Google::Ads::GoogleAds::V3::Services::AdGroupCriterionOperation.new
if !res.nil?
op["create"] = res
elsif !blk.nil?
op["create"] = Factories::V3::Resources.ad_group_criterion(&blk)
@@ -905,11 +905,11 @@
# @param res [Google::Ads::GoogleAds::V3::Resources::AdGroupExtensionSetting]
# a resource instance to be used for creation in this operation.
#
# @return [Google::Ads::GoogleAds::V3::Services::AdGroupExtensionSettingOperation] instance that will create the resource
def self.ad_group_extension_setting(res = nil, &blk)
- require "google/ads/google_ads/v3/services/ad_group_extension_setting_service_pb.rb"
+ require "google/ads/google_ads/v3/services/ad_group_extension_setting_service_pb"
op = Google::Ads::GoogleAds::V3::Services::AdGroupExtensionSettingOperation.new
if !res.nil?
op["create"] = res
elsif !blk.nil?
op["create"] = Factories::V3::Resources.ad_group_extension_setting(&blk)
@@ -930,11 +930,11 @@
# @param res [Google::Ads::GoogleAds::V3::Resources::AdGroupFeed]
# a resource instance to be used for creation in this operation.
#
# @return [Google::Ads::GoogleAds::V3::Services::AdGroupFeedOperation] instance that will create the resource
def self.ad_group_feed(res = nil, &blk)
- require "google/ads/google_ads/v3/services/ad_group_feed_service_pb.rb"
+ require "google/ads/google_ads/v3/services/ad_group_feed_service_pb"
op = Google::Ads::GoogleAds::V3::Services::AdGroupFeedOperation.new
if !res.nil?
op["create"] = res
elsif !blk.nil?
op["create"] = Factories::V3::Resources.ad_group_feed(&blk)
@@ -955,11 +955,11 @@
# @param res [Google::Ads::GoogleAds::V3::Resources::AdGroupLabel]
# a resource instance to be used for creation in this operation.
#
# @return [Google::Ads::GoogleAds::V3::Services::AdGroupLabelOperation] instance that will create the resource
def self.ad_group_label(res = nil, &blk)
- require "google/ads/google_ads/v3/services/ad_group_label_service_pb.rb"
+ require "google/ads/google_ads/v3/services/ad_group_label_service_pb"
op = Google::Ads::GoogleAds::V3::Services::AdGroupLabelOperation.new
if !res.nil?
op["create"] = res
elsif !blk.nil?
op["create"] = Factories::V3::Resources.ad_group_label(&blk)
@@ -980,11 +980,11 @@
# @param res [Google::Ads::GoogleAds::V3::Resources::AdParameter]
# a resource instance to be used for creation in this operation.
#
# @return [Google::Ads::GoogleAds::V3::Services::AdParameterOperation] instance that will create the resource
def self.ad_parameter(res = nil, &blk)
- require "google/ads/google_ads/v3/services/ad_parameter_service_pb.rb"
+ require "google/ads/google_ads/v3/services/ad_parameter_service_pb"
op = Google::Ads::GoogleAds::V3::Services::AdParameterOperation.new
if !res.nil?
op["create"] = res
elsif !blk.nil?
op["create"] = Factories::V3::Resources.ad_parameter(&blk)
@@ -1005,11 +1005,11 @@
# @param res [Google::Ads::GoogleAds::V3::Resources::Asset]
# a resource instance to be used for creation in this operation.
#
# @return [Google::Ads::GoogleAds::V3::Services::AssetOperation] instance that will create the resource
def self.asset(res = nil, &blk)
- require "google/ads/google_ads/v3/services/asset_service_pb.rb"
+ require "google/ads/google_ads/v3/services/asset_service_pb"
op = Google::Ads::GoogleAds::V3::Services::AssetOperation.new
if !res.nil?
op["create"] = res
elsif !blk.nil?
op["create"] = Factories::V3::Resources.asset(&blk)
@@ -1030,11 +1030,11 @@
# @param res [Google::Ads::GoogleAds::V3::Resources::BiddingStrategy]
# a resource instance to be used for creation in this operation.
#
# @return [Google::Ads::GoogleAds::V3::Services::BiddingStrategyOperation] instance that will create the resource
def self.bidding_strategy(res = nil, &blk)
- require "google/ads/google_ads/v3/services/bidding_strategy_service_pb.rb"
+ require "google/ads/google_ads/v3/services/bidding_strategy_service_pb"
op = Google::Ads::GoogleAds::V3::Services::BiddingStrategyOperation.new
if !res.nil?
op["create"] = res
elsif !blk.nil?
op["create"] = Factories::V3::Resources.bidding_strategy(&blk)
@@ -1055,11 +1055,11 @@
# @param res [Google::Ads::GoogleAds::V3::Resources::CampaignBudget]
# a resource instance to be used for creation in this operation.
#
# @return [Google::Ads::GoogleAds::V3::Services::CampaignBudgetOperation] instance that will create the resource
def self.campaign_budget(res = nil, &blk)
- require "google/ads/google_ads/v3/services/campaign_budget_service_pb.rb"
+ require "google/ads/google_ads/v3/services/campaign_budget_service_pb"
op = Google::Ads::GoogleAds::V3::Services::CampaignBudgetOperation.new
if !res.nil?
op["create"] = res
elsif !blk.nil?
op["create"] = Factories::V3::Resources.campaign_budget(&blk)
@@ -1080,11 +1080,11 @@
# @param res [Google::Ads::GoogleAds::V3::Resources::CampaignCriterion]
# a resource instance to be used for creation in this operation.
#
# @return [Google::Ads::GoogleAds::V3::Services::CampaignCriterionOperation] instance that will create the resource
def self.campaign_criterion(res = nil, &blk)
- require "google/ads/google_ads/v3/services/campaign_criterion_service_pb.rb"
+ require "google/ads/google_ads/v3/services/campaign_criterion_service_pb"
op = Google::Ads::GoogleAds::V3::Services::CampaignCriterionOperation.new
if !res.nil?
op["create"] = res
elsif !blk.nil?
op["create"] = Factories::V3::Resources.campaign_criterion(&blk)
@@ -1105,11 +1105,11 @@
# @param res [Google::Ads::GoogleAds::V3::Resources::CampaignExtensionSetting]
# a resource instance to be used for creation in this operation.
#
# @return [Google::Ads::GoogleAds::V3::Services::CampaignExtensionSettingOperation] instance that will create the resource
def self.campaign_extension_setting(res = nil, &blk)
- require "google/ads/google_ads/v3/services/campaign_extension_setting_service_pb.rb"
+ require "google/ads/google_ads/v3/services/campaign_extension_setting_service_pb"
op = Google::Ads::GoogleAds::V3::Services::CampaignExtensionSettingOperation.new
if !res.nil?
op["create"] = res
elsif !blk.nil?
op["create"] = Factories::V3::Resources.campaign_extension_setting(&blk)
@@ -1130,11 +1130,11 @@
# @param res [Google::Ads::GoogleAds::V3::Resources::CampaignFeed]
# a resource instance to be used for creation in this operation.
#
# @return [Google::Ads::GoogleAds::V3::Services::CampaignFeedOperation] instance that will create the resource
def self.campaign_feed(res = nil, &blk)
- require "google/ads/google_ads/v3/services/campaign_feed_service_pb.rb"
+ require "google/ads/google_ads/v3/services/campaign_feed_service_pb"
op = Google::Ads::GoogleAds::V3::Services::CampaignFeedOperation.new
if !res.nil?
op["create"] = res
elsif !blk.nil?
op["create"] = Factories::V3::Resources.campaign_feed(&blk)
@@ -1155,11 +1155,11 @@
# @param res [Google::Ads::GoogleAds::V3::Resources::CampaignLabel]
# a resource instance to be used for creation in this operation.
#
# @return [Google::Ads::GoogleAds::V3::Services::CampaignLabelOperation] instance that will create the resource
def self.campaign_label(res = nil, &blk)
- require "google/ads/google_ads/v3/services/campaign_label_service_pb.rb"
+ require "google/ads/google_ads/v3/services/campaign_label_service_pb"
op = Google::Ads::GoogleAds::V3::Services::CampaignLabelOperation.new
if !res.nil?
op["create"] = res
elsif !blk.nil?
op["create"] = Factories::V3::Resources.campaign_label(&blk)
@@ -1180,11 +1180,11 @@
# @param res [Google::Ads::GoogleAds::V3::Resources::Campaign]
# a resource instance to be used for creation in this operation.
#
# @return [Google::Ads::GoogleAds::V3::Services::CampaignOperation] instance that will create the resource
def self.campaign(res = nil, &blk)
- require "google/ads/google_ads/v3/services/campaign_service_pb.rb"
+ require "google/ads/google_ads/v3/services/campaign_service_pb"
op = Google::Ads::GoogleAds::V3::Services::CampaignOperation.new
if !res.nil?
op["create"] = res
elsif !blk.nil?
op["create"] = Factories::V3::Resources.campaign(&blk)
@@ -1205,11 +1205,11 @@
# @param res [Google::Ads::GoogleAds::V3::Resources::CampaignSharedSet]
# a resource instance to be used for creation in this operation.
#
# @return [Google::Ads::GoogleAds::V3::Services::CampaignSharedSetOperation] instance that will create the resource
def self.campaign_shared_set(res = nil, &blk)
- require "google/ads/google_ads/v3/services/campaign_shared_set_service_pb.rb"
+ require "google/ads/google_ads/v3/services/campaign_shared_set_service_pb"
op = Google::Ads::GoogleAds::V3::Services::CampaignSharedSetOperation.new
if !res.nil?
op["create"] = res
elsif !blk.nil?
op["create"] = Factories::V3::Resources.campaign_shared_set(&blk)
@@ -1230,11 +1230,11 @@
# @param res [Google::Ads::GoogleAds::V3::Resources::ConversionAction]
# a resource instance to be used for creation in this operation.
#
# @return [Google::Ads::GoogleAds::V3::Services::ConversionActionOperation] instance that will create the resource
def self.conversion_action(res = nil, &blk)
- require "google/ads/google_ads/v3/services/conversion_action_service_pb.rb"
+ require "google/ads/google_ads/v3/services/conversion_action_service_pb"
op = Google::Ads::GoogleAds::V3::Services::ConversionActionOperation.new
if !res.nil?
op["create"] = res
elsif !blk.nil?
op["create"] = Factories::V3::Resources.conversion_action(&blk)
@@ -1255,11 +1255,11 @@
# @param res [Google::Ads::GoogleAds::V3::Resources::CustomerExtensionSetting]
# a resource instance to be used for creation in this operation.
#
# @return [Google::Ads::GoogleAds::V3::Services::CustomerExtensionSettingOperation] instance that will create the resource
def self.customer_extension_setting(res = nil, &blk)
- require "google/ads/google_ads/v3/services/customer_extension_setting_service_pb.rb"
+ require "google/ads/google_ads/v3/services/customer_extension_setting_service_pb"
op = Google::Ads::GoogleAds::V3::Services::CustomerExtensionSettingOperation.new
if !res.nil?
op["create"] = res
elsif !blk.nil?
op["create"] = Factories::V3::Resources.customer_extension_setting(&blk)
@@ -1280,11 +1280,11 @@
# @param res [Google::Ads::GoogleAds::V3::Resources::CustomerFeed]
# a resource instance to be used for creation in this operation.
#
# @return [Google::Ads::GoogleAds::V3::Services::CustomerFeedOperation] instance that will create the resource
def self.customer_feed(res = nil, &blk)
- require "google/ads/google_ads/v3/services/customer_feed_service_pb.rb"
+ require "google/ads/google_ads/v3/services/customer_feed_service_pb"
op = Google::Ads::GoogleAds::V3::Services::CustomerFeedOperation.new
if !res.nil?
op["create"] = res
elsif !blk.nil?
op["create"] = Factories::V3::Resources.customer_feed(&blk)
@@ -1305,11 +1305,11 @@
# @param res [Google::Ads::GoogleAds::V3::Resources::CustomerLabel]
# a resource instance to be used for creation in this operation.
#
# @return [Google::Ads::GoogleAds::V3::Services::CustomerLabelOperation] instance that will create the resource
def self.customer_label(res = nil, &blk)
- require "google/ads/google_ads/v3/services/customer_label_service_pb.rb"
+ require "google/ads/google_ads/v3/services/customer_label_service_pb"
op = Google::Ads::GoogleAds::V3::Services::CustomerLabelOperation.new
if !res.nil?
op["create"] = res
elsif !blk.nil?
op["create"] = Factories::V3::Resources.customer_label(&blk)
@@ -1330,11 +1330,11 @@
# @param res [Google::Ads::GoogleAds::V3::Resources::ExtensionFeedItem]
# a resource instance to be used for creation in this operation.
#
# @return [Google::Ads::GoogleAds::V3::Services::ExtensionFeedItemOperation] instance that will create the resource
def self.extension_feed_item(res = nil, &blk)
- require "google/ads/google_ads/v3/services/extension_feed_item_service_pb.rb"
+ require "google/ads/google_ads/v3/services/extension_feed_item_service_pb"
op = Google::Ads::GoogleAds::V3::Services::ExtensionFeedItemOperation.new
if !res.nil?
op["create"] = res
elsif !blk.nil?
op["create"] = Factories::V3::Resources.extension_feed_item(&blk)
@@ -1355,11 +1355,11 @@
# @param res [Google::Ads::GoogleAds::V3::Resources::FeedItem]
# a resource instance to be used for creation in this operation.
#
# @return [Google::Ads::GoogleAds::V3::Services::FeedItemOperation] instance that will create the resource
def self.feed_item(res = nil, &blk)
- require "google/ads/google_ads/v3/services/feed_item_service_pb.rb"
+ require "google/ads/google_ads/v3/services/feed_item_service_pb"
op = Google::Ads::GoogleAds::V3::Services::FeedItemOperation.new
if !res.nil?
op["create"] = res
elsif !blk.nil?
op["create"] = Factories::V3::Resources.feed_item(&blk)
@@ -1380,11 +1380,11 @@
# @param res [Google::Ads::GoogleAds::V3::Resources::FeedItemTarget]
# a resource instance to be used for creation in this operation.
#
# @return [Google::Ads::GoogleAds::V3::Services::FeedItemTargetOperation] instance that will create the resource
def self.feed_item_target(res = nil, &blk)
- require "google/ads/google_ads/v3/services/feed_item_target_service_pb.rb"
+ require "google/ads/google_ads/v3/services/feed_item_target_service_pb"
op = Google::Ads::GoogleAds::V3::Services::FeedItemTargetOperation.new
if !res.nil?
op["create"] = res
elsif !blk.nil?
op["create"] = Factories::V3::Resources.feed_item_target(&blk)
@@ -1405,11 +1405,11 @@
# @param res [Google::Ads::GoogleAds::V3::Resources::Feed]
# a resource instance to be used for creation in this operation.
#
# @return [Google::Ads::GoogleAds::V3::Services::FeedOperation] instance that will create the resource
def self.feed(res = nil, &blk)
- require "google/ads/google_ads/v3/services/feed_service_pb.rb"
+ require "google/ads/google_ads/v3/services/feed_service_pb"
op = Google::Ads::GoogleAds::V3::Services::FeedOperation.new
if !res.nil?
op["create"] = res
elsif !blk.nil?
op["create"] = Factories::V3::Resources.feed(&blk)
@@ -1430,11 +1430,11 @@
# @param res [Google::Ads::GoogleAds::V3::Resources::MediaFile]
# a resource instance to be used for creation in this operation.
#
# @return [Google::Ads::GoogleAds::V3::Services::MediaFileOperation] instance that will create the resource
def self.media_file(res = nil, &blk)
- require "google/ads/google_ads/v3/services/media_file_service_pb.rb"
+ require "google/ads/google_ads/v3/services/media_file_service_pb"
op = Google::Ads::GoogleAds::V3::Services::MediaFileOperation.new
if !res.nil?
op["create"] = res
elsif !blk.nil?
op["create"] = Factories::V3::Resources.media_file(&blk)
@@ -1455,11 +1455,11 @@
# @param res [Google::Ads::GoogleAds::V3::Resources::RemarketingAction]
# a resource instance to be used for creation in this operation.
#
# @return [Google::Ads::GoogleAds::V3::Services::RemarketingActionOperation] instance that will create the resource
def self.remarketing_action(res = nil, &blk)
- require "google/ads/google_ads/v3/services/remarketing_action_service_pb.rb"
+ require "google/ads/google_ads/v3/services/remarketing_action_service_pb"
op = Google::Ads::GoogleAds::V3::Services::RemarketingActionOperation.new
if !res.nil?
op["create"] = res
elsif !blk.nil?
op["create"] = Factories::V3::Resources.remarketing_action(&blk)
@@ -1480,11 +1480,11 @@
# @param res [Google::Ads::GoogleAds::V3::Common::UserData]
# a resource instance to be used for creation in this operation.
#
# @return [Google::Ads::GoogleAds::V3::Services::OfflineUserDataJobOperation] instance that will create the resource
def self.offline_user_data_job(res = nil, &blk)
- require "google/ads/google_ads/v3/services/offline_user_data_job_service_pb.rb"
+ require "google/ads/google_ads/v3/services/offline_user_data_job_service_pb"
op = Google::Ads::GoogleAds::V3::Services::OfflineUserDataJobOperation.new
if !res.nil?
op["create"] = res
elsif !blk.nil?
op["create"] = Factories::V3::Resources.user_data(&blk)
@@ -1505,11 +1505,11 @@
# @param res [Google::Ads::GoogleAds::V3::Common::UserData]
# a resource instance to be used for creation in this operation.
#
# @return [Google::Ads::GoogleAds::V3::Services::UserDataOperation] instance that will create the resource
def self.user_data(res = nil, &blk)
- require "google/ads/google_ads/v3/services/user_data_service_pb.rb"
+ require "google/ads/google_ads/v3/services/user_data_service_pb"
op = Google::Ads::GoogleAds::V3::Services::UserDataOperation.new
if !res.nil?
op["create"] = res
elsif !blk.nil?
op["create"] = Factories::V3::Resources.user_data(&blk)
@@ -1530,11 +1530,11 @@
# @param res [Google::Ads::GoogleAds::V3::Resources::KeywordPlanAdGroup]
# a resource instance to be used for creation in this operation.
#
# @return [Google::Ads::GoogleAds::V3::Services::KeywordPlanAdGroupOperation] instance that will create the resource
def self.keyword_plan_ad_group(res = nil, &blk)
- require "google/ads/google_ads/v3/services/keyword_plan_ad_group_service_pb.rb"
+ require "google/ads/google_ads/v3/services/keyword_plan_ad_group_service_pb"
op = Google::Ads::GoogleAds::V3::Services::KeywordPlanAdGroupOperation.new
if !res.nil?
op["create"] = res
elsif !blk.nil?
op["create"] = Factories::V3::Resources.keyword_plan_ad_group(&blk)
@@ -1555,11 +1555,11 @@
# @param res [Google::Ads::GoogleAds::V3::Resources::KeywordPlanNegativeKeyword]
# a resource instance to be used for creation in this operation.
#
# @return [Google::Ads::GoogleAds::V3::Services::KeywordPlanNegativeKeywordOperation] instance that will create the resource
def self.keyword_plan_negative_keyword(res = nil, &blk)
- require "google/ads/google_ads/v3/services/keyword_plan_negative_keyword_service_pb.rb"
+ require "google/ads/google_ads/v3/services/keyword_plan_negative_keyword_service_pb"
op = Google::Ads::GoogleAds::V3::Services::KeywordPlanNegativeKeywordOperation.new
if !res.nil?
op["create"] = res
elsif !blk.nil?
op["create"] = Factories::V3::Resources.keyword_plan_negative_keyword(&blk)
@@ -1580,11 +1580,11 @@
# @param res [Google::Ads::GoogleAds::V3::Resources::KeywordPlanKeyword]
# a resource instance to be used for creation in this operation.
#
# @return [Google::Ads::GoogleAds::V3::Services::KeywordPlanKeywordOperation] instance that will create the resource
def self.keyword_plan_keyword(res = nil, &blk)
- require "google/ads/google_ads/v3/services/keyword_plan_keyword_service_pb.rb"
+ require "google/ads/google_ads/v3/services/keyword_plan_keyword_service_pb"
op = Google::Ads::GoogleAds::V3::Services::KeywordPlanKeywordOperation.new
if !res.nil?
op["create"] = res
elsif !blk.nil?
op["create"] = Factories::V3::Resources.keyword_plan_keyword(&blk)
@@ -1605,11 +1605,11 @@
# @param res [Google::Ads::GoogleAds::V3::Resources::KeywordPlanCampaign]
# a resource instance to be used for creation in this operation.
#
# @return [Google::Ads::GoogleAds::V3::Services::KeywordPlanCampaignOperation] instance that will create the resource
def self.keyword_plan_campaign(res = nil, &blk)
- require "google/ads/google_ads/v3/services/keyword_plan_campaign_service_pb.rb"
+ require "google/ads/google_ads/v3/services/keyword_plan_campaign_service_pb"
op = Google::Ads::GoogleAds::V3::Services::KeywordPlanCampaignOperation.new
if !res.nil?
op["create"] = res
elsif !blk.nil?
op["create"] = Factories::V3::Resources.keyword_plan_campaign(&blk)
@@ -1630,11 +1630,11 @@
# @param res [Google::Ads::GoogleAds::V3::Resources::AccountBudgetProposal]
# a resource instance to be used for creation in this operation.
#
# @return [Google::Ads::GoogleAds::V3::Services::AccountBudgetProposalOperation] instance that will create the resource
def self.account_budget_proposal(res = nil, &blk)
- require "google/ads/google_ads/v3/services/account_budget_proposal_service_pb.rb"
+ require "google/ads/google_ads/v3/services/account_budget_proposal_service_pb"
op = Google::Ads::GoogleAds::V3::Services::AccountBudgetProposalOperation.new
if !res.nil?
op["create"] = res
elsif !blk.nil?
op["create"] = Factories::V3::Resources.account_budget_proposal(&blk)
@@ -1655,11 +1655,11 @@
# @param res [Google::Ads::GoogleAds::V3::Resources::BillingSetup]
# a resource instance to be used for creation in this operation.
#
# @return [Google::Ads::GoogleAds::V3::Services::BillingSetupOperation] instance that will create the resource
def self.billing_setup(res = nil, &blk)
- require "google/ads/google_ads/v3/services/billing_setup_service_pb.rb"
+ require "google/ads/google_ads/v3/services/billing_setup_service_pb"
op = Google::Ads::GoogleAds::V3::Services::BillingSetupOperation.new
if !res.nil?
op["create"] = res
elsif !blk.nil?
op["create"] = Factories::V3::Resources.billing_setup(&blk)
@@ -1680,11 +1680,11 @@
# @param res [Google::Ads::GoogleAds::V3::Resources::KeywordPlan]
# a resource instance to be used for creation in this operation.
#
# @return [Google::Ads::GoogleAds::V3::Services::KeywordPlanOperation] instance that will create the resource
def self.keyword_plan(res = nil, &blk)
- require "google/ads/google_ads/v3/services/keyword_plan_service_pb.rb"
+ require "google/ads/google_ads/v3/services/keyword_plan_service_pb"
op = Google::Ads::GoogleAds::V3::Services::KeywordPlanOperation.new
if !res.nil?
op["create"] = res
elsif !blk.nil?
op["create"] = Factories::V3::Resources.keyword_plan(&blk)
@@ -1707,11 +1707,11 @@
# @overload #customer_client_link(resource, &blk)
# @param resource [Google::Ads::GoogleAds::V3::Resources::CustomerClientLink] a resource instance to update
# @yield the passed block is called and updates against `resource` are recordered in the update mask
# @return [Google::Ads::GoogleAds::V3::Services::CustomerClientLinkOperation] the operation instance to update the resource
def self.customer_client_link(resource_or_path, &blk)
- require "google/ads/google_ads/v3/services/customer_client_link_service_pb.rb"
+ require "google/ads/google_ads/v3/services/customer_client_link_service_pb"
res = case resource_or_path
when Google::Ads::GoogleAds::V3::Resources::CustomerClientLink
resource_or_path
# got a resource path
when String
@@ -1746,11 +1746,11 @@
# @overload #custom_interest(resource, &blk)
# @param resource [Google::Ads::GoogleAds::V3::Resources::CustomInterest] a resource instance to update
# @yield the passed block is called and updates against `resource` are recordered in the update mask
# @return [Google::Ads::GoogleAds::V3::Services::CustomInterestOperation] the operation instance to update the resource
def self.custom_interest(resource_or_path, &blk)
- require "google/ads/google_ads/v3/services/custom_interest_service_pb.rb"
+ require "google/ads/google_ads/v3/services/custom_interest_service_pb"
res = case resource_or_path
when Google::Ads::GoogleAds::V3::Resources::CustomInterest
resource_or_path
# got a resource path
when String
@@ -1785,11 +1785,11 @@
# @overload #ad_group(resource, &blk)
# @param resource [Google::Ads::GoogleAds::V3::Resources::AdGroup] a resource instance to update
# @yield the passed block is called and updates against `resource` are recordered in the update mask
# @return [Google::Ads::GoogleAds::V3::Services::AdGroupOperation] the operation instance to update the resource
def self.ad_group(resource_or_path, &blk)
- require "google/ads/google_ads/v3/services/ad_group_service_pb.rb"
+ require "google/ads/google_ads/v3/services/ad_group_service_pb"
res = case resource_or_path
when Google::Ads::GoogleAds::V3::Resources::AdGroup
resource_or_path
# got a resource path
when String
@@ -1824,11 +1824,11 @@
# @overload #campaign_bid_modifier(resource, &blk)
# @param resource [Google::Ads::GoogleAds::V3::Resources::CampaignBidModifier] a resource instance to update
# @yield the passed block is called and updates against `resource` are recordered in the update mask
# @return [Google::Ads::GoogleAds::V3::Services::CampaignBidModifierOperation] the operation instance to update the resource
def self.campaign_bid_modifier(resource_or_path, &blk)
- require "google/ads/google_ads/v3/services/campaign_bid_modifier_service_pb.rb"
+ require "google/ads/google_ads/v3/services/campaign_bid_modifier_service_pb"
res = case resource_or_path
when Google::Ads::GoogleAds::V3::Resources::CampaignBidModifier
resource_or_path
# got a resource path
when String
@@ -1863,11 +1863,11 @@
# @overload #customer_manager_link(resource, &blk)
# @param resource [Google::Ads::GoogleAds::V3::Resources::CustomerManagerLink] a resource instance to update
# @yield the passed block is called and updates against `resource` are recordered in the update mask
# @return [Google::Ads::GoogleAds::V3::Services::CustomerManagerLinkOperation] the operation instance to update the resource
def self.customer_manager_link(resource_or_path, &blk)
- require "google/ads/google_ads/v3/services/customer_manager_link_service_pb.rb"
+ require "google/ads/google_ads/v3/services/customer_manager_link_service_pb"
res = case resource_or_path
when Google::Ads::GoogleAds::V3::Resources::CustomerManagerLink
resource_or_path
# got a resource path
when String
@@ -1902,11 +1902,11 @@
# @overload #campaign_draft(resource, &blk)
# @param resource [Google::Ads::GoogleAds::V3::Resources::CampaignDraft] a resource instance to update
# @yield the passed block is called and updates against `resource` are recordered in the update mask
# @return [Google::Ads::GoogleAds::V3::Services::CampaignDraftOperation] the operation instance to update the resource
def self.campaign_draft(resource_or_path, &blk)
- require "google/ads/google_ads/v3/services/campaign_draft_service_pb.rb"
+ require "google/ads/google_ads/v3/services/campaign_draft_service_pb"
res = case resource_or_path
when Google::Ads::GoogleAds::V3::Resources::CampaignDraft
resource_or_path
# got a resource path
when String
@@ -1941,11 +1941,11 @@
# @overload #user_list(resource, &blk)
# @param resource [Google::Ads::GoogleAds::V3::Resources::UserList] a resource instance to update
# @yield the passed block is called and updates against `resource` are recordered in the update mask
# @return [Google::Ads::GoogleAds::V3::Services::UserListOperation] the operation instance to update the resource
def self.user_list(resource_or_path, &blk)
- require "google/ads/google_ads/v3/services/user_list_service_pb.rb"
+ require "google/ads/google_ads/v3/services/user_list_service_pb"
res = case resource_or_path
when Google::Ads::GoogleAds::V3::Resources::UserList
resource_or_path
# got a resource path
when String
@@ -1980,11 +1980,11 @@
# @overload #customer(resource, &blk)
# @param resource [Google::Ads::GoogleAds::V3::Resources::Customer] a resource instance to update
# @yield the passed block is called and updates against `resource` are recordered in the update mask
# @return [Google::Ads::GoogleAds::V3::Services::CustomerOperation] the operation instance to update the resource
def self.customer(resource_or_path, &blk)
- require "google/ads/google_ads/v3/services/customer_service_pb.rb"
+ require "google/ads/google_ads/v3/services/customer_service_pb"
res = case resource_or_path
when Google::Ads::GoogleAds::V3::Resources::Customer
resource_or_path
# got a resource path
when String
@@ -2019,11 +2019,11 @@
# @overload #shared_set(resource, &blk)
# @param resource [Google::Ads::GoogleAds::V3::Resources::SharedSet] a resource instance to update
# @yield the passed block is called and updates against `resource` are recordered in the update mask
# @return [Google::Ads::GoogleAds::V3::Services::SharedSetOperation] the operation instance to update the resource
def self.shared_set(resource_or_path, &blk)
- require "google/ads/google_ads/v3/services/shared_set_service_pb.rb"
+ require "google/ads/google_ads/v3/services/shared_set_service_pb"
res = case resource_or_path
when Google::Ads::GoogleAds::V3::Resources::SharedSet
resource_or_path
# got a resource path
when String
@@ -2058,11 +2058,11 @@
# @overload #label(resource, &blk)
# @param resource [Google::Ads::GoogleAds::V3::Resources::Label] a resource instance to update
# @yield the passed block is called and updates against `resource` are recordered in the update mask
# @return [Google::Ads::GoogleAds::V3::Services::LabelOperation] the operation instance to update the resource
def self.label(resource_or_path, &blk)
- require "google/ads/google_ads/v3/services/label_service_pb.rb"
+ require "google/ads/google_ads/v3/services/label_service_pb"
res = case resource_or_path
when Google::Ads::GoogleAds::V3::Resources::Label
resource_or_path
# got a resource path
when String
@@ -2097,11 +2097,11 @@
# @overload #ad(resource, &blk)
# @param resource [Google::Ads::GoogleAds::V3::Resources::Ad] a resource instance to update
# @yield the passed block is called and updates against `resource` are recordered in the update mask
# @return [Google::Ads::GoogleAds::V3::Services::AdOperation] the operation instance to update the resource
def self.ad(resource_or_path, &blk)
- require "google/ads/google_ads/v3/services/ad_service_pb.rb"
+ require "google/ads/google_ads/v3/services/ad_service_pb"
res = case resource_or_path
when Google::Ads::GoogleAds::V3::Resources::Ad
resource_or_path
# got a resource path
when String
@@ -2136,11 +2136,11 @@
# @overload #ad_group_ad(resource, &blk)
# @param resource [Google::Ads::GoogleAds::V3::Resources::AdGroupAd] a resource instance to update
# @yield the passed block is called and updates against `resource` are recordered in the update mask
# @return [Google::Ads::GoogleAds::V3::Services::AdGroupAdOperation] the operation instance to update the resource
def self.ad_group_ad(resource_or_path, &blk)
- require "google/ads/google_ads/v3/services/ad_group_ad_service_pb.rb"
+ require "google/ads/google_ads/v3/services/ad_group_ad_service_pb"
res = case resource_or_path
when Google::Ads::GoogleAds::V3::Resources::AdGroupAd
resource_or_path
# got a resource path
when String
@@ -2175,11 +2175,11 @@
# @overload #ad_group_bid_modifier(resource, &blk)
# @param resource [Google::Ads::GoogleAds::V3::Resources::AdGroupBidModifier] a resource instance to update
# @yield the passed block is called and updates against `resource` are recordered in the update mask
# @return [Google::Ads::GoogleAds::V3::Services::AdGroupBidModifierOperation] the operation instance to update the resource
def self.ad_group_bid_modifier(resource_or_path, &blk)
- require "google/ads/google_ads/v3/services/ad_group_bid_modifier_service_pb.rb"
+ require "google/ads/google_ads/v3/services/ad_group_bid_modifier_service_pb"
res = case resource_or_path
when Google::Ads::GoogleAds::V3::Resources::AdGroupBidModifier
resource_or_path
# got a resource path
when String
@@ -2214,11 +2214,11 @@
# @overload #ad_group_criterion(resource, &blk)
# @param resource [Google::Ads::GoogleAds::V3::Resources::AdGroupCriterion] a resource instance to update
# @yield the passed block is called and updates against `resource` are recordered in the update mask
# @return [Google::Ads::GoogleAds::V3::Services::AdGroupCriterionOperation] the operation instance to update the resource
def self.ad_group_criterion(resource_or_path, &blk)
- require "google/ads/google_ads/v3/services/ad_group_criterion_service_pb.rb"
+ require "google/ads/google_ads/v3/services/ad_group_criterion_service_pb"
res = case resource_or_path
when Google::Ads::GoogleAds::V3::Resources::AdGroupCriterion
resource_or_path
# got a resource path
when String
@@ -2253,11 +2253,11 @@
# @overload #ad_group_extension_setting(resource, &blk)
# @param resource [Google::Ads::GoogleAds::V3::Resources::AdGroupExtensionSetting] a resource instance to update
# @yield the passed block is called and updates against `resource` are recordered in the update mask
# @return [Google::Ads::GoogleAds::V3::Services::AdGroupExtensionSettingOperation] the operation instance to update the resource
def self.ad_group_extension_setting(resource_or_path, &blk)
- require "google/ads/google_ads/v3/services/ad_group_extension_setting_service_pb.rb"
+ require "google/ads/google_ads/v3/services/ad_group_extension_setting_service_pb"
res = case resource_or_path
when Google::Ads::GoogleAds::V3::Resources::AdGroupExtensionSetting
resource_or_path
# got a resource path
when String
@@ -2292,11 +2292,11 @@
# @overload #ad_group_feed(resource, &blk)
# @param resource [Google::Ads::GoogleAds::V3::Resources::AdGroupFeed] a resource instance to update
# @yield the passed block is called and updates against `resource` are recordered in the update mask
# @return [Google::Ads::GoogleAds::V3::Services::AdGroupFeedOperation] the operation instance to update the resource
def self.ad_group_feed(resource_or_path, &blk)
- require "google/ads/google_ads/v3/services/ad_group_feed_service_pb.rb"
+ require "google/ads/google_ads/v3/services/ad_group_feed_service_pb"
res = case resource_or_path
when Google::Ads::GoogleAds::V3::Resources::AdGroupFeed
resource_or_path
# got a resource path
when String
@@ -2331,11 +2331,11 @@
# @overload #ad_parameter(resource, &blk)
# @param resource [Google::Ads::GoogleAds::V3::Resources::AdParameter] a resource instance to update
# @yield the passed block is called and updates against `resource` are recordered in the update mask
# @return [Google::Ads::GoogleAds::V3::Services::AdParameterOperation] the operation instance to update the resource
def self.ad_parameter(resource_or_path, &blk)
- require "google/ads/google_ads/v3/services/ad_parameter_service_pb.rb"
+ require "google/ads/google_ads/v3/services/ad_parameter_service_pb"
res = case resource_or_path
when Google::Ads::GoogleAds::V3::Resources::AdParameter
resource_or_path
# got a resource path
when String
@@ -2370,11 +2370,11 @@
# @overload #bidding_strategy(resource, &blk)
# @param resource [Google::Ads::GoogleAds::V3::Resources::BiddingStrategy] a resource instance to update
# @yield the passed block is called and updates against `resource` are recordered in the update mask
# @return [Google::Ads::GoogleAds::V3::Services::BiddingStrategyOperation] the operation instance to update the resource
def self.bidding_strategy(resource_or_path, &blk)
- require "google/ads/google_ads/v3/services/bidding_strategy_service_pb.rb"
+ require "google/ads/google_ads/v3/services/bidding_strategy_service_pb"
res = case resource_or_path
when Google::Ads::GoogleAds::V3::Resources::BiddingStrategy
resource_or_path
# got a resource path
when String
@@ -2409,11 +2409,11 @@
# @overload #campaign_budget(resource, &blk)
# @param resource [Google::Ads::GoogleAds::V3::Resources::CampaignBudget] a resource instance to update
# @yield the passed block is called and updates against `resource` are recordered in the update mask
# @return [Google::Ads::GoogleAds::V3::Services::CampaignBudgetOperation] the operation instance to update the resource
def self.campaign_budget(resource_or_path, &blk)
- require "google/ads/google_ads/v3/services/campaign_budget_service_pb.rb"
+ require "google/ads/google_ads/v3/services/campaign_budget_service_pb"
res = case resource_or_path
when Google::Ads::GoogleAds::V3::Resources::CampaignBudget
resource_or_path
# got a resource path
when String
@@ -2448,11 +2448,11 @@
# @overload #campaign_criterion(resource, &blk)
# @param resource [Google::Ads::GoogleAds::V3::Resources::CampaignCriterion] a resource instance to update
# @yield the passed block is called and updates against `resource` are recordered in the update mask
# @return [Google::Ads::GoogleAds::V3::Services::CampaignCriterionOperation] the operation instance to update the resource
def self.campaign_criterion(resource_or_path, &blk)
- require "google/ads/google_ads/v3/services/campaign_criterion_service_pb.rb"
+ require "google/ads/google_ads/v3/services/campaign_criterion_service_pb"
res = case resource_or_path
when Google::Ads::GoogleAds::V3::Resources::CampaignCriterion
resource_or_path
# got a resource path
when String
@@ -2487,11 +2487,11 @@
# @overload #campaign_experiment(resource, &blk)
# @param resource [Google::Ads::GoogleAds::V3::Resources::CampaignExperiment] a resource instance to update
# @yield the passed block is called and updates against `resource` are recordered in the update mask
# @return [Google::Ads::GoogleAds::V3::Services::CampaignExperimentOperation] the operation instance to update the resource
def self.campaign_experiment(resource_or_path, &blk)
- require "google/ads/google_ads/v3/services/campaign_experiment_service_pb.rb"
+ require "google/ads/google_ads/v3/services/campaign_experiment_service_pb"
res = case resource_or_path
when Google::Ads::GoogleAds::V3::Resources::CampaignExperiment
resource_or_path
# got a resource path
when String
@@ -2526,11 +2526,11 @@
# @overload #campaign_extension_setting(resource, &blk)
# @param resource [Google::Ads::GoogleAds::V3::Resources::CampaignExtensionSetting] a resource instance to update
# @yield the passed block is called and updates against `resource` are recordered in the update mask
# @return [Google::Ads::GoogleAds::V3::Services::CampaignExtensionSettingOperation] the operation instance to update the resource
def self.campaign_extension_setting(resource_or_path, &blk)
- require "google/ads/google_ads/v3/services/campaign_extension_setting_service_pb.rb"
+ require "google/ads/google_ads/v3/services/campaign_extension_setting_service_pb"
res = case resource_or_path
when Google::Ads::GoogleAds::V3::Resources::CampaignExtensionSetting
resource_or_path
# got a resource path
when String
@@ -2565,11 +2565,11 @@
# @overload #campaign_feed(resource, &blk)
# @param resource [Google::Ads::GoogleAds::V3::Resources::CampaignFeed] a resource instance to update
# @yield the passed block is called and updates against `resource` are recordered in the update mask
# @return [Google::Ads::GoogleAds::V3::Services::CampaignFeedOperation] the operation instance to update the resource
def self.campaign_feed(resource_or_path, &blk)
- require "google/ads/google_ads/v3/services/campaign_feed_service_pb.rb"
+ require "google/ads/google_ads/v3/services/campaign_feed_service_pb"
res = case resource_or_path
when Google::Ads::GoogleAds::V3::Resources::CampaignFeed
resource_or_path
# got a resource path
when String
@@ -2604,11 +2604,11 @@
# @overload #campaign(resource, &blk)
# @param resource [Google::Ads::GoogleAds::V3::Resources::Campaign] a resource instance to update
# @yield the passed block is called and updates against `resource` are recordered in the update mask
# @return [Google::Ads::GoogleAds::V3::Services::CampaignOperation] the operation instance to update the resource
def self.campaign(resource_or_path, &blk)
- require "google/ads/google_ads/v3/services/campaign_service_pb.rb"
+ require "google/ads/google_ads/v3/services/campaign_service_pb"
res = case resource_or_path
when Google::Ads::GoogleAds::V3::Resources::Campaign
resource_or_path
# got a resource path
when String
@@ -2643,11 +2643,11 @@
# @overload #conversion_action(resource, &blk)
# @param resource [Google::Ads::GoogleAds::V3::Resources::ConversionAction] a resource instance to update
# @yield the passed block is called and updates against `resource` are recordered in the update mask
# @return [Google::Ads::GoogleAds::V3::Services::ConversionActionOperation] the operation instance to update the resource
def self.conversion_action(resource_or_path, &blk)
- require "google/ads/google_ads/v3/services/conversion_action_service_pb.rb"
+ require "google/ads/google_ads/v3/services/conversion_action_service_pb"
res = case resource_or_path
when Google::Ads::GoogleAds::V3::Resources::ConversionAction
resource_or_path
# got a resource path
when String
@@ -2682,11 +2682,11 @@
# @overload #customer_extension_setting(resource, &blk)
# @param resource [Google::Ads::GoogleAds::V3::Resources::CustomerExtensionSetting] a resource instance to update
# @yield the passed block is called and updates against `resource` are recordered in the update mask
# @return [Google::Ads::GoogleAds::V3::Services::CustomerExtensionSettingOperation] the operation instance to update the resource
def self.customer_extension_setting(resource_or_path, &blk)
- require "google/ads/google_ads/v3/services/customer_extension_setting_service_pb.rb"
+ require "google/ads/google_ads/v3/services/customer_extension_setting_service_pb"
res = case resource_or_path
when Google::Ads::GoogleAds::V3::Resources::CustomerExtensionSetting
resource_or_path
# got a resource path
when String
@@ -2721,11 +2721,11 @@
# @overload #customer_feed(resource, &blk)
# @param resource [Google::Ads::GoogleAds::V3::Resources::CustomerFeed] a resource instance to update
# @yield the passed block is called and updates against `resource` are recordered in the update mask
# @return [Google::Ads::GoogleAds::V3::Services::CustomerFeedOperation] the operation instance to update the resource
def self.customer_feed(resource_or_path, &blk)
- require "google/ads/google_ads/v3/services/customer_feed_service_pb.rb"
+ require "google/ads/google_ads/v3/services/customer_feed_service_pb"
res = case resource_or_path
when Google::Ads::GoogleAds::V3::Resources::CustomerFeed
resource_or_path
# got a resource path
when String
@@ -2760,11 +2760,11 @@
# @overload #extension_feed_item(resource, &blk)
# @param resource [Google::Ads::GoogleAds::V3::Resources::ExtensionFeedItem] a resource instance to update
# @yield the passed block is called and updates against `resource` are recordered in the update mask
# @return [Google::Ads::GoogleAds::V3::Services::ExtensionFeedItemOperation] the operation instance to update the resource
def self.extension_feed_item(resource_or_path, &blk)
- require "google/ads/google_ads/v3/services/extension_feed_item_service_pb.rb"
+ require "google/ads/google_ads/v3/services/extension_feed_item_service_pb"
res = case resource_or_path
when Google::Ads::GoogleAds::V3::Resources::ExtensionFeedItem
resource_or_path
# got a resource path
when String
@@ -2799,11 +2799,11 @@
# @overload #feed_item(resource, &blk)
# @param resource [Google::Ads::GoogleAds::V3::Resources::FeedItem] a resource instance to update
# @yield the passed block is called and updates against `resource` are recordered in the update mask
# @return [Google::Ads::GoogleAds::V3::Services::FeedItemOperation] the operation instance to update the resource
def self.feed_item(resource_or_path, &blk)
- require "google/ads/google_ads/v3/services/feed_item_service_pb.rb"
+ require "google/ads/google_ads/v3/services/feed_item_service_pb"
res = case resource_or_path
when Google::Ads::GoogleAds::V3::Resources::FeedItem
resource_or_path
# got a resource path
when String
@@ -2838,11 +2838,11 @@
# @overload #feed(resource, &blk)
# @param resource [Google::Ads::GoogleAds::V3::Resources::Feed] a resource instance to update
# @yield the passed block is called and updates against `resource` are recordered in the update mask
# @return [Google::Ads::GoogleAds::V3::Services::FeedOperation] the operation instance to update the resource
def self.feed(resource_or_path, &blk)
- require "google/ads/google_ads/v3/services/feed_service_pb.rb"
+ require "google/ads/google_ads/v3/services/feed_service_pb"
res = case resource_or_path
when Google::Ads::GoogleAds::V3::Resources::Feed
resource_or_path
# got a resource path
when String
@@ -2877,11 +2877,11 @@
# @overload #remarketing_action(resource, &blk)
# @param resource [Google::Ads::GoogleAds::V3::Resources::RemarketingAction] a resource instance to update
# @yield the passed block is called and updates against `resource` are recordered in the update mask
# @return [Google::Ads::GoogleAds::V3::Services::RemarketingActionOperation] the operation instance to update the resource
def self.remarketing_action(resource_or_path, &blk)
- require "google/ads/google_ads/v3/services/remarketing_action_service_pb.rb"
+ require "google/ads/google_ads/v3/services/remarketing_action_service_pb"
res = case resource_or_path
when Google::Ads::GoogleAds::V3::Resources::RemarketingAction
resource_or_path
# got a resource path
when String
@@ -2916,11 +2916,11 @@
# @overload #keyword_plan_ad_group(resource, &blk)
# @param resource [Google::Ads::GoogleAds::V3::Resources::KeywordPlanAdGroup] a resource instance to update
# @yield the passed block is called and updates against `resource` are recordered in the update mask
# @return [Google::Ads::GoogleAds::V3::Services::KeywordPlanAdGroupOperation] the operation instance to update the resource
def self.keyword_plan_ad_group(resource_or_path, &blk)
- require "google/ads/google_ads/v3/services/keyword_plan_ad_group_service_pb.rb"
+ require "google/ads/google_ads/v3/services/keyword_plan_ad_group_service_pb"
res = case resource_or_path
when Google::Ads::GoogleAds::V3::Resources::KeywordPlanAdGroup
resource_or_path
# got a resource path
when String
@@ -2955,11 +2955,11 @@
# @overload #keyword_plan_negative_keyword(resource, &blk)
# @param resource [Google::Ads::GoogleAds::V3::Resources::KeywordPlanNegativeKeyword] a resource instance to update
# @yield the passed block is called and updates against `resource` are recordered in the update mask
# @return [Google::Ads::GoogleAds::V3::Services::KeywordPlanNegativeKeywordOperation] the operation instance to update the resource
def self.keyword_plan_negative_keyword(resource_or_path, &blk)
- require "google/ads/google_ads/v3/services/keyword_plan_negative_keyword_service_pb.rb"
+ require "google/ads/google_ads/v3/services/keyword_plan_negative_keyword_service_pb"
res = case resource_or_path
when Google::Ads::GoogleAds::V3::Resources::KeywordPlanNegativeKeyword
resource_or_path
# got a resource path
when String
@@ -2994,11 +2994,11 @@
# @overload #keyword_plan_keyword(resource, &blk)
# @param resource [Google::Ads::GoogleAds::V3::Resources::KeywordPlanKeyword] a resource instance to update
# @yield the passed block is called and updates against `resource` are recordered in the update mask
# @return [Google::Ads::GoogleAds::V3::Services::KeywordPlanKeywordOperation] the operation instance to update the resource
def self.keyword_plan_keyword(resource_or_path, &blk)
- require "google/ads/google_ads/v3/services/keyword_plan_keyword_service_pb.rb"
+ require "google/ads/google_ads/v3/services/keyword_plan_keyword_service_pb"
res = case resource_or_path
when Google::Ads::GoogleAds::V3::Resources::KeywordPlanKeyword
resource_or_path
# got a resource path
when String
@@ -3033,11 +3033,11 @@
# @overload #keyword_plan_campaign(resource, &blk)
# @param resource [Google::Ads::GoogleAds::V3::Resources::KeywordPlanCampaign] a resource instance to update
# @yield the passed block is called and updates against `resource` are recordered in the update mask
# @return [Google::Ads::GoogleAds::V3::Services::KeywordPlanCampaignOperation] the operation instance to update the resource
def self.keyword_plan_campaign(resource_or_path, &blk)
- require "google/ads/google_ads/v3/services/keyword_plan_campaign_service_pb.rb"
+ require "google/ads/google_ads/v3/services/keyword_plan_campaign_service_pb"
res = case resource_or_path
when Google::Ads::GoogleAds::V3::Resources::KeywordPlanCampaign
resource_or_path
# got a resource path
when String
@@ -3072,11 +3072,11 @@
# @overload #merchant_center_link(resource, &blk)
# @param resource [Google::Ads::GoogleAds::V3::Resources::MerchantCenterLink] a resource instance to update
# @yield the passed block is called and updates against `resource` are recordered in the update mask
# @return [Google::Ads::GoogleAds::V3::Services::MerchantCenterLinkOperation] the operation instance to update the resource
def self.merchant_center_link(resource_or_path, &blk)
- require "google/ads/google_ads/v3/services/merchant_center_link_service_pb.rb"
+ require "google/ads/google_ads/v3/services/merchant_center_link_service_pb"
res = case resource_or_path
when Google::Ads::GoogleAds::V3::Resources::MerchantCenterLink
resource_or_path
# got a resource path
when String
@@ -3111,11 +3111,11 @@
# @overload #keyword_plan(resource, &blk)
# @param resource [Google::Ads::GoogleAds::V3::Resources::KeywordPlan] a resource instance to update
# @yield the passed block is called and updates against `resource` are recordered in the update mask
# @return [Google::Ads::GoogleAds::V3::Services::KeywordPlanOperation] the operation instance to update the resource
def self.keyword_plan(resource_or_path, &blk)
- require "google/ads/google_ads/v3/services/keyword_plan_service_pb.rb"
+ require "google/ads/google_ads/v3/services/keyword_plan_service_pb"
res = case resource_or_path
when Google::Ads::GoogleAds::V3::Resources::KeywordPlan
resource_or_path
# got a resource path
when String
@@ -3143,637 +3143,637 @@
# 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/v3/resources/feed_pb.rb"
+ require "google/ads/google_ads/v3/resources/feed_pb"
op = Google::Ads::GoogleAds::V3::Resources::FeedAttributeOperation.new
op["remove"] = path
op
end
# A convenience method for creationg an TargetRestrictionOperation 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.target_restriction(path)
- require "google/ads/google_ads/v3/common/targeting_setting_pb.rb"
+ require "google/ads/google_ads/v3/common/targeting_setting_pb"
op = Google::Ads::GoogleAds::V3::Common::TargetRestrictionOperation.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/v3/services/customer_client_link_service_pb.rb"
+ require "google/ads/google_ads/v3/services/customer_client_link_service_pb"
op = Google::Ads::GoogleAds::V3::Services::CustomerClientLinkOperation.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/v3/services/custom_interest_service_pb.rb"
+ require "google/ads/google_ads/v3/services/custom_interest_service_pb"
op = Google::Ads::GoogleAds::V3::Services::CustomInterestOperation.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/v3/services/customer_negative_criterion_service_pb.rb"
+ require "google/ads/google_ads/v3/services/customer_negative_criterion_service_pb"
op = Google::Ads::GoogleAds::V3::Services::CustomerNegativeCriterionOperation.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/v3/services/shared_criterion_service_pb.rb"
+ require "google/ads/google_ads/v3/services/shared_criterion_service_pb"
op = Google::Ads::GoogleAds::V3::Services::SharedCriterionOperation.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/v3/services/feed_mapping_service_pb.rb"
+ require "google/ads/google_ads/v3/services/feed_mapping_service_pb"
op = Google::Ads::GoogleAds::V3::Services::FeedMappingOperation.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/v3/services/ad_group_service_pb.rb"
+ require "google/ads/google_ads/v3/services/ad_group_service_pb"
op = Google::Ads::GoogleAds::V3::Services::AdGroupOperation.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/v3/services/campaign_bid_modifier_service_pb.rb"
+ require "google/ads/google_ads/v3/services/campaign_bid_modifier_service_pb"
op = Google::Ads::GoogleAds::V3::Services::CampaignBidModifierOperation.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/v3/services/customer_manager_link_service_pb.rb"
+ require "google/ads/google_ads/v3/services/customer_manager_link_service_pb"
op = Google::Ads::GoogleAds::V3::Services::CustomerManagerLinkOperation.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/v3/services/campaign_draft_service_pb.rb"
+ require "google/ads/google_ads/v3/services/campaign_draft_service_pb"
op = Google::Ads::GoogleAds::V3::Services::CampaignDraftOperation.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/v3/services/user_list_service_pb.rb"
+ require "google/ads/google_ads/v3/services/user_list_service_pb"
op = Google::Ads::GoogleAds::V3::Services::UserListOperation.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/v3/services/customer_service_pb.rb"
+ require "google/ads/google_ads/v3/services/customer_service_pb"
op = Google::Ads::GoogleAds::V3::Services::CustomerOperation.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/v3/services/shared_set_service_pb.rb"
+ require "google/ads/google_ads/v3/services/shared_set_service_pb"
op = Google::Ads::GoogleAds::V3::Services::SharedSetOperation.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/v3/services/ad_group_criterion_label_service_pb.rb"
+ require "google/ads/google_ads/v3/services/ad_group_criterion_label_service_pb"
op = Google::Ads::GoogleAds::V3::Services::AdGroupCriterionLabelOperation.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/v3/services/label_service_pb.rb"
+ require "google/ads/google_ads/v3/services/label_service_pb"
op = Google::Ads::GoogleAds::V3::Services::LabelOperation.new
op["remove"] = path
op
end
# A convenience method for creationg an AdOperation 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(path)
- require "google/ads/google_ads/v3/services/ad_service_pb.rb"
+ require "google/ads/google_ads/v3/services/ad_service_pb"
op = Google::Ads::GoogleAds::V3::Services::AdOperation.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/v3/services/ad_group_ad_label_service_pb.rb"
+ require "google/ads/google_ads/v3/services/ad_group_ad_label_service_pb"
op = Google::Ads::GoogleAds::V3::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/v3/services/ad_group_ad_service_pb.rb"
+ require "google/ads/google_ads/v3/services/ad_group_ad_service_pb"
op = Google::Ads::GoogleAds::V3::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/v3/services/ad_group_bid_modifier_service_pb.rb"
+ require "google/ads/google_ads/v3/services/ad_group_bid_modifier_service_pb"
op = Google::Ads::GoogleAds::V3::Services::AdGroupBidModifierOperation.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/v3/services/ad_group_criterion_service_pb.rb"
+ require "google/ads/google_ads/v3/services/ad_group_criterion_service_pb"
op = Google::Ads::GoogleAds::V3::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/v3/services/ad_group_extension_setting_service_pb.rb"
+ require "google/ads/google_ads/v3/services/ad_group_extension_setting_service_pb"
op = Google::Ads::GoogleAds::V3::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/v3/services/ad_group_feed_service_pb.rb"
+ require "google/ads/google_ads/v3/services/ad_group_feed_service_pb"
op = Google::Ads::GoogleAds::V3::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/v3/services/ad_group_label_service_pb.rb"
+ require "google/ads/google_ads/v3/services/ad_group_label_service_pb"
op = Google::Ads::GoogleAds::V3::Services::AdGroupLabelOperation.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/v3/services/ad_parameter_service_pb.rb"
+ require "google/ads/google_ads/v3/services/ad_parameter_service_pb"
op = Google::Ads::GoogleAds::V3::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/v3/services/asset_service_pb.rb"
+ require "google/ads/google_ads/v3/services/asset_service_pb"
op = Google::Ads::GoogleAds::V3::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/v3/services/bidding_strategy_service_pb.rb"
+ require "google/ads/google_ads/v3/services/bidding_strategy_service_pb"
op = Google::Ads::GoogleAds::V3::Services::BiddingStrategyOperation.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/v3/services/campaign_budget_service_pb.rb"
+ require "google/ads/google_ads/v3/services/campaign_budget_service_pb"
op = Google::Ads::GoogleAds::V3::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/v3/services/campaign_criterion_service_pb.rb"
+ require "google/ads/google_ads/v3/services/campaign_criterion_service_pb"
op = Google::Ads::GoogleAds::V3::Services::CampaignCriterionOperation.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/v3/services/campaign_experiment_service_pb.rb"
+ require "google/ads/google_ads/v3/services/campaign_experiment_service_pb"
op = Google::Ads::GoogleAds::V3::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/v3/services/campaign_extension_setting_service_pb.rb"
+ require "google/ads/google_ads/v3/services/campaign_extension_setting_service_pb"
op = Google::Ads::GoogleAds::V3::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/v3/services/campaign_feed_service_pb.rb"
+ require "google/ads/google_ads/v3/services/campaign_feed_service_pb"
op = Google::Ads::GoogleAds::V3::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/v3/services/campaign_label_service_pb.rb"
+ require "google/ads/google_ads/v3/services/campaign_label_service_pb"
op = Google::Ads::GoogleAds::V3::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/v3/services/campaign_service_pb.rb"
+ require "google/ads/google_ads/v3/services/campaign_service_pb"
op = Google::Ads::GoogleAds::V3::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/v3/services/campaign_shared_set_service_pb.rb"
+ require "google/ads/google_ads/v3/services/campaign_shared_set_service_pb"
op = Google::Ads::GoogleAds::V3::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/v3/services/conversion_action_service_pb.rb"
+ require "google/ads/google_ads/v3/services/conversion_action_service_pb"
op = Google::Ads::GoogleAds::V3::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/v3/services/customer_extension_setting_service_pb.rb"
+ require "google/ads/google_ads/v3/services/customer_extension_setting_service_pb"
op = Google::Ads::GoogleAds::V3::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/v3/services/customer_feed_service_pb.rb"
+ require "google/ads/google_ads/v3/services/customer_feed_service_pb"
op = Google::Ads::GoogleAds::V3::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/v3/services/customer_label_service_pb.rb"
+ require "google/ads/google_ads/v3/services/customer_label_service_pb"
op = Google::Ads::GoogleAds::V3::Services::CustomerLabelOperation.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/v3/services/extension_feed_item_service_pb.rb"
+ require "google/ads/google_ads/v3/services/extension_feed_item_service_pb"
op = Google::Ads::GoogleAds::V3::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/v3/services/feed_item_service_pb.rb"
+ require "google/ads/google_ads/v3/services/feed_item_service_pb"
op = Google::Ads::GoogleAds::V3::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/v3/services/feed_item_target_service_pb.rb"
+ require "google/ads/google_ads/v3/services/feed_item_target_service_pb"
op = Google::Ads::GoogleAds::V3::Services::FeedItemTargetOperation.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/v3/services/feed_service_pb.rb"
+ require "google/ads/google_ads/v3/services/feed_service_pb"
op = Google::Ads::GoogleAds::V3::Services::FeedOperation.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/v3/services/media_file_service_pb.rb"
+ require "google/ads/google_ads/v3/services/media_file_service_pb"
op = Google::Ads::GoogleAds::V3::Services::MediaFileOperation.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/v3/services/remarketing_action_service_pb.rb"
+ require "google/ads/google_ads/v3/services/remarketing_action_service_pb"
op = Google::Ads::GoogleAds::V3::Services::RemarketingActionOperation.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/v3/services/google_ads_service_pb.rb"
+ require "google/ads/google_ads/v3/services/google_ads_service_pb"
op = Google::Ads::GoogleAds::V3::Services::MutateOperation.new
op["remove"] = path
op
end
# A convenience method for creationg an OfflineUserDataJobOperation 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.offline_user_data_job(path)
- require "google/ads/google_ads/v3/services/offline_user_data_job_service_pb.rb"
+ require "google/ads/google_ads/v3/services/offline_user_data_job_service_pb"
op = Google::Ads::GoogleAds::V3::Services::OfflineUserDataJobOperation.new
op["remove"] = path
op
end
# A convenience method for creationg an UserDataOperation 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_data(path)
- require "google/ads/google_ads/v3/services/user_data_service_pb.rb"
+ require "google/ads/google_ads/v3/services/user_data_service_pb"
op = Google::Ads::GoogleAds::V3::Services::UserDataOperation.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/v3/services/keyword_plan_ad_group_service_pb.rb"
+ require "google/ads/google_ads/v3/services/keyword_plan_ad_group_service_pb"
op = Google::Ads::GoogleAds::V3::Services::KeywordPlanAdGroupOperation.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/v3/services/keyword_plan_negative_keyword_service_pb.rb"
+ require "google/ads/google_ads/v3/services/keyword_plan_negative_keyword_service_pb"
op = Google::Ads::GoogleAds::V3::Services::KeywordPlanNegativeKeywordOperation.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/v3/services/keyword_plan_keyword_service_pb.rb"
+ require "google/ads/google_ads/v3/services/keyword_plan_keyword_service_pb"
op = Google::Ads::GoogleAds::V3::Services::KeywordPlanKeywordOperation.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/v3/services/keyword_plan_campaign_service_pb.rb"
+ require "google/ads/google_ads/v3/services/keyword_plan_campaign_service_pb"
op = Google::Ads::GoogleAds::V3::Services::KeywordPlanCampaignOperation.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/v3/services/account_budget_proposal_service_pb.rb"
+ require "google/ads/google_ads/v3/services/account_budget_proposal_service_pb"
op = Google::Ads::GoogleAds::V3::Services::AccountBudgetProposalOperation.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/v3/services/recommendation_service_pb.rb"
+ require "google/ads/google_ads/v3/services/recommendation_service_pb"
op = Google::Ads::GoogleAds::V3::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/v3/services/recommendation_service_pb.rb"
+ require "google/ads/google_ads/v3/services/recommendation_service_pb"
op = Google::Ads::GoogleAds::V3::Services::DismissRecommendationRequest::DismissRecommendationOperation.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/v3/services/merchant_center_link_service_pb.rb"
+ require "google/ads/google_ads/v3/services/merchant_center_link_service_pb"
op = Google::Ads::GoogleAds::V3::Services::MerchantCenterLinkOperation.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/v3/services/billing_setup_service_pb.rb"
+ require "google/ads/google_ads/v3/services/billing_setup_service_pb"
op = Google::Ads::GoogleAds::V3::Services::BillingSetupOperation.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/v3/services/keyword_plan_service_pb.rb"
+ require "google/ads/google_ads/v3/services/keyword_plan_service_pb"
op = Google::Ads::GoogleAds::V3::Services::KeywordPlanOperation.new
op["remove"] = path
op
end
end