simulation.proto 12 KB

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