Method: accounts.creatives.dealAssociations.remove

  • This document explains how to remove the association between a deal and a creative using the Google Ad Exchange Buyer API.

  • The request is sent as a POST request to a specific URL with path parameters for account and creative IDs.

  • The request body includes the deal ID to be disassociated, specified within an "association" object.

  • Successful execution results in an empty response body, indicating completion of the removal.

  • Authorization requires the https://www.googleapis.com/auth/adexchange.buyer OAuth scope.

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