public interface ProposalServiceInterface extends Remote
| Modifier and Type | Method and Description |
|---|---|
Proposal[] |
createProposals(Proposal[] proposals)
Creates new
Proposal objects. |
ProposalPage |
getProposalsByStatement(Statement filterStatement)
|
UpdateResult |
performProposalAction(ProposalAction proposalAction,
Statement filterStatement)
Performs actions on
Proposal objects that match the
given Statement.query. |
Proposal[] |
updateProposals(Proposal[] proposals)
Updates the specified
Proposal objects. |
Proposal[] createProposals(Proposal[] proposals) throws RemoteException, ApiException
Proposal objects.
For each proposal, the following fields are required:
proposals - the proposals to createRemoteExceptionApiExceptionProposalPage getProposalsByStatement(Statement filterStatement) throws RemoteException, ApiException
ProposalPage of Proposal objects that
satisfy the given
Statement.query. The following fields are supported
for filtering:
| PQL Property | Object Property |
|---|---|
id |
Proposal.id |
dfpOrderId |
Proposal.dfpOrderId |
name |
Proposal.name |
status |
Proposal.status |
isArchived |
Proposal.isArchived |
approvalStatus
Only applicable for proposals using
sales management
|
Proposal.approvalStatus |
lastModifiedDateTime |
Proposal.lastModifiedDateTime |
thirdPartyAdServerId
Only applicable for non-programmatic proposals using sales
management
|
Proposal.thirdPartyAdServerId |
customThirdPartyAdServerName
Only applicable for non-programmatic proposals using sales
management
|
Proposal.customThirdPartyAdServerName |
hasOfflineErrors |
Proposal.hasOfflineErrors |
isProgrammatic |
Proposal#isProgrammatic |
negotiationStatus
Only applicable for programmatic proposals
|
ProposalMarketplaceInfo#negotiationStatus |
filterStatement - a Publisher Query Language statement used to
filter
a set of proposalsRemoteExceptionApiExceptionUpdateResult performProposalAction(ProposalAction proposalAction, Statement filterStatement) throws RemoteException, ApiException
Proposal objects that match the
given Statement.query.
The following fields are also required when submitting proposals
for approval:
proposalAction - the action to performfilterStatement - a Publisher Query Language statement used to
filter a set of proposalsRemoteExceptionApiExceptionProposal[] updateProposals(Proposal[] proposals) throws RemoteException, ApiException
Proposal objects.proposals - the proposals to updateRemoteExceptionApiExceptionCopyright © 2016. All Rights Reserved.