Type String Event adsRequest Revision Release 2024.3703 Keywords ads, advertising, Unity Ads, adsRequest, phase See also adsRequest unityads.*
String value indicating the phase of the adsRequest event. Possible values include:
"init"
— Indicates that the Unity Ads plugin was initialized successfully. You must wait for this event phase before trying to show ads.
"loaded"
— Indicates that an ad has been loaded successfully via unityads.load().
"displayed"
— Indicates that an ad has been displayed successfully via unityads.show().
"skipped"
— Indicates that video ad playback was stopped by the user before the end of playback.
"completed"
— Indicates that the user viewed the video ad until its completion.
"completed"
— Indicates that the user viewed the video ad until its completion.
"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. Additionally, for this phase, event.data is a errorCode
and errorMsg
keys.