public interface LabelServiceInterface
| Modifier and Type | Method and Description |
|---|---|
List<Label> |
createLabels(List<Label> labels)
Creates new
Label objects. |
LabelPage |
getLabelsByStatement(Statement filterStatement)
|
UpdateResult |
performLabelAction(LabelAction labelAction,
Statement filterStatement)
Performs actions on
Label objects that match the given
Statement.query. |
List<Label> |
updateLabels(List<Label> labels)
Updates the specified
Label objects. |
@RequestWrapper(localName="createLabels", targetNamespace="https://www.google.com/apis/ads/publisher/v201711", className="com.google.api.ads.dfp.jaxws.v201711.LabelServiceInterfacecreateLabels") @ResponseWrapper(localName="createLabelsResponse", targetNamespace="https://www.google.com/apis/ads/publisher/v201711", className="com.google.api.ads.dfp.jaxws.v201711.LabelServiceInterfacecreateLabelsResponse") List<Label> createLabels(List<Label> labels) throws ApiException_Exception
Label objects.labels - the labels to createlabels - ApiException_Exception@RequestWrapper(localName="getLabelsByStatement", targetNamespace="https://www.google.com/apis/ads/publisher/v201711", className="com.google.api.ads.dfp.jaxws.v201711.LabelServiceInterfacegetLabelsByStatement") @ResponseWrapper(localName="getLabelsByStatementResponse", targetNamespace="https://www.google.com/apis/ads/publisher/v201711", className="com.google.api.ads.dfp.jaxws.v201711.LabelServiceInterfacegetLabelsByStatementResponse") LabelPage getLabelsByStatement(Statement filterStatement) throws ApiException_Exception
LabelPage of Label objects that satisfy the
given Statement.query. The following fields are supported for
filtering:
| PQL Property | Object Property |
|---|---|
id |
Label.id |
type |
Label#type |
name |
Label.name |
description |
Label.description |
isActive |
Label.isActive |
filterStatement - a Publisher Query Language statement used to filter
a set of labels.filterStatement - ApiException_Exception@RequestWrapper(localName="performLabelAction", targetNamespace="https://www.google.com/apis/ads/publisher/v201711", className="com.google.api.ads.dfp.jaxws.v201711.LabelServiceInterfaceperformLabelAction") @ResponseWrapper(localName="performLabelActionResponse", targetNamespace="https://www.google.com/apis/ads/publisher/v201711", className="com.google.api.ads.dfp.jaxws.v201711.LabelServiceInterfaceperformLabelActionResponse") UpdateResult performLabelAction(LabelAction labelAction, Statement filterStatement) throws ApiException_Exception
Label objects that match the given
Statement.query.labelAction - the action to performfilterStatement - a Publisher Query Language statement used to filter
a set of labelsfilterStatement - labelAction - ApiException_Exception@RequestWrapper(localName="updateLabels", targetNamespace="https://www.google.com/apis/ads/publisher/v201711", className="com.google.api.ads.dfp.jaxws.v201711.LabelServiceInterfaceupdateLabels") @ResponseWrapper(localName="updateLabelsResponse", targetNamespace="https://www.google.com/apis/ads/publisher/v201711", className="com.google.api.ads.dfp.jaxws.v201711.LabelServiceInterfaceupdateLabelsResponse") List<Label> updateLabels(List<Label> labels) throws ApiException_Exception
Label objects.labels - the labels to updatelabels - ApiException_ExceptionCopyright © 2018. All Rights Reserved.