experiment_arm_error.proto 3.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  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.errors;
  16. option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors";
  17. option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors";
  18. option java_multiple_files = true;
  19. option java_outer_classname = "ExperimentArmErrorProto";
  20. option java_package = "com.google.ads.googleads.v12.errors";
  21. option objc_class_prefix = "GAA";
  22. option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors";
  23. option ruby_package = "Google::Ads::GoogleAds::V12::Errors";
  24. // Proto file describing experiment arm errors.
  25. // Container for enum describing possible experiment arm error.
  26. message ExperimentArmErrorEnum {
  27. // Enum describing possible experiment arm errors.
  28. enum ExperimentArmError {
  29. // Enum unspecified.
  30. UNSPECIFIED = 0;
  31. // The received error code is not known in this version.
  32. UNKNOWN = 1;
  33. // Number of experiment arms is above limit.
  34. EXPERIMENT_ARM_COUNT_LIMIT_EXCEEDED = 2;
  35. // Cannot add campaign with invalid status to the experiment arm.
  36. INVALID_CAMPAIGN_STATUS = 3;
  37. // Cannot add duplicate experiment arm name in one experiment.
  38. DUPLICATE_EXPERIMENT_ARM_NAME = 4;
  39. // Cannot set campaigns of treatment experiment arm.
  40. CANNOT_SET_TREATMENT_ARM_CAMPAIGN = 5;
  41. // Cannot edit campaign ids in trial arms in non SETUP experiment.
  42. CANNOT_MODIFY_CAMPAIGN_IDS = 6;
  43. // Cannot modify the campaigns in the control arm
  44. // if there is not a suffix set in the trial.
  45. CANNOT_MODIFY_CAMPAIGN_WITHOUT_SUFFIX_SET = 7;
  46. // Traffic split related settings (like traffic share bounds) can't be
  47. // modified after the trial has started.
  48. CANNOT_MUTATE_TRAFFIC_SPLIT_AFTER_START = 8;
  49. // Cannot use shared budget on experiment's control campaign.
  50. CANNOT_ADD_CAMPAIGN_WITH_SHARED_BUDGET = 9;
  51. // Cannot use custom budget on experiment's control campaigns.
  52. CANNOT_ADD_CAMPAIGN_WITH_CUSTOM_BUDGET = 10;
  53. // Cannot have enable_dynamic_assets turned on in experiment's campaigns.
  54. CANNOT_ADD_CAMPAIGNS_WITH_DYNAMIC_ASSETS_ENABLED = 11;
  55. // Cannot use campaign's advertising channel sub type in experiment.
  56. UNSUPPORTED_CAMPAIGN_ADVERTISING_CHANNEL_SUB_TYPE = 12;
  57. // Experiment date range must be within base campaign's date range.
  58. CANNOT_ADD_BASE_CAMPAIGN_WITH_DATE_RANGE = 13;
  59. // Bidding strategy is not supported in experiments.
  60. BIDDING_STRATEGY_NOT_SUPPORTED_IN_EXPERIMENTS = 14;
  61. // Traffic split is not supported for some channel types.
  62. TRAFFIC_SPLIT_NOT_SUPPORTED_FOR_CHANNEL_TYPE = 15;
  63. }
  64. }