Home


Offer Walls

Offer Walls show full screen of real world offers (e.g. surveys), usually with an in-game reward offered in return for a completion.

Blocks

is offerwall ad ready

boolean is offerwall ad ready()

Check if an ad from any of the included SDK providers is ready to be shown.

Return Value:

Returns true if any ad is ready, false otherwise. When app is not Enhanced, always returns true.

is offerwall ad ready for placement

boolean is offerwall ad ready for placement(
    text placement
)

Check if an ad from any of the included SDK providers is ready to be shown.

Parameters:

text  placement - Specifies the internal placement of the ad (from the Enhance mediation editor).

Return Value:

Returns true if any ad is ready, false otherwise. When app is not Enhanced, always returns true.

show offerwall ad

void show offerwall ad()

Display an ad if any is currently available. The ad provider is selected based on your app's mediation settings.

show offerwall ad with placement

void show offerwall ad with placement(
    text placement
)

Display an ad if any is currently available. The ad provider is selected based on your app's mediation settings.

Parameters:

text  placement - Specifies the internal placement of the ad (from the Enhance mediation editor).

on offerwall currency granted

on offerwall currency granted()

Set the function which is called every time the user receives a reward from any offer wall. We recommend that you do this at the beginning of your app’s logic (as early as possible) to be sure the callback is ready as soon as the offer wall sends the reward. This could happen at different times, even right after your app start-up! This block will receive the currency amount as a parameter.