POBNativeAdDelegate Protocol Reference
Conforms to | NSObject |
---|---|
Declared in | POBNativeAd.h |
– nativeAdWillPresentModal:
Notifies delegate that the native ad will launch a modal on top of the current view controller, as a result of user interaction.
- (void)nativeAdWillPresentModal:(id<POBNativeAd>)nativeAd
Parameters
nativeAd |
Instance of POBNativeAd |
---|
Declared In
POBNativeAd.h
– nativeAdDidPresentModal:
Notifies delegate that the native ad have launched a modal on top of the current view controller, as a result of user interaction.
- (void)nativeAdDidPresentModal:(id<POBNativeAd>)nativeAd
Parameters
nativeAd |
Instance of POBNativeAd |
---|
Declared In
POBNativeAd.h
– nativeAdDidDismissModal:
Notifies delegate that the native ad has dismissed the modal on top of the current view controller.
- (void)nativeAdDidDismissModal:(id<POBNativeAd>)nativeAd
Parameters
nativeAd |
Instance of POBNativeAd |
---|
Declared In
POBNativeAd.h
– nativeAdWillLeaveApplication:
Notifies the delegate whenever current app goes in the background due to user click.
- (void)nativeAdWillLeaveApplication:(id<POBNativeAd>)nativeAd
Parameters
nativeAd |
Instance of POBNativeAd |
---|
Declared In
POBNativeAd.h
– nativeAdDidRecordImpression:
Informs delegate that the native ad has recorded an impression
- (void)nativeAdDidRecordImpression:(id<POBNativeAd>)nativeAd
Parameters
nativeAd |
Instance of POBNativeAd |
---|
Declared In
POBNativeAd.h
– nativeAdDidRecordClick:
Informs delegate that the native ad has recorded a click
- (void)nativeAdDidRecordClick:(id<POBNativeAd>)nativeAd
Parameters
nativeAd |
Instance of POBNativeAd |
---|
Declared In
POBNativeAd.h
– nativeAd:didRecordClickForAsset:
Informs delegate that the native ad has recorded a click for a particular asset
- (void)nativeAd:(id<POBNativeAd>)nativeAd didRecordClickForAsset:(NSInteger)assetId
Parameters
nativeAd |
Instance of POBNativeAd |
---|---|
assetId |
Id of the asset clicked |
Declared In
POBNativeAd.h