Description Usage Arguments Value See Also Examples
Gets a CustomTargetingValuePage of CustomTargetingValue objects that satisfy the given Statement query. The WHERE clause in the Statement query must always contain CustomTargetingValue customTargetingKeyId as one of its columns in a way that it is AND'ed with the rest of the query. So, if you want to retrieve values for a known set of key ids, valid Statement query would look like: "WHERE customTargetingKeyId IN ('17','18','19')" retrieves all values that are associated with keys having ids 17, 18, 19. "WHERE customTargetingKeyId = '17' AND name = 'red'" retrieves values that are associated with keys having id 17 and value name is 'red'. The following fields are supported for filtering:
id
customTargetingKeyId
name
displayName
matchType
1 2 | dfp_getCustomTargetingValuesByStatement(request_data, as_df = TRUE,
verbose = FALSE)
|
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 |
a data.frame
or list
containing all the elements of a getCustomTargetingValuesByStatementResponse
Google Documentation for getCustomTargetingValuesByStatement
1 2 3 4 5 | ## Not run:
dat <- list(filterStatement=list('query'="WHERE status='ACTIVE'"))
res <- dfp_getCustomTargetingValuesByStatement(dat)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.