Creates new CustomTargetingValue objects. The following fields are required:
CustomTargetingValue customTargetingKeyId
CustomTargetingValue name
dfp_createCustomTargetingValues(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 createCustomTargetingValuesResponse
# NOT RUN { request_data <- data.frame(customTargetingKeyId=rep(created_targeting_key$id,2), name=c('TestValue1','TestValue2'), displayName=c('TestValue1','TestValue2'), matchType=rep('EXACT', 2)) result <- dfp_createCustomTargetingValues(request_data) # }