User Browses Through a Site#
The following diagram presents an overview of all interactions taking place when a User browses through a Site:
Fetching Creatives#
The following diagram presents the details of the workflow aimed at fetching a list of Creatives to be displayed when a User browses through a Site:
The following process takes place when a User browses through a Site:
Supply-Side Agent calls Supply-Side Platform to get a list of Creatives to be displayed in all available Placements.
Supply-Side Platform replies to Supply-Side Agent with a list of Creative Object.
In order to generate the requested list, Supply-Side Platform first needs to make the following calls:
Supply-Side Platform calls Context Provider to retrieve Context Data regarding the current User, Site and Device.
In case Supply-Side Platform uses the services of an external Ad Select Module, Supply-Side Platform calls Ad Select Module to retrieve a list of Creatives.
The details of the communication between Supply-Side Platform and its Ad Select Module are described in the Ad Select Service section.
Note
The list of Creatives is generated by Supply-Side Platform based on information already stored there, i.e. without the need to query the corresponding Demand-Side Platform. This is possible due to the fact that Supply-Side Platform has already retrieved all the relevant Demand-Side Inventories during the Synchronization stage.
Creative Object contains a Demand-Side Platform endpoint for retrieving Creative Content. This implies that each Creative in the list can be associated with its own Demand-Side Platform. As a result, Creatives managed by various Demand-Side Platforms can be displayed next to each other within the same Site.
The above process can be repeated in a loop that ensures that Creatives are swapped periodically within the same Placement. Such a loop aims to maximize utilization of Placements by displaying multiple Creatives sequentially to the same User within a single Placement.
Fetching Content for Each Creative#
At this stage, Creative Object is already retrieved, but none of the Creatives is actually rendered, as Supply-Side Agent has not fetched Creative Content yet.
The following diagram presents the details of the workflow aimed at fetching Creative Content for each Creative:
The following sequence of events occurs for each Creative to fetch the corresponding Creative Content and display it in its designated Placement:
Using the endpoint contained in Creative Object, Supply-Side Agent calls Demand-Side Platform to retrieve Creative Content.
Demand-Side Platform replies to Supply-Side Agent with the requested Creative Content.
Before a Creative is actually rendered, Supply-Side Agent compares the hash (checksum) of the received Creative Content with the hash (checksum) contained in Creative Object. This is done to ensure that the Creative Content matches what was initially approved in the Campaign definition.
Assuming the above hashes (checksums) match, Supply-Side Agent renders the Creative on the screen, so that the User can see it.
Synchronizing View Events for Each Creative#
The following diagram presents the details of the workflow aimed at synchronizing View Events for each Creative:
The following sequence of events occurs for each Creative to ensure that both Supply-Side Platform and Demand-Side Platform are kept in synch regarding View Events:
Using the endpoint contained in Creative Object, Supply-Side Agent notifies Demand-Side Platform about View Event.
In response to the View Event notification call, Demand-Side Platform returns its Context Script, and Supply-Side Agent makes an attempt to execute this script within its sandbox.
Note
In case there are multiple Creatives associated with the same Demand-Side Platform, it’s enough to send each View Event notification only once.
Synchronizing Register Events for Each Creative#
The following diagram presents the details of the workflow aimed at synchronizing Register Events for each Creative:
The following sequence of events occurs for each Creative to ensure that both Supply-Side Platform and Context Provider (acting on behalf of Demand-Side Platform) are kept in synch regarding Register Events:
Using an endpoint received in the response to the View Event notification call, Supply-Side Agent notifies Context Provider about Register Event.
In response to the Register Event notification call, Context Provider returns its Context Script, and Supply-Side Agent makes an attempt to execute this script within its sandbox.
Note
In case there are multiple Creatives associated with the same Demand-Side Platform, it’s enough to send each Register Event notification only once.