simulation.proto 7.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235
  1. // Copyright 2021 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.v6.common;
  16. import "google/api/annotations.proto";
  17. option csharp_namespace = "Google.Ads.GoogleAds.V6.Common";
  18. option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v6/common;common";
  19. option java_multiple_files = true;
  20. option java_outer_classname = "SimulationProto";
  21. option java_package = "com.google.ads.googleads.v6.common";
  22. option objc_class_prefix = "GAA";
  23. option php_namespace = "Google\\Ads\\GoogleAds\\V6\\Common";
  24. option ruby_package = "Google::Ads::GoogleAds::V6::Common";
  25. // Proto file describing simulation points.
  26. // A container for simulation points for simulations of type BID_MODIFIER.
  27. message BidModifierSimulationPointList {
  28. // Projected metrics for a series of bid modifier amounts.
  29. repeated BidModifierSimulationPoint points = 1;
  30. }
  31. // A container for simulation points for simulations of type CPC_BID.
  32. message CpcBidSimulationPointList {
  33. // Projected metrics for a series of CPC bid amounts.
  34. repeated CpcBidSimulationPoint points = 1;
  35. }
  36. // A container for simulation points for simulations of type CPV_BID.
  37. message CpvBidSimulationPointList {
  38. // Projected metrics for a series of CPV bid amounts.
  39. repeated CpvBidSimulationPoint points = 1;
  40. }
  41. // A container for simulation points for simulations of type TARGET_CPA.
  42. message TargetCpaSimulationPointList {
  43. // Projected metrics for a series of target CPA amounts.
  44. repeated TargetCpaSimulationPoint points = 1;
  45. }
  46. // A container for simulation points for simulations of type TARGET_ROAS.
  47. message TargetRoasSimulationPointList {
  48. // Projected metrics for a series of target ROAS amounts.
  49. repeated TargetRoasSimulationPoint points = 1;
  50. }
  51. // A container for simulation points for simulations of type PERCENT_CPC_BID.
  52. message PercentCpcBidSimulationPointList {
  53. // Projected metrics for a series of percent CPC bid amounts.
  54. repeated PercentCpcBidSimulationPoint points = 1;
  55. }
  56. // Projected metrics for a specific bid modifier amount.
  57. message BidModifierSimulationPoint {
  58. // The simulated bid modifier upon which projected metrics are based.
  59. optional double bid_modifier = 15;
  60. // Projected number of biddable conversions.
  61. // Only search advertising channel type supports this field.
  62. optional double biddable_conversions = 16;
  63. // Projected total value of biddable conversions.
  64. // Only search advertising channel type supports this field.
  65. optional double biddable_conversions_value = 17;
  66. // Projected number of clicks.
  67. optional int64 clicks = 18;
  68. // Projected cost in micros.
  69. optional int64 cost_micros = 19;
  70. // Projected number of impressions.
  71. optional int64 impressions = 20;
  72. // Projected number of top slot impressions.
  73. // Only search advertising channel type supports this field.
  74. optional int64 top_slot_impressions = 21;
  75. // Projected number of biddable conversions for the parent resource.
  76. // Only search advertising channel type supports this field.
  77. optional double parent_biddable_conversions = 22;
  78. // Projected total value of biddable conversions for the parent resource.
  79. // Only search advertising channel type supports this field.
  80. optional double parent_biddable_conversions_value = 23;
  81. // Projected number of clicks for the parent resource.
  82. optional int64 parent_clicks = 24;
  83. // Projected cost in micros for the parent resource.
  84. optional int64 parent_cost_micros = 25;
  85. // Projected number of impressions for the parent resource.
  86. optional int64 parent_impressions = 26;
  87. // Projected number of top slot impressions for the parent resource.
  88. // Only search advertising channel type supports this field.
  89. optional int64 parent_top_slot_impressions = 27;
  90. // Projected minimum daily budget that must be available to the parent
  91. // resource to realize this simulation.
  92. optional int64 parent_required_budget_micros = 28;
  93. }
  94. // Projected metrics for a specific CPC bid amount.
  95. message CpcBidSimulationPoint {
  96. // The simulated CPC bid upon which projected metrics are based.
  97. optional int64 cpc_bid_micros = 8;
  98. // Projected number of biddable conversions.
  99. optional double biddable_conversions = 9;
  100. // Projected total value of biddable conversions.
  101. optional double biddable_conversions_value = 10;
  102. // Projected number of clicks.
  103. optional int64 clicks = 11;
  104. // Projected cost in micros.
  105. optional int64 cost_micros = 12;
  106. // Projected number of impressions.
  107. optional int64 impressions = 13;
  108. // Projected number of top slot impressions.
  109. // Only search advertising channel type supports this field.
  110. optional int64 top_slot_impressions = 14;
  111. }
  112. // Projected metrics for a specific CPV bid amount.
  113. message CpvBidSimulationPoint {
  114. // The simulated CPV bid upon which projected metrics are based.
  115. optional int64 cpv_bid_micros = 5;
  116. // Projected cost in micros.
  117. optional int64 cost_micros = 6;
  118. // Projected number of impressions.
  119. optional int64 impressions = 7;
  120. // Projected number of views.
  121. optional int64 views = 8;
  122. }
  123. // Projected metrics for a specific target CPA amount.
  124. message TargetCpaSimulationPoint {
  125. // The simulated target CPA upon which projected metrics are based.
  126. optional int64 target_cpa_micros = 8;
  127. // Projected number of biddable conversions.
  128. optional double biddable_conversions = 9;
  129. // Projected total value of biddable conversions.
  130. optional double biddable_conversions_value = 10;
  131. // Projected number of clicks.
  132. optional int64 clicks = 11;
  133. // Projected cost in micros.
  134. optional int64 cost_micros = 12;
  135. // Projected number of impressions.
  136. optional int64 impressions = 13;
  137. // Projected number of top slot impressions.
  138. // Only search advertising channel type supports this field.
  139. optional int64 top_slot_impressions = 14;
  140. }
  141. // Projected metrics for a specific target ROAS amount.
  142. message TargetRoasSimulationPoint {
  143. // The simulated target ROAS upon which projected metrics are based.
  144. optional double target_roas = 8;
  145. // Projected number of biddable conversions.
  146. optional double biddable_conversions = 9;
  147. // Projected total value of biddable conversions.
  148. optional double biddable_conversions_value = 10;
  149. // Projected number of clicks.
  150. optional int64 clicks = 11;
  151. // Projected cost in micros.
  152. optional int64 cost_micros = 12;
  153. // Projected number of impressions.
  154. optional int64 impressions = 13;
  155. // Projected number of top slot impressions.
  156. // Only Search advertising channel type supports this field.
  157. optional int64 top_slot_impressions = 14;
  158. }
  159. // Projected metrics for a specific percent CPC amount. Only Hotel advertising
  160. // channel type supports this field.
  161. message PercentCpcBidSimulationPoint {
  162. // The simulated percent CPC upon which projected metrics are based. Percent
  163. // CPC expressed as fraction of the advertised price for some good or service.
  164. // The value stored here is 1,000,000 * [fraction].
  165. optional int64 percent_cpc_bid_micros = 1;
  166. // Projected number of biddable conversions.
  167. optional double biddable_conversions = 2;
  168. // Projected total value of biddable conversions in local currency.
  169. optional double biddable_conversions_value = 3;
  170. // Projected number of clicks.
  171. optional int64 clicks = 4;
  172. // Projected cost in micros.
  173. optional int64 cost_micros = 5;
  174. // Projected number of impressions.
  175. optional int64 impressions = 6;
  176. // Projected number of top slot impressions.
  177. optional int64 top_slot_impressions = 7;
  178. }