1 // Copyright 2019 Google LLC.
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
7 // http://www.apache.org/licenses/LICENSE-2.0
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.
18 package google.ads.googleads.v1.resources;
20 import "google/protobuf/wrappers.proto";
21 import "google/api/annotations.proto";
23 option csharp_namespace = "Google.Ads.GoogleAds.V1.Resources";
24 option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v1/resources;resources";
25 option java_multiple_files = true;
26 option java_outer_classname = "TopicConstantProto";
27 option java_package = "com.google.ads.googleads.v1.resources";
28 option objc_class_prefix = "GAA";
29 option php_namespace = "Google\\Ads\\GoogleAds\\V1\\Resources";
30 option ruby_package = "Google::Ads::GoogleAds::V1::Resources";
31 // Proto file describing the Topic Constant resource.
33 // Use topics to target or exclude placements in the Google Display Network
34 // based on the category into which the placement falls (for example,
35 // "Pets & Animals/Pets/Dogs").
36 message TopicConstant {
37 // The resource name of the topic constant.
38 // topic constant resource names have the form:
40 // `topicConstants/{topic_id}`
41 string resource_name = 1;
43 // The ID of the topic.
44 google.protobuf.Int64Value id = 2;
46 // Resource name of parent of the topic constant.
47 google.protobuf.StringValue topic_constant_parent = 3;
49 // The category to target or exclude. Each subsequent element in the array
50 // describes a more specific sub-category. For example,
51 // {"Pets & Animals", "Pets", "Dogs"} represents the
52 // "Pets & Animals/Pets/Dogs" category. A complete list of available topic
53 // categories is available
55 // href="https://developers.google.com/adwords/api/docs/appendix/verticals">
57 repeated google.protobuf.StringValue path = 4;