Method: accounts.creatives.dealAssociations.remove
Stay organized with collections
Save and categorize content based on your preferences.
Remove the association between a deal and a creative.
HTTP request
POST https://adexchangebuyer.googleapis.com/v2beta1/accounts/{association.accountId}/creatives/{association.creativeId}/dealAssociations:remove
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters |
association.accountId |
string
The account the creative belongs to.
|
association.creativeId |
string
The ID of the creative associated with the deal.
|
Request body
The request body contains data with the following structure:
JSON representation |
{
"association": {
"accountId": string,
"creativeId": string,
"dealsId": string
}
} |
Fields |
association.dealsId |
string
The externalDealId for the deal associated with the creative.
|
Response body
If successful, the response body is empty.
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\u003eThis document explains how to remove the association between a deal and a creative using the Google Ad Exchange Buyer API.\u003c/p\u003e\n"],["\u003cp\u003eThe request is sent as a POST request to a specific URL with path parameters for account and creative IDs.\u003c/p\u003e\n"],["\u003cp\u003eThe request body includes the deal ID to be disassociated, specified within an "association" object.\u003c/p\u003e\n"],["\u003cp\u003eSuccessful execution results in an empty response body, indicating completion of the removal.\u003c/p\u003e\n"],["\u003cp\u003eAuthorization requires the \u003ccode\u003ehttps://www.googleapis.com/auth/adexchange.buyer\u003c/code\u003e OAuth scope.\u003c/p\u003e\n"]]],["This document details the process for removing a deal association. The `POST` request is sent to a specific URL including the account and creative IDs. The request body requires a JSON payload with the associated deal's ID. Path parameters, `association.accountId` and `association.creativeId`, specify the account and creative. Upon successful completion of this request, an empty response body is sent. This process needs `https://www.googleapis.com/auth/adexchange.buyer` authorization scope.\n"],null,["# Method: accounts.creatives.dealAssociations.remove\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\nRemove the association between a deal and a creative.\n\n### HTTP request\n\n`POST https://adexchangebuyer.googleapis.com/v2beta1/accounts/{association.accountId}/creatives/{association.creativeId}/dealAssociations:remove`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|--------------------------|-----------------------------------------------------------|\n| `association.accountId` | `string` The account the creative belongs to. |\n| `association.creativeId` | `string` The ID of the creative associated with the deal. |\n\n### Request body\n\nThe request body contains data with the following structure:\n\n| JSON representation ||\n|---------------------------------------------------------------------------------------------|---|\n| ``` { \"association\": { \"accountId\": string, \"creativeId\": string, \"dealsId\": string } } ``` |\n\n| Fields ||\n|-----------------------|------------------------------------------------------------------------|\n| `association.dealsId` | `string` The externalDealId for the deal associated with the creative. |\n\n### Response body\n\nIf successful, the response body is empty.\n\n### Authorization Scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/adexchange.buyer`"]]