CERequestInfo
Overview
The information when request the ad.
Interface
placement
placementDeclaration
@property (nonatomic, copy) NSString *placement;Discussion
The placement for request the ad.
place
placeDeclaration
@property (nonatomic, assign) int place;Discussion
Currently not supported
timeout
timeoutDeclaration
@property (nonatomic, assign) NSTimeInterval timeout;Discussion
Max duration to wait if there is no ad available. (Default is equal to 5 seconds)
Ad response would be returned within specified timeout period (asynchronous).
To get ad response synchronously, set the timeout to 0 (synchronous).
localExtra
localExtraDeclaration
@property (nonatomic, copy) NSDictionary *localExtra;Discussion
Currently not supported
adWidth
adWidthDeclaration
@property (nonatomic, assign) CGFloat adWidth;Discussion
The width of the adUIView from this ad request.
- addTargetingRules:
- addTargetingRules:Declaration
- (void)addTargetingRules:(NSArray<CETargetingRule *> *)rules forKey:(NSString *)key;Parameters
name
description
rules
CETargetingRule for targeting rules.
forkey
The key for targeting.
Discussion
The rules for targeting on specific key.
Last updated
