Introduction
When you create a video protection ruleset, you choose which content it applies to by assigning it a target. Targets let you be as broad or as specific as you need — from protecting everything on your platform to locking down a single event.Kinds of Targets
Project-wide targeting
Apply a ruleset to your entire project when the rules should cover all of your content. In the API, this is theapplies_to_all option. The ruleset will apply to all existing content as well as any new content created in the future.
This is the right choice for baseline protections like registration walls or domain pinning that should be enforced everywhere.
Entity-based targeting
Apply a ruleset to one or more entities (e.g. a competition or a team) when you want the rules to cover all events and videos associated with those entities. For example, applying a ruleset to a competition entity automatically protects every event in that competition.Event-based targeting
Apply a ruleset directly to individual events when you need rules that only affect specific content. This is useful for one-off situations like a premium event that requires stricter protection than the rest of your catalogue.Priorities and Merging
You can apply multiple rulesets to the same content. When you do, Motto merges them field by field based on each ruleset’s priority value.- Rules that only appear in one of the applicable rulesets apply as-is — they are unaffected by priority.
- When two or more rulesets define the same rule type, the value from the highest-priority ruleset wins for that specific rule.
Geo-applicability
In some cases, you may want a ruleset to apply only to viewers in specific regions. This is useful when content should be free in one country but paid in another — you can create separate rulesets with different rules and scope each one to the regions where it should take effect.Geo-applicability is not the same as geo-blocking. Geo-blocking prevents viewers in certain regions from accessing your content entirely. Geo-applicability controls which ruleset applies to a viewer based on their region.

