dfp_getProductsByStatement {rdfp} | R Documentation |
ProductService
Description
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 |
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 |
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
Google Documentation for getProductsByStatement
Examples
## Not run:
dat <- list(filterStatement=list('query'="WHERE status='ACTIVE'"))
res <- dfp_getProductsByStatement(dat)
## End(Not run)