dfp_createLabels {rdfp}R Documentation

LabelService

Description

Provides methods for the creation and management of Labels.

Usage

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

createLabels

Creates new Label objects.

Value

a data.frame or list containing all the elements of a createLabelsResponse

See Also

Google Documentation for createLabels

Examples

## Not run: 
request_data <- data.frame(name="Auto - Competitive Exclusion",
                           description=paste0("A label to prevent two different car ",
                                              "companies from showing ads together"),
                           types='COMPETITIVE_EXCLUSION')
request_data <- list('labels'=hypothetical_label)
result <- dfp_createLabels(request_data)

## End(Not run)

[Package rdfp version 0.1.4 Index]