Data sharing rules specify what user data can be shared between Dynamic Ad Insertion (DAI) systems and third-party ad servers or analytical services.
Each rule has a default host setting but can also have multiple host settings. Host settings determine how the IP address, user agent, and optional additional data (such as the device ID, app name, or referrer URL) are shared.
When creating a live stream or content source, a DAI data sharing rule is optional.
Create a DAI data sharing rule
- Sign in to Google Ad Manager.
- Click Video and audio, then DAI data sharing rules.
- Click New DAI Data sharing rule.
- Under "General settings", add a Name.
On saving, a code is generated. The code is an auto-generated, unique rule code that can be used to override rules at stream creation.
Note: Each rule includes a default host setting that acts as a catch-all for any unmatched conditions.
Add a host setting to a rule
- Sign in to Google Ad Manager.
- Go to Video and audio, and then DAI data sharing rules.
- Click Add host setting.
- Under "Host name", select "Equal" or "Ends with".
- Under "Domain", add the domain name. When ad requests are received from content on this domain, the following host setting will apply. Individual domains map to different ad servers.
- Under "User IP address", select one of the following options:
- Full user IP address: This option sends the full user IP address.
- Truncated user IP address: This option sends a truncated version of the user IP address, but may still include information such as general geographic region and ISP.
- No user IP address: This option does not send the user IP address.
- Under "User agent", select one of the following options:
- Full user agent: This option sends the full user agent, which contains granular browser and operating system versions and other detailed data.
- No user agent: This option does not send the user agent.
- (Optional) Select additional data to include:
- Device ID.
- App name.
- Referrer URL.
- Click Save.
Note: You can add up to 10 host settings per rule.