Reference documentation and code samples for the Google Ads Ad Manager V1 Client class AdManagerError.
/ AdManagerError contains all the information required for processing a / particular error thrown by the AdManager API.
/ / At least one AdManagerError should be included in all error messages sent to / the client.
Generated from protobuf message google.ads.admanager.v1.AdManagerError
Namespace
Google \ Ads \ AdManager \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ error_code
string
The unique identifying string for this error.
↳ message
string
A publisher appropriate explanation of this error.
↳ field_path
string
The field path that triggered this error.
↳ trigger
string
The value that triggered this error.
↳ stack_trace
string
The stack trace that accompanies this error.
↳ details
getErrorCode
The unique identifying string for this error.
string
setErrorCode
The unique identifying string for this error.
var
string
$this
getMessage
A publisher appropriate explanation of this error.
string
setMessage
A publisher appropriate explanation of this error.
var
string
$this
getFieldPath
The field path that triggered this error.
string
setFieldPath
The field path that triggered this error.
var
string
$this
getTrigger
The value that triggered this error.
string
setTrigger
The value that triggered this error.
var
string
$this
getStackTrace
The stack trace that accompanies this error.
string
setStackTrace
The stack trace that accompanies this error.
var
string
$this
getDetails
A list of messages that carry any additional error details.
setDetails
A list of messages that carry any additional error details.
$this