rdfp (version 0.1.2)

dfp_createTeams: 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 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 createTeamsResponse

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

See Also

Google Documentation for createTeams

Examples

Run this code
# 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)
# }

Run the code above in your browser using DataLab