powered by
Gets an AudienceSegmentPage of AudienceSegment objects that satisfy the given Statement query. The following fields are supported for filtering:
id
name
status
type
size
dataProviderName
approvalStatus
cost
startDateTime
endDateTime
dfp_getAudienceSegmentsByStatement(request_data, as_df = TRUE, verbose = FALSE)
a list or data.frame of data elements to be formatted for a SOAP request (XML format, but passed as character string)
list
data.frame
a boolean indicating whether to attempt to parse the result into a data.frame
a boolean indicating whether to print the service URL and POSTed XML
a data.frame or list containing all the elements of a getAudienceSegmentsByStatementResponse
Google Documentation for getAudienceSegmentsByStatement
# NOT RUN { dat <- list(filterStatement=list('query'="WHERE status='ACTIVE'")) res <- dfp_getAudienceSegmentsByStatement(dat) # }
Run the code above in your browser using DataLab