public interface AdRuleServiceInterface extends Remote
| Modifier and Type | Method and Description |
|---|---|
AdRule[] |
createAdRules(AdRule[] adRules)
Creates new
AdRule objects. |
AdSpot[] |
createAdSpots(AdSpot[] adSpots)
Creates new
AdSpot objects. |
BreakTemplate[] |
createBreakTemplates(BreakTemplate[] breakTemplate)
Creates new
breakTemplate objects. |
AdRulePage |
getAdRulesByStatement(Statement statement)
|
AdSpotPage |
getAdSpotsByStatement(Statement filterStatement)
|
BreakTemplatePage |
getBreakTemplatesByStatement(Statement filterStatement)
|
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. |
AdSpot[] |
updateAdSpots(AdSpot[] adSpots)
Updates the specified
AdSpot objects. |
BreakTemplate[] |
updateBreakTemplates(BreakTemplate[] breakTemplate)
Updates the specified
breakTemplate objects. |
AdRule[] createAdRules(AdRule[] adRules) throws RemoteException, ApiException
AdRule objects.adRules - the ad rules to createRemoteExceptionApiExceptionAdSpot[] createAdSpots(AdSpot[] adSpots) throws RemoteException, ApiException
AdSpot objects.adSpots - the ad spots to createRemoteExceptionApiExceptionBreakTemplate[] createBreakTemplates(BreakTemplate[] breakTemplate) throws RemoteException, ApiException
breakTemplate objects.breakTemplate - the break template 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 (AdRule#adRuleId beginning in
v201702) |
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 errorRemoteExceptionAdSpotPage getAdSpotsByStatement(Statement filterStatement) throws RemoteException, ApiException
filterStatement - a Publisher Query Language statement to filter
a list of ad spotsRemoteExceptionApiExceptionBreakTemplatePage getBreakTemplatesByStatement(Statement filterStatement) throws RemoteException, ApiException
filterStatement - a Publisher Query Language statement to filter
a list of breakTemplateRemoteExceptionApiExceptionUpdateResult 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 rulesRemoteExceptionAdSpot[] updateAdSpots(AdSpot[] adSpots) throws RemoteException, ApiException
AdSpot objects.adSpots - the ad spots to updateApiException - if there is an error updating the ad spotsRemoteExceptionBreakTemplate[] updateBreakTemplates(BreakTemplate[] breakTemplate) throws RemoteException, ApiException
breakTemplate objects.breakTemplate - the break template to updateRemoteExceptionApiExceptionCopyright © 2020. All rights reserved.