• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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.admanager.v1;
18
19option csharp_namespace = "Google.Ads.AdManager.V1";
20option go_package = "google.golang.org/genproto/googleapis/ads/admanager/v1;admanager";
21option java_multiple_files = true;
22option java_outer_classname = "CustomTargetingKeyEnumsProto";
23option java_package = "com.google.ads.admanager.v1";
24option objc_class_prefix = "GAA";
25option php_namespace = "Google\\Ads\\AdManager\\V1";
26
27// Wrapper message for
28// [CustomTargetingKeyStatus][google.ads.admanager.v1.CustomTargetingKeyStatusEnum.CustomTargetingKeyStatus]
29message CustomTargetingKeyStatusEnum {
30  // Status of the custom targeting key.
31  enum CustomTargetingKeyStatus {
32    // Not specified value.
33    CUSTOM_TARGETING_KEY_STATUS_UNSPECIFIED = 0;
34
35    // Custom targeting key is active.
36    ACTIVE = 1;
37
38    // Custom targeting key is inactive.
39    INACTIVE = 2;
40  }
41}
42
43// Wrapper message for
44// [CustomTargetingKeyType][google.ads.admanager.v1.CustomTargetingKeyTypeEnum.CustomTargetingKeyType]
45message CustomTargetingKeyTypeEnum {
46  // Type of the custom targeting key.
47  enum CustomTargetingKeyType {
48    // Not specified value.
49    CUSTOM_TARGETING_KEY_TYPE_UNSPECIFIED = 0;
50
51    // Key with a fixed set of values.
52    PREDEFINED = 1;
53
54    // Key without a fixed set of values
55    FREEFORM = 2;
56  }
57}
58
59// Wrapper message for
60// [CustomTargetingKeyReportableType][google.ads.admanager.v1.CustomTargetingKeyReportableTypeEnum.CustomTargetingKeyReportableType]
61message CustomTargetingKeyReportableTypeEnum {
62  // Reportable type of the custom targeting key.
63  enum CustomTargetingKeyReportableType {
64    // Not specified value.
65    CUSTOM_TARGETING_KEY_REPORTABLE_TYPE_UNSPECIFIED = 0;
66
67    // Not available for reporting in the Ad Manager query tool.
68    OFF = 1;
69
70    // Available for reporting in the Ad Manager query tool.
71    ON = 2;
72
73    // Custom dimension available for reporting in the AdManager query tool.
74    CUSTOM_DIMENSION = 3;
75  }
76}
77