Platform Integration Macros

 

A macro is a placeholder in an ad tag pattern that IndiCue to uses to dynamically insert specific parameters into ad requests at the appropriate location during the delivery process. 

When IndiCue sends a request to your buyer, all macros placeholders are replaced with actual values for each parameter. Based on these parameters your buyer will evaluate the ad request and make a decision whether to show the user an ad.  Please make sure you choose a corresponding macro from the list and all macros used should match those of your buyer’s ad tag in order to meet your buyer’s requirements. Unless you insert all necessary parameters, IndiCue won’t be able to pass macros values to your buyer.

Last updated: November 12, 2026

NameTag/oRTB
Parameter
MacroCategoryDescriptionSupported by
User data
User IP&uip=device.ip{uip}
Device

Required
The IP address of the device making the request. Used for geolocation, content personalization, and analytics.

Example: uip=127.0.0.1
Ad Server
DSP
SSAI
User Agent&ua=
device.ua
{ua}Device
Required
The User-Agent string from the device accessing the content.

Example: ua=Mozilla/5.0 (Linux; Android 2.2; Mobile; Safari/533.1)
Ad Server
DSP
SSAI
“Do Not Track” Flag&dnt=
device.dnt
{dnt}Privacy“Do Not Track” flag as set in the header by
the browser, where 0 = tracking is
unrestricted, 1 = do not track.

Example: dnt=1
Ad Server
DSP
SSAI
‘Limit Ad Tracking” Flag&lmt=
device.lmt
{lmt}PrivacySignal commercially endorsed (e.g., iOS,
Android), where 0 = tracking is unrestricted,
1 = tracking must be limited per commercial guidelines.

Example: lmt=0
Ad Server
DSP
SSAI
User ID&uid=
user.id

&uid=
device.ifa
{uid}GeneralExchange specific ID for the user, depending on the source.

Example: uid=sdf543sdt5nu
DSP
User IDu={u}GeneralA unique identifier for the user accessing the stream. Used to track individual user sessions and personalize content delivery.

Example: u=testuser
SSAI
LiveRamp ID&ramp_id=
user.ext.eids[0].uids[0].id
{ramp_id}DeviceLiveramp envelope ID.

Example: eyJlbnZlbG9wZSI6IkF1UUZuQ0hFZkRFZklFLUt3N
Ad Server
SSAI
Language&lang=
device.language
{lang}DeviceDevice language.

Example: lang=en
Ad Server
DSP
SSAI
Device data
Device Category&device_category=device.devicetype{device_category}DeviceIndicates the category of the device, such as smartphone, tablet, PC, smart TV, etc. This categorization helps in tailoring the content experience to the device type.

1 -Mobile
2 - Personal Computer,
3 – Connected TV
4 - Phone
5 - Tablet
6 - Connected Device
7 - Set Top Box

Example: device_type=4
Ad Server
DSP
Device Model&device_model=
device.model
{device_model}DeviceThe model of the device accessing the stream, such as the specific smartphone or smart TV model. This helps in content optimization and analytics.

Example: device_model= iPhone 3.1
Ad Server
DSP
SSAI
Device Manufacturer&device_make=
device.make
{device_make}DeviceThe manufacturer of the device, such as Apple, Samsung, etc. Used for analytics and potentially for optimizing content based on device capabilities.

Example: device_make=Apple
Ad Server
DSP
SSAI
Device Operating System&device_os=
device.os
{device_os}DeviceThe mobile operating system.

Example: device_os=Android
Ad Server
DSP
SSAI
Device Operating System Version&device_osv=
device.osv
{device_osv}DeviceThe version of the mobile OS.

Example: device_osv=6.1
Ad Server
DSP
SSAI
Network Carrier&device_isp=
device.carrier
{device_isp}DeviceThe name of the mobile carrier identifier.

Example: device_isp=AT&T
Ad Server
DSP
SSAI
Device Connection Type&device_connection=
device.connectiontype
{device_connection}DeviceThe device’s connection type.

Example: device_connection=1
Ad Server
DSP
SSAI
App Category&app_category=
app.cat
{app_category}ApplicationComma-separated list of categories.

