Packagecom.distriqt.extension.adverts
Classpublic class AdRequest
InheritanceAdRequest Inheritance Object

Please use the AdRequestBuilder to construct this object

See also

com.distriqt.extension.adverts.builders.AdRequestBuilder


Public Properties
 PropertyDefined By
  birthday : Date = null
the user's birthday targeting information
AdRequest
  gender : int = -1
the user's gender targeting information
AdRequest
  isDesignedForFamilies : int = -1
AdRequest
  keywords : Array
AdRequest
  networkExtras : Object
AdRequest
  networkExtrasJSON : String
[read-only]
AdRequest
  tagForChildDirectedTreatment : int = -1
AdRequest
  testDevices : Array
AdRequest
Public Methods
 MethodDefined By
  
AdRequest
Public Constants
 ConstantDefined By
  DEVICE_ID_EMULATOR : String = B3EEABB8EE11C2BE770B684D95219ECB
[static] The deviceId for emulators to be used with addTestDevice(String).
AdRequest
  GENDER_FEMALE : int = 2
[static] Female gender
AdRequest
  GENDER_MALE : int = 1
[static] Male gender
AdRequest
  GENDER_UNKNOWN : int = 0
[static] Unknown gender
AdRequest
Property Detail
birthdayproperty
public var birthday:Date = null

the user's birthday targeting information

genderproperty 
public var gender:int = -1

the user's gender targeting information

isDesignedForFamiliesproperty 
public var isDesignedForFamilies:int = -1

keywordsproperty 
public var keywords:Array

networkExtrasproperty 
public var networkExtras:Object

networkExtrasJSONproperty 
networkExtrasJSON:String  [read-only]


Implementation
    public function get networkExtrasJSON():String
tagForChildDirectedTreatmentproperty 
public var tagForChildDirectedTreatment:int = -1

testDevicesproperty 
public var testDevices:Array

Constructor Detail
AdRequest()Constructor
public function AdRequest()



Constant Detail
DEVICE_ID_EMULATORConstant
public static const DEVICE_ID_EMULATOR:String = B3EEABB8EE11C2BE770B684D95219ECB

The deviceId for emulators to be used with addTestDevice(String).

GENDER_FEMALEConstant 
public static const GENDER_FEMALE:int = 2

Female gender

GENDER_MALEConstant 
public static const GENDER_MALE:int = 1

Male gender

GENDER_UNKNOWNConstant 
public static const GENDER_UNKNOWN:int = 0

Unknown gender