What is the Grouping Logic?
The Grouping process is part of the Ad prioritization logic, responsible for grouping Network Ad campaigns. In general, this process splits the index of Priority scores into groups of 11 Ad campaigns. These groups are then used to send out bulk ad requests by the system.
Additionally, this process optimizes your Network ad requests by splitting between 'Shim' and 'Non-shim' Ad campaigns. Furthermore, the process also splits Ad campaigns with identical 'Sync group names' into separate groups to reduce the number of ad requests to the same Ad server.
Note: If you are not familiar with VPAID Shim campaigns, please see What are VAST and VPAID? and also What is a VPAID Shim?
How the Grouping Process Works
The Grouping process is relevant only for Network Ad campaigns. The following diagram and explanation describe how the process operates to optimize your Network ad requests.
As stated before, the Grouping process divides the indexed Priority score list into groups of 11 Ad campaigns. This is performed using two division levels:
First - Dividing the groups into 'Shim' and 'Non-shim' Ad campaigns.
Second - Dividing 'Shim' Ad campaigns according to their shared 'Sync group names'.
- Shim / Non-shim Division
The first division splits the total list of prioritized Ad campaigns into groups of 11 with the following restrictions:
- Up to 3 Shim Ad campaigns
- Up to 8 Non-shim Ad campaigns.
- Sync Group Name Division
The second division differentiates between 'Shim' Ad campaigns that have identical 'Sync group names'.
Note: For further details, please see What are Sync group names.
If more than one 'Shim' Ad campaign in each group share the same 'Sync group name', the identical Ad campaigns will be pushed to the next consecutive group and fill the gap with upcoming Shim Ad campaign.
This will leave only three 'Shim' Ad campaigns with no or different 'Sync group names' in each group to prevent parallel ad requests from identical Ad server.
To learn more, please refer to the following articles: