dfp_createAdUnits {rdfp} | R Documentation |
InventoryService
Description
Provides operations for creating, updating and retrieving AdUnit objects.
Usage
dfp_createAdUnits(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
Line items connect a creative with its associated ad unit through targeting. An ad unit represents a piece of inventory within a publisher. It contains all the settings that need to be associated with the inventory in order to serve ads. For example, the ad unit contains creative size restrictions and AdSense settings.
createAdUnits
Creates new AdUnit objects.
Value
a data.frame
or list
containing all the elements of a createAdUnitsResponse
See Also
Google Documentation for createAdUnits
Examples
## Not run:
res <- dfp_createAdUnits(request_data)
## End(Not run)