# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/ads/googleads/v8/resources/shared_criterion.proto

require 'google/ads/googleads/v8/common/criteria_pb'
require 'google/ads/googleads/v8/enums/criterion_type_pb'
require 'google/api/field_behavior_pb'
require 'google/api/resource_pb'
require 'google/api/annotations_pb'
require 'google/protobuf'

Google::Protobuf::DescriptorPool.generated_pool.build do
  add_file("google/ads/googleads/v8/resources/shared_criterion.proto", :syntax => :proto3) do
    add_message "google.ads.googleads.v8.resources.SharedCriterion" do
      optional :resource_name, :string, 1
      proto3_optional :shared_set, :string, 10
      proto3_optional :criterion_id, :int64, 11
      optional :type, :enum, 4, "google.ads.googleads.v8.enums.CriterionTypeEnum.CriterionType"
      oneof :criterion do
        optional :keyword, :message, 3, "google.ads.googleads.v8.common.KeywordInfo"
        optional :youtube_video, :message, 5, "google.ads.googleads.v8.common.YouTubeVideoInfo"
        optional :youtube_channel, :message, 6, "google.ads.googleads.v8.common.YouTubeChannelInfo"
        optional :placement, :message, 7, "google.ads.googleads.v8.common.PlacementInfo"
        optional :mobile_app_category, :message, 8, "google.ads.googleads.v8.common.MobileAppCategoryInfo"
        optional :mobile_application, :message, 9, "google.ads.googleads.v8.common.MobileApplicationInfo"
      end
    end
  end
end

module Google
  module Ads
    module GoogleAds
      module V8
        module Resources
          SharedCriterion = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v8.resources.SharedCriterion").msgclass
        end
      end
    end
  end
end
