# Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/ads/googleads/v0/services/recommendation_service.proto require 'google/protobuf' require 'google/ads/googleads/v0/enums/keyword_match_type_pb' require 'google/ads/googleads/v0/resources/ad_pb' require 'google/ads/googleads/v0/resources/recommendation_pb' require 'google/api/annotations_pb' require 'google/protobuf/wrappers_pb' require 'google/rpc/status_pb' Google::Protobuf::DescriptorPool.generated_pool.build do add_message "google.ads.googleads.v0.services.GetRecommendationRequest" do optional :resource_name, :string, 1 end add_message "google.ads.googleads.v0.services.ApplyRecommendationRequest" do optional :customer_id, :string, 1 repeated :operations, :message, 2, "google.ads.googleads.v0.services.ApplyRecommendationOperation" end add_message "google.ads.googleads.v0.services.ApplyRecommendationOperation" do optional :resource_name, :string, 1 oneof :apply_parameters do optional :campaign_budget, :message, 2, "google.ads.googleads.v0.services.ApplyRecommendationOperation.CampaignBudgetParameters" optional :text_ad, :message, 3, "google.ads.googleads.v0.services.ApplyRecommendationOperation.TextAdParameters" optional :keyword, :message, 4, "google.ads.googleads.v0.services.ApplyRecommendationOperation.KeywordParameters" optional :target_cpa_opt_in, :message, 5, "google.ads.googleads.v0.services.ApplyRecommendationOperation.TargetCpaOptInParameters" end end add_message "google.ads.googleads.v0.services.ApplyRecommendationOperation.CampaignBudgetParameters" do optional :new_budget_amount_micros, :message, 1, "google.protobuf.Int64Value" end add_message "google.ads.googleads.v0.services.ApplyRecommendationOperation.TextAdParameters" do optional :ad, :message, 1, "google.ads.googleads.v0.resources.Ad" end add_message "google.ads.googleads.v0.services.ApplyRecommendationOperation.KeywordParameters" do optional :ad_group, :message, 1, "google.protobuf.StringValue" optional :match_type, :enum, 2, "google.ads.googleads.v0.enums.KeywordMatchTypeEnum.KeywordMatchType" optional :cpc_bid_micros, :message, 3, "google.protobuf.Int64Value" end add_message "google.ads.googleads.v0.services.ApplyRecommendationOperation.TargetCpaOptInParameters" do optional :target_cpa_micros, :message, 1, "google.protobuf.Int64Value" optional :new_campaign_budget_amount_micros, :message, 2, "google.protobuf.Int64Value" end add_message "google.ads.googleads.v0.services.ApplyRecommendationResponse" do repeated :results, :message, 1, "google.ads.googleads.v0.services.ApplyRecommendationResult" end add_message "google.ads.googleads.v0.services.ApplyRecommendationResult" do oneof :result do optional :resource_name, :string, 1 optional :status, :message, 2, "google.rpc.Status" end end end module Google module Ads module Googleads module V0 module Services GetRecommendationRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v0.services.GetRecommendationRequest").msgclass ApplyRecommendationRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v0.services.ApplyRecommendationRequest").msgclass ApplyRecommendationOperation = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v0.services.ApplyRecommendationOperation").msgclass ApplyRecommendationOperation::CampaignBudgetParameters = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v0.services.ApplyRecommendationOperation.CampaignBudgetParameters").msgclass ApplyRecommendationOperation::TextAdParameters = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v0.services.ApplyRecommendationOperation.TextAdParameters").msgclass ApplyRecommendationOperation::KeywordParameters = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v0.services.ApplyRecommendationOperation.KeywordParameters").msgclass ApplyRecommendationOperation::TargetCpaOptInParameters = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v0.services.ApplyRecommendationOperation.TargetCpaOptInParameters").msgclass ApplyRecommendationResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v0.services.ApplyRecommendationResponse").msgclass ApplyRecommendationResult = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v0.services.ApplyRecommendationResult").msgclass end end end end end