You can pass in the list of ad sources that need to be filtered through the API before calling the Load method of the ad slot. The ad sources in this list will be filtered when the ad is loaded. The specific configuration is as follows:
You can pass in the list of ad sources that need to be filtered through the API before calling the Load method of the ad slot. The ad sources in this list will be filtered when the ad is loaded. The specific configuration is as follows:
// Adsource ID filter
[[ATAdManager sharedManager] setExludePlacementid:@"you placement id" unitIDArray:@[@"3628" ]];
// Network Firm ID filter
[[ATAdManager sharedManager] setExludePlacementid:@"you placement id" networkFirmIDArray:@[@(ATNetworkFirmIDTypeFacebook),
@(ATNetworkFirmIDTypeAdmob),
@(ATNetworkFirmIDTypeCSJ)]];
UnitID is your advertising source ID in the TopOn dashboard, as shown in the figure: