# Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/ads/google_ads/v2/common/policy.proto require 'google/protobuf' require 'google/ads/google_ads/v2/enums/policy_topic_entry_type_pb' require 'google/ads/google_ads/v2/enums/policy_topic_evidence_destination_mismatch_url_type_pb' require 'google/ads/google_ads/v2/enums/policy_topic_evidence_destination_not_working_device_pb' require 'google/ads/google_ads/v2/enums/policy_topic_evidence_destination_not_working_dns_error_type_pb' require 'google/protobuf/wrappers_pb' require 'google/api/annotations_pb' Google::Protobuf::DescriptorPool.generated_pool.build do add_message "google.ads.googleads.v2.common.PolicyViolationKey" do optional :policy_name, :message, 1, "google.protobuf.StringValue" optional :violating_text, :message, 2, "google.protobuf.StringValue" end add_message "google.ads.googleads.v2.common.PolicyValidationParameter" do repeated :ignorable_policy_topics, :message, 1, "google.protobuf.StringValue" repeated :exempt_policy_violation_keys, :message, 2, "google.ads.googleads.v2.common.PolicyViolationKey" end add_message "google.ads.googleads.v2.common.PolicyTopicEntry" do optional :topic, :message, 1, "google.protobuf.StringValue" optional :type, :enum, 2, "google.ads.googleads.v2.enums.PolicyTopicEntryTypeEnum.PolicyTopicEntryType" repeated :evidences, :message, 3, "google.ads.googleads.v2.common.PolicyTopicEvidence" repeated :constraints, :message, 4, "google.ads.googleads.v2.common.PolicyTopicConstraint" end add_message "google.ads.googleads.v2.common.PolicyTopicEvidence" do oneof :value do optional :website_list, :message, 3, "google.ads.googleads.v2.common.PolicyTopicEvidence.WebsiteList" optional :text_list, :message, 4, "google.ads.googleads.v2.common.PolicyTopicEvidence.TextList" optional :language_code, :message, 5, "google.protobuf.StringValue" optional :destination_text_list, :message, 6, "google.ads.googleads.v2.common.PolicyTopicEvidence.DestinationTextList" optional :destination_mismatch, :message, 7, "google.ads.googleads.v2.common.PolicyTopicEvidence.DestinationMismatch" optional :destination_not_working, :message, 8, "google.ads.googleads.v2.common.PolicyTopicEvidence.DestinationNotWorking" end end add_message "google.ads.googleads.v2.common.PolicyTopicEvidence.TextList" do repeated :texts, :message, 1, "google.protobuf.StringValue" end add_message "google.ads.googleads.v2.common.PolicyTopicEvidence.WebsiteList" do repeated :websites, :message, 1, "google.protobuf.StringValue" end add_message "google.ads.googleads.v2.common.PolicyTopicEvidence.DestinationTextList" do repeated :destination_texts, :message, 1, "google.protobuf.StringValue" end add_message "google.ads.googleads.v2.common.PolicyTopicEvidence.DestinationMismatch" do repeated :url_types, :enum, 1, "google.ads.googleads.v2.enums.PolicyTopicEvidenceDestinationMismatchUrlTypeEnum.PolicyTopicEvidenceDestinationMismatchUrlType" end add_message "google.ads.googleads.v2.common.PolicyTopicEvidence.DestinationNotWorking" do optional :expanded_url, :message, 3, "google.protobuf.StringValue" optional :device, :enum, 4, "google.ads.googleads.v2.enums.PolicyTopicEvidenceDestinationNotWorkingDeviceEnum.PolicyTopicEvidenceDestinationNotWorkingDevice" optional :last_checked_date_time, :message, 5, "google.protobuf.StringValue" oneof :reason do optional :dns_error_type, :enum, 1, "google.ads.googleads.v2.enums.PolicyTopicEvidenceDestinationNotWorkingDnsErrorTypeEnum.PolicyTopicEvidenceDestinationNotWorkingDnsErrorType" optional :http_error_code, :message, 2, "google.protobuf.Int64Value" end end add_message "google.ads.googleads.v2.common.PolicyTopicConstraint" do oneof :value do optional :country_constraint_list, :message, 1, "google.ads.googleads.v2.common.PolicyTopicConstraint.CountryConstraintList" optional :reseller_constraint, :message, 2, "google.ads.googleads.v2.common.PolicyTopicConstraint.ResellerConstraint" optional :certificate_missing_in_country_list, :message, 3, "google.ads.googleads.v2.common.PolicyTopicConstraint.CountryConstraintList" optional :certificate_domain_mismatch_in_country_list, :message, 4, "google.ads.googleads.v2.common.PolicyTopicConstraint.CountryConstraintList" end end add_message "google.ads.googleads.v2.common.PolicyTopicConstraint.CountryConstraintList" do optional :total_targeted_countries, :message, 1, "google.protobuf.Int32Value" repeated :countries, :message, 2, "google.ads.googleads.v2.common.PolicyTopicConstraint.CountryConstraint" end add_message "google.ads.googleads.v2.common.PolicyTopicConstraint.ResellerConstraint" do end add_message "google.ads.googleads.v2.common.PolicyTopicConstraint.CountryConstraint" do optional :country_criterion, :message, 1, "google.protobuf.StringValue" end end module Google::Ads::GoogleAds::V2::Common PolicyViolationKey = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v2.common.PolicyViolationKey").msgclass PolicyValidationParameter = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v2.common.PolicyValidationParameter").msgclass PolicyTopicEntry = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v2.common.PolicyTopicEntry").msgclass PolicyTopicEvidence = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v2.common.PolicyTopicEvidence").msgclass PolicyTopicEvidence::TextList = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v2.common.PolicyTopicEvidence.TextList").msgclass PolicyTopicEvidence::WebsiteList = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v2.common.PolicyTopicEvidence.WebsiteList").msgclass PolicyTopicEvidence::DestinationTextList = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v2.common.PolicyTopicEvidence.DestinationTextList").msgclass PolicyTopicEvidence::DestinationMismatch = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v2.common.PolicyTopicEvidence.DestinationMismatch").msgclass PolicyTopicEvidence::DestinationNotWorking = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v2.common.PolicyTopicEvidence.DestinationNotWorking").msgclass PolicyTopicConstraint = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v2.common.PolicyTopicConstraint").msgclass PolicyTopicConstraint::CountryConstraintList = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v2.common.PolicyTopicConstraint.CountryConstraintList").msgclass PolicyTopicConstraint::ResellerConstraint = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v2.common.PolicyTopicConstraint.ResellerConstraint").msgclass PolicyTopicConstraint::CountryConstraint = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v2.common.PolicyTopicConstraint.CountryConstraint").msgclass end