# frozen_string_literal: true

# Copyright 2024 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

# Auto-generated by gapic-generator-ruby. DO NOT EDIT!


module Google
  module Ads
    module AdManager
      module V1
        # The `CustomTargetingValue` resource.
        # @!attribute [rw] name
        #   @return [::String]
        #     Identifier. The resource name of the `CustomTargetingValue`.
        #     Format:
        #     `networks/{network_code}/customTargetingValues/{custom_targeting_value_id}`
        # @!attribute [rw] custom_targeting_key
        #   @return [::String]
        #     Required. Immutable. The resource name of the `CustomTargetingKey`.
        #     Format:
        #     `networks/{network_code}/customTargetingKeys/{custom_targeting_key_id}`
        # @!attribute [rw] ad_tag_name
        #   @return [::String]
        #     Immutable. Name of the `CustomTargetingValue`. Values can contain up to 40
        #     characters each. You can use alphanumeric characters and symbols other than
        #     the following: ", ', =, !, +, #, *, ~, ;, ^, (, ), <, >, [, ]. Values are
        #     not data-specific; all values are treated as strings. For example, instead
        #     of using "age>=18 AND <=34", try "18-34"
        # @!attribute [rw] display_name
        #   @return [::String]
        #     Optional. Descriptive name for the `CustomTargetingValue`.
        # @!attribute [rw] match_type
        #   @return [::Google::Ads::AdManager::V1::CustomTargetingValueMatchTypeEnum::CustomTargetingValueMatchType]
        #     Required. Immutable. The way in which the CustomTargetingValue.name strings
        #     will be matched.
        # @!attribute [r] status
        #   @return [::Google::Ads::AdManager::V1::CustomTargetingValueStatusEnum::CustomTargetingValueStatus]
        #     Output only. Status of the `CustomTargetingValue`.
        class CustomTargetingValue
          include ::Google::Protobuf::MessageExts
          extend ::Google::Protobuf::MessageExts::ClassMethods
        end
      end
    end
  end
end
