Service for retrieving Content.
Content entities can be targeted in
video LineItems.
You can query for content that belongs to a particular
category or has assigned metadata. Categories and metadata for Content are
stored in DFP as CustomCriteria.
For example, to find all Content that
is "genre=comedy", you would:
Retrieve the custom targeting key
corresponding to "genre" using
CustomTargetingService#getCustomTargetingKeysByStatement
Using the
CustomTargetingService#getCustomTargetingValuesByStatement method and a
filter like "WHERE customTargetingKeyId = :genreKeyId and name = 'comedy'",
retrieve the ID for the "comedy" custom targeting value.
Call
#getContentByStatementAndCustomTargetingValue with a filter like "WHERE
status = 'ACTIVE'" and the ID of the custom targeting value from step 2.