💡 Pangle SDK supports App Open Ads from version 4300 and above, this doc is for developers who use Pangle SDK directly, if you use mediation to integrate Pangle, please jump to the link.
App open ads are a special ad format intended for publishers wishing to monetize their app load screens. App open ads can be closed at any time, and are designed to be shown when your users bring your app to the foreground.
Create an app and App Open ad placement on Pangle platform
The main steps to integrate App Open ads are:
BUAppOpenAddisplay ads content
set the host app icon when initializing the Pangle SDK.
Tips: Please follow the code below to set the
appLogoImage , otherwise the logo image won't be displayed in the App open ad.
loadOpenAdWithTimeout method needs to pass in
completionHandler callback, and
completionHandler callback includes BUAppOpenAd and NSError objects.
BUAppOpenAddisplay ads content.
Once the ad is loaded, these ad event callbacks provided by the protocol
BUAppOpenAdDelegate will be invoked at the corresponding time to notify its delegate.
BUAppOpenAdDelegate callback Instruction
This method is invoked when the ad is displayed, covering the device's screen.
This method is invoked when the ad is clicked by the user.
This method is called when the user clicks the skip button.
Ad countdown ends
BUAppOpenAddisplay ads content and it needs to pass in the displayed VC.
For a specific example of loading APP Open Ads, see
BUDAppOpenAdManager in Demo.
Now you have finished the integration. If you wanna test your apps, make sure you use test ads rather than live, production ads. The easiest way to load test ads is to use test mode. It's specially configured to return test ads for every request, and you're free to use it in your own apps while coding, testing, and debugging.
Refer to the How to add a test device? to add your device to the test devices on Pangle platform.