class AccountsFinalizedProposals extends Resource (View source)

The "finalizedProposals" collection of methods.

Typical usage is:

 $adexchangebuyer2Service = new Google\Service\AdExchangeBuyerII(...);
 $finalizedProposals = $adexchangebuyer2Service->accounts_finalizedProposals;

Methods

listAccountsFinalizedProposals(string $accountId, array $optParams = [])

List finalized proposals, regardless if a proposal is being renegotiated. A filter expression (PQL query) may be specified to filter the results. The notes will not be returned.

pause(string $accountId, string $proposalId, PauseProposalDealsRequest $postBody, array $optParams = [])

Update given deals to pause serving. This method will set the DealServingMetadata.DealPauseStatus.has_buyer_paused bit to true for all listed deals in the request. Currently, this method only applies to PG and PD deals. For PA deals, call accounts.proposals.pause endpoint. It is a no-op to pause already-paused deals. It is an error to call PauseProposalDeals for deals which are not part of the proposal of proposal_id or which are not finalized or renegotiating. (finalizedProposals.pause)

resume(string $accountId, string $proposalId, ResumeProposalDealsRequest $postBody, array $optParams = [])

Update given deals to resume serving. This method will set the DealServingMetadata.DealPauseStatus.has_buyer_paused bit to false for all listed deals in the request. Currently, this method only applies to PG and PD deals. For PA deals, call accounts.proposals.resume endpoint. It is a no-op to resume running deals or deals paused by the other party. It is an error to call ResumeProposalDeals for deals which are not part of the proposal of proposal_id or which are not finalized or renegotiating.

Details

ListProposalsResponse listAccountsFinalizedProposals(string $accountId, array $optParams = [])

List finalized proposals, regardless if a proposal is being renegotiated. A filter expression (PQL query) may be specified to filter the results. The notes will not be returned.

(finalizedProposals.listAccountsFinalizedProposals)

Parameters

string $accountId

Account ID of the buyer.

array $optParams

Optional parameters.

Return Value

ListProposalsResponse

Exceptions

Exception

Proposal pause(string $accountId, string $proposalId, PauseProposalDealsRequest $postBody, array $optParams = [])

Update given deals to pause serving. This method will set the DealServingMetadata.DealPauseStatus.has_buyer_paused bit to true for all listed deals in the request. Currently, this method only applies to PG and PD deals. For PA deals, call accounts.proposals.pause endpoint. It is a no-op to pause already-paused deals. It is an error to call PauseProposalDeals for deals which are not part of the proposal of proposal_id or which are not finalized or renegotiating. (finalizedProposals.pause)

Parameters

string $accountId

Account ID of the buyer.

string $proposalId

The proposal_id of the proposal containing the deals.

PauseProposalDealsRequest $postBody
array $optParams

Optional parameters.

Return Value

Proposal

Exceptions

Exception

Proposal resume(string $accountId, string $proposalId, ResumeProposalDealsRequest $postBody, array $optParams = [])

Update given deals to resume serving. This method will set the DealServingMetadata.DealPauseStatus.has_buyer_paused bit to false for all listed deals in the request. Currently, this method only applies to PG and PD deals. For PA deals, call accounts.proposals.resume endpoint. It is a no-op to resume running deals or deals paused by the other party. It is an error to call ResumeProposalDeals for deals which are not part of the proposal of proposal_id or which are not finalized or renegotiating.

(finalizedProposals.resume)

Parameters

string $accountId

Account ID of the buyer.

string $proposalId

The proposal_id of the proposal containing the deals.

ResumeProposalDealsRequest $postBody
array $optParams

Optional parameters.

Return Value

Proposal

Exceptions

Exception