Overview
Once clean room audiences have been created, you need to configure targeting in your ad server. This guide covers setup for both Google Ad Manager and Microsoft Monetize.Prerequisites:
- Permutive SDK properly configured with your ad server integration
- For GAM: DFP integration enabled in your Permutive SDK
- For Microsoft Monetize: AppNexus Seller Tag installed and configured
Understanding Clean Room Targeting Values
Clean room audiences use unique targeting values specific to each publisher-advertiser connection. You can find these targeting values in the Permutive Platform under Connections when viewing a specific advertiser connection. These values are:- Stored in the
_pcrprslocal storage key on the user’s browser - Automatically populated by the Permutive SDK when a user is in a clean room audience
Google Ad Manager (GAM)
Targeting is automatic - no manual activation steps required. The Permutive SDK’s DFP addon automatically reads targeting values from_pcrprs and applies them to ad requests.
Verify SDK configuration
Ensure your Permutive SDK is configured with the DFP integration enabled. The DFP addon will automatically:
- Read targeting values from the
_pcrprslocal storage key - Call Google Publisher Tag’s
setTargeting()method - Attach targeting to every ad request
Create or update a line item in GAM
In GAM, go to Delivery > Line Items and create or edit a line item.
Add key-value targeting
Add key-value targeting using the targeting values from your advertiser connection. The key-value pairs will match what’s in
_pcrprs.Configure additional targeting
Configure additional targeting criteria as needed (geography, device, etc.). Set frequency caps if desired.
Microsoft Monetize (formerly Xandr)
Targeting requires manual setup in your on-page code to read from_pcrprs and pass values to the AppNexus Seller Tag.
Install AppNexus Seller Tag
Ensure you have the AppNexus Seller Tag installed on your site. See the Microsoft Monetize integration guide for details.
Add targeting JavaScript
Add the following JavaScript to read clean room targeting values and set keywords on your ad tags:
Create or update a line item
In Microsoft Monetize, create or update a line item. Set targeting to use the
permutive key-value. Values will match the targeting values shown in your connection details.This setup is similar to the regular Microsoft Monetize integration but reads from
_pcrprs (clean room values) instead of _papns (regular cohorts). See the full Microsoft Monetize integration documentation for more details.Verification Tips
- Check browser local storage for
_pcrprskey to verify targeting values are being set - Use browser developer tools to inspect ad requests and confirm targeting key-values are present
- Create test campaigns with low budget to verify targeting is working before full launch