dfp_getAdUnitsByStatement {rdfp} | R Documentation |
getAdUnitsByStatement
Description
Gets a AdUnitPage of AdUnit objects that satisfy the given Statement query. The following fields are supported for filtering:
adUnitCode
id
name
parentId
status
lastModifiedDateTime
Usage
dfp_getAdUnitsByStatement(request_data, as_df = FALSE, verbose = FALSE)
Arguments
request_data |
a |
as_df |
a boolean indicating whether to attempt to parse the result into
a |
verbose |
a boolean indicating whether to print the service URL and POSTed XML |
Value
a data.frame
or list
containing all the elements of a getAdUnitsByStatementResponse
See Also
Google Documentation for getAdUnitsByStatement
Examples
## Not run:
dat <- list(filterStatement=list('query'="WHERE status='ACTIVE'"))
res <- dfp_getAdUnitsByStatement(dat)
## End(Not run)
[Package rdfp version 0.1.4 Index]