Skip to main content
GET
cURL

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

project_id
string
required
page_size
integer<int32>

Maximum number of records to return

page_token
string

If this field is not empty then it must contain the next_page_token value returned by a previous call to this method. Using this field causes the method to return additional results from the previous method call.

filter
string

You can filter the list of video_protections by the following fields:

  • disabled (boolean): Whether the ruleset is disabled or not.
  • is_template (boolean) - is true when there is no content targeting at all
  • applies_to_all_content (boolean) - is true when the offer applies to all content, false if it applies to specific content.
  • entity_ids (array of strings) - matches offers that apply to at least one of the specified entity IDs. You MUST use the >@ operator for this field, e.g. entity_ids>@(entityID1 OR entityID2)
  • event_ids (array of strings) - matches offers that apply to at least one of the specified event IDs. You MUST use the >@ operator for this field, e.g. event_ids>@(eventID1 OR eventID2)
  • creative_work_ids (array of strings) - matches offers that apply to at least one of the specified creative work IDs. You MUST use the >@ operator for this field, e.g. creative_work_ids>@(creativeWorkID1 OR creativeWorkID2)

Response

OK

video_protection_rulesets
object[]
next_page_token
string

If there are more results than have been returned, then this field is set to a non-empty value. To see the additional results, use that value as page_token in the next call to this method.