dfp_getAdRulesByStatement {rdfp}R Documentation

getAdRulesByStatement

Description

Gets an AdRulePage of AdRule objects that satisfy the given {@link Statement query}. The following fields are supported for filtering:

Usage

dfp_getAdRulesByStatement(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

Value

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

See Also

Google Documentation for getAdRulesByStatement

Examples

## Not run: 
 dat <- list(filterStatement=list('query'="WHERE status='ACTIVE'")) 
 res <- dfp_getAdRulesByStatement(dat)

## End(Not run)

[Package rdfp version 0.1.4 Index]