REST Resource: assetMatchPolicy

  • 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.

If an asset is already owned by another content owner, you must add your ownership to the asset (using the ownership.update or ownership.patch method) before you can update its match policy (using assetMatchPolicy.update or assetMatchPolicy.patch) or its metadata (using assets.update or assets.patch).

JSON representation
{
 "kind": string,
 "rules": [
 {
 object (PolicyRule )
 }
 ],
 "policyId": string
}
Fields
kind

string

The type of the API resource. Value: youtubePartner#assetMatchPolicy.

rules[]

object (PolicyRule )

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

string

A value that uniquely identifies the Policy resource that YouTube applies to user-uploaded videos that match the asset.

Methods

get

Retrieves the match policy assigned to the specified asset by the content owner associated with the authenticated user.

patch

Patches the asset's match policy.

update

Updates the asset's match policy.

All rights reserved. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2026年08月04日 UTC.