REST Resource: assetMatchPolicy
Stay organized with collections
Save and categorize content based on your preferences.
Resource: AssetMatchPolicy
The assetMatchPolicy
resource identifies an asset's match policy, which YouTube applies to user-uploaded videos that match the asset.
All rights reserved. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-20 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-20 UTC."],[[["\u003cp\u003eAssetMatchPolicy defines how YouTube handles user videos matching a specific asset owned by a content partner.\u003c/p\u003e\n"],["\u003cp\u003eIt uses rules to specify actions, such as monetization or blocking, to be applied to matching videos.\u003c/p\u003e\n"],["\u003cp\u003ePartners can retrieve, update, or modify the AssetMatchPolicy using the provided methods.\u003c/p\u003e\n"],["\u003cp\u003eThe policy is represented in JSON format and includes details like its type, unique identifier, and the specific rules to be enforced.\u003c/p\u003e\n"]]],["The `AssetMatchPolicy` resource defines YouTube's policy for user-uploaded videos matching an asset. It uses `kind`, `rules`, and `policyId` fields. `Rules` detail actions and conditions. `PolicyId` uniquely identifies the applied policy. The `get` method retrieves an asset's match policy. `Patch` and `update` methods modify this policy, enabling changes to the actions enforced on matching user-uploaded content. The JSON schema includes a string for `kind`, an array of `rules`, and a string for the `policyId`.\n"],null,["# REST Resource: assetMatchPolicy\n\n- [Resource: AssetMatchPolicy](#AssetMatchPolicy)\n - [JSON representation](#AssetMatchPolicy.SCHEMA_REPRESENTATION)\n- [Methods](#METHODS_SUMMARY)\n\nResource: AssetMatchPolicy\n--------------------------\n\nThe `assetMatchPolicy` resource identifies an asset's match policy, which YouTube applies to user-uploaded videos that match the asset.\n\n| JSON representation |\n|-------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"kind\": string, \"rules\": [ { object (/youtube/partner/reference/rest/v1/PolicyRule) } ], \"policyId\": string } ``` |\n\n| Fields ||\n|------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `kind` | `string` The type of the API resource. Value: `youtubePartner#assetMatchPolicy`. |\n| `rules[]` | `object (`[PolicyRule](/youtube/partner/reference/rest/v1/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. |\n| `policyId` | `string` A value that uniquely identifies the `Policy` resource that YouTube applies to user-uploaded videos that match the asset. |\n\n| Methods ------- ||\n|--------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------|\n| ### [get](/youtube/partner/reference/rest/v1/assetMatchPolicy/get) | Retrieves the match policy assigned to the specified asset by the content owner associated with the authenticated user. |\n| ### [patch](/youtube/partner/reference/rest/v1/assetMatchPolicy/patch) | Patches the asset's match policy. |\n| ### [update](/youtube/partner/reference/rest/v1/assetMatchPolicy/update) | Updates the asset's match policy. |"]]