public interface PackageServiceInterface
Package objects.
To use this service, you need to have the new sales management solution enabled on your network. If you do not see a "Sales" tab in DoubleClick for Publishers (DFP), you will not be able to use this service. 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<Package> |
createPackages(List<Package> packages)
Creates new
Package objects. |
PackagePage |
getPackagesByStatement(Statement filterStatement)
|
UpdateResult |
performPackageAction(PackageAction packageAction,
Statement filterStatement)
|
List<Package> |
updatePackages(List<Package> packages)
Updates the specified
Package objects. |
@RequestWrapper(localName="createPackages", targetNamespace="https://www.google.com/apis/ads/publisher/v201805", className="com.google.api.ads.dfp.jaxws.v201805.PackageServiceInterfacecreatePackages") @ResponseWrapper(localName="createPackagesResponse", targetNamespace="https://www.google.com/apis/ads/publisher/v201805", className="com.google.api.ads.dfp.jaxws.v201805.PackageServiceInterfacecreatePackagesResponse") List<Package> createPackages(List<Package> packages) throws ApiException_Exception
Package objects.
For each package, the following fields are required:
packages - the packages to createpackages - ApiException_Exception@RequestWrapper(localName="getPackagesByStatement", targetNamespace="https://www.google.com/apis/ads/publisher/v201805", className="com.google.api.ads.dfp.jaxws.v201805.PackageServiceInterfacegetPackagesByStatement") @ResponseWrapper(localName="getPackagesByStatementResponse", targetNamespace="https://www.google.com/apis/ads/publisher/v201805", className="com.google.api.ads.dfp.jaxws.v201805.PackageServiceInterfacegetPackagesByStatementResponse") PackagePage getPackagesByStatement(Statement filterStatement) throws ApiException_Exception
PackagePage of Package objects
that satisfy the given Statement.query. The following fields are supported for
filtering:
| PQL Property | Object Property |
|---|---|
id |
Package.id |
name |
Package.name |
proposalId |
Package.proposalId |
productPackageId |
Package.productPackageId |
isArchived |
Package#isArchived |
lastModifiedDateTime |
Package.lastModifiedDateTime |
filterStatement - a Publisher Query Language statement used to filter
a set of packagesfilterStatement - ApiException_Exception@RequestWrapper(localName="performPackageAction", targetNamespace="https://www.google.com/apis/ads/publisher/v201805", className="com.google.api.ads.dfp.jaxws.v201805.PackageServiceInterfaceperformPackageAction") @ResponseWrapper(localName="performPackageActionResponse", targetNamespace="https://www.google.com/apis/ads/publisher/v201805", className="com.google.api.ads.dfp.jaxws.v201805.PackageServiceInterfaceperformPackageActionResponse") UpdateResult performPackageAction(PackageAction packageAction, Statement filterStatement) throws ApiException_Exception
packageAction - the action to performfilterStatement - a Publisher Query Language statement used to filter a set of packagesfilterStatement - packageAction - ApiException_Exception@RequestWrapper(localName="updatePackages", targetNamespace="https://www.google.com/apis/ads/publisher/v201805", className="com.google.api.ads.dfp.jaxws.v201805.PackageServiceInterfaceupdatePackages") @ResponseWrapper(localName="updatePackagesResponse", targetNamespace="https://www.google.com/apis/ads/publisher/v201805", className="com.google.api.ads.dfp.jaxws.v201805.PackageServiceInterfaceupdatePackagesResponse") List<Package> updatePackages(List<Package> packages) throws ApiException_Exception
Package objects.packages - the packages to updatepackages - ApiException_ExceptionCopyright © 2018. All Rights Reserved.