Request example

Android Banner Request

{
    "id": "92ca2c72-53c0-4552-be3c-7559398564cb",
    "imp": [
        {
            "id": "92ca2c72-53c0-4552-be3c-7559398564cb",
            "instl": 0,
            "clickbrowser": 0,
            "secure": 1,
            "banner": {
                "api": [5],
                "format": [
                    {"w": 300, "h": 250},
                    {"w": 320, "h": 50}
                ]
            },
            "ext": {
                "prebid": {
                    "storedrequest": {
                        "id": "testnexx"
                    }
                }
            }
        }
    ],
    "app": {
        "name": "Prebid Java Demo",
        "bundle": "org.prebid.mobile.javademo",
        "ver": "1.0.0",
        "publisher": {
            "id": "1109"
        },
        "ext": {
            "prebid": {
                "source": "prebid-mobile",
                "version": "2.2.0"
            }
        }
    },
    "device": {
        "ua": "Mozilla/5.0 (Linux; Android 12; sdk_gphone64_x86_64 Build/SE1A.211212.001.B1; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/91.0.4472.114 Mobile Safari/537.36",
        "lmt": 0,
        "devicetype": 4,
        "make": "Google",
        "model": "sdk_gphone64_x86_64",
        "os": "Android",
        "osv": "12",
        "language": "en",
        "carrier": "T-Mobile",
        "mccmnc": "310-260",
        "ifa": "a4ea4cad-5806-46a7-90b1-a64f9e3f0d25",
        "h": 3120,
        "w": 1440,
        "connectiontype": 2,
        "pxratio": 3.5
    },
    "regs": {
        "ext": {
            "gdpr": 0
        }
    },
    "user": {},
    "source": {
        "tid": "92ca2c72-53c0-4552-be3c-7559398564cb"
    },
    "ext": {
        "prebid": {
            "storedrequest": {
                "id": "1109"
            },
            "cache": {
                "bids": {}
            },
            "targeting": {}
        }
    }
}

iOS Banner Request

Interstitial Request

For interstitial ads, set instl: 1 in the impression object:

Video Request

Native Request

Key Fields Reference

Device Object

Field
Type
Description

ua

string

User agent string

os

string

Operating system (Android, iOS)

osv

string

OS version

make

string

Device manufacturer

model

string

Device model

ifa

string

Advertising ID (IDFA for iOS, AAID for Android)

w

integer

Screen width in pixels

h

integer

Screen height in pixels

connectiontype

integer

2=WiFi, 3=Cellular

lmt

integer

Limit Ad Tracking (0=tracking allowed, 1=limited)

Value
Framework

3

MRAID 1.0

5

MRAID 2.0

6

MRAID 3.0

7

OMID 1.0

iOS ATT Status (device.ext.atts)

Value
Status

0

Not determined

1

Restricted

2

Denied

3

Authorized

Last updated

Was this helpful?