# frozen_string_literal: true
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/ads/googleads/v20/common/policy.proto

require 'google/protobuf'

require 'google/ads/google_ads/v20/enums/policy_topic_entry_type_pb'
require 'google/ads/google_ads/v20/enums/policy_topic_evidence_destination_mismatch_url_type_pb'
require 'google/ads/google_ads/v20/enums/policy_topic_evidence_destination_not_working_device_pb'
require 'google/ads/google_ads/v20/enums/policy_topic_evidence_destination_not_working_dns_error_type_pb'


descriptor_data = "\n,google/ads/googleads/v20/common/policy.proto\x12\x1fgoogle.ads.googleads.v20.common\x1a<google/ads/googleads/v20/enums/policy_topic_entry_type.proto\x1aXgoogle/ads/googleads/v20/enums/policy_topic_evidence_destination_mismatch_url_type.proto\x1aYgoogle/ads/googleads/v20/enums/policy_topic_evidence_destination_not_working_device.proto\x1a\x61google/ads/googleads/v20/enums/policy_topic_evidence_destination_not_working_dns_error_type.proto\"n\n\x12PolicyViolationKey\x12\x18\n\x0bpolicy_name\x18\x03 \x01(\tH\x00\x88\x01\x01\x12\x1b\n\x0eviolating_text\x18\x04 \x01(\tH\x01\x88\x01\x01\x42\x0e\n\x0c_policy_nameB\x11\n\x0f_violating_text\"\x97\x01\n\x19PolicyValidationParameter\x12\x1f\n\x17ignorable_policy_topics\x18\x03 \x03(\t\x12Y\n\x1c\x65xempt_policy_violation_keys\x18\x02 \x03(\x0b\x32\x33.google.ads.googleads.v20.common.PolicyViolationKey\"\xa3\x02\n\x10PolicyTopicEntry\x12\x12\n\x05topic\x18\x05 \x01(\tH\x00\x88\x01\x01\x12[\n\x04type\x18\x02 \x01(\x0e\x32M.google.ads.googleads.v20.enums.PolicyTopicEntryTypeEnum.PolicyTopicEntryType\x12G\n\tevidences\x18\x03 \x03(\x0b\x32\x34.google.ads.googleads.v20.common.PolicyTopicEvidence\x12K\n\x0b\x63onstraints\x18\x04 \x03(\x0b\x32\x36.google.ads.googleads.v20.common.PolicyTopicConstraintB\x08\n\x06_topic\"\xaf\n\n\x13PolicyTopicEvidence\x12X\n\x0cwebsite_list\x18\x03 \x01(\x0b\x32@.google.ads.googleads.v20.common.PolicyTopicEvidence.WebsiteListH\x00\x12R\n\ttext_list\x18\x04 \x01(\x0b\x32=.google.ads.googleads.v20.common.PolicyTopicEvidence.TextListH\x00\x12\x17\n\rlanguage_code\x18\t \x01(\tH\x00\x12i\n\x15\x64\x65stination_text_list\x18\x06 \x01(\x0b\x32H.google.ads.googleads.v20.common.PolicyTopicEvidence.DestinationTextListH\x00\x12h\n\x14\x64\x65stination_mismatch\x18\x07 \x01(\x0b\x32H.google.ads.googleads.v20.common.PolicyTopicEvidence.DestinationMismatchH\x00\x12m\n\x17\x64\x65stination_not_working\x18\x08 \x01(\x0b\x32J.google.ads.googleads.v20.common.PolicyTopicEvidence.DestinationNotWorkingH\x00\x1a\x19\n\x08TextList\x12\r\n\x05texts\x18\x02 \x03(\t\x1a\x1f\n\x0bWebsiteList\x12\x10\n\x08websites\x18\x02 \x03(\t\x1a\x30\n\x13\x44\x65stinationTextList\x12\x19\n\x11\x64\x65stination_texts\x18\x02 \x03(\t\x1a\xaa\x01\n\x13\x44\x65stinationMismatch\x12\x92\x01\n\turl_types\x18\x01 \x03(\x0e\x32\x7f.google.ads.googleads.v20.enums.PolicyTopicEvidenceDestinationMismatchUrlTypeEnum.PolicyTopicEvidenceDestinationMismatchUrlType\x1a\xe8\x03\n\x15\x44\x65stinationNotWorking\x12\x19\n\x0c\x65xpanded_url\x18\x07 \x01(\tH\x01\x88\x01\x01\x12\x92\x01\n\x06\x64\x65vice\x18\x04 \x01(\x0e\x32\x81\x01.google.ads.googleads.v20.enums.PolicyTopicEvidenceDestinationNotWorkingDeviceEnum.PolicyTopicEvidenceDestinationNotWorkingDevice\x12#\n\x16last_checked_date_time\x18\x08 \x01(\tH\x02\x88\x01\x01\x12\xa8\x01\n\x0e\x64ns_error_type\x18\x01 \x01(\x0e\x32\x8d\x01.google.ads.googleads.v20.enums.PolicyTopicEvidenceDestinationNotWorkingDnsErrorTypeEnum.PolicyTopicEvidenceDestinationNotWorkingDnsErrorTypeH\x00\x12\x19\n\x0fhttp_error_code\x18\x06 \x01(\x03H\x00\x42\x08\n\x06reasonB\x0f\n\r_expanded_urlB\x19\n\x17_last_checked_date_timeB\x07\n\x05value\"\x9a\x06\n\x15PolicyTopicConstraint\x12o\n\x17\x63ountry_constraint_list\x18\x01 \x01(\x0b\x32L.google.ads.googleads.v20.common.PolicyTopicConstraint.CountryConstraintListH\x00\x12h\n\x13reseller_constraint\x18\x02 \x01(\x0b\x32I.google.ads.googleads.v20.common.PolicyTopicConstraint.ResellerConstraintH\x00\x12{\n#certificate_missing_in_country_list\x18\x03 \x01(\x0b\x32L.google.ads.googleads.v20.common.PolicyTopicConstraint.CountryConstraintListH\x00\x12\x83\x01\n+certificate_domain_mismatch_in_country_list\x18\x04 \x01(\x0b\x32L.google.ads.googleads.v20.common.PolicyTopicConstraint.CountryConstraintListH\x00\x1a\xb8\x01\n\x15\x43ountryConstraintList\x12%\n\x18total_targeted_countries\x18\x03 \x01(\x05H\x00\x88\x01\x01\x12[\n\tcountries\x18\x02 \x03(\x0b\x32H.google.ads.googleads.v20.common.PolicyTopicConstraint.CountryConstraintB\x1b\n\x19_total_targeted_countries\x1a\x14\n\x12ResellerConstraint\x1aI\n\x11\x43ountryConstraint\x12\x1e\n\x11\x63ountry_criterion\x18\x02 \x01(\tH\x00\x88\x01\x01\x42\x14\n\x12_country_criterionB\x07\n\x05valueB\xeb\x01\n#com.google.ads.googleads.v20.commonB\x0bPolicyProtoP\x01ZEgoogle.golang.org/genproto/googleapis/ads/googleads/v20/common;common\xa2\x02\x03GAA\xaa\x02\x1fGoogle.Ads.GoogleAds.V20.Common\xca\x02\x1fGoogle\\Ads\\GoogleAds\\V20\\Common\xea\x02#Google::Ads::GoogleAds::V20::Commonb\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 GoogleAds
      module V20
        module Common
          PolicyViolationKey = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v20.common.PolicyViolationKey").msgclass
          PolicyValidationParameter = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v20.common.PolicyValidationParameter").msgclass
          PolicyTopicEntry = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v20.common.PolicyTopicEntry").msgclass
          PolicyTopicEvidence = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v20.common.PolicyTopicEvidence").msgclass
          PolicyTopicEvidence::TextList = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v20.common.PolicyTopicEvidence.TextList").msgclass
          PolicyTopicEvidence::WebsiteList = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v20.common.PolicyTopicEvidence.WebsiteList").msgclass
          PolicyTopicEvidence::DestinationTextList = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v20.common.PolicyTopicEvidence.DestinationTextList").msgclass
          PolicyTopicEvidence::DestinationMismatch = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v20.common.PolicyTopicEvidence.DestinationMismatch").msgclass
          PolicyTopicEvidence::DestinationNotWorking = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v20.common.PolicyTopicEvidence.DestinationNotWorking").msgclass
          PolicyTopicConstraint = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v20.common.PolicyTopicConstraint").msgclass
          PolicyTopicConstraint::CountryConstraintList = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v20.common.PolicyTopicConstraint.CountryConstraintList").msgclass
          PolicyTopicConstraint::ResellerConstraint = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v20.common.PolicyTopicConstraint.ResellerConstraint").msgclass
          PolicyTopicConstraint::CountryConstraint = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v20.common.PolicyTopicConstraint.CountryConstraint").msgclass
        end
      end
    end
  end
end
