Provides methods for the creation and management of CustomField objects.

dfp_createCustomFieldOptions(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 createCustomFieldOptionsResponse

Details

createCustomFieldOptions

Creates new CustomFieldOption objects. The following fields are required:

  • CustomFieldOption displayName

  • CustomFieldOption customFieldId

See also

Examples

# NOT RUN {
request_data <- data.frame(customFieldId=rep(dfp_createCustomFields_result$id, 3),
                           displayName=c('Morning', 'Afternoon', 'Evening'))
result <- dfp_createCustomFieldOptions(request_data)
# }