CERequestInfo

Overview

The information when request the ad.

Interface

placement

Declaration

@property (nonatomic, copy) NSString *placement;

Discussion

The placement for request the ad.

place

Declaration

@property (nonatomic, assign) int place;

Discussion

Currently not supported

timeout

Declaration

@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

Declaration

@property (nonatomic, copy) NSDictionary *localExtra;

Discussion

Currently not supported

adWidth

Declaration

@property (nonatomic, assign) CGFloat adWidth;

Discussion

The width of the adUIView from this ad request.

- 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