Create a segment or view asset

Creates one asset. Set assetType to SEGMENT or VIEW and supply a matching rule (advanced or simple).

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params

Request body for POST /v1/assets.

string

Owning organization id. Optional when LR-Org-ID is set on the asset-builder facade; the facade may inject this for the upstream call.

string
required

Display name for the new asset.

string
enum
required

Asset kind:

  • SEGMENT — segment asset (default for most flows)
  • VIEW — view asset (for example CAPI-related use cases)
Allowed:
string
enum

How rule is interpreted:

  • ADVANCED — tree of segment logic (AdvancedRule with include/exclude). - SIMPLE — flat combine of feed selectors (SimpleRule; default).
    Optional; this API defaults to SIMPLE when omitted.
Allowed:
string

Optional human-readable description of the asset.

rule
object
required

Rule payload; shape depends on ruleType and AssetRule discriminator.

string

Client timestamp for the request (ISO 8601 UTC date-time).

string

Requester identifier (user id or email), if you track it.

Headers
string
required

Bearer Authorization using the access token generated with your service account

string
required

LiveRamp Org ID to make requests as. Starting Jan 2022, this is recommended over the Liveramp Customer ID header

Responses

Language
LoadingLoading…
Response
Choose an example:
application/json