bidding_seasonality_adjustment.proto 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  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/enums/advertising_channel_type.proto";
  17. import "google/ads/googleads/v12/enums/device.proto";
  18. import "google/ads/googleads/v12/enums/seasonality_event_scope.proto";
  19. import "google/ads/googleads/v12/enums/seasonality_event_status.proto";
  20. import "google/api/field_behavior.proto";
  21. import "google/api/resource.proto";
  22. option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources";
  23. option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources";
  24. option java_multiple_files = true;
  25. option java_outer_classname = "BiddingSeasonalityAdjustmentProto";
  26. option java_package = "com.google.ads.googleads.v12.resources";
  27. option objc_class_prefix = "GAA";
  28. option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources";
  29. option ruby_package = "Google::Ads::GoogleAds::V12::Resources";
  30. // Represents a bidding seasonality adjustment.
  31. //
  32. // See "About seasonality adjustments" at
  33. // https://support.google.com/google-ads/answer/10369906.
  34. message BiddingSeasonalityAdjustment {
  35. option (google.api.resource) = {
  36. type: "googleads.googleapis.com/BiddingSeasonalityAdjustment"
  37. pattern: "customers/{customer_id}/biddingSeasonalityAdjustments/{seasonality_event_id}"
  38. };
  39. // Immutable. The resource name of the seasonality adjustment.
  40. // Seasonality adjustment resource names have the form:
  41. //
  42. // `customers/{customer_id}/biddingSeasonalityAdjustments/{seasonality_adjustment_id}`
  43. string resource_name = 1 [
  44. (google.api.field_behavior) = IMMUTABLE,
  45. (google.api.resource_reference) = {
  46. type: "googleads.googleapis.com/BiddingSeasonalityAdjustment"
  47. }
  48. ];
  49. // Output only. The ID of the seasonality adjustment.
  50. int64 seasonality_adjustment_id = 2 [(google.api.field_behavior) = OUTPUT_ONLY];
  51. // The scope of the seasonality adjustment.
  52. google.ads.googleads.v12.enums.SeasonalityEventScopeEnum.SeasonalityEventScope scope = 3;
  53. // Output only. The status of the seasonality adjustment.
  54. google.ads.googleads.v12.enums.SeasonalityEventStatusEnum.SeasonalityEventStatus status = 4 [(google.api.field_behavior) = OUTPUT_ONLY];
  55. // Required. The inclusive start time of the seasonality adjustment in yyyy-MM-dd
  56. // HH:mm:ss format.
  57. //
  58. // A seasonality adjustment is forward looking and should be used for events
  59. // that start and end in the future.
  60. string start_date_time = 5 [(google.api.field_behavior) = REQUIRED];
  61. // Required. The exclusive end time of the seasonality adjustment in yyyy-MM-dd HH:mm:ss
  62. // format.
  63. //
  64. // The length of [start_date_time, end_date_time) interval must be
  65. // within (0, 14 days].
  66. string end_date_time = 6 [(google.api.field_behavior) = REQUIRED];
  67. // The name of the seasonality adjustment. The name can be at most 255
  68. // characters.
  69. string name = 7;
  70. // The description of the seasonality adjustment. The description can be at
  71. // most 2048 characters.
  72. string description = 8;
  73. // If not specified, all devices will be included in this adjustment.
  74. // Otherwise, only the specified targeted devices will be included in this
  75. // adjustment.
  76. repeated google.ads.googleads.v12.enums.DeviceEnum.Device devices = 9;
  77. // Conversion rate modifier estimated based on expected conversion rate
  78. // changes. When this field is unset or set to 1.0 no adjustment will be
  79. // applied to traffic. The allowed range is 0.1 to 10.0.
  80. double conversion_rate_modifier = 10;
  81. // The seasonality adjustment will apply to the campaigns listed when the
  82. // scope of this adjustment is CAMPAIGN. The maximum number of campaigns per
  83. // event is 2000.
  84. // Note: a seasonality adjustment with both advertising_channel_types and
  85. // campaign_ids is not supported.
  86. repeated string campaigns = 11 [(google.api.resource_reference) = {
  87. type: "googleads.googleapis.com/Campaign"
  88. }];
  89. // The seasonality adjustment will apply to all the campaigns under the listed
  90. // channels retroactively as well as going forward when the scope of this
  91. // adjustment is CHANNEL.
  92. // The supported advertising channel types are DISPLAY, SEARCH and SHOPPING.
  93. // Note: a seasonality adjustment with both advertising_channel_types and
  94. // campaign_ids is not supported.
  95. repeated google.ads.googleads.v12.enums.AdvertisingChannelTypeEnum.AdvertisingChannelType advertising_channel_types = 12;
  96. }