Media Buyer Console
Product Documentation Home
Media Buyer Console (MBC)
Private Marketplace (PMP)
Unified Ad Server (UAS)
Abstract class for all types of ad requests; such as, PMBannerAdRequest, PMNativeAdRequest, and so on.
"alert">Warning: Never use a direct instance of PMBaseAdRequest to request an ad.
The user's stated city of residence.
@property (nonatomic, strong) NSString *city
A two-letter country code in ISO 3166 format that represents the user's stated country of residence. Overrides internally detected country setting. For example: adRequest.country = @"US";
adRequest.country = @"US";
@property (nonatomic, strong) NSString *country
Use this property to set a Designated Market Area (DMA) code for the user (US users only).
@property (nonatomic, strong) NSString *dma
A comma-separated list of keywords indicating the consumer’s interests or intent.
@property (nonatomic, strong) NSString *keywords
Use the location property to deliver geographically relevant ads to users; for example, adRequest.location = [[CLLocation alloc] initWithLatitude:18.563 longitude:73.77];
adRequest.location = [[CLLocation alloc] initWithLatitude:18.563 longitude:73.77];
@property (nonatomic, strong) CLLocation *location
Use this property to request secure ads from ad server. This also supports Apple’s App Transport Security (ATS) protocol.
@property (nonatomic, assign) BOOL requestSecureCreative
Use the zip property may to help deliver geographically relevant ads to users.
@property (nonatomic, strong) NSString *zip
All Rights Reserved Copyright 2018