Browse the help center

Creative weights — bytes one impression pulls, heaviest creatives first

Lists the creatives the account can see by their weight: the bytes one impression downloads from the network's own servers and CDN, with the files they come from (image, video, the largest advanced-video rendition, native assets, template files, the unpacked HTML5 files, the VPAID script).

Reference
GET https://YOUR-NETWORK-DOMAIN/rest-api/banners/weights.do

Lists the creatives the account can see by their weight: the bytes one impression downloads from the network's own servers and CDN, with the files they come from (image, video, the largest advanced-video rendition, native assets, template files, the unpacked HTML5 files, the VPAID script). Files a creative loads from the advertiser's own host cost the network's CDN nothing and are listed at 0 bytes; creatives with nothing of ours are left out unless includeExternal=true. Multiplying a creative's bytes by its impressions estimates the CDN traffic it caused. Weights are recomputed within minutes of a creative being saved and re-read weekly; a creative saved a moment ago may not be listed yet. Each creative carries its media (VIDEO when it serves a video file of ours, else DISPLAY) and the weight it is measured against: the IAB subload limit for its size, the network's limit for sizes IAB has no figure for, or the network's video limit; heavy=true when it is over. The limits are absent when the network has heavy-creative warnings switched off. A size threshold means different things per media - 300 KB is heavy for a banner and small for a video - so filter by media with minBytes, or use heavyOnly; totals splits every match by media.

Query Params

advertiserId integer

Only this advertiser's creatives

1001

campaignId integer

Only this campaign's creatives

2001

bannerIds array<integer>

Only these creatives

3001

includeExternal boolean

Also list creatives whose files all come from the advertiser's host

false

media string

Only creatives that serve a video file of ours (VIDEO), or only the others (DISPLAY)

VIDEO

minBytes integer

Only creatives weighing at least this many bytes per impression

4194304

heavyOnly boolean

Only creatives over their weight limit

false

start integer

Creatives skipped before the first one listed, for paging

0

limit integer

Creatives listed, heaviest first; default 20, at most 500

20

Responses

200

{success, total, more, totals:{VIDEO, DISPLAY}, creatives:[{bannerId, bannerName, bannerType, media, campaignId, campaignName, advertiserId, advertiserName, width, height, bytes, servedByUs, limitBytes, limitBasis, heavy, assets:[{kind, name, bytes, servedByUs}]}]}

400

Bad request — invalid or missing parameters

401

Authentication error

403

The role may not view campaigns and banners

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.