Built motion from commit 6a09e18b.|2.6.11
[motion2.git] / legacy-libs / google-proto-files / google / ads / googleads / v0 / errors / campaign_error.proto
1 // Copyright 2018 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 //
15
16 syntax = "proto3";
17
18 package google.ads.googleads.v0.errors;
19
20 option csharp_namespace = "Google.Ads.GoogleAds.V0.Errors";
21 option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v0/errors;errors";
22 option java_multiple_files = true;
23 option java_outer_classname = "CampaignErrorProto";
24 option java_package = "com.google.ads.googleads.v0.errors";
25 option objc_class_prefix = "GAA";
26 option php_namespace = "Google\\Ads\\GoogleAds\\V0\\Errors";
27 option ruby_package = "Google::Ads::GoogleAds::V0::Errors";
28
29 // Proto file describing campaign errors.
30
31 // Container for enum describing possible campaign errors.
32 message CampaignErrorEnum {
33   // Enum describing possible campaign errors.
34   enum CampaignError {
35     // Enum unspecified.
36     UNSPECIFIED = 0;
37
38     // The received error code is not known in this version.
39     UNKNOWN = 1;
40
41     // Cannot target content network.
42     CANNOT_TARGET_CONTENT_NETWORK = 3;
43
44     // Cannot target search network.
45     CANNOT_TARGET_SEARCH_NETWORK = 4;
46
47     // Cannot cover search network without google search network.
48     CANNOT_TARGET_SEARCH_NETWORK_WITHOUT_GOOGLE_SEARCH = 5;
49
50     // Cannot target Google Search network for a CPM campaign.
51     CANNOT_TARGET_GOOGLE_SEARCH_FOR_CPM_CAMPAIGN = 6;
52
53     // Must target at least one network.
54     CAMPAIGN_MUST_TARGET_AT_LEAST_ONE_NETWORK = 7;
55
56     // Only some Google partners are allowed to target partner search network.
57     CANNOT_TARGET_PARTNER_SEARCH_NETWORK = 8;
58
59     // Cannot target content network only as campaign has criteria-level bidding
60     // strategy.
61     CANNOT_TARGET_CONTENT_NETWORK_ONLY_WITH_CRITERIA_LEVEL_BIDDING_STRATEGY = 9;
62
63     // Cannot modify the start or end date such that the campaign duration would
64     // not contain the durations of all runnable trials.
65     CAMPAIGN_DURATION_MUST_CONTAIN_ALL_RUNNABLE_TRIALS = 10;
66
67     // Cannot modify dates, budget or campaign name of a trial campaign.
68     CANNOT_MODIFY_FOR_TRIAL_CAMPAIGN = 11;
69
70     // Trying to modify the name of an active or paused campaign, where the name
71     // is already assigned to another active or paused campaign.
72     DUPLICATE_CAMPAIGN_NAME = 12;
73
74     // Two fields are in conflicting modes.
75     INCOMPATIBLE_CAMPAIGN_FIELD = 13;
76
77     // Campaign name cannot be used.
78     INVALID_CAMPAIGN_NAME = 14;
79
80     // Given status is invalid.
81     INVALID_AD_SERVING_OPTIMIZATION_STATUS = 15;
82
83     // Error in the campaign level tracking url.
84     INVALID_TRACKING_URL = 16;
85
86     // Cannot set both tracking url template and tracking setting. An user has
87     // to clear legacy tracking setting in order to add tracking url template.
88     CANNOT_SET_BOTH_TRACKING_URL_TEMPLATE_AND_TRACKING_SETTING = 17;
89
90     // The maximum number of impressions for Frequency Cap should be an integer
91     // greater than 0.
92     MAX_IMPRESSIONS_NOT_IN_RANGE = 18;
93
94     // Only the Day, Week and Month time units are supported.
95     TIME_UNIT_NOT_SUPPORTED = 19;
96
97     // Operation not allowed on a campaign whose serving status has ended
98     INVALID_OPERATION_IF_SERVING_STATUS_HAS_ENDED = 20;
99
100     // This budget is exclusively linked to a Campaign that is using experiments
101     // so it cannot be shared.
102     BUDGET_CANNOT_BE_SHARED = 21;
103
104     // Campaigns using experiments cannot use a shared budget.
105     CAMPAIGN_CANNOT_USE_SHARED_BUDGET = 22;
106
107     // A different budget cannot be assigned to a campaign when there are
108     // running or scheduled trials.
109     CANNOT_CHANGE_BUDGET_ON_CAMPAIGN_WITH_TRIALS = 23;
110
111     // No link found between the campaign and the label.
112     CAMPAIGN_LABEL_DOES_NOT_EXIST = 24;
113
114     // The label has already been attached to the campaign.
115     CAMPAIGN_LABEL_ALREADY_EXISTS = 25;
116
117     // A ShoppingSetting was not found when creating a shopping campaign.
118     MISSING_SHOPPING_SETTING = 26;
119
120     // The country in shopping setting is not an allowed country.
121     INVALID_SHOPPING_SALES_COUNTRY = 27;
122
123     // A Campaign with channel sub type UNIVERSAL_APP_CAMPAIGN must have a
124     // UniversalAppCampaignSetting specified.
125     MISSING_UNIVERSAL_APP_CAMPAIGN_SETTING = 30;
126
127     // The requested channel type is not available according to the customer's
128     // account setting.
129     ADVERTISING_CHANNEL_TYPE_NOT_AVAILABLE_FOR_ACCOUNT_TYPE = 31;
130
131     // The AdvertisingChannelSubType is not a valid subtype of the primary
132     // channel type.
133     INVALID_ADVERTISING_CHANNEL_SUB_TYPE = 32;
134
135     // At least one conversion must be selected.
136     AT_LEAST_ONE_CONVERSION_MUST_BE_SELECTED = 33;
137
138     // Setting ad rotation mode for a campaign is not allowed. Ad rotation mode
139     // at campaign is deprecated.
140     CANNOT_SET_AD_ROTATION_MODE = 34;
141
142     // Trying to change start date on a campaign that has started.
143     CANNOT_MODIFY_START_DATE_IF_ALREADY_STARTED = 35;
144
145     // Trying to modify a date into the past.
146     CANNOT_SET_DATE_TO_PAST = 36;
147
148     // Hotel center id in the hotel setting does not match any customer links.
149     MISSING_HOTEL_CUSTOMER_LINK = 37;
150
151     // Hotel center id in the hotel setting must match an active customer link.
152     INVALID_HOTEL_CUSTOMER_LINK = 38;
153
154     // Hotel setting was not found when creating a hotel ads campaign.
155     MISSING_HOTEL_SETTING = 39;
156
157     // A Campaign cannot use shared campaign budgets and be part of a campaign
158     // group.
159     CANNOT_USE_SHARED_CAMPAIGN_BUDGET_WHILE_PART_OF_CAMPAIGN_GROUP = 40;
160   }
161 }