public interface InventoryServiceInterface extends Remote
| Modifier and Type | Method and Description |
|---|---|
AdUnit |
createAdUnit(AdUnit adUnit)
Creates a new
AdUnit. |
AdUnit[] |
createAdUnits(AdUnit[] adUnits)
Creates new
AdUnit objects. |
AdUnit |
getAdUnit(String adUnitId)
Returns the
AdUnit uniquely identified by the given
ID. |
AdUnitPage |
getAdUnitsByStatement(Statement filterStatement)
|
AdUnitSize[] |
getAdUnitSizes()
Retrieves the sorted set of sizes across all ad units.
|
AdUnitSize[] |
getAdUnitSizesByStatement(Statement filterStatement)
Gets a set of
AdUnitSize objects that satisfy the given
Statement.query. |
UpdateResult |
performAdUnitAction(AdUnitAction adUnitAction,
Statement filterStatement)
Performs actions on
AdUnit objects that match the given
Statement.query. |
AdUnit |
updateAdUnit(AdUnit adUnit)
Updates the specified
AdUnit. |
AdUnit[] |
updateAdUnits(AdUnit[] adUnits)
Updates the specified
AdUnit objects. |
AdUnit createAdUnit(AdUnit adUnit) throws RemoteException, ApiException
AdUnit.
The following fields are required:
adUnit - the ad unit to createRemoteExceptionApiExceptionAdUnit[] createAdUnits(AdUnit[] adUnits) throws RemoteException, ApiException
AdUnit objects.adUnits - the ad units to createRemoteExceptionApiExceptionAdUnit getAdUnit(String adUnitId) throws RemoteException, ApiException
AdUnit uniquely identified by the given
ID.adUnitId - ID of the ad unit, which must already existAdUnit uniquely identified by the given IDRemoteExceptionApiExceptionAdUnitSize[] getAdUnitSizes() throws RemoteException, ApiException
RemoteExceptionApiExceptionAdUnitSize[] getAdUnitSizesByStatement(Statement filterStatement) throws RemoteException, ApiException
AdUnitSize objects that satisfy the given
Statement.query. The following fields are supported for filtering:
| PQL Property | Object Property |
|---|---|
targetPlatform |
TargetPlatform |
filterStatement - a Publisher Query Language statement used to
filter
a set of ad unit sizesRemoteExceptionApiExceptionAdUnitPage getAdUnitsByStatement(Statement filterStatement) throws RemoteException, ApiException
AdUnitPage of AdUnit objects that satisfy
the given
Statement.query. The following fields are supported
for filtering:
| PQL Property | Object Property |
|---|---|
adUnitCode |
AdUnit.adUnitCode |
id |
AdUnit.id |
name |
AdUnit.name |
parentId |
AdUnit.parentId |
status |
AdUnit.status |
lastModifiedDateTime |
AdUnit.lastModifiedDateTime |
filterStatement - a Publisher Query Language statement used to
filter
a set of ad unitsRemoteExceptionApiExceptionUpdateResult performAdUnitAction(AdUnitAction adUnitAction, Statement filterStatement) throws RemoteException, ApiException
AdUnit objects that match the given
Statement.query.adUnitAction - the action to performfilterStatement - a Publisher Query Language statement used to
filter
a set of ad unitsRemoteExceptionApiExceptionAdUnit updateAdUnit(AdUnit adUnit) throws RemoteException, ApiException
AdUnit.adUnit - the ad unit to updateRemoteExceptionApiExceptionAdUnit[] updateAdUnits(AdUnit[] adUnits) throws RemoteException, ApiException
AdUnit objects.adUnits - the ad units to updateRemoteExceptionApiExceptionCopyright © 2013. All Rights Reserved.