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.errors; 18 19option csharp_namespace = "Google.Ads.GoogleAds.V14.Errors"; 20option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v14/errors;errors"; 21option java_multiple_files = true; 22option java_outer_classname = "ExperimentErrorProto"; 23option java_package = "com.google.ads.googleads.v14.errors"; 24option objc_class_prefix = "GAA"; 25option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Errors"; 26option ruby_package = "Google::Ads::GoogleAds::V14::Errors"; 27 28// Proto file describing experiment errors. 29 30// Container for enum describing possible experiment error. 31message ExperimentErrorEnum { 32 // Enum describing possible experiment errors. 33 enum ExperimentError { 34 // Enum unspecified. 35 UNSPECIFIED = 0; 36 37 // The received error code is not known in this version. 38 UNKNOWN = 1; 39 40 // The start date of an experiment cannot be set in the past. 41 // Use a start date in the future. 42 CANNOT_SET_START_DATE_IN_PAST = 2; 43 44 // The end date of an experiment is before its start date. 45 // Use an end date after the start date. 46 END_DATE_BEFORE_START_DATE = 3; 47 48 // The start date of an experiment is too far in the future. 49 // Use a start date no more than 1 year in the future. 50 START_DATE_TOO_FAR_IN_FUTURE = 4; 51 52 // The experiment has the same name as an existing active experiment. 53 DUPLICATE_EXPERIMENT_NAME = 5; 54 55 // Experiments can only be modified when they are ENABLED. 56 CANNOT_MODIFY_REMOVED_EXPERIMENT = 6; 57 58 // The start date of an experiment cannot be modified if the existing start 59 // date has already passed. 60 START_DATE_ALREADY_PASSED = 7; 61 62 // The end date of an experiment cannot be set in the past. 63 CANNOT_SET_END_DATE_IN_PAST = 8; 64 65 // The status of an experiment cannot be set to REMOVED. 66 CANNOT_SET_STATUS_TO_REMOVED = 9; 67 68 // The end date of an expired experiment cannot be modified. 69 CANNOT_MODIFY_PAST_END_DATE = 10; 70 71 // The status is invalid. 72 INVALID_STATUS = 11; 73 74 // Experiment arm contains campaigns with invalid advertising channel type. 75 INVALID_CAMPAIGN_CHANNEL_TYPE = 12; 76 77 // A pair of trials share members and have overlapping date ranges. 78 OVERLAPPING_MEMBERS_AND_DATE_RANGE = 13; 79 80 // Experiment arm contains invalid traffic split. 81 INVALID_TRIAL_ARM_TRAFFIC_SPLIT = 14; 82 83 // Experiment contains trial arms with overlapping traffic split. 84 TRAFFIC_SPLIT_OVERLAPPING = 15; 85 86 // The total traffic split of trial arms is not equal to 100. 87 SUM_TRIAL_ARM_TRAFFIC_UNEQUALS_TO_TRIAL_TRAFFIC_SPLIT_DENOMINATOR = 16; 88 89 // Traffic split related settings (like traffic share bounds) can't be 90 // modified after the experiment has started. 91 CANNOT_MODIFY_TRAFFIC_SPLIT_AFTER_START = 17; 92 93 // The experiment could not be found. 94 EXPERIMENT_NOT_FOUND = 18; 95 96 // Experiment has not begun. 97 EXPERIMENT_NOT_YET_STARTED = 19; 98 99 // The experiment cannot have more than one control arm. 100 CANNOT_HAVE_MULTIPLE_CONTROL_ARMS = 20; 101 102 // The experiment doesn't set in-design campaigns. 103 IN_DESIGN_CAMPAIGNS_NOT_SET = 21; 104 105 // Clients must use the graduate action to graduate experiments and cannot 106 // set the status to GRADUATED directly. 107 CANNOT_SET_STATUS_TO_GRADUATED = 22; 108 109 // Cannot use shared budget on base campaign when scheduling an experiment. 110 CANNOT_CREATE_EXPERIMENT_CAMPAIGN_WITH_SHARED_BUDGET = 23; 111 112 // Cannot use custom budget on base campaign when scheduling an experiment. 113 CANNOT_CREATE_EXPERIMENT_CAMPAIGN_WITH_CUSTOM_BUDGET = 24; 114 115 // Invalid status transition. 116 STATUS_TRANSITION_INVALID = 25; 117 118 // The experiment campaign name conflicts with a pre-existing campaign. 119 DUPLICATE_EXPERIMENT_CAMPAIGN_NAME = 26; 120 121 // Cannot remove in creation experiments. 122 CANNOT_REMOVE_IN_CREATION_EXPERIMENT = 27; 123 124 // Cannot add campaign with deprecated ad types. Deprecated ad types: 125 // ENHANCED_DISPLAY, GALLERY, GMAIL, KEYWORDLESS, TEXT. 126 CANNOT_ADD_CAMPAIGN_WITH_DEPRECATED_AD_TYPES = 28; 127 } 128} 129