rdfp (version 0.1.2)

dfp_createProducts: 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 DoubleClick for Publishers (DFP), you will not be able to use this service.

Usage

dfp_createProducts(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 createProductsResponse

Details

createProducts

Creates new Product objects. This method is only available when creating programmatic guaranteed products when not using sales management.

See Also

Google Documentation for createProducts

Examples

Run this code
# NOT RUN {
 res <- dfp_createProducts(request_data)
# }

Run the code above in your browser using DataLab