TopOn Mediation Support
Integrate SDK and Mediation Adapter
To integrate the CartyTopOnAdapter through CocoaPods:
1.Add the following line to your Podfile:
http
//TopOnSDK > 6.4.9.3
pod CartyTopOnAdapter
//TopOnSDK <= 6.4.9.3
pod 'CartyTopOnAdapter/6493'2.Run the following on the command line:
http
pod install --repo-updateConfigure your Mediation Settings
Click on the "Network" link on the side bar menu and Select "+ Custom Netwrok Firm"

Then Fill the "iOS Adapte's class names" And Submit
| Ad Type | Class Name |
|---|---|
| Banner | CartyTopOnBannerAdapter |
| Native | CartyTopOnNativeAdapter |
| Interstitial | CartyTopOnInterstitialAdapter |
| Rewarded Video | CartyTopOnRewardedAdapter |
| Splash | CartyTopOnAppOpenAdapter |

Click on the "Mediation" link on the side bar menu and "Add Ad Soure"
- Netwrok Firm select Custom Netwrok Firm (Carty)
- App Dimension Parameters add a Param
appidand fill the your carty appid - Slot ID fill the your carty placement id
- Then Submit

If you need to set the banner size:
Ad Source Dimension Parameters add a Param bannerSize and fill the size
- Supported bannerSize values: "320x50" or "320x100" or "300x250"

CustomExtras
Ad network extras sent to CartySDK
objc
NSMutableDictionary * loadConfigDict = [NSMutableDictionary dictionary];
//set bannerSize (only Banner)
//Supported bannerSize values: "320x50" or "320x100" or "300x250"
loadConfigDict[@"Carty_BannerSize"] = @"320x50"
//set mute
loadConfigDict[@"Carty_isMute"] = @(YES);
//load Ad
[[ATAdManager sharedManager] loadADWithPlacementID:self.pid extra:loadConfigDict viewController:self delegate:self];