Ads API .NET library
|
The API error base class that provides details about an error that occurred while processing a service request. More...
Classes | |
class | Fields |
List of all supported fields for the ApiError class. More... | |
class | FilterableFields |
List of all supported filterable fields for the ApiError class. More... | |
class | SelectableFields |
List of all supported selectable fields for the ApiError class. More... | |
Public Member Functions | |
int | GetOperationIndex () |
Gets the index of the operation. More... | |
int | GetFieldPathIndex (string field) |
Gets the index of a field in a field path expression. More... | |
override string | ToString () |
Returns a System.String that represents this instance. More... | |
Properties | |
string | fieldPath [get, set] |
The OGNL field path to identify cause of error. More... | |
FieldPathElement[] | fieldPathElements [get, set] |
A parsed copy of the field path. For example, the field path "operations[1].operand" corresponds to this list: {FieldPathElement(field = "operations", index = 1), FieldPathElement(field = "operand", index = null)}. More... | |
string | trigger [get, set] |
The data that caused the error. More... | |
string | errorString [get, set] |
A simple string representation of the error and reason. More... | |
string | ApiErrorType [get, set] |
Indicates that this instance is a subtype of ApiError. Although this field is returned in the response, it is ignored on input and cannot be selected. Specify xsi:type instead. More... | |
The API error base class that provides details about an error that occurred while processing a service request.
The API error base class that provides details about an error that occurred while processing a service request.
The OGNL field path is provided for parsers to identify the request data element that may have caused the error.
|
inline |
Gets the index of a field in a field path expression.
field | Name of the field to search for. |
References Google.Api.Ads.AdWords.v201809.FieldPathElement.field, and Google.Api.Ads.AdWords.v201809.FieldPathElement.indexSpecified.
|
inline |
Gets the index of the operation.
|
inline |
Returns a System.String that represents this instance.
|
getset |
Indicates that this instance is a subtype of ApiError. Although this field is returned in the response, it is ignored on input and cannot be selected. Specify xsi:type instead.
|
getset |
A simple string representation of the error and reason.
|
getset |
The OGNL field path to identify cause of error.
|
getset |
A parsed copy of the field path. For example, the field path "operations[1].operand" corresponds to this list: {FieldPathElement(field = "operations", index = 1), FieldPathElement(field = "operand", index = null)}.
|
getset |
The data that caused the error.