Skip to main content
POST
Request recommendations

Path Parameters

tagid
string<uuid>
required

The ID of the ad unit.

Get from the advertising manager.

Body

application/json
app
object | null

App object for the current serving request.

device
object | null

Device object for the current serving request.

Example:

null

filter
any

Optional exclusion conditions. For webtoon catalogs, rating excludes items above the supplied rating and exclusion_tags excludes items sharing any supplied tag. Conditions combine as exclusions: a match on either condition removes the item. Creative catalog filtering is not implemented. Unknown fields, null values, and empty arrays do not filter candidates. Every top-level array is limited to 100 values, including arrays under unknown fields; exceeding the limit returns HTTP 400 with errorcode 1304.

Example:
seed_item_id
string | null

Optional catalog ID used by seed-based sources, such as Association and Pinned.

site
object | null

Site object for the current serving request.

user
object | null

User object for the current serving request.

Example:

Response

Successfully served recommendation

Recommendation wire response. Unlike an ad response, it never echoes user.

items
object[]
required

Recommended catalog IDs, zero-based positions, and scores when supplied by the candidate source. Empty on error; success may also contain no items.

version
string
required

Version of the SDK API.

errorcode
string | null

Application error code on an error response: 1300 invalid tagid; 1301 ad unit not found; 1302 recommendation disabled; 1303 no applicable delivery policy; 1304 filter array exceeds 100 values. Absent on success.

ext
object | null

Tracking mode on success, or a message on an error response.

tracking_token
string | null

Opaque token for this recommendation result. Send it as tracking_token in recommendation log events. Absent on errors.