Method: accounts.finalizedProposals.resume
Stay organized with collections
Save and categorize content based on your preferences.
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 already-running deals. It is an error to call finalizedProposals.resume for deals which are not part of the proposal of proposalId or which are not finalized or renegotiating.
HTTP request
POST https://adexchangebuyer.googleapis.com/v2beta1/accounts/{accountId}/finalizedProposals/{proposalId}:resume
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters |
accountId |
string
Account ID of the buyer.
|
proposalId |
string
The proposalId of the proposal containing the deals.
|
Request body
The request body contains data with the following structure:
JSON representation |
{
"externalDealIds": [
string
]
} |
Fields |
externalDealIds[] |
string
The externalDealId's of the deals to resume. If empty, all the deals in the proposal will be resumed.
|
Response body
If successful, the response body contains an instance of Proposal
.
Authorization Scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/adexchange.buyer
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-18 UTC.
[null,null,["Last updated 2024-09-18 UTC."],[[["\u003cp\u003eResumes serving for specified or all deals within a finalized proposal, specifically for PG and PD deals, by setting the \u003ccode\u003eDealServingMetadata.DealPauseStatus.has_buyer_paused\u003c/code\u003e bit to false.\u003c/p\u003e\n"],["\u003cp\u003eTo resume paused deals, send a POST request to the endpoint \u003ccode\u003ehttps://adexchangebuyer.googleapis.com/v2beta1/accounts/{accountId}/finalizedProposals/{proposalId}:resume\u003c/code\u003e, providing the \u003ccode\u003eaccountId\u003c/code\u003e and \u003ccode\u003eproposalId\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe request body can optionally include an array of \u003ccode\u003eexternalDealIds\u003c/code\u003e to specify which deals to resume; if empty, all deals within the proposal are resumed.\u003c/p\u003e\n"],["\u003cp\u003eA successful response returns the updated \u003ca href=\"/authorized-buyers/apis/reference/rest/v2beta1/accounts.proposals#Proposal\"\u003eProposal\u003c/a\u003e object.\u003c/p\u003e\n"],["\u003cp\u003eRequires authorization with the \u003ccode\u003ehttps://www.googleapis.com/auth/adexchange.buyer\u003c/code\u003e scope.\u003c/p\u003e\n"]]],[],null,["# Method: accounts.finalizedProposals.resume\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Request body](#body.request_body)\n - [JSON representation](#body.request_body.SCHEMA_REPRESENTATION)\n- [Response body](#body.response_body)\n- [Authorization Scopes](#body.aspect)\n- [Try it!](#try-it)\n\nUpdate 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.\n\nIt is a no-op to resume already-running deals. It is an error to call finalizedProposals.resume for deals which are not part of the proposal of proposalId or which are not finalized or renegotiating.\n\n### HTTP request\n\n`POST https://adexchangebuyer.googleapis.com/v2beta1/accounts/{accountId}/finalizedProposals/{proposalId}:resume`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|--------------|---------------------------------------------------------------|\n| `accountId` | `string` Account ID of the buyer. |\n| `proposalId` | `string` The proposalId of the proposal containing the deals. |\n\n### Request body\n\nThe request body contains data with the following structure:\n\n| JSON representation ||\n|-------------------------------------------|---|\n| ``` { \"externalDealIds\": [ string ] } ``` |\n\n| Fields ||\n|---------------------|----------------------------------------------------------------------------------------------------------------|\n| `externalDealIds[]` | `string` The externalDealId's of the deals to resume. If empty, all the deals in the proposal will be resumed. |\n\n### Response body\n\nIf successful, the response body contains an instance of [Proposal](/authorized-buyers/apis/reference/rest/v2beta1/accounts.proposals#Proposal).\n\n### Authorization Scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/adexchange.buyer`"]]