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/common/criteria.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 = "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";
32 // Proto file describing the Campaign Bid Modifier resource.
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:
39 // `customers/{customer_id}/campaignBidModifiers/{campaign_id}_{criterion_id}`
40 string resource_name = 1;
42 // The campaign to which this criterion belongs.
43 google.protobuf.StringValue campaign = 2;
45 // The ID of the criterion to bid modify.
47 // This field is ignored for mutates.
48 google.protobuf.Int64Value criterion_id = 3;
50 // The modifier for the bid when the criterion matches.
51 google.protobuf.DoubleValue bid_modifier = 4;
53 // The criterion of this campaign bid modifier.
55 // Criterion for interaction type. Only supported for search campaigns.
56 google.ads.googleads.v0.common.InteractionTypeInfo interaction_type = 5;