# frozen_string_literal: true
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/ads/admanager/v1/targeting.proto

require 'google/protobuf'

require 'google/ads/admanager/v1/request_platform_enum_pb'
require 'google/ads/admanager/v1/targeted_video_bumper_type_enum_pb'
require 'google/ads/admanager/v1/video_position_enum_pb'
require 'google/api/field_behavior_pb'
require 'google/api/resource_pb'


descriptor_data = "\n\'google/ads/admanager/v1/targeting.proto\x12\x17google.ads.admanager.v1\x1a\x33google/ads/admanager/v1/request_platform_enum.proto\x1a=google/ads/admanager/v1/targeted_video_bumper_type_enum.proto\x1a\x31google/ads/admanager/v1/video_position_enum.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\"\x91\x05\n\tTargeting\x12\x41\n\rgeo_targeting\x18\x02 \x01(\x0b\x32%.google.ads.admanager.v1.GeoTargetingB\x03\xe0\x41\x01\x12O\n\x14technology_targeting\x18\x03 \x01(\x0b\x32,.google.ads.admanager.v1.TechnologyTargetingB\x03\xe0\x41\x01\x12M\n\x13inventory_targeting\x18\x05 \x01(\x0b\x32+.google.ads.admanager.v1.InventoryTargetingB\x03\xe0\x41\x01\x12Z\n\x1arequest_platform_targeting\x18\x06 \x01(\x0b\x32\x31.google.ads.admanager.v1.RequestPlatformTargetingB\x03\xe0\x41\x01\x12G\n\x10\x63ustom_targeting\x18\x07 \x01(\x0b\x32(.google.ads.admanager.v1.CustomTargetingB\x03\xe0\x41\x01\x12P\n\x15user_domain_targeting\x18\n \x01(\x0b\x32,.google.ads.admanager.v1.UserDomainTargetingB\x03\xe0\x41\x01\x12V\n\x18video_position_targeting\x18\x0c \x01(\x0b\x32/.google.ads.admanager.v1.VideoPositionTargetingB\x03\xe0\x41\x01\x12R\n\x16\x64\x61ta_segment_targeting\x18\r \x01(\x0b\x32-.google.ads.admanager.v1.DataSegmentTargetingB\x03\xe0\x41\x01\"\x94\x01\n\x0cGeoTargeting\x12\x41\n\rtargeted_geos\x18\x03 \x03(\tB*\xe0\x41\x01\xfa\x41$\n\"admanager.googleapis.com/GeoTarget\x12\x41\n\rexcluded_geos\x18\x04 \x03(\tB*\xe0\x41\x01\xfa\x41$\n\"admanager.googleapis.com/GeoTarget\"\x9a\x02\n\x13TechnologyTargeting\x12M\n\x13\x62\x61ndwidth_targeting\x18\x03 \x01(\x0b\x32+.google.ads.admanager.v1.BandwidthTargetingB\x03\xe0\x41\x01\x12X\n\x19\x64\x65vice_category_targeting\x18\x01 \x01(\x0b\x32\x30.google.ads.admanager.v1.DeviceCategoryTargetingB\x03\xe0\x41\x01\x12Z\n\x1aoperating_system_targeting\x18\x02 \x01(\x0b\x32\x31.google.ads.admanager.v1.OperatingSystemTargetingB\x03\xe0\x41\x01\"\xbc\x01\n\x12\x42\x61ndwidthTargeting\x12R\n\x19targeted_bandwidth_groups\x18\x03 \x03(\tB/\xe0\x41\x01\xfa\x41)\n\'admanager.googleapis.com/BandwidthGroup\x12R\n\x19\x65xcluded_bandwidth_groups\x18\x04 \x03(\tB/\xe0\x41\x01\xfa\x41)\n\'admanager.googleapis.com/BandwidthGroup\"\xb5\x01\n\x17\x44\x65viceCategoryTargeting\x12L\n\x13targeted_categories\x18\x03 \x03(\tB/\xe0\x41\x01\xfa\x41)\n\'admanager.googleapis.com/DeviceCategory\x12L\n\x13\x65xcluded_categories\x18\x04 \x03(\tB/\xe0\x41\x01\xfa\x41)\n\'admanager.googleapis.com/DeviceCategory\"\x90\x03\n\x18OperatingSystemTargeting\x12T\n\x1atargeted_operating_systems\x18\x05 \x03(\tB0\xe0\x41\x01\xfa\x41*\n(admanager.googleapis.com/OperatingSystem\x12T\n\x1a\x65xcluded_operating_systems\x18\x06 \x03(\tB0\xe0\x41\x01\xfa\x41*\n(admanager.googleapis.com/OperatingSystem\x12\x63\n\"targeted_operating_system_versions\x18\x07 \x03(\tB7\xe0\x41\x01\xfa\x41\x31\n/admanager.googleapis.com/OperatingSystemVersion\x12\x63\n\"excluded_operating_system_versions\x18\x08 \x03(\tB7\xe0\x41\x01\xfa\x41\x31\n/admanager.googleapis.com/OperatingSystemVersion\"\xf1\x01\n\x12InventoryTargeting\x12H\n\x11targeted_ad_units\x18\x01 \x03(\x0b\x32(.google.ads.admanager.v1.AdUnitTargetingB\x03\xe0\x41\x01\x12H\n\x11\x65xcluded_ad_units\x18\x02 \x03(\x0b\x32(.google.ads.admanager.v1.AdUnitTargetingB\x03\xe0\x41\x01\x12G\n\x13targeted_placements\x18\x05 \x03(\tB*\xe0\x41\x01\xfa\x41$\n\"admanager.googleapis.com/Placement\"\x96\x01\n\x0f\x41\x64UnitTargeting\x12 \n\x13include_descendants\x18\x01 \x01(\x08H\x00\x88\x01\x01\x12=\n\x07\x61\x64_unit\x18\x03 \x01(\tB\'\xe0\x41\x01\xfa\x41!\n\x1f\x61\x64manager.googleapis.com/AdUnitH\x01\x88\x01\x01\x42\x16\n\x14_include_descendantsB\n\n\x08_ad_unit\"x\n\x18RequestPlatformTargeting\x12\\\n\x11request_platforms\x18\x01 \x03(\x0e\x32<.google.ads.admanager.v1.RequestPlatformEnum.RequestPlatformB\x03\xe0\x41\x01\"h\n\x0f\x43ustomTargeting\x12U\n\x18\x63ustom_targeting_clauses\x18\x01 \x03(\x0b\x32..google.ads.admanager.v1.CustomTargetingClauseB\x03\xe0\x41\x01\"p\n\x15\x43ustomTargetingClause\x12W\n\x19\x63ustom_targeting_literals\x18\x01 \x03(\x0b\x32/.google.ads.admanager.v1.CustomTargetingLiteralB\x03\xe0\x41\x01\"\x85\x02\n\x16\x43ustomTargetingLiteral\x12\x15\n\x08negative\x18\x01 \x01(\x08H\x00\x88\x01\x01\x12V\n\x14\x63ustom_targeting_key\x18\x04 \x01(\tB3\xe0\x41\x01\xfa\x41-\n+admanager.googleapis.com/CustomTargetingKeyH\x01\x88\x01\x01\x12V\n\x17\x63ustom_targeting_values\x18\x05 \x03(\tB5\xe0\x41\x01\xfa\x41/\n-admanager.googleapis.com/CustomTargetingValueB\x0b\n\t_negativeB\x17\n\x15_custom_targeting_key\"]\n\x13UserDomainTargeting\x12\"\n\x15targeted_user_domains\x18\x01 \x03(\tB\x03\xe0\x41\x01\x12\"\n\x15\x65xcluded_user_domains\x18\x02 \x03(\tB\x03\xe0\x41\x01\"^\n\x16VideoPositionTargeting\x12\x44\n\x0fvideo_positions\x18\x01 \x03(\x0b\x32&.google.ads.admanager.v1.VideoPositionB\x03\xe0\x41\x01\"\xa0\x03\n\rVideoPosition\x12\x1f\n\rmidroll_index\x18\x01 \x01(\x03\x42\x03\xe0\x41\x01H\x00\x88\x01\x01\x12\'\n\x15reverse_midroll_index\x18\x02 \x01(\x03\x42\x03\xe0\x41\x01H\x01\x88\x01\x01\x12\x1e\n\x0cpod_position\x18\x03 \x01(\x03\x42\x03\xe0\x41\x01H\x02\x88\x01\x01\x12Y\n\rposition_type\x18\x05 \x01(\x0e\x32\x38.google.ads.admanager.v1.VideoPositionEnum.VideoPositionB\x03\xe0\x41\x01H\x03\x88\x01\x01\x12k\n\x0b\x62umper_type\x18\x06 \x01(\x0e\x32L.google.ads.admanager.v1.TargetedVideoBumperTypeEnum.TargetedVideoBumperTypeB\x03\xe0\x41\x01H\x04\x88\x01\x01\x42\x10\n\x0e_midroll_indexB\x18\n\x16_reverse_midroll_indexB\x0f\n\r_pod_positionB\x10\n\x0e_position_typeB\x0e\n\x0c_bumper_type\"?\n\x14\x44\x61taSegmentTargeting\x12\'\n\x1ahas_data_segment_targeting\x18\x02 \x01(\x08\x42\x03\xe0\x41\x03\x42\xc2\x01\n\x1b\x63om.google.ads.admanager.v1B\x0eTargetingProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xaa\x02\x17Google.Ads.AdManager.V1\xca\x02\x17Google\\Ads\\AdManager\\V1\xea\x02\x1aGoogle::Ads::AdManager::V1b\x06proto3"

