Publica: Passing Contextual Data

This page details an example of how Publica can be used to pass contextual data.

In the Publica Ad Server, publishers should use the available passthrough parameters to pass in the "iris_context" and "content_id" keys.

For any bidder that is ready to receive some key values, they would be able to send the following macros: 
  • [IRIS_CONTEXT]
  • [IRIS_ID]

Here's how the two parameters would be formatted once passed:

&iris_context=ic_0000001,ic_0000002,ic_0000003,ic_0000004,ic_0000005&content_id=iris_1212151819161718
Using the passthrough parameters functionality, the endpoint request could look like:
https://pbs.getpublica.com...&content_id=[IRIS_ID]&iris_context=[IRIS_CONTEXT]
and the mapping for the a bidder would look like this:

Additional Publica documentation can be located here:

https://publica-project.atlassian.net/wiki/spaces/wiki/pages/892207105/Supported+macros.

Last updated: 12/8/2021