ad_group_simulation.proto 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  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 = "AdGroupSimulationProto";
  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 ad group simulation resource.
  30. // An ad group simulation. Supported combinations of advertising
  31. // channel type, simulation type and simulation modification method is
  32. // detailed below respectively.
  33. //
  34. // 1. SEARCH - CPC_BID - DEFAULT
  35. // 2. SEARCH - CPC_BID - UNIFORM
  36. // 3. SEARCH - TARGET_CPA - UNIFORM
  37. // 4. SEARCH - TARGET_ROAS - UNIFORM
  38. // 5. DISPLAY - CPC_BID - DEFAULT
  39. // 6. DISPLAY - CPC_BID - UNIFORM
  40. // 7. DISPLAY - TARGET_CPA - UNIFORM
  41. message AdGroupSimulation {
  42. option (google.api.resource) = {
  43. type: "googleads.googleapis.com/AdGroupSimulation"
  44. pattern: "customers/{customer_id}/adGroupSimulations/{ad_group_id}~{type}~{modification_method}~{start_date}~{end_date}"
  45. };
  46. // Output only. The resource name of the ad group simulation.
  47. // Ad group simulation resource names have the form:
  48. //
  49. // `customers/{customer_id}/adGroupSimulations/{ad_group_id}~{type}~{modification_method}~{start_date}~{end_date}`
  50. string resource_name = 1 [
  51. (google.api.field_behavior) = OUTPUT_ONLY,
  52. (google.api.resource_reference) = {
  53. type: "googleads.googleapis.com/AdGroupSimulation"
  54. }
  55. ];
  56. // Output only. Ad group id of the simulation.
  57. optional int64 ad_group_id = 12 [(google.api.field_behavior) = OUTPUT_ONLY];
  58. // Output only. The field that the simulation modifies.
  59. google.ads.googleads.v12.enums.SimulationTypeEnum.SimulationType type = 3 [(google.api.field_behavior) = OUTPUT_ONLY];
  60. // Output only. How the simulation modifies the field.
  61. google.ads.googleads.v12.enums.SimulationModificationMethodEnum.SimulationModificationMethod modification_method = 4 [(google.api.field_behavior) = OUTPUT_ONLY];
  62. // Output only. First day on which the simulation is based, in YYYY-MM-DD format.
  63. optional string start_date = 13 [(google.api.field_behavior) = OUTPUT_ONLY];
  64. // Output only. Last day on which the simulation is based, in YYYY-MM-DD format
  65. optional string end_date = 14 [(google.api.field_behavior) = OUTPUT_ONLY];
  66. // List of simulation points.
  67. oneof point_list {
  68. // Output only. Simulation points if the simulation type is CPC_BID.
  69. google.ads.googleads.v12.common.CpcBidSimulationPointList cpc_bid_point_list = 8 [(google.api.field_behavior) = OUTPUT_ONLY];
  70. // Output only. Simulation points if the simulation type is CPV_BID.
  71. google.ads.googleads.v12.common.CpvBidSimulationPointList cpv_bid_point_list = 10 [(google.api.field_behavior) = OUTPUT_ONLY];
  72. // Output only. Simulation points if the simulation type is TARGET_CPA.
  73. google.ads.googleads.v12.common.TargetCpaSimulationPointList target_cpa_point_list = 9 [(google.api.field_behavior) = OUTPUT_ONLY];
  74. // Output only. Simulation points if the simulation type is TARGET_ROAS.
  75. google.ads.googleads.v12.common.TargetRoasSimulationPointList target_roas_point_list = 11 [(google.api.field_behavior) = OUTPUT_ONLY];
  76. }
  77. }