Example: app_category=IAB5,IAB4
Ad Server
DSP
IFA Typedevice.ext.ifa_type

Ff missing, derived from UA: afai / aaid / idfa / msai / rida / dpid
{ifa_type}ApplicationSource of the IFA: whether that is device-generated or whether it is a publisher provided IFA, or a temporary/session IFA.

Example: ifa_type=idfa
Ad Server
DSP
SSAI
Atts&atts=device.ext.atts{atts}PrivacyIf the IDFA is not available (iOS Only). An integer value passed to represent the app’s app tracking authorization status, where
0=not determined; 1= estricted; 2=denied; 3=authorized.

Example: atts=3
Ad Server
DSP
SSAI
Site data
Site URLsite_full_url=
site.site_full_url
{site_full_url}SiteThe full URL of the site where the video content is being streamed. This is used to track the source of the request and for analytical purposes.Ad Server
DSP
SSAI
Site Category
&site_category=
site.cat
{site_category}
SiteComma-separated list of IAB Category ID of the site content.

Example: site_category=IAB20-7,IAB-15
Ad Server
DSP
SSAI
Referring Page URL
&site_ref=
site.ref
{site_ref}
SiteThe referring page url of the ad (URL encoded).

Example: site_ref=zoo.com
Ad Server
SSAI
Ad data
Ad Duration&ad_duration={ad_duration}PlayerPass‑through value to demand. Duration of a single ad creative in seconds, if required by buyers.

Example: ad_duration=6
Ad Server
SSAI
Min Duration&min_duration=
imp.video.minduration

or

&min_duration=
imp.audio.minduration
{min_duration}PlayerMinimum video ad duration in seconds.

Example: min_duration=5
Ad Server
SSAI
Min Duration&minduration=
imp.video.minduration

or

&minduration=
imp.audio.minduration
{minduration}Minimum video ad duration in seconds.

Example: minduration=5
DSP
Max Duration&max_duration=imp.video.maxduration

&max_duration=
imp.audio.maxduration
{max_duration}PlayerMaximum video ad duration in seconds.

Example: max_duration=30
Ad Server
SSAI
Max Duration&maxduration=imp.video.maxduration

&maxduration=
imp.audio.maxduration
{maxduration}PlayerMaximum video ad duration in seconds.

Example: maxduration=30
DSP
Ad Player Width&width=
video.w
{width}General

Required
The ad video player width.

Example: width=300
DSP
Ad Server
Ad Player Height&height=
video.h
{height}General

Required
The ad video player height.

Example: height=250
DSP
Ad Server
Cachebuster&cb={cb}General

Required
Unique piece of code that prevents a browser from reusing an ad it has already seen and cached.

Example: cb=1643636974113
Ad Server
DSP
SSAI
Video Duration&video_duration={video_duration}PlayerThe duration of the main video content in seconds.

Example: video_duration=40
Ad Server
DSP
Video Description&video_description={video_description}PlayerThe description of the video where the ad will appear.

Example: video_description=beauty care
Ad Server
DSP
SSAI
Video URL&video_url={video_url}MediaThe website location of the video.

Example: video_url=cdn.foo.com/video.mp4
Ad Server
DSP
SSAI
Video Title&video_title={video_title}MediaThe title of the video where the ad will be served.

Example: video_title=natural cosmetics
Ad Server
DSP
SSAI
Autoplay&autoplay={autoplay}PlayerDefines whether the video is set to play automatically.

0 = Autoplay disabled.
1 = Autoplay enabled.

Example: autoplay=1
Ad Server
DSP
SSAI
Mute&mute={mute}PlayerIndicates if video player is set to begin playing with the sound on or off.

0 = Sound is on.
1 = Sound is off.

Example: mute=0
Ad Server
SSAI
Video ID&video_id={video_id}MediaThe unique internal ID of the video content.

Example: video_id=194857
Ad Server
DSP
SSAI
Ad Position&ad_position={ad_position}PlayerThe position in seconds during the video when the ad expected to be served. Any number of seconds or the URL-encoded value for 100% (100%25). Preroll (Game start): ad_position=0; Midroll (During gameplay): ad_position=5 (or any value>0); Postroll (Game over): ad_position=100%.

