Class AccountsResource.FinalizedProposalsResource.PauseRequest
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.
Inheritance
AccountsResource.FinalizedProposalsResource.PauseRequest
Inherited Members
Namespace: Google.Apis.AdExchangeBuyerII.v2beta1
Assembly: Google.Apis.AdExchangeBuyerII.v2beta1.dll
Syntax
public class AccountsResource.FinalizedProposalsResource.PauseRequest : AdExchangeBuyerIIBaseServiceRequest<Proposal>, IClientServiceRequest<Proposal>, IClientServiceRequest
Constructors
PauseRequest(IClientService, PauseProposalDealsRequest, string, string)
Constructs a new Pause request.
Declaration
public PauseRequest(IClientService service, PauseProposalDealsRequest body, string accountId, string proposalId)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
PauseProposalDealsRequest | body | |
string | accountId | |
string | proposalId |
Properties
AccountId
Account ID of the buyer.
Declaration
[RequestParameter("accountId", RequestParameterType.Path)]
public virtual string AccountId { get; }
Property Value
Type | Description |
---|---|
string |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.AdExchangeBuyerII.v2beta1.Data.Proposal>.HttpMethod
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.AdExchangeBuyerII.v2beta1.Data.Proposal>.MethodName
ProposalId
The proposal_id of the proposal containing the deals.
Declaration
[RequestParameter("proposalId", RequestParameterType.Path)]
public virtual string ProposalId { get; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.AdExchangeBuyerII.v2beta1.Data.Proposal>.RestPath
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.AdExchangeBuyerII.v2beta1.Data.Proposal>.GetBody()
InitParameters()
Initializes Pause parameter list.
Declaration
protected override void InitParameters()