Browse the help center

Get banner by ID

Retrieves full details of a single banner by its ID, including labels, linkage status, traffic state, and native preferences (for native placement banners).

Reference
GET https://YOUR-NETWORK-DOMAIN/rest-api/banner/{bannerId}.do

Retrieves full details of a single banner by its ID, including labels, linkage status, traffic state, and native preferences (for native placement banners). The answer carries the creative's shareable preview link, the one the console's Preview button opens: 'previewUrl' is built on the address this request reached the server on and 'previewPath' is the same link without it. It needs no login, so it can be sent to anyone, and works for 30 days. Where the network configures its own banner preview link, that URL is answered as 'previewUrl' instead and there is no 'previewPath'. The preview is not returned in the self-serve shape. The user must have VIEW permission on the banner's advertiser. With the MASK_CAMPAIGNS permission a banner of an advertiser the caller does not own is named BANNER_{id}, as in the console's trees and grids. Returns 404 if the banner does not exist or has been deleted. The response also carries additionalFieldValues: every custom field the network defines for this entity type, keyed by field id, each with its name and this entity's value (null when unset) - the values of /rest-api/additional-fields/{entityType}/{entityId}.

Path Params

bannerId integer required

ID of the banner to retrieve

3001

Query Params

selfServRequest boolean

If true, returns the Self-Serve response format

false

Responses

200

Banner details, with previewUrl and previewPath

400

Bad request — invalid or missing parameters

401

Authentication error

403

Not enough permissions

404

Banner not found

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.