Skip to content

Post-bid Parameters

Pinokio’s detection tags carry data about each impression as URL parameters. Most of them you populate from your ad server when you serve the tag; a few are detected automatically by the tag itself.

The reference below covers every parameter the tag accepts. Where a parameter has the same meaning in Pre-bid, the names are aligned so you can populate both calls from the same source.

The tag URL accepts parameters as a standard query string — key=value pairs separated by &:

p={p}&pub={pub}&k={k}&node={node}&uid={uid}&ifa={ifa}&app={app}&dmn={dmn}
&ref={ref}&sid={sid}&adt={adt}&dvt={dvt}&rat={rat}
&aap={aap}&aar={aar}&acp={acp}&apd={apd}
&cmp={cmp}&adv={adv}&plc={plc}&cre={cre}&cb={cb}&dim={dim}&aid={aid}
&geo={geo}&ip={ip}&ua={ua}
&p1={p1}&p2={p2}&p3={p3}&p4={p4}&p5={p5}
ParameterRequiredDescription
pYesPinokio Partner ID. The unique ID of your Pinokio account.
pubYesPublisher ID of the traffic source. Matches the OpenRTB Publisher ID and field #2 in ads.txt.
kYesAPI key.
nodeYesServer ID — identifier for the bidder or prebid instance serving the impression.
ParameterRequiredDescription
uaYesUser agent string. URL-encoded.
ipYesIP address of the user.
uidYesUnique user identifier. For web, the cookie or other user ID. For mobile and CTV use ifa instead.
ifaConditionalDevice ID — IDFA on iOS, AAID on Android, RIDA on Roku, and so on. Required for mobile and CTV traffic.
ParameterRequiredDescription
dmnConditionalDomain where the impression occurred. Required for web traffic. Full domain including TLD; exclude the protocol and path.
appConditionalApp ID / bundle ID. Required for in-app mobile and CTV traffic.
refNoReferring URL, when available.
sidYesSupplier ID — domain of the supplier, seller, or exchange. Matches field #1 in ads.txt.
ParameterRequiredDescription
adtYesAd type. Integer: 1 Banner, 2 Video, 3 Audio, 4 Native.
dvtYesDevice type. See device type values.
ratNoRendered ad type. See rendered ad type values.

These apply only to video and audio inventory. Pass an empty string for non-video, non-audio impressions.

ParameterRequiredDescription
aapNoAuto-play. Whether the ad started playing without user interaction. 0 no, 1 yes, empty string unknown.
aarNoAuto-refresh interval, in seconds. How long the ad plays before auto-refreshing to another ad. Includes pause time. Examples: 5, 7.5, 15, 30, 60.
acpNoContinuous play. Whether the next clip plays automatically after the current one ends. 0 no, 1 yes, empty string unknown.
apdNoForced duration, in seconds. How long the ad plays before the user can skip. Use 0 if the ad is immediately skippable. Examples: 0, 5, 15, 30.
ParameterRequiredDescription
cmpNoCampaign ID. Your campaign identifier — any format your tracking system uses.
advNoAdvertiser ID. The advertiser that bought the traffic.
plcNoPlacement ID.
creNoCreative ID.
cbNoCache buster. Random value generated per request to force the browser to load the tag fresh instead of from cache. Regenerate on every call.
dimNoCreative dimensions, in pixels. Format: {Width}x{Height}. Example: 300x250.
aidNoAd ID. Unique identifier for the creative.
ParameterRequiredDescription
geoYesISO 3166-1 alpha-2 country code where the impression originated. Examples: US, GB, JP.
ParameterRequiredDescription
p1p5NoCustom reporting dimensions. Pass whatever values you want to group reports by, for example your internal Endpoint IDs.

Used by dvt. Aligned with OpenRTB 2.6 / AdCOM 1.0.

ValueMeaning
1Mobile / tablet (legacy combined category)
2Personal computer (desktop / laptop)
3Connected TV
4Phone
5Tablet
6Connected device (Roku, Apple TV, Fire TV, consoles)
7Set-top box
8Digital out-of-home (DOOH)

Used by rat. Interpretation depends on the media type (adt).

ValueDisplayVideoAudioNative
0UnknownUnknownUnknownUnknown
1Rich mediaRich media
2StaticStatic
3Skippable in-streamSkippable in-stream
4Non-skippable in-streamNon-skippable in-stream
5Video discovery
6Bumper
7Outstream
8Masthead

For example, a rich-media display unit is adt=1, rat=1. A non-skippable in-stream video is adt=2, rat=4.