Graph API Version

Page Video Copyright Rule

Reading

You can't perform this operation on this endpoint.

Creating

You can make a POST request to video_copyright_rule edge from the following paths:
When posting to this edge, a VideoCopyrightRule will be created.

Parameters

NameDescription
condition_groups
list<Condition Group>

A list of condition groups that specify conditions for an action.

Required
action
enum {ALLOW, MANUAL_REVIEW, TRACK, BLOCK, TAKEDOWN, MONETIZE, ACQUIRE_VIEWS_AND_MONETIZE}

The action to be performed on a match if any of the conditions pass.

Required
conditions
list<Condition>

A list of conditions to be evaluated.

type
enum {GEO, MONITORING_TYPE, OVERLAP_DURATION, MATCH_OVERLAP_PERCENTAGE, REFERENCE_OVERLAP_PERCENTAGE, PRIVACY}

The type of condition to be evaluated.

Required
operator
enum {IS, IS_NOT, IN_SET, NOT_IN_SET, LESS_THAN, GREATER_THAN}

The operator for the evaluation, which varies depending on the condition type.

  • CONTENT_TYPE: IS
  • GEO: IN_SET, NOT_IN_SET
  • OVERLAP_DURATION: GREATER_THAN, LESS_THAN
  • Required
    value
    array<string> | int | string

    The value for this condition, which varies depending on the condition type.

  • CONTENT_TYPE: One or more of VIDEO_ONLY, AUDIO_ONLY or VIDEO_AND_AUDIO
  • GEO: A string array of ISO 3166 format country codes
  • OVERLAP_DURATION: An integer representing milliseconds of overlap
  • Required
    name
    string

    The name of the rule, as specified by the user.

    Required

    Return Type

    This endpoint supports read-after-write and will read the node represented by id in the return type.
    Struct {
    id: numeric string,
    }

    Updating

    You can't perform this operation on this endpoint.

    Deleting

    You can't perform this operation on this endpoint.