rdfp (version 0.1.2)

dfp_getProductsByStatement: getProductsByStatement

Description

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

Usage

dfp_getProductsByStatement(request_data, as_df = TRUE, verbose = FALSE)

Arguments

request_data

a list or data.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

Value

a data.frame or list containing all the elements of a getProductsByStatementResponse

See Also

Google Documentation for getProductsByStatement

Examples

Run this code
# NOT RUN {
 dat <- list(filterStatement=list('query'="WHERE status='ACTIVE'")) 
 res <- dfp_getProductsByStatement(dat)
# }

Run the code above in your browser using DataLab