public interface PlacementServiceInterface
Placement
objects.
You can use a placement to group ad units. For example, you might have a placement that focuses on sports sites, which may be spread across different branches of your inventory. You might also have a "fire sale" placement that includes ad units that have not been selling and are consequently priced very attractively. 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<Placement> |
createPlacements(List<Placement> placements)
Creates new
Placement objects. |
PlacementPage |
getPlacementsByStatement(Statement filterStatement)
|
UpdateResult |
performPlacementAction(PlacementAction placementAction,
Statement filterStatement)
Performs actions on
Placement objects that match the given
Statement.query. |
List<Placement> |
updatePlacements(List<Placement> placements)
Updates the specified
Placement objects. |
@RequestWrapper(localName="createPlacements", targetNamespace="https://www.google.com/apis/ads/publisher/v201802", className="com.google.api.ads.dfp.jaxws.v201802.PlacementServiceInterfacecreatePlacements") @ResponseWrapper(localName="createPlacementsResponse", targetNamespace="https://www.google.com/apis/ads/publisher/v201802", className="com.google.api.ads.dfp.jaxws.v201802.PlacementServiceInterfacecreatePlacementsResponse") List<Placement> createPlacements(List<Placement> placements) throws ApiException_Exception
Placement objects.placements - the placements to createplacements - ApiException_Exception@RequestWrapper(localName="getPlacementsByStatement", targetNamespace="https://www.google.com/apis/ads/publisher/v201802", className="com.google.api.ads.dfp.jaxws.v201802.PlacementServiceInterfacegetPlacementsByStatement") @ResponseWrapper(localName="getPlacementsByStatementResponse", targetNamespace="https://www.google.com/apis/ads/publisher/v201802", className="com.google.api.ads.dfp.jaxws.v201802.PlacementServiceInterfacegetPlacementsByStatementResponse") PlacementPage getPlacementsByStatement(Statement filterStatement) throws ApiException_Exception
PlacementPage of Placement objects that satisfy the
given Statement.query. The following fields are supported for
filtering:
| PQL Property | Object Property |
|---|---|
description |
Placement.description |
id |
Placement.id |
isAdSenseTargetingEnabled |
Placement#isAdSenseTargetingEnabled |
name |
Placement.name |
placementCode |
Placement.placementCode |
status |
Placement.status |
lastModifiedDateTime |
Placement.lastModifiedDateTime |
filterStatement - a Publisher Query Language statement used to filter
a set of placementsfilterStatement - ApiException_Exception@RequestWrapper(localName="performPlacementAction", targetNamespace="https://www.google.com/apis/ads/publisher/v201802", className="com.google.api.ads.dfp.jaxws.v201802.PlacementServiceInterfaceperformPlacementAction") @ResponseWrapper(localName="performPlacementActionResponse", targetNamespace="https://www.google.com/apis/ads/publisher/v201802", className="com.google.api.ads.dfp.jaxws.v201802.PlacementServiceInterfaceperformPlacementActionResponse") UpdateResult performPlacementAction(PlacementAction placementAction, Statement filterStatement) throws ApiException_Exception
Placement objects that match the given
Statement.query.placementAction - the action to performfilterStatement - a Publisher Query Language statement used to filter
a set of placementsplacementAction - filterStatement - ApiException_Exception@RequestWrapper(localName="updatePlacements", targetNamespace="https://www.google.com/apis/ads/publisher/v201802", className="com.google.api.ads.dfp.jaxws.v201802.PlacementServiceInterfaceupdatePlacements") @ResponseWrapper(localName="updatePlacementsResponse", targetNamespace="https://www.google.com/apis/ads/publisher/v201802", className="com.google.api.ads.dfp.jaxws.v201802.PlacementServiceInterfaceupdatePlacementsResponse") List<Placement> updatePlacements(List<Placement> placements) throws ApiException_Exception
Placement objects.placements - the placements to updateplacements - ApiException_ExceptionCopyright © 2018. All Rights Reserved.