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.

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.
Design a Mobile Site
View Site in Mobile | Classic
Share by: