PMPrefetchManager

Document created by catherine.racette on Sep 12, 2017Last modified by david.simerly on Nov 6, 2017
Version 2Show Document
  • View in full screen mode

Return to list of References

Inherits from:NSObject
Conforms to:PMResponseGenerator
Declared in:PMPrefetchManager.h

Tasks

  maxNetworkTimeout property

– prefetchCreativesForRequest:

– loadAdForImpressionId:withRenderer:


Properties


maxNetworkTimeout

Timeout interval for prefetch request, in seconds.

@property (nonatomic, assign) NSTimeInterval maxNetworkTimeout

Discussion

Timeout interval for prefetch request, in seconds.

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

Discussion

Loads prefetched creative for impressionId in the provided renderer

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.

Discussion

Sends RTB request to fetch available bids.

Declared In

PMPrefetchManager.h

Attachments

    Outcomes