Bid Media Macro

This object constitutes a buyer defined key/value pair used to inject dynamic values into media markup. While they apply to any media markup irrespective of how it is conveyed, the principle use case is for media that was uploaded to the exchange prior to the transaction (e.g., pre-registered for creative quality review) and referenced in bid.

The full form of the macro to be substituted at runtime is ${CUSTOM_KEY}, where KEY is the name supplied in the key attribute. This ensures no conflict with standard OpenRTB macros.

Macro Properties
Value Type Description
key str Required Name of a buyer specific macro.
value str Value to substitute for each instance of the macro found in markup. Note for testing or ad quality checks, one should expect to see macro=AUDIT returned for the value.
{
    "macro":[
        {
            "key":"TIMESTAMP",
            "value":"1127987134"
        },
        {
            "key":"CLICKTOKEN",
            "value":"A7D800F2716DB"
        }
    ]
}