bidding_strategy_simulation.proto 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  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/common/simulation.proto";
  17. import "google/ads/googleads/v12/enums/simulation_modification_method.proto";
  18. import "google/ads/googleads/v12/enums/simulation_type.proto";
  19. import "google/api/field_behavior.proto";
  20. import "google/api/resource.proto";
  21. option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources";
  22. option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources";
  23. option java_multiple_files = true;
  24. option java_outer_classname = "BiddingStrategySimulationProto";
  25. option java_package = "com.google.ads.googleads.v12.resources";
  26. option objc_class_prefix = "GAA";
  27. option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources";
  28. option ruby_package = "Google::Ads::GoogleAds::V12::Resources";
  29. // Proto file describing the bidding strategy simulation resource.
  30. // A bidding strategy simulation. Supported combinations of simulation type
  31. // and simulation modification method are detailed below respectively.
  32. //
  33. // 1. TARGET_CPA - UNIFORM
  34. // 2. TARGET_ROAS - UNIFORM
  35. message BiddingStrategySimulation {
  36. option (google.api.resource) = {
  37. type: "googleads.googleapis.com/BiddingStrategySimulation"
  38. pattern: "customers/{customer_id}/biddingStrategySimulations/{bidding_strategy_id}~{type}~{modification_method}~{start_date}~{end_date}"
  39. };
  40. // Output only. The resource name of the bidding strategy simulation.
  41. // Bidding strategy simulation resource names have the form:
  42. //
  43. // `customers/{customer_id}/biddingStrategySimulations/{bidding_strategy_id}~{type}~{modification_method}~{start_date}~{end_date}`
  44. string resource_name = 1 [
  45. (google.api.field_behavior) = OUTPUT_ONLY,
  46. (google.api.resource_reference) = {
  47. type: "googleads.googleapis.com/BiddingStrategySimulation"
  48. }
  49. ];
  50. // Output only. Bidding strategy shared set id of the simulation.
  51. int64 bidding_strategy_id = 2 [(google.api.field_behavior) = OUTPUT_ONLY];
  52. // Output only. The field that the simulation modifies.
  53. google.ads.googleads.v12.enums.SimulationTypeEnum.SimulationType type = 3 [(google.api.field_behavior) = OUTPUT_ONLY];
  54. // Output only. How the simulation modifies the field.
  55. google.ads.googleads.v12.enums.SimulationModificationMethodEnum.SimulationModificationMethod modification_method = 4 [(google.api.field_behavior) = OUTPUT_ONLY];
  56. // Output only. First day on which the simulation is based, in YYYY-MM-DD format.
  57. string start_date = 5 [(google.api.field_behavior) = OUTPUT_ONLY];
  58. // Output only. Last day on which the simulation is based, in YYYY-MM-DD format
  59. string end_date = 6 [(google.api.field_behavior) = OUTPUT_ONLY];
  60. // List of simulation points.
  61. oneof point_list {
  62. // Output only. Simulation points if the simulation type is TARGET_CPA.
  63. google.ads.googleads.v12.common.TargetCpaSimulationPointList target_cpa_point_list = 7 [(google.api.field_behavior) = OUTPUT_ONLY];
  64. // Output only. Simulation points if the simulation type is TARGET_ROAS.
  65. google.ads.googleads.v12.common.TargetRoasSimulationPointList target_roas_point_list = 8 [(google.api.field_behavior) = OUTPUT_ONLY];
  66. }
  67. }