dfp_createTeams {rdfp} | R Documentation |
TeamService
Description
Provides methods for creating, updating, and retrieving Team objects.
Usage
dfp_createTeams(request_data, as_df = TRUE, verbose = FALSE)
Arguments
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 |
Details
Teams are used to group users in order to define access to entities such as companies, inventory and orders.
createTeams
Creates new Team objects. The following fields are required:
Team name
Value
a data.frame
or list
containing all the elements of a createTeamsResponse
See Also
Google Documentation for createTeams
Examples
## Not run:
request_data <- list(teams=list(name="TestTeam1",
description='API Test Team 1',
hasAllCompanies='true',
hasAllInventory='true',
teamAccessType='READ_WRITE'))
result <- dfp_createTeams(request_data)
## End(Not run)
[Package rdfp version 0.1.4 Index]