InMobi Windows Phone Ad SDK
 All Classes Namespaces Functions Variables Enumerations Properties Events
Classes | Enumerations | Functions
Package InMobi.WP.AdSDK

Classes

class  IMAdView
 Control that displays a banner or text Ad from InMobi Ad server. This control automatically refresh the Ad after interval set by RefreshInterval property More...
 
class  SDKUtility
 InMobi SDK utility class More...
 
class  IMAdViewErrorEventArgs
 Contains the details for failed Ad Request More...
 
class  IMAdInterstitial
 Control that loads an Interstitial Ad from InMobi Ad server. After loading of interstitial ad has been completed,it can be shown at any time using ShowAd method. More...
 
class  UserLatLong
 GPS Location of the device that can be used to increase targeting of the ad. More...
 
class  UserLocation
 Device location information that can be used to increase targeting of the ad More...
 
class  IMAdInterstitialErrorEventArgs
 Contains details for failed Ad Request More...
 
class  IMAdRequest
 IMAdRequest is used to provide extra information when fetching ads. It is primarily used for better targeting of ads and to set the test mode. More...
 

Enumerations

enum  LogLevels {
  IMLogLevelNone = 0, IMLogLevelDebug = 1, IMLogLevelMinimal = 2, IMLogLevelCritical = 3,
  IMLogLevelError = 4
}
 Log Levels More...
 
enum  EducationType {
  None, HighSchool, SomeCollege, InCollege,
  BachelorsDegree, MastersDegree, DoctoralDegree, Other
}
 Type of education More...
 
enum  EthnicityType {
  None, Mixed, Asian, Black,
  Hispanic, NativeAmerican, White, Other
}
 Ethnicity More...
 
enum  GenderType { None, Male, Female }
 Specifies the type of gender More...
 
enum  ErrorCode {
  AD_CLICK_IN_PROGRESS, NO_FILL, AD_DOWNLOAD_IN_PROGRESS, INTERNAL_ERROR,
  INVALID_REQUEST, NETWORK_ERROR, PHONEDIALER_ERROR, DEVICEIDENTITY_ERROR,
  DEVICECAPABILITY_ERROR
}
 Enum for all types of ErrorCodes More...
 
enum  IMAdAnimationType {
  NONE, CURL_UP, SLIDE_IN_LEFT, SLIDE_IN_RIGHT,
  CURL_DOWN, FLIP_FROM_LEFT, FLIP_FROM_RIGHT, FADE_OUT
}
 Specifies the type of Ad Animation. More...
 
enum  States { INIT, LOADING, READY, ACTIVE }
 Different states of Interstitial Ads More...
 

Functions

delegate void AdRequestErrorHandler (object sender, IMAdViewErrorEventArgs e)
 Delegate Signature for Error Handler
 

Enumeration Type Documentation

Type of education

Enumerator:
None 

The education type is None.

HighSchool 

The education type is HighSchool.

SomeCollege 

The education type is SomeCollege.

InCollege 

The education type is InCollege.

BachelorsDegree 

The education type is BachelorsDegree.

MastersDegree 

The education type is MastersDegree.

DoctoralDegree 

The education type is DoctoralDegree.

Other 

The education type is Other.

Enum for all types of ErrorCodes

Enumerator:
AD_CLICK_IN_PROGRESS 

An ad click is in progress.

NO_FILL 

The ad request was successful, but no ad was returned due to lack of inventory.

AD_DOWNLOAD_IN_PROGRESS 

An ad request is in progress.

INTERNAL_ERROR 

An error occurred while fetching the ad.

INVALID_REQUEST 

Invalid request error could be due to an invalid appId, or the appId might not be in the Active state.

NETWORK_ERROR 

A network error occurred.

PHONEDIALER_ERROR 

A phone dialer error occured.

DEVICEIDENTITY_ERROR 

A device identity error.

DEVICECAPABILITY_ERROR 

A devie capability error. Some required device capability is missing

Ethnicity

Enumerator:
None 

The ethnicity type is None.

Mixed 

The ethnicity type is Mixed.

Asian 

The ethnicity type is Asian.

Black 

The ethnicity type is Black.

Hispanic 

The ethnicity type is Hispanic.

NativeAmerican 

The ethnicity type is Native American.

White 

The ethnicity type is White.

Other 

The ethnicity type is Other.

Specifies the type of gender

Enumerator:
None 

The gender type is none.

Male 

The gender type is male.

Female 

The gender type is female.

Specifies the type of Ad Animation.

Enumerator:
NONE 

Specifies that there is no animation.

CURL_UP 

Specifies the curl up animation.

SLIDE_IN_LEFT 

Specifies the slide in left animation.

SLIDE_IN_RIGHT 

Specifies the slide in right animation.

CURL_DOWN 

Specifies the curl down animation.

FLIP_FROM_LEFT 

Specifies the flip from left animation.

FLIP_FROM_RIGHT 

Specifies the flip from right animation.

FADE_OUT 

Specifies the fade out animation.

Log Levels

Enumerator:
IMLogLevelNone 

The log level is None.

IMLogLevelDebug 

The log level is Debug.

IMLogLevelMinimal 

The log level is Minimal.

IMLogLevelCritical 

The log level is Critical.

IMLogLevelError 

The log level is Error.

Different states of Interstitial Ads

Enumerator:
INIT 

When the Interstitial Ad is initialized.

LOADING 

When a request to load the Ad is made.

READY 

When the Ad is ready to display.

ACTIVE 

When the Ad is displayed.

Function Documentation

delegate void InMobi.WP.AdSDK.AdRequestErrorHandler ( object  sender,
IMAdViewErrorEventArgs  e 
)

Delegate Signature for Error Handler

Parameters
IMAdviewIMAdview container contaning the Ad
eObject containing the Error code and Error Description