public class AdSharingError extends ApiError
Java class for AdSharingError complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="AdSharingError">
<complexContent>
<extension base="{https://adwords.google.com/api/adwords/cm/v201809}ApiError">
<sequence>
<element name="reason" type="{https://adwords.google.com/api/adwords/cm/v201809}AdSharingError.Reason" minOccurs="0"/>
<element name="sharedAdError" type="{https://adwords.google.com/api/adwords/cm/v201809}ApiError" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected AdSharingErrorReason |
reason |
protected ApiError |
sharedAdError |
apiErrorType, errorString, fieldPath, fieldPathElements, trigger| Constructor and Description |
|---|
AdSharingError() |
| Modifier and Type | Method and Description |
|---|---|
AdSharingErrorReason |
getReason()
Gets the value of the reason property.
|
ApiError |
getSharedAdError()
Gets the value of the sharedAdError property.
|
void |
setReason(AdSharingErrorReason value)
Sets the value of the reason property.
|
void |
setSharedAdError(ApiError value)
Sets the value of the sharedAdError property.
|
getApiErrorType, getErrorString, getFieldPath, getFieldPathElements, getTrigger, setApiErrorType, setErrorString, setFieldPath, setTriggerprotected AdSharingErrorReason reason
protected ApiError sharedAdError
public AdSharingErrorReason getReason()
AdSharingErrorReasonpublic void setReason(AdSharingErrorReason value)
value - allowed object is
AdSharingErrorReasonpublic ApiError getSharedAdError()
ApiErrorCopyright © 2023. All rights reserved.