Type String Event adsRequest Revision Release 2024.3703 Keywords ads, advertising, Chartboost, adsRequest, phase See also adsRequest chartboost.*
String value indicating the phase of the adsRequest event. Possible values include:
"init"
— Indicates that the Chartboost plugin was initialized successfully. You must wait for this event phase before trying to show/load ads.
"displayed"
— Indicates that an ad was displayed. For this phase, event.data is a JSON string containing the ad location
.
"closed"
— Indicates that an ad was closed/hidden. For this phase, event.data is a JSON string containing the ad location
.
"clicked"
— Indicates that an ad was clicked/tapped. For this phase, event.data is a JSON string containing the ad location
.
"loaded"
— Indicates that an ad loaded successfully. For this phase, event.data is a JSON string containing the ad location
.
"failed"
— Indicates that an ad failed to load. For this phase, event.isError will be true
and event.response provides additional context on the error. For this phase, event.data is a JSON string containing the ad location
, errorCode
and errorMsg
.
"reward"
— Applies only to rewarded video ads "rewardedVideo"
)location
and reward
amount.