Target selection
How to apply video protection rulesets to your content
Kinds of targets
When you are creating a video protection ruleset, you must choose which content this ruleset should apply to. In the simplest use-case, this ruleset should apply to all of your content, for example if you want to force a simple registration wall everywhere on your OTT platform. In other cases, your ruleset may apply to some (but not all) content, like all events of a specific sports competition.
To achieve this, you must specify a “target” for your ruleset.
Project-wide targeting
If you want your ruleset to apply to all of your content, you can apply the ruleset to the project itself. In the API,
this is called applies_to_all
. By selecting this, the ruleset will apply to all existing content, as well as any
new content that is created in the future.
Entity-based targeting
If you want your ruleset to apply to specific content, you can apply the ruleset to one or more entities. This will automatically apply your ruleset to any events and videos that are associated with the entity. For example, if an event references a competition or a team entity, and you apply a ruleset to that entity, the ruleset will apply to that event.
Priorities
If you create multiple rulesets that affect the same content, only a single ruleset is applied (in other words, Motto does not “merge” rulesets). You can set a “priority” on the ruleset to determine which ruleset should be applied if multiple rulesets are applicable. The highest one wins.
An example of this is when you have a registration wall that applies to all content, but you also have a ruleset that puts a paywall on a specific competition. The content in that competition is associated with both rulesets, but by setting the paywall ruleset to have a higher priority, it will be applied instead of the registration wall.
Geo-applicability
In some (rare) cases, you may want to apply a ruleset only to a specific region. This can be useful if you have content that should be free in one country but paid in another. By specifying specific regions in the ruleset, you can achieve such a setup.