Built motion from commit 44377920.|2.6.11
[motion2.git] / legacy-libs / google-proto-files / google / ads / googleads / v1 / resources / domain_category.proto
1 // Copyright 2019 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 //
15
16 syntax = "proto3";
17
18 package google.ads.googleads.v1.resources;
19
20 import "google/protobuf/wrappers.proto";
21 import "google/api/annotations.proto";
22
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 = "DomainCategoryProto";
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 Domain Category resource.
32
33 // A category generated automatically by crawling a domain. If a campaign uses
34 // the DynamicSearchAdsSetting, then domain categories will be generated for
35 // the domain. The categories can be targeted using WebpageConditionInfo.
36 // See: https://support.google.com/google-ads/answer/2471185
37 message DomainCategory {
38   // The resource name of the domain category.
39   // Domain category resource names have the form:
40   //
41   //
42   // `customers/{customer_id}/domainCategories/{campaign_id}~{category_base64}~{language_code}`
43   string resource_name = 1;
44
45   // The campaign this category is recommended for.
46   google.protobuf.StringValue campaign = 2;
47
48   // Recommended category for the website domain. e.g. if you have a website
49   // about electronics, the categories could be "cameras", "televisions", etc.
50   google.protobuf.StringValue category = 3;
51
52   // The language code specifying the language of the website. e.g. "en" for
53   // English. The language can be specified in the DynamicSearchAdsSetting
54   // required for dynamic search ads. This is the language of the pages from
55   // your website that you want Google Ads to find, create ads for,
56   // and match searches with.
57   google.protobuf.StringValue language_code = 4;
58
59   // The domain for the website. The domain can be specified in the
60   // DynamicSearchAdsSetting required for dynamic search ads.
61   google.protobuf.StringValue domain = 5;
62
63   // Fraction of pages on your site that this category matches.
64   google.protobuf.DoubleValue coverage_fraction = 6;
65
66   // The position of this category in the set of categories. Lower numbers
67   // indicate a better match for the domain. null indicates not recommended.
68   google.protobuf.Int64Value category_rank = 7;
69
70   // Indicates whether this category has sub-categories.
71   google.protobuf.BoolValue has_children = 8;
72
73   // The recommended cost per click for the category.
74   google.protobuf.Int64Value recommended_cpc_bid_micros = 9;
75 }