Video ad rules allow you to set when, where and how ads display within your video content, based on this information and a set of conditions you set up in Ad Manager. You can set up a standard ad rule to define when and how ads appear within a single video stream, or a session ad rule for multiple video streams.
Requirements to use video ad rules
- Google Ad Manager 360 with an advanced video contract
- Use of the IMA SDK 3 or a player that uses VMAP for ad insertion (see the supported environments)
- Inclusion of the cmsid and vid parameters in your video tags
- To apply ad rules to mid-rolls, you need to use content ingestion
Enable video ad rules
You can begin using video ad rules by enabling them for your entire Ad Manager network, so that all video ad requests become ad rules requests. If a line item is not targeted to specific video positions (pre-rolls, mid-rolls, post-rolls, or bumpers), it is considered eligible to serve in any position that your ad rules specify.
To enable ad rules:
- Sign in to Google Ad Manager.
- Click Admin Video Video settings.
- Enable Ad rules.
- Click Save.
If you don't want to enable ad rules for your entire network, you can enable them by adding the
ad_rule=1 parameter to an individual tag. You can also prevent them by adding
Video ad rule priority and the default rule
When you enable ad rules for your network, a default ad rule is created automatically with the following settings:
- Shows one 30-second pre-roll video ad, with no podding
- Targeted to the run of network, with no specific targeting
- Mid-rolls, post-rolls, and other types of ads are disabled
Every video ad rule has an assigned priority. When your rules have conflicting settings, Ad Manager chooses from the rule with the highest priority. The default ad rule always has a lower priority than ad rules you create.
Rules with different settings can merge and both apply to video content
For example, let's say "Rule 1" excludes mid-rolls, but "Rule 2" shows mid-rolls at the 1-minute mark. Ad Manager chooses the setting of the higher priority "Rule 1" and blocks mid-rolls completely. Other settings of "Rule 2" aren't blocked, as long as they don't conflict with "Rule 1" settings.
You can click Video Ad rules to see a list of your ad rules, ordered by priority. Since the default rule has the lowest priority, it's located at the bottom of the list of active ad rules.*
From the list of rules, you can change a rule's status to inactive to pause the rule, or update the priority. When you change the priority for one ad rule, all other ad rules automatically update accordingly.
If all of your rules are set to "never show" ads of a certain type, those ads will never show. Configuring a more inclusive default rule is recommended so that you don't unintentionally disable an entire ad type.
* If you don't filter your ad rules by those with the "Active" status, the default ad rule appears between your active and inactive rules.