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