Example: ad_position=0
Ad Server
DSP
SSAI
Outputn/a{output}Playern/a
Ad Server
DSP
Creative Format
n/a
{creative_format}
Playern/a
Ad Server
DSP
Video Playback Method&playback_method=
imp.video.playbackmethod
{playback_method}PlayerComma separated list of methods used to playback an ad.

Example: playbackmethod=2,3
Ad Server
DSP
SSAI
VAST Version&vast_version={vast_version}General/VASTDefines version of the VAST being rendered. It will be empty outside VAST.

Example: vast_version=4
Ad Server
DSP
Skippability&skippability=imp.video.skip{skippability}PlayerDefines if the player supports skippable ads or not.

Example: skippability=1
Ad Server
DSP
Delivery&delivery=
video.delivery or audio.delivery
{delivery}PlayerVarious options for the delivery of video or audio content. Can be comma separated.

Example: delivery=streaming,download
Ad Server
DSP
Audio Feed&audio_feed=
imp.audio.feed
{audio_feed}PlayerType of audio feed.

Example: audio_feed=3
Ad Server
Nvol&nvol=imp.audio.nvol{nvol}PlayerVolume normalization mode.

Example: nvol=1
Ad Server
App data
App Name&app_name=
app.name
{app_name}Mobile/CTV

Required
The name of the application making the request. Helps in identifying and tracking the app usage for better targeting and reporting.

Example: app_name=BaconReader
Ad Server
DSP
SSAI
App Bundle&app_bundle=
app.bundle
{app_bundle}Mobile/CTV

Required
The unique bundle identifier for the application. This identifier is used to track app-specific data, especially in mobile environments.

Example: app_bundle=com.cleanmaster.security
Ad Server
DSP
SSAI
App Version&app_version=
app.ver
{app_version}Mobile/CTV
The app’s version number.

Example: app_version=1.6
Ad Server
DSP
SSAI
App Store URL&app_store_url=
app.storeurl
{app_store_url}Mobile/CTV

Required
The URL of the application in the app store. Used for cross-promotion, app installation campaigns, and tracking user acquisition sources.

Example: app_store_url=https://itunes.apple.com/app/example
Ad Server
DSP
SSAI
App Domain&app_domain=
app.domain
{app_domain}Mobile/CTVWebpage related to the app.

Example: app_domain=cute-icon-wallpaper.app
Ad Server
DSP
SSAI
App ID&app_id=
app.id
{app_id}Mobile/CTVExchange-specific app ID.

Example: app_id=7373716
Ad Server
DSP
SSAI
Policy&policy=app.privacypolicy{policy}Mobile/CTVIndicates if the site has a privacy policy, where 0 = no, 1 = yes.

Example: policy=1
Ad Server
DSP
SSAI
IDFA for iOS Devices&idfa=
device.ifa
{idfa}
{device_id}
Device

Required
Identifier for Advertising (IDFA) for iOS devices.

Example: idfa= 6D92078A-8246-4BA4-AE5B-76104861E7DC
Ad Server
DSP
SSAI
IDFA for iOS Devices(MD5)&idfa_md5=
device.didmd5
{idfa_md5}DeviceIdentifier for Advertising (IDFA) for
iOS devices in Message Digest algorithm 5.

Example: idfa_md5=1BC29B36
F623BA82AAF6724FD3B16718
Ad Server
DSP
SSAI
IDFA for iOS Devices (SHA1)&idfa_sha1=
device.didsha1
{idfa_sha1}DeviceIdentifier for Advertising (IDFA) for iOS devices (SHA1).

Example: idfa_sha1=9e32295f 8225803b b6d5fdfc c0674616 a4413c1b
Ad Server
SSAI
IDFA for Android Devices&adid=device.ifa{adid}
{device_id}
DeviceIdentifier for Advertising (IDFA) for Android devices.Example: adid=96bd03b6-defc-4203-83d3-dc1c730801f7Ad Server
DSP
SSAI
IDFA for Android Devices (MD5)&adid_md5=
device.dpidmd5
{adid_md5}DeviceIdentifier for Advertising (IDFA) for Android
devices in Message Digest algorithm 5.

