Method: sellers.products.delete

  • This page provides reference documentation for deleting an existing product using an HTTP DELETE request.

  • The request requires a product name specified in the path parameters.

  • A successful deletion returns a Product instance in the response body.

  • Error codes are returned for non-existent or deleted products (NOT_FOUND) and for products with associated ad units (FAILED_PRECONDITION).

  • Deleting a product requires the https://www.googleapis.com/auth/doubleclickbidmanager authorization scope.

Deletes an existing product.

  • Returns error code NOT_FOUND if the product does not exist or product is deleted.
  • Returns error code FAILED_PRECONDITION if any ad units are associated with this product.

HTTP request

DELETE https://dv360outofhomeseller.googleapis.com/v1/{name=sellers/*/products/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. The product to delete. Format: sellers/{seller}/products/{product}

Request body

The request body must be empty.

Response body

If successful, the response body contains an instance of Product.

Authorization Scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/doubleclickbidmanager

For more information, see the OAuth 2.0 Overview.