lib/google/ads/google_ads/factories/v2/resources.rb in google-ads-googleads-6.0.0 vs lib/google/ads/google_ads/factories/v2/resources.rb in google-ads-googleads-7.0.0

- old
+ new

@@ -2355,36 +2355,23 @@ res = Google::Ads::GoogleAds::V2::Resources::Recommendation::KeywordRecommendation.new yield res if block_given? res end - # Returns a new instance of OptimizeAdRotationRecommendation, optionally + # Returns a new instance of KeywordMatchTypeRecommendation, optionally # yielding it to a passed block so that attributes can be set on it. # - # @yield [Google::Ads::GoogleAds::V2::Resources::Recommendation::OptimizeAdRotationRecommendation] the new instance that will be returned so attributes + # @yield [Google::Ads::GoogleAds::V2::Resources::Recommendation::KeywordMatchTypeRecommendation] the new instance that will be returned so attributes # can be set - # @return [Google::Ads::GoogleAds::V2::Resources::Recommendation::OptimizeAdRotationRecommendation] the created resource - def self.optimize_ad_rotation_recommendation + # @return [Google::Ads::GoogleAds::V2::Resources::Recommendation::KeywordMatchTypeRecommendation] the created resource + def self.keyword_match_type_recommendation require "google/ads/google_ads/v2/resources/recommendation_pb.rb" - res = Google::Ads::GoogleAds::V2::Resources::Recommendation::OptimizeAdRotationRecommendation.new + res = Google::Ads::GoogleAds::V2::Resources::Recommendation::KeywordMatchTypeRecommendation.new yield res if block_given? res end - # Returns a new instance of CallExtensionRecommendation, optionally - # yielding it to a passed block so that attributes can be set on it. - # - # @yield [Google::Ads::GoogleAds::V2::Resources::Recommendation::CallExtensionRecommendation] the new instance that will be returned so attributes - # can be set - # @return [Google::Ads::GoogleAds::V2::Resources::Recommendation::CallExtensionRecommendation] the created resource - def self.call_extension_recommendation - require "google/ads/google_ads/v2/resources/recommendation_pb.rb" - res = Google::Ads::GoogleAds::V2::Resources::Recommendation::CallExtensionRecommendation.new - yield res if block_given? - res - end - # Returns a new instance of TextAdRecommendation, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V2::Resources::Recommendation::TextAdRecommendation] the new instance that will be returned so attributes # can be set @@ -2433,19 +2420,19 @@ res = Google::Ads::GoogleAds::V2::Resources::Recommendation::MaximizeConversionsOptInRecommendation.new yield res if block_given? res end - # Returns a new instance of SearchPartnersOptInRecommendation, optionally + # Returns a new instance of CallExtensionRecommendation, optionally # yielding it to a passed block so that attributes can be set on it. # - # @yield [Google::Ads::GoogleAds::V2::Resources::Recommendation::SearchPartnersOptInRecommendation] the new instance that will be returned so attributes + # @yield [Google::Ads::GoogleAds::V2::Resources::Recommendation::CallExtensionRecommendation] the new instance that will be returned so attributes # can be set - # @return [Google::Ads::GoogleAds::V2::Resources::Recommendation::SearchPartnersOptInRecommendation] the created resource - def self.search_partners_opt_in_recommendation + # @return [Google::Ads::GoogleAds::V2::Resources::Recommendation::CallExtensionRecommendation] the created resource + def self.call_extension_recommendation require "google/ads/google_ads/v2/resources/recommendation_pb.rb" - res = Google::Ads::GoogleAds::V2::Resources::Recommendation::SearchPartnersOptInRecommendation.new + res = Google::Ads::GoogleAds::V2::Resources::Recommendation::CallExtensionRecommendation.new yield res if block_given? res end # Returns a new instance of MoveUnusedBudgetRecommendation, optionally @@ -2472,10 +2459,23 @@ res = Google::Ads::GoogleAds::V2::Resources::Recommendation::EnhancedCpcOptInRecommendation.new yield res if block_given? res end + # Returns a new instance of SearchPartnersOptInRecommendation, optionally + # yielding it to a passed block so that attributes can be set on it. + # + # @yield [Google::Ads::GoogleAds::V2::Resources::Recommendation::SearchPartnersOptInRecommendation] the new instance that will be returned so attributes + # can be set + # @return [Google::Ads::GoogleAds::V2::Resources::Recommendation::SearchPartnersOptInRecommendation] the created resource + def self.search_partners_opt_in_recommendation + require "google/ads/google_ads/v2/resources/recommendation_pb.rb" + res = Google::Ads::GoogleAds::V2::Resources::Recommendation::SearchPartnersOptInRecommendation.new + yield res if block_given? + res + end + # Returns a new instance of MaximizeClicksOptInRecommendation, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V2::Resources::Recommendation::MaximizeClicksOptInRecommendation] the new instance that will be returned so attributes # can be set @@ -2485,45 +2485,45 @@ res = Google::Ads::GoogleAds::V2::Resources::Recommendation::MaximizeClicksOptInRecommendation.new yield res if block_given? res end - # Returns a new instance of CalloutExtensionRecommendation, optionally + # Returns a new instance of SitelinkExtensionRecommendation, optionally # yielding it to a passed block so that attributes can be set on it. # - # @yield [Google::Ads::GoogleAds::V2::Resources::Recommendation::CalloutExtensionRecommendation] the new instance that will be returned so attributes + # @yield [Google::Ads::GoogleAds::V2::Resources::Recommendation::SitelinkExtensionRecommendation] the new instance that will be returned so attributes # can be set - # @return [Google::Ads::GoogleAds::V2::Resources::Recommendation::CalloutExtensionRecommendation] the created resource - def self.callout_extension_recommendation + # @return [Google::Ads::GoogleAds::V2::Resources::Recommendation::SitelinkExtensionRecommendation] the created resource + def self.sitelink_extension_recommendation require "google/ads/google_ads/v2/resources/recommendation_pb.rb" - res = Google::Ads::GoogleAds::V2::Resources::Recommendation::CalloutExtensionRecommendation.new + res = Google::Ads::GoogleAds::V2::Resources::Recommendation::SitelinkExtensionRecommendation.new yield res if block_given? res end - # Returns a new instance of KeywordMatchTypeRecommendation, optionally + # Returns a new instance of OptimizeAdRotationRecommendation, optionally # yielding it to a passed block so that attributes can be set on it. # - # @yield [Google::Ads::GoogleAds::V2::Resources::Recommendation::KeywordMatchTypeRecommendation] the new instance that will be returned so attributes + # @yield [Google::Ads::GoogleAds::V2::Resources::Recommendation::OptimizeAdRotationRecommendation] the new instance that will be returned so attributes # can be set - # @return [Google::Ads::GoogleAds::V2::Resources::Recommendation::KeywordMatchTypeRecommendation] the created resource - def self.keyword_match_type_recommendation + # @return [Google::Ads::GoogleAds::V2::Resources::Recommendation::OptimizeAdRotationRecommendation] the created resource + def self.optimize_ad_rotation_recommendation require "google/ads/google_ads/v2/resources/recommendation_pb.rb" - res = Google::Ads::GoogleAds::V2::Resources::Recommendation::KeywordMatchTypeRecommendation.new + res = Google::Ads::GoogleAds::V2::Resources::Recommendation::OptimizeAdRotationRecommendation.new yield res if block_given? res end - # Returns a new instance of SitelinkExtensionRecommendation, optionally + # Returns a new instance of CalloutExtensionRecommendation, optionally # yielding it to a passed block so that attributes can be set on it. # - # @yield [Google::Ads::GoogleAds::V2::Resources::Recommendation::SitelinkExtensionRecommendation] the new instance that will be returned so attributes + # @yield [Google::Ads::GoogleAds::V2::Resources::Recommendation::CalloutExtensionRecommendation] the new instance that will be returned so attributes # can be set - # @return [Google::Ads::GoogleAds::V2::Resources::Recommendation::SitelinkExtensionRecommendation] the created resource - def self.sitelink_extension_recommendation + # @return [Google::Ads::GoogleAds::V2::Resources::Recommendation::CalloutExtensionRecommendation] the created resource + def self.callout_extension_recommendation require "google/ads/google_ads/v2/resources/recommendation_pb.rb" - res = Google::Ads::GoogleAds::V2::Resources::Recommendation::SitelinkExtensionRecommendation.new + res = Google::Ads::GoogleAds::V2::Resources::Recommendation::CalloutExtensionRecommendation.new yield res if block_given? res end # Returns a new instance of TextLabel, optionally @@ -3213,23 +3213,10 @@ res = Google::Ads::GoogleAds::V2::Resources::Campaign::HotelSettingInfo.new yield res if block_given? res end - # Returns a new instance of AppCampaignSetting, optionally - # yielding it to a passed block so that attributes can be set on it. - # - # @yield [Google::Ads::GoogleAds::V2::Resources::Campaign::AppCampaignSetting] the new instance that will be returned so attributes - # can be set - # @return [Google::Ads::GoogleAds::V2::Resources::Campaign::AppCampaignSetting] the created resource - def self.app_campaign_setting - require "google/ads/google_ads/v2/resources/campaign_pb.rb" - res = Google::Ads::GoogleAds::V2::Resources::Campaign::AppCampaignSetting.new - yield res if block_given? - res - end - # Returns a new instance of DynamicSearchAdsSetting, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V2::Resources::Campaign::DynamicSearchAdsSetting] the new instance that will be returned so attributes # can be set @@ -3239,23 +3226,10 @@ res = Google::Ads::GoogleAds::V2::Resources::Campaign::DynamicSearchAdsSetting.new yield res if block_given? res end - # Returns a new instance of TrackingSetting, optionally - # yielding it to a passed block so that attributes can be set on it. - # - # @yield [Google::Ads::GoogleAds::V2::Resources::Campaign::TrackingSetting] the new instance that will be returned so attributes - # can be set - # @return [Google::Ads::GoogleAds::V2::Resources::Campaign::TrackingSetting] the created resource - def self.tracking_setting - require "google/ads/google_ads/v2/resources/campaign_pb.rb" - res = Google::Ads::GoogleAds::V2::Resources::Campaign::TrackingSetting.new - yield res if block_given? - res - end - # Returns a new instance of SelectiveOptimization, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V2::Resources::Campaign::SelectiveOptimization] the new instance that will be returned so attributes # can be set @@ -3278,10 +3252,23 @@ res = Google::Ads::GoogleAds::V2::Resources::Campaign::ShoppingSetting.new yield res if block_given? res end + # Returns a new instance of TrackingSetting, optionally + # yielding it to a passed block so that attributes can be set on it. + # + # @yield [Google::Ads::GoogleAds::V2::Resources::Campaign::TrackingSetting] the new instance that will be returned so attributes + # can be set + # @return [Google::Ads::GoogleAds::V2::Resources::Campaign::TrackingSetting] the created resource + def self.tracking_setting + require "google/ads/google_ads/v2/resources/campaign_pb.rb" + res = Google::Ads::GoogleAds::V2::Resources::Campaign::TrackingSetting.new + yield res if block_given? + res + end + # Returns a new instance of GeoTargetTypeSetting, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V2::Resources::Campaign::GeoTargetTypeSetting] the new instance that will be returned so attributes # can be set @@ -3291,10 +3278,23 @@ res = Google::Ads::GoogleAds::V2::Resources::Campaign::GeoTargetTypeSetting.new yield res if block_given? res end + # Returns a new instance of AppCampaignSetting, optionally + # yielding it to a passed block so that attributes can be set on it. + # + # @yield [Google::Ads::GoogleAds::V2::Resources::Campaign::AppCampaignSetting] the new instance that will be returned so attributes + # can be set + # @return [Google::Ads::GoogleAds::V2::Resources::Campaign::AppCampaignSetting] the created resource + def self.app_campaign_setting + require "google/ads/google_ads/v2/resources/campaign_pb.rb" + res = Google::Ads::GoogleAds::V2::Resources::Campaign::AppCampaignSetting.new + yield res if block_given? + res + end + # Returns a new instance of VanityPharma, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V2::Resources::Campaign::VanityPharma] the new instance that will be returned so attributes # can be set @@ -4331,19 +4331,19 @@ res = Google::Ads::GoogleAds::V2::Resources::ConversionAction::ValueSettings.new yield res if block_given? res end - # Returns a new instance of MutateAdGroupCriterionLabelResult, optionally + # Returns a new instance of MutateCustomerClientLinkResult, optionally # yielding it to a passed block so that attributes can be set on it. # - # @yield [Google::Ads::GoogleAds::V2::Services::MutateAdGroupCriterionLabelResult] the new instance that will be returned so attributes + # @yield [Google::Ads::GoogleAds::V2::Services::MutateCustomerClientLinkResult] the new instance that will be returned so attributes # can be set - # @return [Google::Ads::GoogleAds::V2::Services::MutateAdGroupCriterionLabelResult] the created resource - def self.mutate_ad_group_criterion_label_result - require "google/ads/google_ads/v2/services/ad_group_criterion_label_service_pb.rb" - res = Google::Ads::GoogleAds::V2::Services::MutateAdGroupCriterionLabelResult.new + # @return [Google::Ads::GoogleAds::V2::Services::MutateCustomerClientLinkResult] the created resource + def self.mutate_customer_client_link_result + require "google/ads/google_ads/v2/services/customer_client_link_service_pb.rb" + res = Google::Ads::GoogleAds::V2::Services::MutateCustomerClientLinkResult.new yield res if block_given? res end # Returns a new instance of MutateCustomInterestResult, optionally @@ -4474,32 +4474,32 @@ res = Google::Ads::GoogleAds::V2::Services::MutateAdGroupResult.new yield res if block_given? res end - # Returns a new instance of MutateExtensionFeedItemResult, optionally + # Returns a new instance of MutateCampaignBidModifierResult, optionally # yielding it to a passed block so that attributes can be set on it. # - # @yield [Google::Ads::GoogleAds::V2::Services::MutateExtensionFeedItemResult] the new instance that will be returned so attributes + # @yield [Google::Ads::GoogleAds::V2::Services::MutateCampaignBidModifierResult] the new instance that will be returned so attributes # can be set - # @return [Google::Ads::GoogleAds::V2::Services::MutateExtensionFeedItemResult] the created resource - def self.mutate_extension_feed_item_result - require "google/ads/google_ads/v2/services/extension_feed_item_service_pb.rb" - res = Google::Ads::GoogleAds::V2::Services::MutateExtensionFeedItemResult.new + # @return [Google::Ads::GoogleAds::V2::Services::MutateCampaignBidModifierResult] the created resource + def self.mutate_campaign_bid_modifier_result + require "google/ads/google_ads/v2/services/campaign_bid_modifier_service_pb.rb" + res = Google::Ads::GoogleAds::V2::Services::MutateCampaignBidModifierResult.new yield res if block_given? res end - # Returns a new instance of MutateCampaignBidModifierResult, optionally + # Returns a new instance of MutateCustomerManagerLinkResult, optionally # yielding it to a passed block so that attributes can be set on it. # - # @yield [Google::Ads::GoogleAds::V2::Services::MutateCampaignBidModifierResult] the new instance that will be returned so attributes + # @yield [Google::Ads::GoogleAds::V2::Services::MutateCustomerManagerLinkResult] the new instance that will be returned so attributes # can be set - # @return [Google::Ads::GoogleAds::V2::Services::MutateCampaignBidModifierResult] the created resource - def self.mutate_campaign_bid_modifier_result - require "google/ads/google_ads/v2/services/campaign_bid_modifier_service_pb.rb" - res = Google::Ads::GoogleAds::V2::Services::MutateCampaignBidModifierResult.new + # @return [Google::Ads::GoogleAds::V2::Services::MutateCustomerManagerLinkResult] the created resource + def self.mutate_customer_manager_link_result + require "google/ads/google_ads/v2/services/customer_manager_link_service_pb.rb" + res = Google::Ads::GoogleAds::V2::Services::MutateCustomerManagerLinkResult.new yield res if block_given? res end # Returns a new instance of MutateCampaignDraftResult, optionally @@ -4513,10 +4513,23 @@ res = Google::Ads::GoogleAds::V2::Services::MutateCampaignDraftResult.new yield res if block_given? res end + # Returns a new instance of MutateUserListResult, optionally + # yielding it to a passed block so that attributes can be set on it. + # + # @yield [Google::Ads::GoogleAds::V2::Services::MutateUserListResult] the new instance that will be returned so attributes + # can be set + # @return [Google::Ads::GoogleAds::V2::Services::MutateUserListResult] the created resource + def self.mutate_user_list_result + require "google/ads/google_ads/v2/services/user_list_service_pb.rb" + res = Google::Ads::GoogleAds::V2::Services::MutateUserListResult.new + yield res if block_given? + res + end + # Returns a new instance of MutateCustomerResult, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V2::Services::MutateCustomerResult] the new instance that will be returned so attributes # can be set @@ -4539,23 +4552,88 @@ res = Google::Ads::GoogleAds::V2::Services::MutateSharedSetResult.new yield res if block_given? res end - # Returns a new instance of MutateCampaignFeedResult, optionally + # Returns a new instance of MutateAdGroupCriterionLabelResult, optionally # yielding it to a passed block so that attributes can be set on it. # - # @yield [Google::Ads::GoogleAds::V2::Services::MutateCampaignFeedResult] the new instance that will be returned so attributes + # @yield [Google::Ads::GoogleAds::V2::Services::MutateAdGroupCriterionLabelResult] the new instance that will be returned so attributes # can be set - # @return [Google::Ads::GoogleAds::V2::Services::MutateCampaignFeedResult] the created resource - def self.mutate_campaign_feed_result - require "google/ads/google_ads/v2/services/campaign_feed_service_pb.rb" - res = Google::Ads::GoogleAds::V2::Services::MutateCampaignFeedResult.new + # @return [Google::Ads::GoogleAds::V2::Services::MutateAdGroupCriterionLabelResult] the created resource + def self.mutate_ad_group_criterion_label_result + require "google/ads/google_ads/v2/services/ad_group_criterion_label_service_pb.rb" + res = Google::Ads::GoogleAds::V2::Services::MutateAdGroupCriterionLabelResult.new yield res if block_given? res end + # Returns a new instance of KeywordPlanHistoricalMetrics, optionally + # yielding it to a passed block so that attributes can be set on it. + # + # @yield [Google::Ads::GoogleAds::V2::Common::KeywordPlanHistoricalMetrics] the new instance that will be returned so attributes + # can be set + # @return [Google::Ads::GoogleAds::V2::Common::KeywordPlanHistoricalMetrics] the created resource + def self.keyword_plan_historical_metrics + require "google/ads/google_ads/v2/common/keyword_plan_common_pb.rb" + res = Google::Ads::GoogleAds::V2::Common::KeywordPlanHistoricalMetrics.new + yield res if block_given? + res + end + + # Returns a new instance of KeywordAndUrlSeed, optionally + # yielding it to a passed block so that attributes can be set on it. + # + # @yield [Google::Ads::GoogleAds::V2::Services::KeywordAndUrlSeed] the new instance that will be returned so attributes + # can be set + # @return [Google::Ads::GoogleAds::V2::Services::KeywordAndUrlSeed] the created resource + def self.keyword_and_url_seed + require "google/ads/google_ads/v2/services/keyword_plan_idea_service_pb.rb" + res = Google::Ads::GoogleAds::V2::Services::KeywordAndUrlSeed.new + yield res if block_given? + res + end + + # Returns a new instance of KeywordSeed, optionally + # yielding it to a passed block so that attributes can be set on it. + # + # @yield [Google::Ads::GoogleAds::V2::Services::KeywordSeed] the new instance that will be returned so attributes + # can be set + # @return [Google::Ads::GoogleAds::V2::Services::KeywordSeed] the created resource + def self.keyword_seed + require "google/ads/google_ads/v2/services/keyword_plan_idea_service_pb.rb" + res = Google::Ads::GoogleAds::V2::Services::KeywordSeed.new + yield res if block_given? + res + end + + # Returns a new instance of UrlSeed, optionally + # yielding it to a passed block so that attributes can be set on it. + # + # @yield [Google::Ads::GoogleAds::V2::Services::UrlSeed] the new instance that will be returned so attributes + # can be set + # @return [Google::Ads::GoogleAds::V2::Services::UrlSeed] the created resource + def self.url_seed + require "google/ads/google_ads/v2/services/keyword_plan_idea_service_pb.rb" + res = Google::Ads::GoogleAds::V2::Services::UrlSeed.new + yield res if block_given? + res + end + + # Returns a new instance of GenerateKeywordIdeaResult, optionally + # yielding it to a passed block so that attributes can be set on it. + # + # @yield [Google::Ads::GoogleAds::V2::Services::GenerateKeywordIdeaResult] the new instance that will be returned so attributes + # can be set + # @return [Google::Ads::GoogleAds::V2::Services::GenerateKeywordIdeaResult] the created resource + def self.generate_keyword_idea_result + require "google/ads/google_ads/v2/services/keyword_plan_idea_service_pb.rb" + res = Google::Ads::GoogleAds::V2::Services::GenerateKeywordIdeaResult.new + yield res if block_given? + res + end + # Returns a new instance of MutateLabelResult, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V2::Services::MutateLabelResult] the new instance that will be returned so attributes # can be set @@ -4565,10 +4643,23 @@ res = Google::Ads::GoogleAds::V2::Services::MutateLabelResult.new yield res if block_given? res end + # Returns a new instance of MutateAdResult, optionally + # yielding it to a passed block so that attributes can be set on it. + # + # @yield [Google::Ads::GoogleAds::V2::Services::MutateAdResult] the new instance that will be returned so attributes + # can be set + # @return [Google::Ads::GoogleAds::V2::Services::MutateAdResult] the created resource + def self.mutate_ad_result + require "google/ads/google_ads/v2/services/ad_service_pb.rb" + res = Google::Ads::GoogleAds::V2::Services::MutateAdResult.new + yield res if block_given? + res + end + # Returns a new instance of Metrics, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V2::Common::Metrics] the new instance that will be returned so attributes # can be set @@ -4799,10 +4890,23 @@ res = Google::Ads::GoogleAds::V2::Services::MutateCampaignExtensionSettingResult.new yield res if block_given? res end + # Returns a new instance of MutateCampaignFeedResult, optionally + # yielding it to a passed block so that attributes can be set on it. + # + # @yield [Google::Ads::GoogleAds::V2::Services::MutateCampaignFeedResult] the new instance that will be returned so attributes + # can be set + # @return [Google::Ads::GoogleAds::V2::Services::MutateCampaignFeedResult] the created resource + def self.mutate_campaign_feed_result + require "google/ads/google_ads/v2/services/campaign_feed_service_pb.rb" + res = Google::Ads::GoogleAds::V2::Services::MutateCampaignFeedResult.new + yield res if block_given? + res + end + # Returns a new instance of MutateCampaignLabelResult, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V2::Services::MutateCampaignLabelResult] the new instance that will be returned so attributes # can be set @@ -4890,10 +4994,23 @@ res = Google::Ads::GoogleAds::V2::Services::MutateCustomerLabelResult.new yield res if block_given? res end + # Returns a new instance of MutateExtensionFeedItemResult, optionally + # yielding it to a passed block so that attributes can be set on it. + # + # @yield [Google::Ads::GoogleAds::V2::Services::MutateExtensionFeedItemResult] the new instance that will be returned so attributes + # can be set + # @return [Google::Ads::GoogleAds::V2::Services::MutateExtensionFeedItemResult] the created resource + def self.mutate_extension_feed_item_result + require "google/ads/google_ads/v2/services/extension_feed_item_service_pb.rb" + res = Google::Ads::GoogleAds::V2::Services::MutateExtensionFeedItemResult.new + yield res if block_given? + res + end + # Returns a new instance of MutateFeedItemResult, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V2::Services::MutateFeedItemResult] the new instance that will be returned so attributes # can be set @@ -4955,23 +5072,10 @@ res = Google::Ads::GoogleAds::V2::Services::MutateRemarketingActionResult.new yield res if block_given? res end - # Returns a new instance of MutateUserListResult, optionally - # yielding it to a passed block so that attributes can be set on it. - # - # @yield [Google::Ads::GoogleAds::V2::Services::MutateUserListResult] the new instance that will be returned so attributes - # can be set - # @return [Google::Ads::GoogleAds::V2::Services::MutateUserListResult] the created resource - def self.mutate_user_list_result - require "google/ads/google_ads/v2/services/user_list_service_pb.rb" - res = Google::Ads::GoogleAds::V2::Services::MutateUserListResult.new - yield res if block_given? - res - end - # Returns a new instance of GoogleAdsRow, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V2::Services::GoogleAdsRow] the new instance that will be returned so attributes # can be set @@ -5150,88 +5254,10 @@ res = Google::Ads::GoogleAds::V2::Services::OnTargetAudienceMetrics.new yield res if block_given? res end - # Returns a new instance of MutateCustomerClientLinkResult, optionally - # yielding it to a passed block so that attributes can be set on it. - # - # @yield [Google::Ads::GoogleAds::V2::Services::MutateCustomerClientLinkResult] the new instance that will be returned so attributes - # can be set - # @return [Google::Ads::GoogleAds::V2::Services::MutateCustomerClientLinkResult] the created resource - def self.mutate_customer_client_link_result - require "google/ads/google_ads/v2/services/customer_client_link_service_pb.rb" - res = Google::Ads::GoogleAds::V2::Services::MutateCustomerClientLinkResult.new - yield res if block_given? - res - end - - # Returns a new instance of MutateAdResult, optionally - # yielding it to a passed block so that attributes can be set on it. - # - # @yield [Google::Ads::GoogleAds::V2::Services::MutateAdResult] the new instance that will be returned so attributes - # can be set - # @return [Google::Ads::GoogleAds::V2::Services::MutateAdResult] the created resource - def self.mutate_ad_result - require "google/ads/google_ads/v2/services/ad_service_pb.rb" - res = Google::Ads::GoogleAds::V2::Services::MutateAdResult.new - yield res if block_given? - res - end - - # Returns a new instance of ConversionAdjustment, optionally - # yielding it to a passed block so that attributes can be set on it. - # - # @yield [Google::Ads::GoogleAds::V2::Services::ConversionAdjustment] the new instance that will be returned so attributes - # can be set - # @return [Google::Ads::GoogleAds::V2::Services::ConversionAdjustment] the created resource - def self.conversion_adjustment - require "google/ads/google_ads/v2/services/conversion_adjustment_upload_service_pb.rb" - res = Google::Ads::GoogleAds::V2::Services::ConversionAdjustment.new - yield res if block_given? - res - end - - # Returns a new instance of RestatementValue, optionally - # yielding it to a passed block so that attributes can be set on it. - # - # @yield [Google::Ads::GoogleAds::V2::Services::RestatementValue] the new instance that will be returned so attributes - # can be set - # @return [Google::Ads::GoogleAds::V2::Services::RestatementValue] the created resource - def self.restatement_value - require "google/ads/google_ads/v2/services/conversion_adjustment_upload_service_pb.rb" - res = Google::Ads::GoogleAds::V2::Services::RestatementValue.new - yield res if block_given? - res - end - - # Returns a new instance of GclidDateTimePair, optionally - # yielding it to a passed block so that attributes can be set on it. - # - # @yield [Google::Ads::GoogleAds::V2::Services::GclidDateTimePair] the new instance that will be returned so attributes - # can be set - # @return [Google::Ads::GoogleAds::V2::Services::GclidDateTimePair] the created resource - def self.gclid_date_time_pair - require "google/ads/google_ads/v2/services/conversion_adjustment_upload_service_pb.rb" - res = Google::Ads::GoogleAds::V2::Services::GclidDateTimePair.new - yield res if block_given? - res - end - - # Returns a new instance of ConversionAdjustmentResult, optionally - # yielding it to a passed block so that attributes can be set on it. - # - # @yield [Google::Ads::GoogleAds::V2::Services::ConversionAdjustmentResult] the new instance that will be returned so attributes - # can be set - # @return [Google::Ads::GoogleAds::V2::Services::ConversionAdjustmentResult] the created resource - def self.conversion_adjustment_result - require "google/ads/google_ads/v2/services/conversion_adjustment_upload_service_pb.rb" - res = Google::Ads::GoogleAds::V2::Services::ConversionAdjustmentResult.new - yield res if block_given? - res - end - # Returns a new instance of MutateKeywordPlanAdGroupResult, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V2::Services::MutateKeywordPlanAdGroupResult] the new instance that will be returned so attributes # can be set @@ -5280,75 +5306,10 @@ res = Google::Ads::GoogleAds::V2::Services::GeoTargetConstantSuggestion.new yield res if block_given? res end - # Returns a new instance of KeywordPlanHistoricalMetrics, optionally - # yielding it to a passed block so that attributes can be set on it. - # - # @yield [Google::Ads::GoogleAds::V2::Common::KeywordPlanHistoricalMetrics] the new instance that will be returned so attributes - # can be set - # @return [Google::Ads::GoogleAds::V2::Common::KeywordPlanHistoricalMetrics] the created resource - def self.keyword_plan_historical_metrics - require "google/ads/google_ads/v2/common/keyword_plan_common_pb.rb" - res = Google::Ads::GoogleAds::V2::Common::KeywordPlanHistoricalMetrics.new - yield res if block_given? - res - end - - # Returns a new instance of KeywordAndUrlSeed, optionally - # yielding it to a passed block so that attributes can be set on it. - # - # @yield [Google::Ads::GoogleAds::V2::Services::KeywordAndUrlSeed] the new instance that will be returned so attributes - # can be set - # @return [Google::Ads::GoogleAds::V2::Services::KeywordAndUrlSeed] the created resource - def self.keyword_and_url_seed - require "google/ads/google_ads/v2/services/keyword_plan_idea_service_pb.rb" - res = Google::Ads::GoogleAds::V2::Services::KeywordAndUrlSeed.new - yield res if block_given? - res - end - - # Returns a new instance of KeywordSeed, optionally - # yielding it to a passed block so that attributes can be set on it. - # - # @yield [Google::Ads::GoogleAds::V2::Services::KeywordSeed] the new instance that will be returned so attributes - # can be set - # @return [Google::Ads::GoogleAds::V2::Services::KeywordSeed] the created resource - def self.keyword_seed - require "google/ads/google_ads/v2/services/keyword_plan_idea_service_pb.rb" - res = Google::Ads::GoogleAds::V2::Services::KeywordSeed.new - yield res if block_given? - res - end - - # Returns a new instance of UrlSeed, optionally - # yielding it to a passed block so that attributes can be set on it. - # - # @yield [Google::Ads::GoogleAds::V2::Services::UrlSeed] the new instance that will be returned so attributes - # can be set - # @return [Google::Ads::GoogleAds::V2::Services::UrlSeed] the created resource - def self.url_seed - require "google/ads/google_ads/v2/services/keyword_plan_idea_service_pb.rb" - res = Google::Ads::GoogleAds::V2::Services::UrlSeed.new - yield res if block_given? - res - end - - # Returns a new instance of GenerateKeywordIdeaResult, optionally - # yielding it to a passed block so that attributes can be set on it. - # - # @yield [Google::Ads::GoogleAds::V2::Services::GenerateKeywordIdeaResult] the new instance that will be returned so attributes - # can be set - # @return [Google::Ads::GoogleAds::V2::Services::GenerateKeywordIdeaResult] the created resource - def self.generate_keyword_idea_result - require "google/ads/google_ads/v2/services/keyword_plan_idea_service_pb.rb" - res = Google::Ads::GoogleAds::V2::Services::GenerateKeywordIdeaResult.new - yield res if block_given? - res - end - # Returns a new instance of MutateKeywordPlanNegativeKeywordResult, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V2::Services::MutateKeywordPlanNegativeKeywordResult] the new instance that will be returned so attributes # can be set @@ -5358,114 +5319,101 @@ res = Google::Ads::GoogleAds::V2::Services::MutateKeywordPlanNegativeKeywordResult.new yield res if block_given? res end - # Returns a new instance of MutateKeywordPlansResult, optionally + # Returns a new instance of MutateKeywordPlanKeywordResult, optionally # yielding it to a passed block so that attributes can be set on it. # - # @yield [Google::Ads::GoogleAds::V2::Services::MutateKeywordPlansResult] the new instance that will be returned so attributes + # @yield [Google::Ads::GoogleAds::V2::Services::MutateKeywordPlanKeywordResult] the new instance that will be returned so attributes # can be set - # @return [Google::Ads::GoogleAds::V2::Services::MutateKeywordPlansResult] the created resource - def self.mutate_keyword_plans_result - require "google/ads/google_ads/v2/services/keyword_plan_service_pb.rb" - res = Google::Ads::GoogleAds::V2::Services::MutateKeywordPlansResult.new + # @return [Google::Ads::GoogleAds::V2::Services::MutateKeywordPlanKeywordResult] the created resource + def self.mutate_keyword_plan_keyword_result + require "google/ads/google_ads/v2/services/keyword_plan_keyword_service_pb.rb" + res = Google::Ads::GoogleAds::V2::Services::MutateKeywordPlanKeywordResult.new yield res if block_given? res end - # Returns a new instance of KeywordPlanCampaignForecast, optionally + # Returns a new instance of ConversionAdjustment, optionally # yielding it to a passed block so that attributes can be set on it. # - # @yield [Google::Ads::GoogleAds::V2::Services::KeywordPlanCampaignForecast] the new instance that will be returned so attributes + # @yield [Google::Ads::GoogleAds::V2::Services::ConversionAdjustment] the new instance that will be returned so attributes # can be set - # @return [Google::Ads::GoogleAds::V2::Services::KeywordPlanCampaignForecast] the created resource - def self.keyword_plan_campaign_forecast - require "google/ads/google_ads/v2/services/keyword_plan_service_pb.rb" - res = Google::Ads::GoogleAds::V2::Services::KeywordPlanCampaignForecast.new + # @return [Google::Ads::GoogleAds::V2::Services::ConversionAdjustment] the created resource + def self.conversion_adjustment + require "google/ads/google_ads/v2/services/conversion_adjustment_upload_service_pb.rb" + res = Google::Ads::GoogleAds::V2::Services::ConversionAdjustment.new yield res if block_given? res end - # Returns a new instance of KeywordPlanAdGroupForecast, optionally + # Returns a new instance of RestatementValue, optionally # yielding it to a passed block so that attributes can be set on it. # - # @yield [Google::Ads::GoogleAds::V2::Services::KeywordPlanAdGroupForecast] the new instance that will be returned so attributes + # @yield [Google::Ads::GoogleAds::V2::Services::RestatementValue] the new instance that will be returned so attributes # can be set - # @return [Google::Ads::GoogleAds::V2::Services::KeywordPlanAdGroupForecast] the created resource - def self.keyword_plan_ad_group_forecast - require "google/ads/google_ads/v2/services/keyword_plan_service_pb.rb" - res = Google::Ads::GoogleAds::V2::Services::KeywordPlanAdGroupForecast.new + # @return [Google::Ads::GoogleAds::V2::Services::RestatementValue] the created resource + def self.restatement_value + require "google/ads/google_ads/v2/services/conversion_adjustment_upload_service_pb.rb" + res = Google::Ads::GoogleAds::V2::Services::RestatementValue.new yield res if block_given? res end - # Returns a new instance of KeywordPlanKeywordForecast, optionally + # Returns a new instance of GclidDateTimePair, optionally # yielding it to a passed block so that attributes can be set on it. # - # @yield [Google::Ads::GoogleAds::V2::Services::KeywordPlanKeywordForecast] the new instance that will be returned so attributes + # @yield [Google::Ads::GoogleAds::V2::Services::GclidDateTimePair] the new instance that will be returned so attributes # can be set - # @return [Google::Ads::GoogleAds::V2::Services::KeywordPlanKeywordForecast] the created resource - def self.keyword_plan_keyword_forecast - require "google/ads/google_ads/v2/services/keyword_plan_service_pb.rb" - res = Google::Ads::GoogleAds::V2::Services::KeywordPlanKeywordForecast.new + # @return [Google::Ads::GoogleAds::V2::Services::GclidDateTimePair] the created resource + def self.gclid_date_time_pair + require "google/ads/google_ads/v2/services/conversion_adjustment_upload_service_pb.rb" + res = Google::Ads::GoogleAds::V2::Services::GclidDateTimePair.new yield res if block_given? res end - # Returns a new instance of ForecastMetrics, optionally + # Returns a new instance of ConversionAdjustmentResult, optionally # yielding it to a passed block so that attributes can be set on it. # - # @yield [Google::Ads::GoogleAds::V2::Services::ForecastMetrics] the new instance that will be returned so attributes + # @yield [Google::Ads::GoogleAds::V2::Services::ConversionAdjustmentResult] the new instance that will be returned so attributes # can be set - # @return [Google::Ads::GoogleAds::V2::Services::ForecastMetrics] the created resource - def self.forecast_metrics - require "google/ads/google_ads/v2/services/keyword_plan_service_pb.rb" - res = Google::Ads::GoogleAds::V2::Services::ForecastMetrics.new + # @return [Google::Ads::GoogleAds::V2::Services::ConversionAdjustmentResult] the created resource + def self.conversion_adjustment_result + require "google/ads/google_ads/v2/services/conversion_adjustment_upload_service_pb.rb" + res = Google::Ads::GoogleAds::V2::Services::ConversionAdjustmentResult.new yield res if block_given? res end - # Returns a new instance of KeywordPlanKeywordHistoricalMetrics, optionally + # Returns a new instance of MutateKeywordPlanCampaignResult, optionally # yielding it to a passed block so that attributes can be set on it. # - # @yield [Google::Ads::GoogleAds::V2::Services::KeywordPlanKeywordHistoricalMetrics] the new instance that will be returned so attributes + # @yield [Google::Ads::GoogleAds::V2::Services::MutateKeywordPlanCampaignResult] the new instance that will be returned so attributes # can be set - # @return [Google::Ads::GoogleAds::V2::Services::KeywordPlanKeywordHistoricalMetrics] the created resource - def self.keyword_plan_keyword_historical_metrics - require "google/ads/google_ads/v2/services/keyword_plan_service_pb.rb" - res = Google::Ads::GoogleAds::V2::Services::KeywordPlanKeywordHistoricalMetrics.new + # @return [Google::Ads::GoogleAds::V2::Services::MutateKeywordPlanCampaignResult] the created resource + def self.mutate_keyword_plan_campaign_result + require "google/ads/google_ads/v2/services/keyword_plan_campaign_service_pb.rb" + res = Google::Ads::GoogleAds::V2::Services::MutateKeywordPlanCampaignResult.new yield res if block_given? res end - # Returns a new instance of MutateKeywordPlanKeywordResult, optionally + # Returns a new instance of MutateAccountBudgetProposalResult, optionally # yielding it to a passed block so that attributes can be set on it. # - # @yield [Google::Ads::GoogleAds::V2::Services::MutateKeywordPlanKeywordResult] the new instance that will be returned so attributes + # @yield [Google::Ads::GoogleAds::V2::Services::MutateAccountBudgetProposalResult] the new instance that will be returned so attributes # can be set - # @return [Google::Ads::GoogleAds::V2::Services::MutateKeywordPlanKeywordResult] the created resource - def self.mutate_keyword_plan_keyword_result - require "google/ads/google_ads/v2/services/keyword_plan_keyword_service_pb.rb" - res = Google::Ads::GoogleAds::V2::Services::MutateKeywordPlanKeywordResult.new + # @return [Google::Ads::GoogleAds::V2::Services::MutateAccountBudgetProposalResult] the created resource + def self.mutate_account_budget_proposal_result + require "google/ads/google_ads/v2/services/account_budget_proposal_service_pb.rb" + res = Google::Ads::GoogleAds::V2::Services::MutateAccountBudgetProposalResult.new yield res if block_given? res end - # Returns a new instance of MutateKeywordPlanCampaignResult, optionally - # yielding it to a passed block so that attributes can be set on it. - # - # @yield [Google::Ads::GoogleAds::V2::Services::MutateKeywordPlanCampaignResult] the new instance that will be returned so attributes - # can be set - # @return [Google::Ads::GoogleAds::V2::Services::MutateKeywordPlanCampaignResult] the created resource - def self.mutate_keyword_plan_campaign_result - require "google/ads/google_ads/v2/services/keyword_plan_campaign_service_pb.rb" - res = Google::Ads::GoogleAds::V2::Services::MutateKeywordPlanCampaignResult.new - yield res if block_given? - res - end - # Returns a new instance of CampaignBudgetParameters, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V2::Services::ApplyRecommendationOperation::CampaignBudgetParameters] the new instance that will be returned so attributes # can be set @@ -5592,57 +5540,109 @@ res = Google::Ads::GoogleAds::V2::Services::DismissRecommendationResponse::DismissRecommendationResult.new yield res if block_given? res end - # Returns a new instance of MutateAccountBudgetProposalResult, optionally + # Returns a new instance of MutateMerchantCenterLinkResult, optionally # yielding it to a passed block so that attributes can be set on it. # - # @yield [Google::Ads::GoogleAds::V2::Services::MutateAccountBudgetProposalResult] the new instance that will be returned so attributes + # @yield [Google::Ads::GoogleAds::V2::Services::MutateMerchantCenterLinkResult] the new instance that will be returned so attributes # can be set - # @return [Google::Ads::GoogleAds::V2::Services::MutateAccountBudgetProposalResult] the created resource - def self.mutate_account_budget_proposal_result - require "google/ads/google_ads/v2/services/account_budget_proposal_service_pb.rb" - res = Google::Ads::GoogleAds::V2::Services::MutateAccountBudgetProposalResult.new + # @return [Google::Ads::GoogleAds::V2::Services::MutateMerchantCenterLinkResult] the created resource + def self.mutate_merchant_center_link_result + require "google/ads/google_ads/v2/services/merchant_center_link_service_pb.rb" + res = Google::Ads::GoogleAds::V2::Services::MutateMerchantCenterLinkResult.new yield res if block_given? res end - # Returns a new instance of MutateCustomerManagerLinkResult, optionally + # Returns a new instance of MutateBillingSetupResult, optionally # yielding it to a passed block so that attributes can be set on it. # - # @yield [Google::Ads::GoogleAds::V2::Services::MutateCustomerManagerLinkResult] the new instance that will be returned so attributes + # @yield [Google::Ads::GoogleAds::V2::Services::MutateBillingSetupResult] the new instance that will be returned so attributes # can be set - # @return [Google::Ads::GoogleAds::V2::Services::MutateCustomerManagerLinkResult] the created resource - def self.mutate_customer_manager_link_result - require "google/ads/google_ads/v2/services/customer_manager_link_service_pb.rb" - res = Google::Ads::GoogleAds::V2::Services::MutateCustomerManagerLinkResult.new + # @return [Google::Ads::GoogleAds::V2::Services::MutateBillingSetupResult] the created resource + def self.mutate_billing_setup_result + require "google/ads/google_ads/v2/services/billing_setup_service_pb.rb" + res = Google::Ads::GoogleAds::V2::Services::MutateBillingSetupResult.new yield res if block_given? res end - # Returns a new instance of MutateBillingSetupResult, optionally + # Returns a new instance of MutateKeywordPlansResult, optionally # yielding it to a passed block so that attributes can be set on it. # - # @yield [Google::Ads::GoogleAds::V2::Services::MutateBillingSetupResult] the new instance that will be returned so attributes + # @yield [Google::Ads::GoogleAds::V2::Services::MutateKeywordPlansResult] the new instance that will be returned so attributes # can be set - # @return [Google::Ads::GoogleAds::V2::Services::MutateBillingSetupResult] the created resource - def self.mutate_billing_setup_result - require "google/ads/google_ads/v2/services/billing_setup_service_pb.rb" - res = Google::Ads::GoogleAds::V2::Services::MutateBillingSetupResult.new + # @return [Google::Ads::GoogleAds::V2::Services::MutateKeywordPlansResult] the created resource + def self.mutate_keyword_plans_result + require "google/ads/google_ads/v2/services/keyword_plan_service_pb.rb" + res = Google::Ads::GoogleAds::V2::Services::MutateKeywordPlansResult.new yield res if block_given? res end - # Returns a new instance of MutateMerchantCenterLinkResult, optionally + # Returns a new instance of KeywordPlanCampaignForecast, optionally # yielding it to a passed block so that attributes can be set on it. # - # @yield [Google::Ads::GoogleAds::V2::Services::MutateMerchantCenterLinkResult] the new instance that will be returned so attributes + # @yield [Google::Ads::GoogleAds::V2::Services::KeywordPlanCampaignForecast] the new instance that will be returned so attributes # can be set - # @return [Google::Ads::GoogleAds::V2::Services::MutateMerchantCenterLinkResult] the created resource - def self.mutate_merchant_center_link_result - require "google/ads/google_ads/v2/services/merchant_center_link_service_pb.rb" - res = Google::Ads::GoogleAds::V2::Services::MutateMerchantCenterLinkResult.new + # @return [Google::Ads::GoogleAds::V2::Services::KeywordPlanCampaignForecast] the created resource + def self.keyword_plan_campaign_forecast + require "google/ads/google_ads/v2/services/keyword_plan_service_pb.rb" + res = Google::Ads::GoogleAds::V2::Services::KeywordPlanCampaignForecast.new + yield res if block_given? + res + end + + # Returns a new instance of KeywordPlanAdGroupForecast, optionally + # yielding it to a passed block so that attributes can be set on it. + # + # @yield [Google::Ads::GoogleAds::V2::Services::KeywordPlanAdGroupForecast] the new instance that will be returned so attributes + # can be set + # @return [Google::Ads::GoogleAds::V2::Services::KeywordPlanAdGroupForecast] the created resource + def self.keyword_plan_ad_group_forecast + require "google/ads/google_ads/v2/services/keyword_plan_service_pb.rb" + res = Google::Ads::GoogleAds::V2::Services::KeywordPlanAdGroupForecast.new + yield res if block_given? + res + end + + # Returns a new instance of KeywordPlanKeywordForecast, optionally + # yielding it to a passed block so that attributes can be set on it. + # + # @yield [Google::Ads::GoogleAds::V2::Services::KeywordPlanKeywordForecast] the new instance that will be returned so attributes + # can be set + # @return [Google::Ads::GoogleAds::V2::Services::KeywordPlanKeywordForecast] the created resource + def self.keyword_plan_keyword_forecast + require "google/ads/google_ads/v2/services/keyword_plan_service_pb.rb" + res = Google::Ads::GoogleAds::V2::Services::KeywordPlanKeywordForecast.new + yield res if block_given? + res + end + + # Returns a new instance of ForecastMetrics, optionally + # yielding it to a passed block so that attributes can be set on it. + # + # @yield [Google::Ads::GoogleAds::V2::Services::ForecastMetrics] the new instance that will be returned so attributes + # can be set + # @return [Google::Ads::GoogleAds::V2::Services::ForecastMetrics] the created resource + def self.forecast_metrics + require "google/ads/google_ads/v2/services/keyword_plan_service_pb.rb" + res = Google::Ads::GoogleAds::V2::Services::ForecastMetrics.new + yield res if block_given? + res + end + + # Returns a new instance of KeywordPlanKeywordHistoricalMetrics, optionally + # yielding it to a passed block so that attributes can be set on it. + # + # @yield [Google::Ads::GoogleAds::V2::Services::KeywordPlanKeywordHistoricalMetrics] the new instance that will be returned so attributes + # can be set + # @return [Google::Ads::GoogleAds::V2::Services::KeywordPlanKeywordHistoricalMetrics] the created resource + def self.keyword_plan_keyword_historical_metrics + require "google/ads/google_ads/v2/services/keyword_plan_service_pb.rb" + res = Google::Ads::GoogleAds::V2::Services::KeywordPlanKeywordHistoricalMetrics.new yield res if block_given? res end # Returns a new instance of Value, optionally