This event is raised when an error occurs when loading an ad from the Google or DoubleClick
servers. The types on which you can register for the event are AdsLoader and AdsManager.
Properties | |
---|---|
current
|
Inherited from
|
target
|
Inherited from
|
type
|
Inherited from
|
Methods | |
---|---|
get
|
Returns the AdError that caused this event. |
get
|
During ads load request it is possible to provide an object that is available once
the ads load is complete or fails.
|
prevent
|
Inherited from
|
stop
|
Inherited from
|
Properties
Optional
currentTarget
currentTarget?: null | object
Optional
target
target?: null | object
type
type: string
Methods
getError
getUserRequestContext
getUserRequestContext(): null | object
During ads load request it is possible to provide an object that is available once the
ads load is complete or fails. One possible use case: relate ads response to a
specific request and use user request content object as the key for identifying the
response. If an error occurred during ads load, you can find out which request caused
this failure.
Returns | |
---|---|
null | object
|
Object that was provided during ads request. |
preventDefault
preventDefault(): void
stopPropagation
stopPropagation(): void