pool = Google::Protobuf::DescriptorPool.generated_pool

begin
  pool.add_serialized_file(descriptor_data)
rescue TypeError
  # Compatibility code: will be removed in the next major version.
  require 'google/protobuf/descriptor_pb'
  parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
  parsed.clear_dependency
  serialized = parsed.class.encode(parsed)
  file = pool.add_serialized_file(serialized)
  warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
  imports = [
  ]
  imports.each do |type_name, expected_filename|
    import_file = pool.lookup(type_name).file_descriptor
    if import_file.name != expected_filename
      warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
    end
  end
  warn "Each proto file must use a consistent fully-qualified name."
  warn "This will become an error in the next major version."
end

module Google
  module Ads
    module AdManager
      module V1
        Targeting = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.admanager.v1.Targeting").msgclass
        GeoTargeting = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.admanager.v1.GeoTargeting").msgclass
        TechnologyTargeting = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.admanager.v1.TechnologyTargeting").msgclass
        BandwidthTargeting = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.admanager.v1.BandwidthTargeting").msgclass
        DeviceCategoryTargeting = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.admanager.v1.DeviceCategoryTargeting").msgclass
        OperatingSystemTargeting = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.admanager.v1.OperatingSystemTargeting").msgclass
        InventoryTargeting = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.admanager.v1.InventoryTargeting").msgclass
        AdUnitTargeting = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.admanager.v1.AdUnitTargeting").msgclass
        RequestPlatformTargeting = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.admanager.v1.RequestPlatformTargeting").msgclass
        CustomTargeting = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.admanager.v1.CustomTargeting").msgclass
        CustomTargetingClause = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.admanager.v1.CustomTargetingClause").msgclass
        CustomTargetingLiteral = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.admanager.v1.CustomTargetingLiteral").msgclass
        UserDomainTargeting = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.admanager.v1.UserDomainTargeting").msgclass
        VideoPositionTargeting = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.admanager.v1.VideoPositionTargeting").msgclass
        VideoPosition = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.admanager.v1.VideoPosition").msgclass
        DataSegmentTargeting = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.admanager.v1.DataSegmentTargeting").msgclass
      end
    end
  end
end
