dfp_createPlacements
PlacementService
Provides methods for creating, updating and retrieving Placement objects.
Usage
dfp_createPlacements(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
You can use a placement to group ad units. For example, you might have a placement that focuses on sports sites, which may be spread across different branches of your inventory. You might also have a "fire sale" placement that includes ad units that have not been selling and are consequently priced very attractively.
createPlacements
Creates new Placement objects.
Value
a data.frame
or list
containing all the elements of a createPlacementsResponse
See Also
Examples
# NOT RUN {
res <- dfp_createPlacements(request_data)
# }