self.adLoader = [[GADAdLoader alloc]
initWithAdUnitID:<OUR SITE ID GOES HERE>
rootViewController:self.fetchRequest.rootViewController
adTypes:@[kGADAdLoaderAdTypeNativeCustomTemplate]
options:nil];
self.adLoader.delegate = self;
DFPRequest *request = [DFPRequest request];
[self.adLoader loadRequest:request];
We have implemented the following two delegate callbacks
#pragma - mark GADAdLoaderDelegate
- (void)adLoader:(GADAdLoader *)adLoader didFailToReceiveAdWithError:(GADRequestError *)error
#pragma - mark GADNativeCustomTemplateAdLoaderDelegate
- (void)adLoader:(GADAdLoader *)adLoader didReceiveNativeCustomTemplateAd:(GADNativeCustomTemplateAd *)nativeCustomTemplateAd
Is there a delegate method that we should be implementing or is there an issue where a delegate may not always get called?
Thanks for your help
--
---
You received this message because you are subscribed to a topic in the Google Groups "Google Mobile Ads SDK Developers" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-admob-ads-sdk/r2kya0ZZ--Y/unsubscribe.
To unsubscribe from this group and all its topics, send an email to google-admob-ads...@googlegroups.com.
To post to this group, send email to google-adm...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.