1 // Copyright 2018 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.v0.resources;
20 import "google/ads/googleads/v0/enums/keyword_plan_network.proto";
21 import "google/protobuf/wrappers.proto";
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";
32 // Proto file describing the keyword plan campaign resource.
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:
40 // `customers/{customer_id}/keywordPlanCampaigns/{kp_campaign_id}`
41 string resource_name = 1;
43 // The keyword plan this campaign belongs to.
44 google.protobuf.StringValue keyword_plan = 2;
46 // The ID of the Keyword Plan campaign.
47 google.protobuf.Int64Value id = 3;
49 // The name of the Keyword Plan campaign.
51 // This field is required and should not be empty when creating Keyword Plan
53 google.protobuf.StringValue name = 4;
55 // The languages targeted for the Keyword Plan campaign.
57 repeated google.protobuf.StringValue language_constants = 5;
61 // This field is required and should not be empty when creating Keyword Plan
63 google.ads.googleads.v0.enums.KeywordPlanNetworkEnum.KeywordPlanNetwork
64 keyword_plan_network = 6;
66 // A default max cpc bid in micros, and in the account currency, for all ad
67 // groups under the campaign.
69 // This field is required and should not be empty when creating Keyword Plan
71 google.protobuf.Int64Value cpc_bid_micros = 7;
74 // Max number allowed: 20.
75 repeated KeywordPlanGeoTarget geo_targets = 8;
80 message KeywordPlanGeoTarget {
81 // Required. The resource name of the geo target.
82 google.protobuf.StringValue geo_target_constant = 1;