Class AccountsResource.FinalizedProposalsResource
The "finalizedProposals" collection of methods.
Inherited Members
Namespace: Google.Apis.AdExchangeBuyerII.v2beta1
Assembly: Google.Apis.AdExchangeBuyerII.v2beta1.dll
Syntax
public class AccountsResource.FinalizedProposalsResource
Constructors
FinalizedProposalsResource(IClientService)
Constructs a new resource.
Declaration
public FinalizedProposalsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
List(string)
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.
Declaration
public virtual AccountsResource.FinalizedProposalsResource.ListRequest List(string accountId)
Parameters
Type | Name | Description |
---|---|---|
string | accountId | Account ID of the buyer. |
Returns
Type | Description |
---|---|
AccountsResource.FinalizedProposalsResource.ListRequest |
Pause(PauseProposalDealsRequest, string, string)
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.
Declaration
public virtual AccountsResource.FinalizedProposalsResource.PauseRequest Pause(PauseProposalDealsRequest body, string accountId, string proposalId)
Parameters
Type | Name | Description |
---|---|---|
PauseProposalDealsRequest | body | The body of the request. |
string | accountId | Account ID of the buyer. |
string | proposalId | The proposal_id of the proposal containing the deals. |
Returns
Type | Description |
---|---|
AccountsResource.FinalizedProposalsResource.PauseRequest |
Resume(ResumeProposalDealsRequest, string, string)
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.
Declaration
public virtual AccountsResource.FinalizedProposalsResource.ResumeRequest Resume(ResumeProposalDealsRequest body, string accountId, string proposalId)
Parameters
Type | Name | Description |
---|---|---|
ResumeProposalDealsRequest | body | The body of the request. |
string | accountId | Account ID of the buyer. |
string | proposalId | The proposal_id of the proposal containing the deals. |
Returns
Type | Description |
---|---|
AccountsResource.FinalizedProposalsResource.ResumeRequest |