Browse the help center

Download a placement's invocation code

Returns the placement's invocation code of the given type as a text-file attachment, the same file the console's download button hands out.

Reference
GET https://YOUR-NETWORK-DOMAIN/rest-api/placements/{placementId}/invocation-code/export.do

Returns the placement's invocation code of the given type as a text-file attachment, the same file the console's download button hands out. Requires VIEW access to the placement's site and, for types that have one, the per-type invocation-code permission.

Path Params

placementId integer required

Placement ID

4001

Query Params

type string required

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

AJAX

Responses

200

text/plain attachment named {placement}_invocation_code({type}).txt

400

Unknown code type

401

Authentication error

403

No VIEW access to the site, or the code type is not available to the caller for this placement

404

Placement, its zone or its site not found or deleted

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.