JavaScript Static Creative Tags

Medialets Support -

Description: The Servo JavaScript Static Creative Tag displays a static creative, with the option to redirect to a landing page upon the click action.

Campaign Reports include: Impressions, Clicks

Attribution Reports include: View through, Click through

Inventory Partner Implementation Notes:

  • When copying and pasting Servo ad tags provided in an Excel document, please copy and paste the tag from within the cell. Copying and pasting the whole cell will result in double quotation marks, which will cause errors.
  • Each tag should be implemented in its entirety (from <div to </div> or <script> to </noscript>). Only scheduling portions of the Servo ad tag will result in a loss of functionality and potential reporting discrepancies.
  • JS tags will be generated as secure-only or as environment aware, where they will serve as secure when implemented into secure environments. Protocols within the tag should not be adjusted.
  • $$_DESTINATION_URL_$$ should NOT be removed.


Note: If there are multiple creatives in rotation, the Servo JS Static Creative Tag will NOT contain a <noscript> portion.


click: Your click redirect macro must directly prepend the Servo click macro $$_DESTINATION_URL_$$, which must remain within the click field.
ex & site fields: These two fields are optional. This is where you can add your Inventory Partner exchange tracking macro and/or your Inventory Partner site tracking macro.
osdevid & osoptout fields: These two fields are where you add your Device ID (IDFA/AAID/GAID) and OptOut macros. If your device ID macro will not populate a device ID when a user opts out of being tracked, your opt out macro isn't necessary.
impunique: All RANDOM instances must be replaced with your cachebuster macro. The value generated by your cachebuster macro must be a unique, random value which matches across impression and click per each ad render.
pubimpid: add your Inventory Partner impression tracking ID macro here.
imppx: This is where you add your Inventory Partner impression pixel macro.
Note: the pubimpid field should be used to pass through your impression ID vs the imppx field which should be used to fire off your impression pixel macro. 
*Do not overwrite double quotes of the editable fields
Have more questions? Submit a request


Powered by Zendesk