Built motion from commit 44377920.|2.6.11
[motion2.git] / legacy-libs / google-proto-files / google / ads / googleads / v0 / resources / keyword_plan_campaign.proto
1 // Copyright 2018 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.v0.resources;
19
20 import "google/ads/googleads/v0/enums/keyword_plan_network.proto";
21 import "google/protobuf/wrappers.proto";
22
23 option csharp_namespace = "Google.Ads.GoogleAds.V0.Resources";
24 option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v0/resources;resources";
25 option java_multiple_files = true;
26 option java_outer_classname = "KeywordPlanCampaignProto";
27 option java_package = "com.google.ads.googleads.v0.resources";
28 option objc_class_prefix = "GAA";
29 option php_namespace = "Google\\Ads\\GoogleAds\\V0\\Resources";
30 option ruby_package = "Google::Ads::GoogleAds::V0::Resources";
31
32 // Proto file describing the keyword plan campaign resource.
33
34 // A Keyword Plan campaign.
35 // Max number of keyword plan campaigns per plan allowed: 1.
36 message KeywordPlanCampaign {
37   // The resource name of the Keyword Plan campaign.
38   // KeywordPlanCampaign resource names have the form:
39   //
40   // `customers/{customer_id}/keywordPlanCampaigns/{kp_campaign_id}`
41   string resource_name = 1;
42
43   // The keyword plan this campaign belongs to.
44   google.protobuf.StringValue keyword_plan = 2;
45
46   // The ID of the Keyword Plan campaign.
47   google.protobuf.Int64Value id = 3;
48
49   // The name of the Keyword Plan campaign.
50   //
51   // This field is required and should not be empty when creating Keyword Plan
52   // campaigns.
53   google.protobuf.StringValue name = 4;
54
55   // The languages targeted for the Keyword Plan campaign.
56   // Max allowed: 1.
57   repeated google.protobuf.StringValue language_constants = 5;
58
59   // Targeting network.
60   //
61   // This field is required and should not be empty when creating Keyword Plan
62   // campaigns.
63   google.ads.googleads.v0.enums.KeywordPlanNetworkEnum.KeywordPlanNetwork
64       keyword_plan_network = 6;
65
66   // A default max cpc bid in micros, and in the account currency, for all ad
67   // groups under the campaign.
68   //
69   // This field is required and should not be empty when creating Keyword Plan
70   // campaigns.
71   google.protobuf.Int64Value cpc_bid_micros = 7;
72
73   // The geo targets.
74   // Max number allowed: 20.
75   repeated KeywordPlanGeoTarget geo_targets = 8;
76 }
77
78 // A geo target.
79 // Next ID: 3
80 message KeywordPlanGeoTarget {
81   // Required. The resource name of the geo target.
82   google.protobuf.StringValue geo_target_constant = 1;
83 }