public class WorkflowValidationError extends ApiError
In versions V201502 and earlier, the workflow error message defined by a network administrator
that describes how a workflow rule is violated is stored in the ApiError.trigger. Beginning in
V201505, it is stored in the ApiError.errorString.
Java class for WorkflowValidationError complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="WorkflowValidationError">
<complexContent>
<extension base="{https://www.google.com/apis/ads/publisher/v201711}ApiError">
<sequence>
<element name="reason" type="{https://www.google.com/apis/ads/publisher/v201711}WorkflowValidationError.Reason" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected WorkflowValidationErrorReason |
reason |
errorString, fieldPath, fieldPathElements, trigger| Constructor and Description |
|---|
WorkflowValidationError() |
| Modifier and Type | Method and Description |
|---|---|
WorkflowValidationErrorReason |
getReason()
Gets the value of the reason property.
|
void |
setReason(WorkflowValidationErrorReason value)
Sets the value of the reason property.
|
getErrorString, getFieldPath, getFieldPathElements, getTrigger, setErrorString, setFieldPath, setTriggerprotected WorkflowValidationErrorReason reason
public WorkflowValidationErrorReason getReason()
WorkflowValidationErrorReasonpublic void setReason(WorkflowValidationErrorReason value)
value - allowed object is
WorkflowValidationErrorReasonCopyright © 2018. All Rights Reserved.