Page Summary
-
AssetMatchPolicy defines how YouTube handles user videos matching a specific asset owned by a content partner.
-
It uses rules to specify actions, such as monetization or blocking, to be applied to matching videos.
-
Partners can retrieve, update, or modify the AssetMatchPolicy using the provided methods.
-
The policy is represented in JSON format and includes details like its type, unique identifier, and the specific rules to be enforced.
Resource: AssetMatchPolicy
The assetMatchPolicy
resource identifies an asset's match policy, which YouTube applies to user-uploaded videos that match the asset.
| JSON representation |
|---|
{
"kind"
:
string
,
"rules"
:
[
{
object (
|
| Fields | |
|---|---|
kind
|
The type of the API resource. Value: |
rules[]
|
A list of rules that collectively define the policy that the content owner wants to apply to user-uploaded videos that match the asset. Each rule specifies the action that YouTube should take and may optionally specify the conditions under which that action is enforced. |
policyId
|
A value that uniquely identifies the |
Methods |
|
|---|---|
|
Retrieves the match policy assigned to the specified asset by the content owner associated with the authenticated user. |
|
Patches the asset's match policy. |
|
Updates the asset's match policy. |

