-jio-start-block-type-2
Our SDK Callbacks are essential hooks for seamless ad integration, covering key aspects such as Loading Status, User Interactions, Media Playback, Ad Rotation, Data Handling, Skippable Ad Events, and Ad Rendering. These callbacks provide the flexibility to customize your app's behaviour throughout the ad lifecycle.
-jio-style-title
List of callbacks and its parameters explained
-jio-tables
SDK Callback API | Values |
---|---|
onAdFailedToLoad() | Fires when error occurs (Eg: while requesting ad/Caching/Showing) |
onAdRender() | Fires when Ad is ready to rendered |
onAdChange() | Fires when there is Ad Change in adbreak with ad info |
onAdClosed() | Fires on closing the ad |
onAdClicked() | Fires when user interact (Click) with the ad |
onAdMediaStart() | Fires when media play started. (Applicable only for VAST Videos i.e. Interstitial and Pre-roll) |
onAdProgress() | Updates Media quartile and progress info to Application |
onAdMediaEnd() | Fires when media ends (Applicable only for VAST Videos i.e. Native Interstitial, Rewarded video and Pre-roll Ads) |
onAdRefresh() | Fires on refreshing the ad |
onAdSkippable() | Fired for video ads when skip duration is set and user watched the video till that point and will be able to skip. |
onAdDuration() | The Ad duration will be notified to the Application |
onAdViewed() | Ad for the first time is in viewport, will be notified to the Application |
onAdsReceived() | Ads has been received will be notified to the Application, need to be used only for offline Ads usecase |
isAdClick() | For Custom native Ad is click enabled will be notified to the Application |
onInitialised() | SDK loading is completed, will be notified to the Application |
-jio-style-title
Below events callbacks can overridden by developers as per their app requirements
JioAds callbacks {
onAdFailedToLoad(placementId, options),
onAdRender(placementId),
onAdChange(placementId, adInfo, adCpInfo),
onAdClosed(placementId, isVideoCompleted, reward),
onAdClicked(placementId, url, urld),
onAdProgress(placementId, progress, currentTime),
onAdMediaStart(placementId, options),
onAdMediaEnd(placementId, reward, options),
onAdRefresh(placementId),
onAdSkippable(placementId),
onAdDuration(placementId, adDuration, skip),
onAdViewed(placementId),
onAdsReceived(placementId, adResponse),
isAdClick(placementId),
onInitialised()
}
-jio-end-block-type-2