Skip to main content
POST
Serving an ad

Path Parameters

tagid
string<uuid>
required

The ID of the placement.

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

Device object for the current ad request.

user
object | null

User object for the current ad request.

Response

Successfully served an ad

version
string
required

Version of the SDK API.

ad
object | null

Ad object.

errorcode
string | null

Error code if the request failed.

ext
any

Optional A2 specific extensions.