GoogleMobileAds.
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 stringRequest version string.  | 
| Public attributes | |
|---|---|
| CustomTargeting = new Dictionary | Dictionary< string, string >The custom targeting parameters.  | 
| 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.  | 
| PlacementID | longA long integer provided by the AdMob UI for the configured placement.  | 
| TestDeviceSimulator = "SIMULATOR" | const stringTest device ID used to load test ads.  | 
Properties
Version
static string Version
Request version string.
Public attributes
CustomTargeting
Dictionary< string, string > CustomTargeting = new Dictionary<string, string>()
The custom targeting parameters.
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.
PlacementID
long PlacementID
A long integer provided by the AdMob UI for the configured placement.
TestDeviceSimulator
const string TestDeviceSimulator = "SIMULATOR"
Test device ID used to load test ads.
.
Public functions
AdRequest
AdRequest()
AdRequest
AdRequest( AdRequest request )