Description Usage Arguments Details Value See Also Examples
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.
1 | dfp_getProductsByStatement(request_data, as_df = TRUE, verbose = FALSE)
|
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 |
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
a data.frame
or list
containing all the elements of a getProductsByStatementResponse
Google Documentation for getProductsByStatement
1 2 3 4 5 | ## Not run:
dat <- list(filterStatement=list('query'="WHERE status='ACTIVE'"))
res <- dfp_getProductsByStatement(dat)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.