Ap Mediation SDK lets app developers easily integrate and optimize multiple ad networks inside their mobile apps—without needing to install several separate SDKs.
Here is a quick implementation guide that covers waterfall integration and shows you how to use Ap Mediation SDK based on if you are using GAM Mediation or AdMob Mediation.
If you are using AdMob Mediation then follow these steps:
Configure mediation settings for your ad unit:
-
First, sign in to your AdMob account. Next, navigate to the Mediation tab.
-
To create a new mediation group, select Create Mediation Group.
-
Enter your ad format to Interstitial and platform to Android, then click Continue.
-
Give your mediation group a name, and select locations to target. Next, set the mediation group status to Enabled, and then click Add Ad Units.
-
Associate this mediation group with one or more of your existing AdMob ad units. Then click Done.
-
You should now see the ad units card populated with the ad units you selected:
-
Under Waterfall, Click on the ADD CUSTOM EVENT Button, Select a Label Name and a manual eCPM > $1 and then select continue.
-
Under
AdPushup Mediation(Label that you created),- Click on Select a mapping > Add Additional Mapping
-
Fill the Custom Event Details as follows and Select Done:
Class Name:
com.adpushup.apmediationsdk.ApMediationAdapterParameter:
{ "ap_config_id" : "ap-app-10003" }(Example Only, Will be different for each app.) -
Save the newly created group and make its priority accordingly.
For Flutter App:
-
Add Ap Mediation SDK to your app by running:
flutter pub add ap_mediation_sdk
For React Native App:
-
Add Ap Mediation SDK to your app by running:
npm install @adpushup/ap-mediation-sdk
For Native Android App:
-
Add the dependencies to your module's app-level Gradle file, normally
app/build.gradle:dependencies { implementation 'com.adpushup:apmediationsdk:2.0.2' }
If you are using GAM Mediation then follow these steps:
- Sign in to Google Ad Manager.
- Click Admin, then Companies.
- Click New company, then Ad network.
- Specify a unique name (For example AdPushup Mediation) for this Ad Manager company to determine how it will appear in Ad Manager reports.
- Click Select ad network and choose "Other company”.
- Toggle Mediation to enable AdPushup to participate in App Mediation.
- Click Save.
Follow these steps to configure mediation for your interstitial ad unit (Same Steps for Rewarded Ads too):
- Sign in to Google Ad Manager.
- Click Delivery, then Yield groups.
- Click the name of the yield group you'd like to edit. (You can add a new Yield Group if needed by clicking on the New yield group button).
- Click Add yield partner.
- Select the yield partner from the Yield partner dropdown (That you created in Stage A).
- Select integration type to Custom event.
- Select the Platform to Android.
- (Optional) Select Ad Units on which you want to run AdPushup Ads.
- Set Status to Active.
- Enter a Default CPM value. (Optionally select override Override Dynamic CPM)
- Under "Additional yield partner details, fill in:
- Label: Enter a name for the custom event to be used in reporting.
- Class Name:
com.adpushup.apmediationsdk.ApMediationAdapter - Parameter:
{ "ap_config_id" : "ap-app-20101" }(The ID will be unique for each app)
- Click Save and activate to save and activate the Setup.
For Flutter App:
-
Add Ap Mediation SDK to your app by running:
flutter pub add ap_mediation_sdk
For React Native App:
-
Add Ap Mediation SDK to your app by running:
npm install @adpushup/ap-mediation-sdk
For Native Android App:
-
Add the dependencies to your module's app-level Gradle file, normally
app/build.gradle:dependencies { implementation 'com.adpushup:apmediationsdk:2.0.2' }
That’s all. Your app is ready to serve AdPushup Ads.







