self.dfpBannerView.adUnitID = unitId;
self.dfpBannerView.delegate=self;
[self.dfpBannerView setRootViewController:delegate];
[self.dfpBannerView loadRequest:[GADRequest request]];
The code is inside Custom TableView Cell.
-(void)setUpAd:(UIViewController *) delegate withUnitId:(NSString *)unitId{
DLog(@"ad unit id %@",unitId);
self.dfpBannerView.adUnitID = unitId;
self.dfpBannerView.delegate=self;
[self.dfpBannerView setRootViewController:delegate];
// Initiate a generic request to load it with an ad.
[adMob_ActivityIndicator startAnimating];
[self.dfpBannerView loadRequest:[GADRequest request]];
self.dfpBannerView.delegate=self;