rdfp (version 0.1.2)

dfp_createAdUnits: 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 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 createAdUnitsResponse

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.

See Also

Google Documentation for createAdUnits

Examples

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

Run the code above in your browser using DataLab