Description Usage Arguments Details Value See Also Examples
Provides methods for the creation and management of Labels.
1  | dfp_createLabels(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  | 
createLabels
Creates new Label objects.
a data.frame or list containing all the elements of a createLabelsResponse
Google Documentation for createLabels
1 2 3 4 5 6 7 8 9  | ## 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)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.