Browse the help center

Get placement invocation code

Returns a specific invocation code format for a placement identified by its unique key.

Reference
GET https://YOUR-NETWORK-DOMAIN/rest-api/placement/{key}/code.do

Returns a specific invocation code format for a placement identified by its unique key. The code type parameter determines the output format: IFRAME_SIMPLE, VIDEO_PLAYER, API, DIRECT_URL, EMAIL, AJAX or JS_MOUNT. This is the preferred endpoint for retrieving placement invocation codes.

Path Params

key string required

Unique placement key string (MD5 hash)

a1b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4

Query Params

t string required

Invocation code type: IFRAME_SIMPLE, VIDEO_PLAYER, API, DIRECT_URL, EMAIL, AJAX or JS_MOUNT

AJAX

tpId integer

Test page ID for generating test page specific code (internal use)

101

Responses

200

Invocation code returned

400

Bad request — invalid or missing parameters

404

No live placement has this key

Please disable Adblock
Are you using adblock? Disable it and reload the page to proceed to the destination page.

A registration has already been submitted from this page. Please try again in 10 minutes.