dfp_getContentByStatement: ContentService

Description Usage Arguments Details Value See Also Examples

Description

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:

Usage

1
dfp_getContentByStatement(request_data, as_df = TRUE, verbose = FALSE)

Arguments

request_data

a list or data.frame of data elements to be formatted for a SOAP request (XML format, but passed as character string)

as_df

a boolean indicating whether to attempt to parse the result into a data.frame

verbose

a boolean indicating whether to print the service URL and POSTed XML

Details

getContentByStatement

Gets a ContentPage of Content objects that satisfy the given {@link Statement query}. The following fields are supported for filtering:

Value

a data.frame or list containing all the elements of a getContentByStatementResponse

See Also

Google Documentation for getContentByStatement

Examples

1
2
3
4
5
## Not run: 
 dat <- list(filterStatement=list('query'="WHERE status='ACTIVE'")) 
 res <- dfp_getContentByStatement(dat)

## End(Not run)

ReportMort/rdfp documentation built on June 9, 2019, 9:21 p.m.