Gets a ProductPage of Product objects that satisfy the criteria specified by given Statement query. When using sales management, the following fields are supported for filtering and/or sorting.
rateCardId
status
lineItemType
productType
rateType
productTemplateId
name
description
id
lastModifiedDateTime
dfp_getProductsByStatement(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 getProductsByStatementResponse
Google Documentation for getProductsByStatement
# NOT RUN { dat <- list(filterStatement=list('query'="WHERE status='ACTIVE'")) res <- dfp_getProductsByStatement(dat) # }
Run the code above in your browser using DataLab