dfp_createCustomFields {rdfp}R Documentation

createCustomFields

Description

Creates new CustomField objects. The following fields are required:

Usage

dfp_createCustomFields(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 createCustomFieldsResponse

See Also

Google Documentation for createCustomFields

Examples

## Not run: 
request_data <- data.frame(name='Timing',
                           description='The time that this creative runs.', 
                           entityType='CREATIVE',
                           dataType='DROP_DOWN',
                           visibility='FULL')
result <- dfp_createCustomFields(request_data)

## End(Not run)

[Package rdfp version 0.1.4 Index]