InMobi Windows Phone Ad SDK
 All Classes Namespaces Functions Variables Enumerations Properties Events
Public Types | Public Member Functions | Properties | List of all members
InMobi.WP.AdSDK.IMAdRequest Class Reference

IMAdRequest is used to provide extra information when fetching ads. It is primarily used for better targeting of ads . More...

Public Types

enum  IMIDType { ID_LOGIN, ID_SESSION }
 Specifies the type of ID TYPE More...
 

Public Member Functions

void AddIDType (IMIDType imIDType, string imIDTypeValue)
 Adds the DeviceMaskId Values
 

Properties

bool LocationInquiryAllowed [get, set]
 Gets or sets the LocationInquiryAllowed value. Set if the user's location information can be used for targeting purpose. Setting it to true will make use of device GPS service.
 
List< string > Keywords [get, set]
 Gets or sets the list of keywords for Ad targetting.
 
string SearchString [get, set]
 Search string provided Example. Hotel
 
Dictionary< string, string > ParamsDictionary [get, set]
 Additional values to be passed in the AdRequest as a key value pair. Example: City=Boston
 
int Age [get, set]
 Gets or sets the age that the ad will be targeted for.
 
double Income [get, set]
 Gets or sets the income that the ad will be targeted for.
 
DateTime DateOfBirth [get, set]
 Gets or sets the date of birth that the ad will be targeted for.
 
UserLatLong LatLong [get, set]
 Gets or sets the GPS location that the ad will be targeted for.
 
UserLocation Location [get, set]
 Gets or sets the geographical location that the ad will be targeted for.
 
EducationType Education [get, set]
 Gets or sets the education level that the ad will be targeted for.
 
EthnicityType Ethnicity [get, set]
 Gets or sets the ethnicity that the ad will be targeted for.
 
GenderType Gender [get, set]
 Gets or sets the gender that the ad will be targeted for.
 
string AreaCode [get, set]
 Gets or sets the area code that the ad will be targeted for. Must be a 3-digit positive number.
 
string PostalCode [get, set]
 Gets or sets the postal code that the ad will be targeted for. Must be a 5-digit positive number
 
List< string > Interests [get, set]
 Gets or sets the list of interests that the ad will be targeted for.
 

Detailed Description

IMAdRequest is used to provide extra information when fetching ads. It is primarily used for better targeting of ads .

Member Enumeration Documentation

Specifies the type of ID TYPE

Enumerator:
ID_LOGIN 

Specifies the Login ID type

ID_SESSION 

Specifies the Session ID type

Member Function Documentation

void InMobi.WP.AdSDK.IMAdRequest.AddIDType ( IMIDType  imIDType,
string  imIDTypeValue 
)

Adds the DeviceMaskId Values

Parameters
imIDTypeThe IMIDType to be added.
imIDTypeValueThe value of IMIDType to be added.

Property Documentation

int InMobi.WP.AdSDK.IMAdRequest.Age
getset

Gets or sets the age that the ad will be targeted for.

string InMobi.WP.AdSDK.IMAdRequest.AreaCode
getset

Gets or sets the area code that the ad will be targeted for. Must be a 3-digit positive number.

DateTime InMobi.WP.AdSDK.IMAdRequest.DateOfBirth
getset

Gets or sets the date of birth that the ad will be targeted for.

EducationType InMobi.WP.AdSDK.IMAdRequest.Education
getset

Gets or sets the education level that the ad will be targeted for.

EthnicityType InMobi.WP.AdSDK.IMAdRequest.Ethnicity
getset

Gets or sets the ethnicity that the ad will be targeted for.

GenderType InMobi.WP.AdSDK.IMAdRequest.Gender
getset

Gets or sets the gender that the ad will be targeted for.

double InMobi.WP.AdSDK.IMAdRequest.Income
getset

Gets or sets the income that the ad will be targeted for.

List<string> InMobi.WP.AdSDK.IMAdRequest.Interests
getset

Gets or sets the list of interests that the ad will be targeted for.

List<string> InMobi.WP.AdSDK.IMAdRequest.Keywords
getset

Gets or sets the list of keywords for Ad targetting.

UserLatLong InMobi.WP.AdSDK.IMAdRequest.LatLong
getset

Gets or sets the GPS location that the ad will be targeted for.

UserLocation InMobi.WP.AdSDK.IMAdRequest.Location
getset

Gets or sets the geographical location that the ad will be targeted for.

bool InMobi.WP.AdSDK.IMAdRequest.LocationInquiryAllowed
getset

Gets or sets the LocationInquiryAllowed value. Set if the user's location information can be used for targeting purpose. Setting it to true will make use of device GPS service.

Dictionary<string, string> InMobi.WP.AdSDK.IMAdRequest.ParamsDictionary
getset

Additional values to be passed in the AdRequest as a key value pair. Example: City=Boston

string InMobi.WP.AdSDK.IMAdRequest.PostalCode
getset

Gets or sets the postal code that the ad will be targeted for. Must be a 5-digit positive number

string InMobi.WP.AdSDK.IMAdRequest.SearchString
getset

Search string provided Example. Hotel