// Copyright 2026 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
//
//     http://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.

syntax = "proto3";

package google.ads.googleads.v23.enums;

option csharp_namespace = "Google.Ads.GoogleAds.V23.Enums";
option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v23/enums;enums";
option java_multiple_files = true;
option java_outer_classname = "SearchTermMatchSourceProto";
option java_package = "com.google.ads.googleads.v23.enums";
option objc_class_prefix = "GAA";
option php_namespace = "Google\\Ads\\GoogleAds\\V23\\Enums";
option ruby_package = "Google::Ads::GoogleAds::V23::Enums";

// Proto file describing search term match source.

// Container for enum describing the source for search term matches in the
// search term report.
message SearchTermMatchSourceEnum {
  // The search term match sources.
  enum SearchTermMatchSource {
    // Not specified.
    UNSPECIFIED = 0;

    // Used for return value only. Represents value unknown in this version.
    UNKNOWN = 1;

    // The match is from a user-provided keyword.
    ADVERTISER_PROVIDED_KEYWORD = 2;

    // The match is from the keywordless expansion portion of AI Max.
    AI_MAX_KEYWORDLESS = 3;

    // The match is from the broad match expansion portion of AI Max.
    AI_MAX_BROAD_MATCH = 4;

    // The match is from a Dynamic Search Ad.
    DYNAMIC_SEARCH_ADS = 5;

    // The match is from the search term matching functionality in PMax.
    PERFORMANCE_MAX = 6;

    // The match is from a vertical ads data feed (e.g. Travel Ads entity
    // targeting).
    VERTICAL_ADS_DATA_FEED = 7;
  }
}
