com.google.api.ads.dfp.axis.v201203
Interface TeamServiceInterface

All Superinterfaces:
Remote
All Known Implementing Classes:
TeamServiceSoapBindingStub

public interface TeamServiceInterface
extends Remote


Method Summary
 Team createTeam(Team team)
          Creates a new Team.
 Team[] createTeams(Team[] teams)
          Creates new Team objects.
 Team getTeam(Long teamId)
          Returns the Team uniquely identified by the given ID.
 TeamPage getTeamsByStatement(Statement filterStatement)
          Gets a TeamPage of Team objects that satisfy the given Statement.query.
 Team updateTeam(Team team)
          Updates the specified Team.
 Team[] updateTeams(Team[] teams)
          Updates the specified Team objects.
 

Method Detail

createTeam

Team createTeam(Team team)
                throws RemoteException,
                       ApiException
Creates a new Team. The following fields are required:

Parameters:
team - the team to create
Returns:
the team with its ID filled in
Throws:
RemoteException
ApiException

createTeams

Team[] createTeams(Team[] teams)
                   throws RemoteException,
                          ApiException
Creates new Team objects. The following fields are required:

Parameters:
teams - the teams to create
Returns:
the created teams with their IDs filled in
Throws:
RemoteException
ApiException

getTeam

Team getTeam(Long teamId)
             throws RemoteException,
                    ApiException
Returns the Team uniquely identified by the given ID.

Parameters:
teamId - the ID of the team, which must already exist
Returns:
the Team uniquely identified by the given ID
Throws:
RemoteException
ApiException

getTeamsByStatement

TeamPage getTeamsByStatement(Statement filterStatement)
                             throws RemoteException,
                                    ApiException
Gets a TeamPage of Team objects that satisfy the given Statement.query. The following fields are supported for filtering:
PQL Property Object Property
id Team.id
name Team.name
description Team.description

Parameters:
filterStatement - a Publisher Query Language statement used to filter a set of teams.
Returns:
the teams that match the given filter
Throws:
RemoteException
ApiException

updateTeam

Team updateTeam(Team team)
                throws RemoteException,
                       ApiException
Updates the specified Team.

Parameters:
team - the team to update
Returns:
the updated team
Throws:
RemoteException
ApiException

updateTeams

Team[] updateTeams(Team[] teams)
                   throws RemoteException,
                          ApiException
Updates the specified Team objects.

Parameters:
teams - the teams to update
Returns:
the updated teams
Throws:
RemoteException
ApiException


Copyright © 2012. All Rights Reserved.