loadWithAdManagerAdRequest static method
Future<void>
loadWithAdManagerAdRequest({
- required String adUnitId,
- required AdManagerAdRequest adManagerRequest,
- required RewardedAdLoadCallback rewardedAdLoadCallback,
Loads a RewardedAd using an AdManagerAdRequest.
Implementation
static Future<void> loadWithAdManagerAdRequest({
required String adUnitId,
required AdManagerAdRequest adManagerRequest,
required RewardedAdLoadCallback rewardedAdLoadCallback,
}) async {
RewardedAd rewardedAd = RewardedAd._fromAdManagerRequest(
adUnitId: adUnitId,
adManagerRequest: adManagerRequest,
rewardedAdLoadCallback: rewardedAdLoadCallback);
await instanceManager.loadRewardedAd(rewardedAd);
}