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.admanager.v1; 18 19import "google/protobuf/any.proto"; 20 21option csharp_namespace = "Google.Ads.AdManager.V1"; 22option go_package = "google.golang.org/genproto/googleapis/ads/admanager/v1;admanager"; 23option java_multiple_files = true; 24option java_outer_classname = "AdManagerErrorProto"; 25option java_package = "com.google.ads.admanager.v1"; 26option objc_class_prefix = "GAA"; 27option php_namespace = "Google\\Ads\\AdManager\\V1"; 28 29// / AdManagerError contains all the information required for processing a 30// / particular error thrown by the AdManager API. 31// / 32// / At least one AdManagerError should be included in all error messages sent 33// to / the client. 34message AdManagerError { 35 // The unique identifying string for this error. 36 string error_code = 1; 37 38 // A publisher appropriate explanation of this error. 39 string message = 2; 40 41 // The field path that triggered this error. 42 string field_path = 3; 43 44 // The value that triggered this error. 45 string trigger = 4; 46 47 // The stack trace that accompanies this error. 48 string stack_trace = 5; 49 50 // A list of messages that carry any additional error details. 51 repeated google.protobuf.Any details = 6; 52} 53