Ad Format Integration
Here's how to integrate the supported ad formats in Unreal Engine. Each ad format has its own unique characteristics and implementation details.
- Interstitial Ads
- Rewarded Ads
- App Open Ads
Interstitial Ads
Interstitial ads are full-screen ads that appear at natural transition points in your app.
Benefits
- Engaging full-screen content
- Media content can be static, video-based or interactive
- Positive UX when placed at natural transition points
Implementation
- Set up callbacks for the interstitial ads:

Interstitial Ad Callbacks Setup
- Show the interstitial ad:

Show Interstitial Ad
caution
Ensure that:
- The MAS SDK is initialized before loading interstitial ads
- The ad is loaded before calling the ShowInterstitialAd() function
Rewarded Video Ads
Rewarded video ads enable users to earn in-app rewards by watching video ads.
Benefits
- Increase revenue with highest eCPM rates
- Increase in-app purchases
- Increase user engagement and retention
Implementation
- Set up callbacks for rewarded ads:

Rewarded Ad Callbacks Setup
- Show the rewarded ad:

Show Rewarded Ad
caution
Ensure that:
- The MAS SDK is initialized before loading rewarded ads
- The ad is loaded before calling the ShowRewardedAd() function
App Open Ads
App Open ads are shown when users launch your app, resume your app, or switch back to your app.
Benefits
- Monetize app launch moments
- Non-intrusive user experience
- High visibility and engagement
Implementation
- Set up callbacks for app open ads:

App Open Ad Callbacks Setup
- Show the app open ad:

Show App Open Ad
caution
Ensure that:
- The MAS SDK is initialized before loading app open ads
- The ad is loaded before calling the ShowAppOpenAd() function
Best Practices
- Preload Ads: Always preload ads before showing them to ensure they're ready when needed.
- Use Placements: Set placement names when showing ads to track performance in the dashboard.
- Handle Failures: Implement proper error handling using the provided callbacks.
- User Experience: Place ads at natural transition points in your game.
- Testing: Test thoroughly on both Android and iOS platforms.