POBNativeAdLoader Class Reference
| Inherits from | NSObject |
|---|---|
| Declared in | POBNativeAdLoader.h |
delegate
Sets the POBNativeAdLoaderDelegate receiver for the ad loader..
@property (nonatomic, weak) id<POBNativeAdLoaderDelegate> delegateDeclared In
POBNativeAdLoader.h
bidEventDelegate
Sets the POBBidEventDelegate to notify the bid events.
@property (nonatomic, weak) id<POBBidEventDelegate> bidEventDelegateDeclared In
POBNativeAdLoader.h
request
Object representing bid request
@property (nonatomic, readonly) POBRequest *requestDiscussion
You may set some additional targeting parameters on this object
See Also
Declared In
POBNativeAdLoader.h
impression
Managed impression object created internally. It provides APIs to set pubmatic zone id and other custom parameters.
@property (nonatomic, readonly) POBImpression *impressionDeclared In
POBNativeAdLoader.h
config
Configuration to specify various properties for native ads.
@property (nonatomic, readonly) POBNativeAdLoaderConfig *configDeclared In
POBNativeAdLoader.h
assetList
List of native assets. Must be set if templateType is POBNativeTemplateTypeCustom
@property (nonatomic, strong) NSArray<id<POBNativeRequestAsset> > *assetListSee Also
Declared In
POBNativeAdLoader.h
– initWithPublisherId:profileId:adUnitId:templateType:eventHandler:
Initializes & returns a newly allocated ad loader object.
- (instancetype)initWithPublisherId:(NSString *)publisherId profileId:(NSNumber *)profileId adUnitId:(NSString *)adUnitId templateType:(POBNativeTemplateType)templateType eventHandler:(id<POBNativeAdEvent>)eventHandlerParameters
publisherId |
Unique identifier assigned at the time of publisher onboarding. |
|---|---|
profileId |
Profile id of the ad tag. |
adUnitId |
Ad unit id used to identify unique placement on screen. |
templateType |
Native ad template type. @seealso POBNativeTemplateType |
eventHandler |
Object conforming to POBNativeAdEvent protocol |
Return Value
Instance of POBNativeAdLoader
Declared In
POBNativeAdLoader.h
– initWithPublisherId:profileId:adUnitId:templateType:
Initializes & returns a newly allocated ad loader object for supporting ‘No Ad Server Configuration’.
- (instancetype)initWithPublisherId:(NSString *)publisherId profileId:(NSNumber *)profileId adUnitId:(NSString *)adUnitId templateType:(POBNativeTemplateType)templateTypeParameters
publisherId |
Unique identifier assigned at the time of publisher onboarding. |
|---|---|
profileId |
Profile id of the ad tag. |
adUnitId |
Ad unit id used to identify unique placement on screen. |
templateType |
Native ad template type. @seealso POBNativeTemplateType |
Return Value
Instance of POBNativeAdLoader
Declared In
POBNativeAdLoader.h