PMPrefetchManager

Document created by catherine.racette on Sep 12, 2017Last modified by david.simerly on May 10, 2018
Version 3Show Document
  • View in full screen mode

Return to list of References

 

Inherits from:NSObject
Conforms to:PMResponseGenerator
Declared in:

PMPrefetchManager.h

PMPrefetchManager.m

 

Tasks


  maxNetworkTimeout property

prefetchCreativesForRequest:

loadAdForImpressionId:withRenderer:

 

Properties


maxNetworkTimeout

Timeout interval for prefetch request, in seconds.

 

@property (nonatomic, assign) NSTimeInterval maxNetworkTimeout

 

Declared In

PMPrefetchManager.h

 

Instance Methods


loadAdForImpressionId:withRenderer:

Loads prefetched creative for impressionId in the provided renderer

 

- (void)loadAdForImpressionId:(NSString *)impressionId withRenderer:(id<PMAdRenderer>)renderer

 

Parameters

impressionId

Impression id to load prefetched creative for

renderer

Renderer object to render ad for this impression

 

Declared In

PMPrefetchManager.h

 

prefetchCreativesForRequest:

Sends RTB request to fetch available bids.

 

- (void)prefetchCreativesForRequest:(PMBaseAdRequest *)prefetchRequest

 

Parameters

prefetchRequest

A PrefetchRequest instance containing the impression details.

 

Declared In

PMPrefetchManager.h

 

⇧ Top

Attachments

    Outcomes