Example: adid_md5=1BC29B36F62
3BA82AAF6724FD3B16718
Ad Server
SSAI
IDFA for Android Devices (SHA1)&adid_sha1=
device.dpidsha1
{adid_sha1}DeviceIdentifier for Advertising (IDFA) for Android devices in cryptography SHA-1.

Example: adid_sha1= 9e32295f 8225803b b6d5fdfc c0674616 a4413c1b
Ad Server
SSAI
Inventory Partner Domain& inv_partner_domain
=site.ext.inventorypartnerdomain

or

&inv_partner_domain=
app.ext.inventorypartnerdomain
{inv_partner_domain}GeneralRefers to the website of an authorized ad partner.

Example: inv_partner_domain=futuretoday.com
Ad Server
DSP
SSAI
Geo data

Geo Latitude&geo_lat=
geo.lat
{geo_lat}GeneralDefines GEO location – latitude

Example: geo_lat=18.54732
Ad Server
DSP
SSAI
Geo Longitude&geo_lon=
geo.lon
{geo_lon}GeneralDefines GEO location – longitude

Example: geo_lon=-72.38892
Ad Server
DSP
SSAI
Country&geo_country=
device.geo.country
{geo_country}GeneralThe ISO 2 country code.

Example: geo_country=US
Ad Server
DSP
SSAI
City&geo_city=
device.geo.city
{geo_city}GeneralDefines the city name.

Example: geo_city=Paris
Ad Server
DSP
SSAI
Zip Code&geo_zip=
device.geo.zip
{geo_zip}GeneralDefines the postal code.

Example: geo_zip=65062
Ad Server
DSP
SSAI
DMA Code&geo_dma=
device.geo.metro
{geo_dma}GeneralDefines the Designated Market Area code.

Example: geo_dma=501
Ad Server
DSP
SSAI
Source data
Aid&aid={aid}GeneralIdentifies source ID within IndiCue.

Example: aid=478241
Ad Server
SSAI
Channel IDn/a{channelid}GeneralIdentifies publisher ID within IndiCue.Ad Server
Publisher ID&pub.id={publisherid}GeneralIdentifies publisher ID coming in
pub.id
.

Example: asd09iytrsevl
Ad Server
Sid&sid=
ext.sid
{sid}GeneralParameter which determines subsource of traffic.

Example: sid=12re098lkjh
Ad Server
Advertiser data
Advertiser IDn/a{advid}GeneralIdentifies Advertiser ID within IndiCue.Ad Server
Campaign ID&cmpId={cmpid}GeneralIdentifies campaign ID within IndiCue.

Example: cmpId=589352
Ad Server
Privacy data
GDPR&gdpr=
regs.gdpr

else regs.ext.gdpr
{gdpr}GDPRDefine user consent. GDPR=0 – does not apply, GDPR=1 – applies.

Example: gdpr=0
Ad Server
DSP
SSAI
GDPR Consent&gdpr_consent=
user.ext.consent

else user.consent
{gdpr_consent}GDPRRepresents URL-safe base64-encoded GDPR
consent string. Required if gdpr=1.


Example: gdpr_consent=CPerMsAPerMsAADABBENC
dCsAP_AAH_AAAAAHuIB4C5MQCBB
MGB8AMsUAAAUwAAAACAACAABAAAAAA
IAIAwAFAAgAAAAAAAAABAg
AAYAAAAAAAgAAAAA
AAAAAQAAAAAAAAAAAAIAAAAAAgAA
AAAAAAAAAAAAAAAAAA
QAgABAYAYAAAAAA
AEAAAAAAAgAAAAAAAAA
AAAAQABA8yBWAAG
ABQAGgAVgAuADIAHIAPgBA
ACQAFoANAAdQA
9AD6AIgAiwBMAE2AJ4AoQ
BbAFyAMIAxABmAD
QAH4AQAAhABSgC3AGUAPEAf
sBBwEIAIsARgAk
oBZgC2wGAAYEA14B8gEgg
LoAXmAwSBhgGG
wMYAxkBpQDzAAA.d_gACAAAA47g
Ad Server
DSP
SSAI
US Privacy&us_privacy=
regs.us_privacy
{us_privacy}CCPAA mandatory string for all publishers in which they must pass the privacy consent for users from California.

