?️ How to Use and Set Up Macros in SpringServe
? What Are Macros?
In SpringServe, macros are placeholders used in ad tag URLs that get dynamically replaced with relevant data—like IP addresses, device types, or video content metadata—when the ad request is made.
Think of macros like "fill-in-the-blanks" that SpringServe completes in real time based on each viewer's context.
?️ Setting Up Macros in Demand Tags
To include macros in your demand tag URLs, you embed them using curly brackets. For example:
Steps:
Open your SpringServe console.
Navigate to your demand tag (under Demand > Tags).
In the tag URL, insert any macros you want to pass, using double curly brackets
{{ }}.
Important: Ensure your demand partner supports these macros in their endpoint.
? Suggested Macros (with Examples)
On page 1–2 of your reference, there is a giant table of Supported Macros & Query String Parameters, categorized by use cases like Device, Geo, Player, Content, etc.
Here are some common macro examples:
| Macro | Description | Example Output |
|---|---|---|
{{IP}} | User’s IP address | 123.45.67.89 |
{{UA}} | User agent | Mozilla/5.0... |
{{CONTENT_ID}} | ID of the video content | 456123 |
{{DEVICE_MAKE}} | Device manufacturer | Apple |
{{GDPR}} | GDPR flag for compliance | 1 (Yes) or 0 (No) |
{{LAT}} / {{LON}} | Latitude/Longitude | 40.7128 / -74.0060 |
✅ You can mix and match multiple macros in the same tag. Make sure to test them using a tag validator.
? How to Use Passthrough Macros
If your demand partner needs data not natively supported by SpringServe macros, use passthrough macros instead (explained at the bottom of page 3).
? Example:
Let’s say the demand partner needs the app version but there’s no macro for it. Use:
Then, in your supply tag, append:
SpringServe passes appver=1.2.3 through to the demand tag.
Types of Passthrough Macros:
{{URL.querystring}}– Encodes the request URL.{{QSP.querystring}}– Similar but leaves commas unencoded.{{QSPN.querystring}}– Leaves most special characters unencoded.{{QSPENC.querystring}}– Unencoded variant (risky but flexible).
? Advanced: CTV & OMSDK Macros
From page 2–3, there are advanced macros for:
CTV targeting (e.g.,
{{CTV_DEVICE_MAKE}},{{CTV_APP_ID}})OMSDK verification (e.g.,
{{OMID_PN}},{{OMID_PV}})
These are essential for:
App-level targeting
SDK-integrated inventory verification
Brand safety and transparency
✅ Macro Testing Tips
Use the Tag Validator inside SpringServe to test tag URLs with macros.
Enable test impressions to inspect how macros resolve.
Compare logs with demand partner expectations to confirm proper transmission.
? Key Takeaways
| Do ✅ | Don't ❌ |
|---|---|
| Use only supported macros from SpringServe's documentation | Invent unsupported macro names |
| Test macros with real traffic or Tag Validator | Assume macros work without verification |
| Use passthrough macros if something is missing | Overcomplicate demand tags unnecessarily |
? Reference Links from SpringServe (visible on page 1 & 3)
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article