simulation.proto 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358
  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.v8.common;
  16. import "google/api/annotations.proto";
  17. option csharp_namespace = "Google.Ads.GoogleAds.V8.Common";
  18. option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v8/common;common";
  19. option java_multiple_files = true;
  20. option java_outer_classname = "SimulationProto";
  21. option java_package = "com.google.ads.googleads.v8.common";
  22. option objc_class_prefix = "GAA";
  23. option php_namespace = "Google\\Ads\\GoogleAds\\V8\\Common";
  24. option ruby_package = "Google::Ads::GoogleAds::V8::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. // A container for simulation points for simulations of type BUDGET.
  57. message BudgetSimulationPointList {
  58. // Projected metrics for a series of budget amounts.
  59. repeated BudgetSimulationPoint points = 1;
  60. }
  61. // A container for simulation points for simulations of type
  62. // TARGET_IMPRESSION_SHARE.
  63. message TargetImpressionShareSimulationPointList {
  64. // Projected metrics for a specific target impression share value.
  65. repeated TargetImpressionShareSimulationPoint points = 1;
  66. }
  67. // Projected metrics for a specific bid modifier amount.
  68. message BidModifierSimulationPoint {
  69. // The simulated bid modifier upon which projected metrics are based.
  70. optional double bid_modifier = 15;
  71. // Projected number of biddable conversions.
  72. // Only search advertising channel type supports this field.
  73. optional double biddable_conversions = 16;
  74. // Projected total value of biddable conversions.
  75. // Only search advertising channel type supports this field.
  76. optional double biddable_conversions_value = 17;
  77. // Projected number of clicks.
  78. optional int64 clicks = 18;
  79. // Projected cost in micros.
  80. optional int64 cost_micros = 19;
  81. // Projected number of impressions.
  82. optional int64 impressions = 20;
  83. // Projected number of top slot impressions.
  84. // Only search advertising channel type supports this field.
  85. optional int64 top_slot_impressions = 21;
  86. // Projected number of biddable conversions for the parent resource.
  87. // Only search advertising channel type supports this field.
  88. optional double parent_biddable_conversions = 22;
  89. // Projected total value of biddable conversions for the parent resource.
  90. // Only search advertising channel type supports this field.
  91. optional double parent_biddable_conversions_value = 23;
  92. // Projected number of clicks for the parent resource.
  93. optional int64 parent_clicks = 24;
  94. // Projected cost in micros for the parent resource.
  95. optional int64 parent_cost_micros = 25;
  96. // Projected number of impressions for the parent resource.
  97. optional int64 parent_impressions = 26;
  98. // Projected number of top slot impressions for the parent resource.
  99. // Only search advertising channel type supports this field.
  100. optional int64 parent_top_slot_impressions = 27;
  101. // Projected minimum daily budget that must be available to the parent
  102. // resource to realize this simulation.
  103. optional int64 parent_required_budget_micros = 28;
  104. }
  105. // Projected metrics for a specific CPC bid amount.
  106. message CpcBidSimulationPoint {
  107. // Projected required daily budget that the advertiser must set in order to
  108. // receive the estimated traffic, in micros of advertiser currency.
  109. int64 required_budget_amount_micros = 17;
  110. // Projected number of biddable conversions.
  111. optional double biddable_conversions = 9;
  112. // Projected total value of biddable conversions.
  113. optional double biddable_conversions_value = 10;
  114. // Projected number of clicks.
  115. optional int64 clicks = 11;
  116. // Projected cost in micros.
  117. optional int64 cost_micros = 12;
  118. // Projected number of impressions.
  119. optional int64 impressions = 13;
  120. // Projected number of top slot impressions.
  121. // Only search advertising channel type supports this field.
  122. optional int64 top_slot_impressions = 14;
  123. // When SimulationModificationMethod = UNIFORM or DEFAULT,
  124. // cpc_bid_micros is set.
  125. // When SimulationModificationMethod = SCALING,
  126. // cpc_bid_scaling_modifier is set.
  127. oneof cpc_simulation_key_value {
  128. // The simulated CPC bid upon which projected metrics are based.
  129. int64 cpc_bid_micros = 15;
  130. // The simulated scaling modifier upon which projected metrics are based.
  131. // All CPC bids relevant to the simulated entity are scaled by this
  132. // modifier.
  133. double cpc_bid_scaling_modifier = 16;
  134. }
  135. }
  136. // Projected metrics for a specific CPV bid amount.
  137. message CpvBidSimulationPoint {
  138. // The simulated CPV bid upon which projected metrics are based.
  139. optional int64 cpv_bid_micros = 5;
  140. // Projected cost in micros.
  141. optional int64 cost_micros = 6;
  142. // Projected number of impressions.
  143. optional int64 impressions = 7;
  144. // Projected number of views.
  145. optional int64 views = 8;
  146. }
  147. // Projected metrics for a specific target CPA amount.
  148. message TargetCpaSimulationPoint {
  149. // Projected required daily budget that the advertiser must set in order to
  150. // receive the estimated traffic, in micros of advertiser currency.
  151. int64 required_budget_amount_micros = 19;
  152. // Projected number of biddable conversions.
  153. optional double biddable_conversions = 9;
  154. // Projected total value of biddable conversions.
  155. optional double biddable_conversions_value = 10;
  156. // Projected number of app installs.
  157. double app_installs = 15;
  158. // Projected number of in-app actions.
  159. double in_app_actions = 16;
  160. // Projected number of clicks.
  161. optional int64 clicks = 11;
  162. // Projected cost in micros.
  163. optional int64 cost_micros = 12;
  164. // Projected number of impressions.
  165. optional int64 impressions = 13;
  166. // Projected number of top slot impressions.
  167. // Only search advertising channel type supports this field.
  168. optional int64 top_slot_impressions = 14;
  169. // When SimulationModificationMethod = UNIFORM or DEFAULT,
  170. // target_cpa_micros is set.
  171. // When SimulationModificationMethod = SCALING,
  172. // target_cpa_scaling_modifier is set.
  173. oneof target_cpa_simulation_key_value {
  174. // The simulated target CPA upon which projected metrics are based.
  175. int64 target_cpa_micros = 17;
  176. // The simulated scaling modifier upon which projected metrics are based.
  177. // All CPA targets relevant to the simulated entity are scaled by this
  178. // modifier.
  179. double target_cpa_scaling_modifier = 18;
  180. }
  181. }
  182. // Projected metrics for a specific target ROAS amount.
  183. message TargetRoasSimulationPoint {
  184. // The simulated target ROAS upon which projected metrics are based.
  185. optional double target_roas = 8;
  186. // Projected required daily budget that the advertiser must set in order to
  187. // receive the estimated traffic, in micros of advertiser currency.
  188. int64 required_budget_amount_micros = 15;
  189. // Projected number of biddable conversions.
  190. optional double biddable_conversions = 9;
  191. // Projected total value of biddable conversions.
  192. optional double biddable_conversions_value = 10;
  193. // Projected number of clicks.
  194. optional int64 clicks = 11;
  195. // Projected cost in micros.
  196. optional int64 cost_micros = 12;
  197. // Projected number of impressions.
  198. optional int64 impressions = 13;
  199. // Projected number of top slot impressions.
  200. // Only Search advertising channel type supports this field.
  201. optional int64 top_slot_impressions = 14;
  202. }
  203. // Projected metrics for a specific percent CPC amount. Only Hotel advertising
  204. // channel type supports this field.
  205. message PercentCpcBidSimulationPoint {
  206. // The simulated percent CPC upon which projected metrics are based. Percent
  207. // CPC expressed as fraction of the advertised price for some good or service.
  208. // The value stored here is 1,000,000 * [fraction].
  209. optional int64 percent_cpc_bid_micros = 1;
  210. // Projected number of biddable conversions.
  211. optional double biddable_conversions = 2;
  212. // Projected total value of biddable conversions in local currency.
  213. optional double biddable_conversions_value = 3;
  214. // Projected number of clicks.
  215. optional int64 clicks = 4;
  216. // Projected cost in micros.
  217. optional int64 cost_micros = 5;
  218. // Projected number of impressions.
  219. optional int64 impressions = 6;
  220. // Projected number of top slot impressions.
  221. optional int64 top_slot_impressions = 7;
  222. }
  223. // Projected metrics for a specific budget amount.
  224. message BudgetSimulationPoint {
  225. // The simulated budget upon which projected metrics are based.
  226. int64 budget_amount_micros = 1;
  227. // Projected required daily cpc bid ceiling that the advertiser must set to
  228. // realize this simulation, in micros of the advertiser currency.
  229. // Only campaigns with the Target Spend bidding strategy support this field.
  230. int64 required_cpc_bid_ceiling_micros = 2;
  231. // Projected number of biddable conversions.
  232. double biddable_conversions = 3;
  233. // Projected total value of biddable conversions.
  234. double biddable_conversions_value = 4;
  235. // Projected number of clicks.
  236. int64 clicks = 5;
  237. // Projected cost in micros.
  238. int64 cost_micros = 6;
  239. // Projected number of impressions.
  240. int64 impressions = 7;
  241. // Projected number of top slot impressions.
  242. // Only search advertising channel type supports this field.
  243. int64 top_slot_impressions = 8;
  244. }
  245. // Projected metrics for a specific target impression share value.
  246. message TargetImpressionShareSimulationPoint {
  247. // The simulated target impression share value (in micros) upon which
  248. // projected metrics are based.
  249. // E.g. 10% impression share, which is equal to 0.1, is stored as 100_000.
  250. // This value is validated and will not exceed 1M (100%).
  251. int64 target_impression_share_micros = 1;
  252. // Projected required daily cpc bid ceiling that the advertiser must set to
  253. // realize this simulation, in micros of the advertiser currency.
  254. int64 required_cpc_bid_ceiling_micros = 2;
  255. // Projected required daily budget that the advertiser must set in order to
  256. // receive the estimated traffic, in micros of advertiser currency.
  257. int64 required_budget_amount_micros = 3;
  258. // Projected number of biddable conversions.
  259. double biddable_conversions = 4;
  260. // Projected total value of biddable conversions.
  261. double biddable_conversions_value = 5;
  262. // Projected number of clicks.
  263. int64 clicks = 6;
  264. // Projected cost in micros.
  265. int64 cost_micros = 7;
  266. // Projected number of impressions.
  267. int64 impressions = 8;
  268. // Projected number of top slot impressions.
  269. // Only search advertising channel type supports this field.
  270. int64 top_slot_impressions = 9;
  271. // Projected number of absolute top impressions.
  272. // Only search advertising channel type supports this field.
  273. int64 absolute_top_impressions = 10;
  274. }