Example: us_privacy=1—
Ad Server
DSP
SSAI
COPPA&coppa=
regs.coppa
{coppa}COPPAFlag indicating if the bid request is subject to the COPPA regulations established by the USA FTC, where 0 indicates no, 1 indicates yes. This attribute is always passed when set to 1.

Example: coppa=1
Ad Server
DSP
SSAI
GPP&gpp=
regs.gpp
{gpp}GPPGlobal Privacy Policy String

Example: gpp=DBABM~CPXxRfAPXxRfAAfKABENB-CgAAAAAAAAAAYgAAAAAAAA
Ad Server
DSP
SSAI
GPP Sid&gpp_sid=
regs.gpp_sid
{gpp_sid}GPPGlobal Privacy Policy Section ID. Can be comma separated.

Example: gpp_sid=2,3
Ad Server
DSP
SSAI
Content data
Content ID&content_id=
content.id
{content_id}ContentID uniquely identifying the content.

Example: content_id=744a93ad763a2eaa7de84c9c
Ad Server
DSP
SSAI
Content URL&content_url=
content.url
{content_url}ContentURL of the content, for buy-side
contextualization or review.

Example: content_url=
https://play.google.com/store/apps/details?
id=easy.sudoku.puzzle.solver.free
Ad Server
DSP
SSAI
Content Series&content_series=
content.series
{content_series}ContentContent series.

Example: content_series=Top Million Dollar Agent
Ad Server
DSP
SSAI
Content Language&content_lang=
content.language
{content_lang}ContentContent language using ISO-639-1-alpha-2.

Example: content_lang=uk
Ad Server
DSP
SSAI
Content Season&content_season=
content.season
{content_season}ContentContent season.

Example: content_season=3
Ad Server
DSP
SSAI
Content Rating&content_rating=
content.contentrating
{content_rating}ContentContent rating.

Example: content_rating=10
Ad Server
DSP
SSAI
Content Livestream&content_livestream=
content.livestream
{content_livestream}Content0 = not live, 1 = content is live (e.g., stream, live blog).

Example: content_livestream=1
Ad Server
DSP
SSAI
Content Producer Name&content_producer_name=
producer.name
{content_producer_name}
ContentContent producer or originator name.

Example: content_producer_name=Warner Bros
Ad Server
DSP
SSAI
Content Genre&content_genre=
content.genre
{content_genre}ContentGenre that best describes the content (e.g., rock, pop, etc).

Example: content_genre=Comedy
Ad Server
DSP
SSAI
Content Episode&content_episode=
content.episode
{content_episode}ContentEpisode numberAd Server
DSP
SSAI
Content Title&content_title=
content.title
{content_title}
ContentTitle of the specific contentAd Server
DSP
SSAI
Content Сategories
&content_categories=
content.cat
{content_categories}ContentArray of IAB content categories that describe the content. The taxonomy to be used is defined by the cattax field. If no cattax field is supplied IAB Content Category Taxonomy 1.0 is assumed. Can be comma-separated.

Example: content_categories=IAB1-5,IAB-17
Ad Server
DSP
SSAI
Content Keywords&content_keywords=
content.keywords
{content_keywords}ContentComma separated list of keywords describing the content.

Example: content_keywords=keyword-a,keyword-b,keyword-c
Ad Server
DSP
SSAI
Channel Name&channel_name=
content.channel.name
{channel_name}ContentDetails about the channel the content is on.

Example: channel_name=Comedy Central
Ad Server
DSP
SSAI
Network Name&network_name=
content.network.name
{network_name}ContentDetails about the network the content is on.

Example: network_name=FuboTV
Ad Server
DSP
SSAI
Production Quality&production_quality=
content.prodq
{production_quality}ContentProduction quality.

Example: production_quality=2
Ad Server
DSP
SSAI
QAG Media Rating&qagmediarating=
content.qagmediarating
{qagmediarating}ContentMedia rating per IQG guidelines.

