public interface AdRuleServiceInterface
AdRule objects.
Ad rules contain data that the ad server uses to generate a playlist of video ads. This class was generated by the JAX-WS RI. JAX-WS RI 2.2.9-b130926.1035 Generated source version: 2.1
| Modifier and Type | Method and Description |
|---|---|
List<AdRule> |
createAdRules(List<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. |
List<AdRule> |
updateAdRules(List<AdRule> adRules)
Updates the specified
AdRule objects. |
@RequestWrapper(localName="createAdRules", targetNamespace="https://www.google.com/apis/ads/publisher/v201802", className="com.google.api.ads.dfp.jaxws.v201802.AdRuleServiceInterfacecreateAdRules") @ResponseWrapper(localName="createAdRulesResponse", targetNamespace="https://www.google.com/apis/ads/publisher/v201802", className="com.google.api.ads.dfp.jaxws.v201802.AdRuleServiceInterfacecreateAdRulesResponse") List<AdRule> createAdRules(List<AdRule> adRules) throws ApiException_Exception
AdRule objects.adRules - the ad rules to createadRules - ApiException_Exception@RequestWrapper(localName="getAdRulesByStatement", targetNamespace="https://www.google.com/apis/ads/publisher/v201802", className="com.google.api.ads.dfp.jaxws.v201802.AdRuleServiceInterfacegetAdRulesByStatement") @ResponseWrapper(localName="getAdRulesByStatementResponse", targetNamespace="https://www.google.com/apis/ads/publisher/v201802", className="com.google.api.ads.dfp.jaxws.v201802.AdRuleServiceInterfacegetAdRulesByStatementResponse") AdRulePage getAdRulesByStatement(Statement statement) throws ApiException_Exception
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 rulesstatement - ApiException - if the ID of the active network does not exist or there is a backend errorApiException_Exception@RequestWrapper(localName="performAdRuleAction", targetNamespace="https://www.google.com/apis/ads/publisher/v201802", className="com.google.api.ads.dfp.jaxws.v201802.AdRuleServiceInterfaceperformAdRuleAction") @ResponseWrapper(localName="performAdRuleActionResponse", targetNamespace="https://www.google.com/apis/ads/publisher/v201802", className="com.google.api.ads.dfp.jaxws.v201802.AdRuleServiceInterfaceperformAdRuleActionResponse") UpdateResult performAdRuleAction(AdRuleAction adRuleAction, Statement filterStatement) throws ApiException_Exception
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 rulesfilterStatement - adRuleAction - ApiException_Exception@RequestWrapper(localName="updateAdRules", targetNamespace="https://www.google.com/apis/ads/publisher/v201802", className="com.google.api.ads.dfp.jaxws.v201802.AdRuleServiceInterfaceupdateAdRules") @ResponseWrapper(localName="updateAdRulesResponse", targetNamespace="https://www.google.com/apis/ads/publisher/v201802", className="com.google.api.ads.dfp.jaxws.v201802.AdRuleServiceInterfaceupdateAdRulesResponse") List<AdRule> updateAdRules(List<AdRule> adRules) throws ApiException_Exception
AdRule objects.adRules - the ad rules to updateadRules - ApiException - if there is an error updating the ad rulesApiException_ExceptionCopyright © 2018. All Rights Reserved.