lib/google/ads/google_ads/v1/resources/recommendation_pb.rb in google-ads-googleads-1.1.1 vs lib/google/ads/google_ads/v1/resources/recommendation_pb.rb in google-ads-googleads-2.0.0
- old
+ new
@@ -2,10 +2,11 @@
# source: google/ads/google_ads/v1/resources/recommendation.proto
require 'google/protobuf'
require 'google/ads/google_ads/v1/common/criteria_pb'
+require 'google/ads/google_ads/v1/common/extensions_pb'
require 'google/ads/google_ads/v1/enums/keyword_match_type_pb'
require 'google/ads/google_ads/v1/enums/recommendation_type_pb'
require 'google/ads/google_ads/v1/enums/target_cpa_opt_in_recommendation_goal_pb'
require 'google/ads/google_ads/v1/resources/ad_pb'
require 'google/protobuf/wrappers_pb'
@@ -27,10 +28,13 @@
optional :maximize_conversions_opt_in_recommendation, :message, 11, "google.ads.googleads.v1.resources.Recommendation.MaximizeConversionsOptInRecommendation"
optional :enhanced_cpc_opt_in_recommendation, :message, 12, "google.ads.googleads.v1.resources.Recommendation.EnhancedCpcOptInRecommendation"
optional :search_partners_opt_in_recommendation, :message, 14, "google.ads.googleads.v1.resources.Recommendation.SearchPartnersOptInRecommendation"
optional :maximize_clicks_opt_in_recommendation, :message, 15, "google.ads.googleads.v1.resources.Recommendation.MaximizeClicksOptInRecommendation"
optional :optimize_ad_rotation_recommendation, :message, 16, "google.ads.googleads.v1.resources.Recommendation.OptimizeAdRotationRecommendation"
+ optional :callout_extension_recommendation, :message, 17, "google.ads.googleads.v1.resources.Recommendation.CalloutExtensionRecommendation"
+ optional :sitelink_extension_recommendation, :message, 18, "google.ads.googleads.v1.resources.Recommendation.SitelinkExtensionRecommendation"
+ optional :call_extension_recommendation, :message, 19, "google.ads.googleads.v1.resources.Recommendation.CallExtensionRecommendation"
optional :keyword_match_type_recommendation, :message, 20, "google.ads.googleads.v1.resources.Recommendation.KeywordMatchTypeRecommendation"
optional :move_unused_budget_recommendation, :message, 21, "google.ads.googleads.v1.resources.Recommendation.MoveUnusedBudgetRecommendation"
end
end
add_message "google.ads.googleads.v1.resources.Recommendation.RecommendationImpact" do
@@ -60,55 +64,67 @@
add_message "google.ads.googleads.v1.resources.Recommendation.TextAdRecommendation" do
optional :ad, :message, 1, "google.ads.googleads.v1.resources.Ad"
optional :creation_date, :message, 2, "google.protobuf.StringValue"
optional :auto_apply_date, :message, 3, "google.protobuf.StringValue"
end
- add_message "google.ads.googleads.v1.resources.Recommendation.OptimizeAdRotationRecommendation" do
- end
add_message "google.ads.googleads.v1.resources.Recommendation.TargetCpaOptInRecommendation" do
repeated :options, :message, 1, "google.ads.googleads.v1.resources.Recommendation.TargetCpaOptInRecommendation.TargetCpaOptInRecommendationOption"
optional :recommended_target_cpa_micros, :message, 2, "google.protobuf.Int64Value"
end
add_message "google.ads.googleads.v1.resources.Recommendation.TargetCpaOptInRecommendation.TargetCpaOptInRecommendationOption" do
optional :goal, :enum, 1, "google.ads.googleads.v1.enums.TargetCpaOptInRecommendationGoalEnum.TargetCpaOptInRecommendationGoal"
optional :target_cpa_micros, :message, 2, "google.protobuf.Int64Value"
optional :required_campaign_budget_amount_micros, :message, 3, "google.protobuf.Int64Value"
optional :impact, :message, 4, "google.ads.googleads.v1.resources.Recommendation.RecommendationImpact"
end
+ add_message "google.ads.googleads.v1.resources.Recommendation.CalloutExtensionRecommendation" do
+ repeated :recommended_extensions, :message, 1, "google.ads.googleads.v1.common.CalloutFeedItem"
+ end
add_message "google.ads.googleads.v1.resources.Recommendation.MaximizeConversionsOptInRecommendation" do
optional :recommended_budget_amount_micros, :message, 1, "google.protobuf.Int64Value"
end
+ add_message "google.ads.googleads.v1.resources.Recommendation.KeywordMatchTypeRecommendation" do
+ optional :keyword, :message, 1, "google.ads.googleads.v1.common.KeywordInfo"
+ optional :recommended_match_type, :enum, 2, "google.ads.googleads.v1.enums.KeywordMatchTypeEnum.KeywordMatchType"
+ end
add_message "google.ads.googleads.v1.resources.Recommendation.EnhancedCpcOptInRecommendation" do
end
add_message "google.ads.googleads.v1.resources.Recommendation.SearchPartnersOptInRecommendation" do
end
add_message "google.ads.googleads.v1.resources.Recommendation.MaximizeClicksOptInRecommendation" do
optional :recommended_budget_amount_micros, :message, 1, "google.protobuf.Int64Value"
end
- add_message "google.ads.googleads.v1.resources.Recommendation.KeywordMatchTypeRecommendation" do
- optional :keyword, :message, 1, "google.ads.googleads.v1.common.KeywordInfo"
- optional :recommended_match_type, :enum, 2, "google.ads.googleads.v1.enums.KeywordMatchTypeEnum.KeywordMatchType"
- end
add_message "google.ads.googleads.v1.resources.Recommendation.MoveUnusedBudgetRecommendation" do
optional :excess_campaign_budget, :message, 1, "google.protobuf.StringValue"
optional :budget_recommendation, :message, 2, "google.ads.googleads.v1.resources.Recommendation.CampaignBudgetRecommendation"
end
+ add_message "google.ads.googleads.v1.resources.Recommendation.OptimizeAdRotationRecommendation" do
+ end
+ add_message "google.ads.googleads.v1.resources.Recommendation.SitelinkExtensionRecommendation" do
+ repeated :recommended_extensions, :message, 1, "google.ads.googleads.v1.common.SitelinkFeedItem"
+ end
+ add_message "google.ads.googleads.v1.resources.Recommendation.CallExtensionRecommendation" do
+ repeated :recommended_extensions, :message, 1, "google.ads.googleads.v1.common.CallFeedItem"
+ end
end
module Google::Ads::GoogleAds::V1::Resources
Recommendation = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v1.resources.Recommendation").msgclass
Recommendation::RecommendationImpact = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v1.resources.Recommendation.RecommendationImpact").msgclass
Recommendation::RecommendationMetrics = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v1.resources.Recommendation.RecommendationMetrics").msgclass
Recommendation::CampaignBudgetRecommendation = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v1.resources.Recommendation.CampaignBudgetRecommendation").msgclass
Recommendation::CampaignBudgetRecommendation::CampaignBudgetRecommendationOption = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v1.resources.Recommendation.CampaignBudgetRecommendation.CampaignBudgetRecommendationOption").msgclass
Recommendation::KeywordRecommendation = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v1.resources.Recommendation.KeywordRecommendation").msgclass
Recommendation::TextAdRecommendation = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v1.resources.Recommendation.TextAdRecommendation").msgclass
- Recommendation::OptimizeAdRotationRecommendation = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v1.resources.Recommendation.OptimizeAdRotationRecommendation").msgclass
Recommendation::TargetCpaOptInRecommendation = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v1.resources.Recommendation.TargetCpaOptInRecommendation").msgclass
Recommendation::TargetCpaOptInRecommendation::TargetCpaOptInRecommendationOption = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v1.resources.Recommendation.TargetCpaOptInRecommendation.TargetCpaOptInRecommendationOption").msgclass
+ Recommendation::CalloutExtensionRecommendation = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v1.resources.Recommendation.CalloutExtensionRecommendation").msgclass
Recommendation::MaximizeConversionsOptInRecommendation = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v1.resources.Recommendation.MaximizeConversionsOptInRecommendation").msgclass
+ Recommendation::KeywordMatchTypeRecommendation = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v1.resources.Recommendation.KeywordMatchTypeRecommendation").msgclass
Recommendation::EnhancedCpcOptInRecommendation = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v1.resources.Recommendation.EnhancedCpcOptInRecommendation").msgclass
Recommendation::SearchPartnersOptInRecommendation = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v1.resources.Recommendation.SearchPartnersOptInRecommendation").msgclass
Recommendation::MaximizeClicksOptInRecommendation = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v1.resources.Recommendation.MaximizeClicksOptInRecommendation").msgclass
- Recommendation::KeywordMatchTypeRecommendation = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v1.resources.Recommendation.KeywordMatchTypeRecommendation").msgclass
Recommendation::MoveUnusedBudgetRecommendation = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v1.resources.Recommendation.MoveUnusedBudgetRecommendation").msgclass
+ Recommendation::OptimizeAdRotationRecommendation = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v1.resources.Recommendation.OptimizeAdRotationRecommendation").msgclass
+ Recommendation::SitelinkExtensionRecommendation = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v1.resources.Recommendation.SitelinkExtensionRecommendation").msgclass
+ Recommendation::CallExtensionRecommendation = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v1.resources.Recommendation.CallExtensionRecommendation").msgclass
end