Examples: qagmediarating=3
Ad Server
DSP
SSAI
Ad Podding
Max Ad Pod Duration&pod_max_dur={pod_max_dur}Ad PoddingMaximum duration of a single ad pod (ad break) in the response, in seconds. Used by the ad server to limit how long the pod can be. Supported when AdPods feature is enabled at the source level.

Example: pod_max_dur=60
Ad Server
Ad Pod Durationpoddur=
imp.video.poddur

else imp.audio.poddur
{poddur}Ad PoddingMaximum duration of a single ad pod (ad break) in the response, in seconds. Used by the ad server to limit how long the pod can be. Supported when AdPods feature is enabled at the source level.

Example: poddur=60
DSP
Ad Pod Slots&pod_ad_slots=
{ad_pod_slots}Ad PoddingUsed to set the minimum and maximum number of ads in a pod.

Example: ad_pod_slots=2
Ad Server
DSP
SSAI
Slot in Pod&pod_slotinpod={pod_slotinpod}Ad PoddingDefault 0. For video ad pods, this value indicates that the seller can
guarantee delivery against the indicated slot position in the
pod. Refer to List: Slot Position in Pod in AdCOM 1.0 guidance
on the use of this field.
Ad Server
SSAI
Pod Sequence&pod_seq={pod_seq}Ad PoddingDefault 0. The sequence (position) of the video ad pod within a
content stream. Refer to List: Pod Sequence in AdCOM 1.0
for guidance on the use of this field.
Ad Server
SSAI
SSAI Configuration
Master Playlist Source URL&m={m}SSAI

Required
The base64 encoded HLS master playlist URL. This URL points to the video source that will be used as the primary stream.

Example: m=aHR0cDovL2hscy10cmFuc2NvZGVyLnR2c3RpdGNo
SSAI
No-Slate Mode&isNoSlate={isNoSlate}SSAIThis flag controls whether ads are inserted as additional content without replacing the main content. When enabled, ads appear alongside the main video. Use this if your HLS playlist does not include cue points.

Example: isNoSlate=true
SSAI
Ad Insertion Interval&adInterval={adInterval}SSAISpecifies the time interval in seconds between consecutive ad insertions. Only works when no slate mode is enabled.

Example: adInterval=60
SSAI
Maximum Ad Pod Duration&adDuration={adDuration}SSAI

Required
Defines the maximum duration of each ad break (block) in seconds. This controls how long each ad segment will play before returning to the main content.

Example: adDuration=60
SSAI
Enable Pre-Roll&preroll={preroll}SSAIEnables or disables pre-roll ads that play before the main content begins. Useful for ensuring an ad plays as soon as a user connects to the stream.

Example: preroll=1
SSAI
Pre-Roll Offset&prerollOffset={prerollOffset}SSAISpecifies the duration in seconds before preroll ads. Result depends on HLS segments duration.

Example: prerolloffset=5
SSAI
Cue Point&cuePoint={cuePoint}SSAIIndicates whether to use only SCTE cues that were provided in HLS stream.

Example: cuepoint=1
SSAI
Other
Supply Chain&schain=
source.schain

or

&schain=
source.ext.schain
{schain}OtherSupplyChain object enables buyers to see
all parties who are selling
or reselling a given bid request.

Example: schain=1.0%2C0%21
indicue.com%2C123456%2C1
%2C772FB8E7CD8DBFB4%2C%2C%2C
Ad Server
DSP
SSAI
Multipler&multiplier=OtherAd Server (DOOH)
SSAI
Venue ID&venue_id=OtherAd Server (DOOH)
SSAI
Display Time&display_timeOtherAd Server (DOOH)
SSAI
Static Duration&static_durationOtherAd Server (DOOH)
SSAI
Custom data
c1&c1={c1}CustomEmpty custom parameterAd Server
DSP
c2&c2={c2}CustomEmpty custom parameterAd Server
DSP
c3&c3={c3}CustomEmpty custom parameterAd Server
DSP
c4&c4={c4}CustomEmpty custom parameterAd Server
DSP
c5&c5={c5}CustomEmpty custom parameterAd Server
DSP