xref: /aosp_15_r20/external/googleapis/google/ads/googleads/v16/enums/targeting_dimension.proto (revision d5c09012810ac0c9f33fe448fb6da8260d444cc9)
1// Copyright 2023 Google LLC
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7//     http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
15syntax = "proto3";
16
17package google.ads.googleads.v16.enums;
18
19option csharp_namespace = "Google.Ads.GoogleAds.V16.Enums";
20option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v16/enums;enums";
21option java_multiple_files = true;
22option java_outer_classname = "TargetingDimensionProto";
23option java_package = "com.google.ads.googleads.v16.enums";
24option objc_class_prefix = "GAA";
25option php_namespace = "Google\\Ads\\GoogleAds\\V16\\Enums";
26option ruby_package = "Google::Ads::GoogleAds::V16::Enums";
27
28// Proto file describing criteria types.
29
30// The dimensions that can be targeted.
31message TargetingDimensionEnum {
32  // Enum describing possible targeting dimensions.
33  enum TargetingDimension {
34    // Not specified.
35    UNSPECIFIED = 0;
36
37    // Used for return value only. Represents value unknown in this version.
38    UNKNOWN = 1;
39
40    // Keyword criteria, for example, 'mars cruise'. KEYWORD may be used as a
41    // custom bid dimension. Keywords are always a targeting dimension, so may
42    // not be set as a target "ALL" dimension with TargetRestriction.
43    KEYWORD = 2;
44
45    // Audience criteria, which include user list, user interest, custom
46    // affinity,  and custom in market.
47    AUDIENCE = 3;
48
49    // Topic criteria for targeting categories of content, for example,
50    // 'category::Animals>Pets' Used for Display and Video targeting.
51    TOPIC = 4;
52
53    // Criteria for targeting gender.
54    GENDER = 5;
55
56    // Criteria for targeting age ranges.
57    AGE_RANGE = 6;
58
59    // Placement criteria, which include websites like 'www.flowers4sale.com',
60    // as well as mobile applications, mobile app categories, YouTube videos,
61    // and YouTube channels.
62    PLACEMENT = 7;
63
64    // Criteria for parental status targeting.
65    PARENTAL_STATUS = 8;
66
67    // Criteria for income range targeting.
68    INCOME_RANGE = 9;
69  }
70}
71