|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface InventoryServiceInterface
| Method Summary | |
|---|---|
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)
Gets a AdUnitPage of AdUnit objects that satisfy
the given
Statement.query. |
AdUnitSize[] |
getAdUnitSizes()
Retrieves the sorted set of sizes across all ad units. |
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. |
| Method Detail |
|---|
AdUnit createAdUnit(AdUnit adUnit)
throws RemoteException,
ApiException
AdUnit.
The following fields are required:
adUnit - the ad unit to create
RemoteException
ApiException
AdUnit[] createAdUnits(AdUnit[] adUnits)
throws RemoteException,
ApiException
AdUnit objects.
adUnits - the ad units to create
RemoteException
ApiException
AdUnit getAdUnit(String adUnitId)
throws RemoteException,
ApiException
AdUnit uniquely identified by the given
ID.
adUnitId - ID of the ad unit, which must already exist
AdUnit uniquely identified by the given ID
RemoteException
ApiException
AdUnitSize[] getAdUnitSizes()
throws RemoteException,
ApiException
RemoteException
ApiException
AdUnitPage 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 units
RemoteException
ApiException
UpdateResult 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 units
RemoteException
ApiException
AdUnit updateAdUnit(AdUnit adUnit)
throws RemoteException,
ApiException
AdUnit.
adUnit - the ad unit to update
RemoteException
ApiException
AdUnit[] updateAdUnits(AdUnit[] adUnits)
throws RemoteException,
ApiException
AdUnit objects.
adUnits - the ad units to update
RemoteException
ApiException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||