PWAdsRequest Class Reference
| Inherits from | NSObject |
|---|---|
| Declared in | PWAdsRequest.h |
zoneID
The id string of the zone of publisher site.
@property (nonatomic, strong) NSString *zoneIDDiscussion
The id string of the zone of publisher site.
Declared In
PWAdsRequest.h
location
Geolocation for targeted ads.
@property (nonatomic, copy) CLLocation *locationDiscussion
Geolocation for targeted ads.
Declared In
PWAdsRequest.h
keywords
List of keywords to that describe a request.
@property (nonatomic, copy) NSArray *keywordsDiscussion
List of keywords to that describe a request.
Declared In
PWAdsRequest.h
numberOfAds
Number of ads requested. Only supported for requesting native ads.
@property (nonatomic, assign) NSInteger numberOfAdsDiscussion
Number of ads requested. Only supported for requesting native ads.
Declared In
PWAdsRequest.h
testMode
Whether request is for test ads. Default is NO.
@property (nonatomic, assign) BOOL testModeDiscussion
Whether request is for test ads. Default is NO.
Declared In
PWAdsRequest.h
customData
Custom Data object for Rewarded Video ads request.
@property (nonatomic, copy) NSMutableDictionary *customDataDiscussion
Custom Data object for Rewarded Video ads request.
Declared In
PWAdsRequest.h
userID
User ID for Rewarded Video ads request.
@property (nonatomic, copy) NSString *userIDDiscussion
User ID for Rewarded Video ads request.
Declared In
PWAdsRequest.h
– initWithZoneID:
Designated initializer for PWAdsRequest.
- (instancetype)initWithZoneID:(NSString *)zoneIDParameters
zoneID |
The id string of the zone of publisher site |
|---|
Discussion
Designated initializer for PWAdsRequest.
Declared In
PWAdsRequest.h
+ requestWithAdZone:
Creates the PWAdsRequest object with the specified zone ID.
+ (PWAdsRequest *)requestWithAdZone:(NSString *)zoneParameters
zone |
The zone ID for which you want to request ads. |
|---|
Discussion
Creates the PWAdsRequest object with the specified zone ID.
Declared In
PWAdsRequest.h
+ requestWithAdZone:andCustomParameters:
Creates the PWAdsRequest object with the specified zone ID and any custom parameters.
+ (PWAdsRequest *)requestWithAdZone:(NSString *)zone andCustomParameters:(NSDictionary *)theParamsParameters
zone |
The zone ID for which you want to request ads. |
|---|---|
theParams |
An |
Discussion
Creates the PWAdsRequest object with the specified zone ID and any custom parameters.
Declared In
PWAdsRequest.h
– customParameterForKey:
Returns the custom parameter that is set in the PWAdsRequest object for the given key.
- (id)customParameterForKey:(NSString *)keyParameters
key |
The key for which you want to see the value. |
|---|
Discussion
Returns the custom parameter that is set in the PWAdsRequest object for the given key.
Declared In
PWAdsRequest.h
– setCustomParameter:forKey:
Sets the custom parameter in the PWAdsRequest object for the given key.
- (id)setCustomParameter:(id)value forKey:(NSString *)keyParameters
value |
The value for which you want to set the key. |
|---|---|
key |
The key for which you want to set the value. |
Discussion
Sets the custom parameter in the PWAdsRequest object for the given key.
Declared In
PWAdsRequest.h
– removeCustomParameterForKey:
Removes the custom parameter in the PWAdsRequest object for the given key.
- (id)removeCustomParameterForKey:(NSString *)keyParameters
key |
The key for which you want to remove the value. |
|---|
Discussion
Removes the custom parameter in the PWAdsRequest object for the given key.
Declared In
PWAdsRequest.h