public interface InventoryServiceInterface
AdUnit objects.
Line items connect a creative with its associated ad unit through targeting.
An ad unit represents a piece of inventory within a publisher. It contains all the settings that need to be associated with the inventory in order to serve ads. For example, the ad unit contains creative size restrictions and AdSense settings. 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<AdUnit> |
createAdUnits(List<AdUnit> adUnits)
Creates new
AdUnit objects. |
AdUnitPage |
getAdUnitsByStatement(Statement filterStatement)
|
List<AdUnitSize> |
getAdUnitSizesByStatement(Statement filterStatement)
Gets a set of
AdUnitSize objects that satisfy the given
Statement.query. |
UpdateResult |
performAdUnitAction(AdUnitAction adUnitAction,
Statement filterStatement)
Performs actions on
AdUnit objects that match the given
Statement.query. |
List<AdUnit> |
updateAdUnits(List<AdUnit> adUnits)
Updates the specified
AdUnit objects. |
@RequestWrapper(localName="createAdUnits", targetNamespace="https://www.google.com/apis/ads/publisher/v201802", className="com.google.api.ads.dfp.jaxws.v201802.CreateAdUnits") @ResponseWrapper(localName="createAdUnitsResponse", targetNamespace="https://www.google.com/apis/ads/publisher/v201802", className="com.google.api.ads.dfp.jaxws.v201802.CreateAdUnitsResponse") List<AdUnit> createAdUnits(List<AdUnit> adUnits) throws ApiException_Exception
AdUnit objects.adUnits - the ad units to createadUnits - ApiException_Exception@RequestWrapper(localName="getAdUnitSizesByStatement", targetNamespace="https://www.google.com/apis/ads/publisher/v201802", className="com.google.api.ads.dfp.jaxws.v201802.GetAdUnitSizesByStatement") @ResponseWrapper(localName="getAdUnitSizesByStatementResponse", targetNamespace="https://www.google.com/apis/ads/publisher/v201802", className="com.google.api.ads.dfp.jaxws.v201802.GetAdUnitSizesByStatementResponse") List<AdUnitSize> getAdUnitSizesByStatement(Statement filterStatement) throws ApiException_Exception
AdUnitSize objects that satisfy the given
Statement.query. The following fields are supported for filtering:
| PQL Property | Object Property |
|---|---|
targetPlatform |
TargetPlatform |
filterStatement - a Publisher Query Language statement used to filter
a set of ad unit sizesfilterStatement - ApiException_Exception@RequestWrapper(localName="getAdUnitsByStatement", targetNamespace="https://www.google.com/apis/ads/publisher/v201802", className="com.google.api.ads.dfp.jaxws.v201802.GetAdUnitsByStatement") @ResponseWrapper(localName="getAdUnitsByStatementResponse", targetNamespace="https://www.google.com/apis/ads/publisher/v201802", className="com.google.api.ads.dfp.jaxws.v201802.GetAdUnitsByStatementResponse") AdUnitPage getAdUnitsByStatement(Statement filterStatement) throws ApiException_Exception
AdUnitPage of AdUnit objects that satisfy the given
Statement.query. The following fields are supported for filtering:
| PQL Property | Object Property |
|---|---|
adUnitCode |
AdUnit.adUnitCode |
id |
AdUnit.id |
name |
AdUnit.name |
parentId |
AdUnit.parentId |
status |
AdUnit.status |
lastModifiedDateTime |
AdUnit.lastModifiedDateTime |
filterStatement - a Publisher Query Language statement used to filter
a set of ad unitsfilterStatement - ApiException_Exception@RequestWrapper(localName="performAdUnitAction", targetNamespace="https://www.google.com/apis/ads/publisher/v201802", className="com.google.api.ads.dfp.jaxws.v201802.PerformAdUnitAction") @ResponseWrapper(localName="performAdUnitActionResponse", targetNamespace="https://www.google.com/apis/ads/publisher/v201802", className="com.google.api.ads.dfp.jaxws.v201802.PerformAdUnitActionResponse") UpdateResult performAdUnitAction(AdUnitAction adUnitAction, Statement filterStatement) throws ApiException_Exception
AdUnit objects that match the given
Statement.query.adUnitAction - the action to performfilterStatement - a Publisher Query Language statement used to filter
a set of ad unitsfilterStatement - adUnitAction - ApiException_Exception@RequestWrapper(localName="updateAdUnits", targetNamespace="https://www.google.com/apis/ads/publisher/v201802", className="com.google.api.ads.dfp.jaxws.v201802.UpdateAdUnits") @ResponseWrapper(localName="updateAdUnitsResponse", targetNamespace="https://www.google.com/apis/ads/publisher/v201802", className="com.google.api.ads.dfp.jaxws.v201802.UpdateAdUnitsResponse") List<AdUnit> updateAdUnits(List<AdUnit> adUnits) throws ApiException_Exception
AdUnit objects.adUnits - the ad units to updateadUnits - ApiException_ExceptionCopyright © 2018. All Rights Reserved.