public interface ProductTemplateServiceInterface extends Remote
ProductTemplate createProductTemplate(ProductTemplate productTemplate) throws RemoteException, ApiException
ProductTemplate.
The following fields are required:
ProductTemplate.nameProductTemplate.nameMacroProductTemplate.productTypeProductTemplate.rateTypeProductTemplate.creativePlaceholders
(only when ProductTemplate.productType is ProductType.DFP)ProductTemplate.lineItemType
(only when ProductTemplate.productType is ProductType.DFP)ProductTemplate.targeting (only if ProductTemplate.productType
is
ProductType.DFP and ProductTemplate.productSegmentation
is not specified)productTemplate - the product template to createRemoteExceptionApiExceptionProductTemplate[] createProductTemplates(ProductTemplate[] productTemplates) throws RemoteException, ApiException
ProductTemplate objects.productTemplates - the productTemplates to createRemoteExceptionApiExceptionProductTemplate getProductTemplate(Long productTemplateId) throws RemoteException, ApiException
ProductTemplate uniquely identified by
the given ID.productTemplateId - the ID of the product template, which must
already
existProductTemplate uniquely identified by the given
IDRemoteExceptionApiExceptionProductTemplatePage getProductTemplatesByStatement(Statement statement) throws RemoteException, ApiException
ProductTemplatePage of ProductTemplate
objects
that satisfy the filtering criteria specified by given Statement.query.
The following fields are supported for filtering:
| PQL Property | Object Property |
|---|---|
id |
ProductTemplate.id |
name |
ProductTemplate.name |
nameMacro |
ProductTemplate.nameMacro |
description |
ProductTemplate.description |
status |
ProductTemplate.status |
lastModifiedDateTime |
ProductTemplate.lastModifiedDateTime |
lineItemType |
LineItemType |
productType |
ProductType |
rateType |
RateType |
statement - a Publisher Query Language statement which specifies
the
filtering criteria over productTemplatesRemoteExceptionApiExceptionUpdateResult performProductTemplateAction(ProductTemplateAction action, Statement filterStatement) throws RemoteException, ApiException
ProductTemplate objects that satisfy
the given
Statement.query.action - the action to performfilterStatement - a Publisher Query Language statement used to
filter
a set of product templatesRemoteExceptionApiExceptionProductTemplate updateProductTemplate(ProductTemplate productTemplate) throws RemoteException, ApiException
ProductTemplate.productTemplate - the product template to updateRemoteExceptionApiExceptionProductTemplate[] updateProductTemplates(ProductTemplate[] productTemplates) throws RemoteException, ApiException
ProductTemplate objects.productTemplates - the product templates to updateRemoteExceptionApiExceptionCopyright © 2014. All Rights Reserved.