Creates new CustomField objects. The following fields are required:
CustomField name
CustomField entityType
CustomField dataType
CustomField visibility
dfp_createCustomFields(request_data, as_df = TRUE, verbose = FALSE)
request_data | a |
---|---|
as_df | a boolean indicating whether to attempt to parse the result into
a |
verbose | a boolean indicating whether to print the service URL and POSTed XML |
a data.frame
or list
containing all the elements of a createCustomFieldsResponse
# 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) # }