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 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

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)

[Package rdfp version 0.1.4 Index]