Built motion from commit 44377920.|2.6.11
[motion2.git] / legacy-libs / google-proto-files / google / ads / googleads / v0 / resources / campaign_bid_modifier.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/common/criteria.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 = "CampaignBidModifierProto";
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 Campaign Bid Modifier resource.
33
34 // Represents a bid-modifiable only criterion at the campaign level.
35 message CampaignBidModifier {
36   // The resource name of the campaign bid modifier.
37   // Campaign bid modifier resource names have the form:
38   //
39   // `customers/{customer_id}/campaignBidModifiers/{campaign_id}_{criterion_id}`
40   string resource_name = 1;
41
42   // The campaign to which this criterion belongs.
43   google.protobuf.StringValue campaign = 2;
44
45   // The ID of the criterion to bid modify.
46   //
47   // This field is ignored for mutates.
48   google.protobuf.Int64Value criterion_id = 3;
49
50   // The modifier for the bid when the criterion matches.
51   google.protobuf.DoubleValue bid_modifier = 4;
52
53   // The criterion of this campaign bid modifier.
54   oneof criterion {
55     // Criterion for interaction type. Only supported for search campaigns.
56     google.ads.googleads.v0.common.InteractionTypeInfo interaction_type = 5;
57   }
58 }