POBGAMCustomNativeAdDelegate Protocol Reference

Conforms to NSObject
Declared in GAMNativeBannerEventHandler.h

Overview

Protocol for the interaction with GAM’s custom native ad instance.

– customNativeAdFormatIDs required method

Method to return an array of custom native ad format ID

- (NSArray<NSString*> *)customNativeAdFormatIDs

Return Value

List of strings

Declared In

GAMNativeBannerEventHandler.h

– eventHandler:didReceiveCustomNativeAd: required method

Notifies the delegate that an ad has been successfully received.

- (void)eventHandler:(id<POBBannerEvent>)eventHandler didReceiveCustomNativeAd:(GADCustomNativeAd *)customNativeAd

Parameters

eventHandler

Instance of GAMNativeEventHandler

customNativeAd

The GADCustomNativeAd instance sending the message.

Declared In

GAMNativeBannerEventHandler.h