public interface AdRuleServiceInterface extends Remote
| Modifier and Type | Method and Description |
|---|---|
AdRule[] |
createAdRules(AdRule[] adRules)
Creates new
AdRule objects. |
AdRulePage |
getAdRulesByStatement(Statement statement)
|
UpdateResult |
performAdRuleAction(AdRuleAction adRuleAction,
Statement filterStatement)
Performs actions on
AdRule objects that match the given
Statement.query. |
AdRule[] |
updateAdRules(AdRule[] adRules)
Updates the specified
AdRule objects. |
AdRule[] createAdRules(AdRule[] adRules) throws RemoteException, ApiException
AdRule objects.adRules - the ad rules to createRemoteExceptionApiExceptionAdRulePage getAdRulesByStatement(Statement statement) throws RemoteException, ApiException
AdRulePage of AdRule objects that satisfy
the given
Statement.query. The following fields are supported
for filtering:
| PQL Property | Object Property |
|---|---|
id |
AdRule.id |
name |
AdRule.name |
priority |
AdRule.priority |
status |
AdRule.status |
filterStatement - a Publisher Query Language statement used to
filter
a set of ad rulesApiException - if the ID of the active network does not exist
or
there is a backend errorRemoteExceptionUpdateResult performAdRuleAction(AdRuleAction adRuleAction, Statement filterStatement) throws RemoteException, ApiException
AdRule objects that match the given
Statement.query.adRuleAction - the action to performfilterStatement - a Publisher Query Language statement used to
filter
a set of ad rulesRemoteExceptionApiExceptionAdRule[] updateAdRules(AdRule[] adRules) throws RemoteException, ApiException
AdRule objects.adRules - the ad rules to updateApiException - if there is an error updating the ad rulesRemoteExceptionCopyright © 2014. All Rights Reserved.