I’m using MoPub Native Ads and have integrated using the MPTableViewAdPlacer.
Initializing the ad placer is very simple -
self.adPlacer = [MPTableViewAdPlacer placerWithTableView:self.tableView
viewController:self
defaultAdRenderingClass:[SomeTableViewAdCell class]];
…
[self.adPlacer loadAdsForAdUnitID:@“mopub_ad_unit_id”];
The app this is integrated in has a single view, so the tableview is only created once on launch. I’d like to be able to disable the ad placer after it’s been initialized. For example, for an in app purchase to disable the ads.
What is the best way to achieve this?