public interface PlacementServiceInterface extends Remote
| Modifier and Type | Method and Description |
|---|---|
Placement |
createPlacement(Placement placement)
Creates a new
Placement. |
Placement[] |
createPlacements(Placement[] placements)
Creates new
Placement objects. |
Placement |
getPlacement(Long placementId)
Returns the
Placement uniquely identified by the given
ID. |
PlacementPage |
getPlacementsByStatement(Statement filterStatement)
|
UpdateResult |
performPlacementAction(PlacementAction placementAction,
Statement filterStatement)
Performs actions on
Placement objects that match the
given
Statement.query. |
Placement |
updatePlacement(Placement placement)
Updates the specified
Placement. |
Placement[] |
updatePlacements(Placement[] placements)
Updates the specified
Placement objects. |
Placement createPlacement(Placement placement) throws RemoteException, ApiException
Placement.
The following fields are required:
placement - the placement to createRemoteExceptionApiExceptionPlacement[] createPlacements(Placement[] placements) throws RemoteException, ApiException
Placement objects.placements - the placements to createRemoteExceptionApiExceptionPlacement getPlacement(Long placementId) throws RemoteException, ApiException
Placement uniquely identified by the given
ID.placementId - ID of the placement, which must already existPlacement uniquely identified by the given IDRemoteExceptionApiExceptionPlacementPage getPlacementsByStatement(Statement filterStatement) throws RemoteException, ApiException
PlacementPage of Placement objects that
satisfy the
given Statement.query. The following fields are supported
for
filtering:
| PQL Property | Object Property |
|---|---|
description |
Placement.description |
id |
Placement.id |
isAdSenseTargetingEnabled |
Placement.isAdSenseTargetingEnabled |
name |
Placement.name |
placementCode |
Placement.placementCode |
status |
Placement.status |
lastModifiedDateTime |
Placement.lastModifiedDateTime |
filterStatement - a Publisher Query Language statement used to
filter
a set of placementsRemoteExceptionApiExceptionUpdateResult performPlacementAction(PlacementAction placementAction, Statement filterStatement) throws RemoteException, ApiException
Placement objects that match the
given
Statement.query.placementAction - the action to performfilterStatement - a Publisher Query Language statement used to
filter
a set of placementsRemoteExceptionApiExceptionPlacement updatePlacement(Placement placement) throws RemoteException, ApiException
Placement.placement - the placement to updateRemoteExceptionApiExceptionPlacement[] updatePlacements(Placement[] placements) throws RemoteException, ApiException
Placement objects.placements - the placements to updateRemoteExceptionApiExceptionCopyright © 2013. All Rights Reserved.