POST
/
app
/
v0
/
ad
/
{tagid}
{
  "ad": {
    "ext": "<any>",
    "id": "<string>"
  },
  "errorcode": "<string>",
  "ext": "<any>",
  "version": "<string>"
}

Path Parameters

tagid
string
required

The ID of the tag Get from the advertising manager

Body

application/json
AdRequest is used for requesting an ad.

AdRequest is used for requesting an ad.

version
string
required

Version of the SDK API.

device
object | null

the user’s device to which the ad will be delivered. (recommend)

timestamp
integer | null
user
object | null

the advertising audience. (recommended)

Response

200
application/json
version
string
required

Version of the SDK API.

ad
null

Ad

errorcode
string | null

Error code if the request failed.

ext
any

Optional vendor-specific extensions.