GoogleMobileAds. Api. AdRequest
An AdRequest contains targeting information used to fetch an ad.
Summary
Ad requests are created using AdRequest.Builder.
Inheritance
Direct Known Subclasses:GoogleMobileAds.Api.AdManager.AdManagerAdRequest
Constructors and Destructors |
|
---|---|
AdRequest()
|
|
AdRequest(AdRequest request)
|
Properties |
|
---|---|
Version
|
static string
Request version string.
|
Public attributes |
|
---|---|
Extras = new Dictionary
|
Dictionary< string, string >
Returns extra parameters to be sent in the ad request.
|
Keywords = new HashSet
|
HashSet< string >
Returns targeting information keywords.
|
MediationExtras = new List
|
List< MediationExtras >
Returns extra parameters to be sent to a specific ad partner in the ad request.
|
TestDeviceSimulator = "SIMULATOR"
|
const string
Test device ID used to load test ads.
|
Properties
Version
static string Version
Request version string.
Public attributes
Extras
Dictionary< string, string > Extras = new Dictionary<string, string>()
Returns extra parameters to be sent in the ad request.
Keywords
HashSet< string > Keywords = new HashSet()
Returns targeting information keywords.
Returns an empty set if no keywords were added.
MediationExtras
List< MediationExtras > MediationExtras = new List()
Returns extra parameters to be sent to a specific ad partner in the ad request.
TestDeviceSimulator
const string TestDeviceSimulator = "SIMULATOR"
Test device ID used to load test ads.
.
Public functions
AdRequest
AdRequest()
AdRequest
AdRequest( AdRequest request )