ironsource-mediation
Version:
IronSource ad mediation React-Native plugin. Monetize apps with rewarded video, interstitial, banner, and native ads.
31 lines (29 loc) • 968 B
text/typescript
/** Segment ===================================================================**/
/**
* @deprecated This API will be removed in version 4.0.0.
*/
export type IronSourceUserGender = 'female' | 'male'
/**
* Send Segment related info to the server by one of two methods:
* Method 1: Specify the segmentName if you know to which Segment the user belongs.
* Method 2: Send parameters to have the server find a matching Segment.
*
* If both name and params are sent, the server would first try to find by name,
* then try by params if there is no match by name.
*
* Up to 5 custom parameters are allowed.
*
* @deprecated This API will be removed in version 4.0.0.
*/
export type IronSourceSegment = {
segmentName?: string
gender?: IronSourceUserGender
age?: number // Int
level?: number // Int
isPaying?: boolean
userCreationDateInMillis?: number // Long
iapTotal?: number // Double
customParameters?: {
[key: string]: string
}
}