dfp_getProductsByStatement
ProductService
Provides methods for updating and retrieving Product objects. A Product represents a line item proposal. Products are generated from ProductTemplate product templates on a periodic basis using the product template's attributes. Products are typically used by inventory managers to restrict what salespeople can sell. To use this service, you need to have the new sales management solution enabled on your network. If you do not see a "Sales" tab in <a href="https://www.google.com/dfp">DoubleClick for Publishers (DFP)</a>, you will not be able to use this service.
Usage
dfp_getProductsByStatement(request_data, as_df = TRUE, verbose = FALSE)
Arguments
- request_data
a
list
ordata.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
Details
getProductsByStatement
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
Value
a data.frame
or list
containing all the elements of a getProductsByStatementResponse
See Also
Examples
# NOT RUN {
dat <- list(filterStatement=list('query'="WHERE status='ACTIVE'"))
res <- dfp_getProductsByStatement(dat)
# }