public interface SuggestedAdUnitServiceInterface extends Remote
| Modifier and Type | Method and Description |
|---|---|
SuggestedAdUnitPage |
getSuggestedAdUnitsByStatement(Statement filterStatement)
Gets a
SuggestedAdUnitPage of SuggestedAdUnit
objects that
satisfy the filter query. |
SuggestedAdUnitUpdateResult |
performSuggestedAdUnitAction(SuggestedAdUnitAction suggestedAdUnitAction,
Statement filterStatement)
Performs actions on
SuggestedAdUnit objects that match
the given
Statement.query. |
SuggestedAdUnitPage getSuggestedAdUnitsByStatement(Statement filterStatement) throws RemoteException, ApiException
SuggestedAdUnitPage of SuggestedAdUnit
objects that
satisfy the filter query. There is a system-enforced limit
of 1000 on the number of suggested
ad units that are suggested at any one time.
| PQL Property | Object Property |
|---|---|
id |
SuggestedAdUnit.id |
numRequests |
SuggestedAdUnit.numRequests |
Note: After API version 201311, the id field will only be
numerical.
filterStatement - a Publisher Query Language statement used to
filter
a set of suggested ad unitsRemoteExceptionApiExceptionSuggestedAdUnitUpdateResult performSuggestedAdUnitAction(SuggestedAdUnitAction suggestedAdUnitAction, Statement filterStatement) throws RemoteException, ApiException
SuggestedAdUnit objects that match
the given
Statement.query. The following fields are supported
for filtering:
| PQL Property | Object Property |
|---|---|
id |
SuggestedAdUnit.id |
numRequests |
SuggestedAdUnit.numRequests |
suggestedAdUnitAction - the action to performfilterStatement - a Publisher Query Language statement used to
filter
a set of suggested ad unitsRemoteExceptionApiExceptionCopyright © 2021. All rights reserved.