ad_group_bid_modifier.proto 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. // Copyright 2022 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. syntax = "proto3";
  15. package google.ads.searchads360.v0.resources;
  16. import "google/api/field_behavior.proto";
  17. import "google/api/resource.proto";
  18. option csharp_namespace = "Google.Ads.SearchAds360.V0.Resources";
  19. option go_package = "google.golang.org/genproto/googleapis/ads/searchads360/v0/resources;resources";
  20. option java_multiple_files = true;
  21. option java_outer_classname = "AdGroupBidModifierProto";
  22. option java_package = "com.google.ads.searchads360.v0.resources";
  23. option objc_class_prefix = "GASA360";
  24. option php_namespace = "Google\\Ads\\SearchAds360\\V0\\Resources";
  25. option ruby_package = "Google::Ads::SearchAds360::V0::Resources";
  26. // Proto file describing the ad group bid modifier resource.
  27. // Represents an ad group bid modifier.
  28. message AdGroupBidModifier {
  29. option (google.api.resource) = {
  30. type: "searchads360.googleapis.com/AdGroupBidModifier"
  31. pattern: "customers/{customer_id}/adGroupBidModifiers/{ad_group_id}~{criterion_id}"
  32. };
  33. // Immutable. The resource name of the ad group bid modifier.
  34. // Ad group bid modifier resource names have the form:
  35. //
  36. // `customers/{customer_id}/adGroupBidModifiers/{ad_group_id}~{criterion_id}`
  37. string resource_name = 1 [
  38. (google.api.field_behavior) = IMMUTABLE,
  39. (google.api.resource_reference) = {
  40. type: "searchads360.googleapis.com/AdGroupBidModifier"
  41. }
  42. ];
  43. // The modifier for the bid when the criterion matches. The modifier must be
  44. // in the range: 0.1 - 10.0. The range is 1.0 - 6.0 for PreferredContent.
  45. // Use 0 to opt out of a Device type.
  46. optional double bid_modifier = 15;
  47. }