In reference to your inquiry regarding the appropriate timing for providing rewards to users who skip advertisements, allow me to offer some insights. The decision of when to provide rewards lies within the purview of your organization's unique business requirements.
Scenario 1: Bypassing Skippable Advertisements:
If your objective is to encourage users to watch the entire advertisement, consider presenting non-skippable advertisements. Providing the reward upon completion of the advertisement can incentivize users to engage with the content.
Scenario 2: Integrating with Skippable Advertisements:
In the event that you choose to incorporate skippable advertisements, it is essential to monitor the skip event alongside the getAdSkippableState function. This function will indicate whether the advertisement includes a skip offset or not.
To assist you with your decision-making process, I have outlined a concise set of conditions for your reference:
Ads.prototype.onAdEvent_ = function (adEvent) { if (adEvent.type == google.ima.AdEvent.Type.SKIP) { //Store adSkip state here this.adSkip = true; // By default False } else if (adEvent.type == google.ima.AdEvent.Type.COMPLETED) { if (this.adsManager_.getAdSkippableState == true) { //Match skip state either skip or seen full video. if (adSkip) { // Take your call here for delivering rewards, if not simply return } else { // Take your call here for delivering rewards, if not simply return } } else { // This is for non skip ad and watched fully. // Take your call here for delivering rewards, if not simply return } } };For more detail refer getAdSkippableState.
![]() |
IMA SDK Team |