accessible_bidding_strategy.proto 8.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171
  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.googleads.v12.resources;
  16. import "google/ads/googleads/v12/enums/bidding_strategy_type.proto";
  17. import "google/ads/googleads/v12/enums/target_impression_share_location.proto";
  18. import "google/api/field_behavior.proto";
  19. import "google/api/resource.proto";
  20. option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources";
  21. option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources";
  22. option java_multiple_files = true;
  23. option java_outer_classname = "AccessibleBiddingStrategyProto";
  24. option java_package = "com.google.ads.googleads.v12.resources";
  25. option objc_class_prefix = "GAA";
  26. option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources";
  27. option ruby_package = "Google::Ads::GoogleAds::V12::Resources";
  28. // Represents a view of BiddingStrategies owned by and shared with the customer.
  29. //
  30. // In contrast to BiddingStrategy, this resource includes strategies owned by
  31. // managers of the customer and shared with this customer - in addition to
  32. // strategies owned by this customer. This resource does not provide metrics and
  33. // only exposes a limited subset of the BiddingStrategy attributes.
  34. message AccessibleBiddingStrategy {
  35. option (google.api.resource) = {
  36. type: "googleads.googleapis.com/AccessibleBiddingStrategy"
  37. pattern: "customers/{customer_id}/accessibleBiddingStrategies/{bidding_strategy_id}"
  38. };
  39. // An automated bidding strategy to help get the most conversion value for
  40. // your campaigns while spending your budget.
  41. message MaximizeConversionValue {
  42. // Output only. The target return on ad spend (ROAS) option. If set, the bid strategy
  43. // will maximize revenue while averaging the target return on ad spend. If
  44. // the target ROAS is high, the bid strategy may not be able to spend the
  45. // full budget. If the target ROAS is not set, the bid strategy will aim to
  46. // achieve the highest possible ROAS for the budget.
  47. double target_roas = 1 [(google.api.field_behavior) = OUTPUT_ONLY];
  48. }
  49. // An automated bidding strategy to help get the most conversions for your
  50. // campaigns while spending your budget.
  51. message MaximizeConversions {
  52. // Output only. The target cost per acquisition (CPA) option. This is the average amount
  53. // that you would like to spend per acquisition.
  54. int64 target_cpa_micros = 2 [(google.api.field_behavior) = OUTPUT_ONLY];
  55. }
  56. // An automated bid strategy that sets bids to help get as many conversions as
  57. // possible at the target cost-per-acquisition (CPA) you set.
  58. message TargetCpa {
  59. // Output only. Average CPA target.
  60. // This target should be greater than or equal to minimum billable unit
  61. // based on the currency for the account.
  62. optional int64 target_cpa_micros = 1 [(google.api.field_behavior) = OUTPUT_ONLY];
  63. }
  64. // An automated bidding strategy that sets bids so that a certain percentage
  65. // of search ads are shown at the top of the first page (or other targeted
  66. // location).
  67. message TargetImpressionShare {
  68. // Output only. The targeted location on the search results page.
  69. google.ads.googleads.v12.enums.TargetImpressionShareLocationEnum.TargetImpressionShareLocation location = 1 [(google.api.field_behavior) = OUTPUT_ONLY];
  70. // The chosen fraction of ads to be shown in the targeted location in
  71. // micros. For example, 1% equals 10,000.
  72. optional int64 location_fraction_micros = 2;
  73. // Output only. The highest CPC bid the automated bidding system is permitted to specify.
  74. // This is a required field entered by the advertiser that sets the ceiling
  75. // and specified in local micros.
  76. optional int64 cpc_bid_ceiling_micros = 3 [(google.api.field_behavior) = OUTPUT_ONLY];
  77. }
  78. // An automated bidding strategy that helps you maximize revenue while
  79. // averaging a specific target return on ad spend (ROAS).
  80. message TargetRoas {
  81. // Output only. The chosen revenue (based on conversion data) per unit of spend.
  82. optional double target_roas = 1 [(google.api.field_behavior) = OUTPUT_ONLY];
  83. }
  84. // An automated bid strategy that sets your bids to help get as many clicks
  85. // as possible within your budget.
  86. message TargetSpend {
  87. // Output only. The spend target under which to maximize clicks.
  88. // A TargetSpend bidder will attempt to spend the smaller of this value
  89. // or the natural throttling spend amount.
  90. // If not specified, the budget is used as the spend target.
  91. // This field is deprecated and should no longer be used. See
  92. // https://ads-developers.googleblog.com/2020/05/reminder-about-sunset-creation-of.html
  93. // for details.
  94. optional int64 target_spend_micros = 1 [
  95. deprecated = true,
  96. (google.api.field_behavior) = OUTPUT_ONLY
  97. ];
  98. // Output only. Maximum bid limit that can be set by the bid strategy.
  99. // The limit applies to all keywords managed by the strategy.
  100. optional int64 cpc_bid_ceiling_micros = 2 [(google.api.field_behavior) = OUTPUT_ONLY];
  101. }
  102. // Output only. The resource name of the accessible bidding strategy.
  103. // AccessibleBiddingStrategy resource names have the form:
  104. //
  105. // `customers/{customer_id}/accessibleBiddingStrategies/{bidding_strategy_id}`
  106. string resource_name = 1 [
  107. (google.api.field_behavior) = OUTPUT_ONLY,
  108. (google.api.resource_reference) = {
  109. type: "googleads.googleapis.com/AccessibleBiddingStrategy"
  110. }
  111. ];
  112. // Output only. The ID of the bidding strategy.
  113. int64 id = 2 [(google.api.field_behavior) = OUTPUT_ONLY];
  114. // Output only. The name of the bidding strategy.
  115. string name = 3 [(google.api.field_behavior) = OUTPUT_ONLY];
  116. // Output only. The type of the bidding strategy.
  117. google.ads.googleads.v12.enums.BiddingStrategyTypeEnum.BiddingStrategyType type = 4 [(google.api.field_behavior) = OUTPUT_ONLY];
  118. // Output only. The ID of the Customer which owns the bidding strategy.
  119. int64 owner_customer_id = 5 [(google.api.field_behavior) = OUTPUT_ONLY];
  120. // Output only. descriptive_name of the Customer which owns the bidding strategy.
  121. string owner_descriptive_name = 6 [(google.api.field_behavior) = OUTPUT_ONLY];
  122. // The bidding scheme.
  123. //
  124. // Only one can be set.
  125. oneof scheme {
  126. // Output only. An automated bidding strategy to help get the most conversion value for
  127. // your campaigns while spending your budget.
  128. MaximizeConversionValue maximize_conversion_value = 7 [(google.api.field_behavior) = OUTPUT_ONLY];
  129. // Output only. An automated bidding strategy to help get the most conversions for your
  130. // campaigns while spending your budget.
  131. MaximizeConversions maximize_conversions = 8 [(google.api.field_behavior) = OUTPUT_ONLY];
  132. // Output only. A bidding strategy that sets bids to help get as many conversions as
  133. // possible at the target cost-per-acquisition (CPA) you set.
  134. TargetCpa target_cpa = 9 [(google.api.field_behavior) = OUTPUT_ONLY];
  135. // Output only. A bidding strategy that automatically optimizes towards a chosen
  136. // percentage of impressions.
  137. TargetImpressionShare target_impression_share = 10 [(google.api.field_behavior) = OUTPUT_ONLY];
  138. // Output only. A bidding strategy that helps you maximize revenue while averaging a
  139. // specific target Return On Ad Spend (ROAS).
  140. TargetRoas target_roas = 11 [(google.api.field_behavior) = OUTPUT_ONLY];
  141. // Output only. A bid strategy that sets your bids to help get as many clicks as
  142. // possible within your budget.
  143. TargetSpend target_spend = 12 [(google.api.field_behavior) = OUTPUT_ONLY];
  144. }
  145. }