Method: advertisers.lineItems.delete

Deletes a line item. Returns error code NOT_FOUND if the line item does not exist. The line item should be archived first, i.e. set entityStatus to ENTITY_STATUS_ARCHIVED, to be able to delete it.

HTTP request


The URL uses gRPC Transcoding syntax.

Path parameters


string (int64 format)

The ID of the advertiser this line item belongs to.


string (int64 format)

The ID of the line item we need to fetch.

Request body

The request body must be empty.

Response body

If successful, the response body is empty.

Authorization Scopes

Requires the following OAuth scope:


For more information, see the OAuth 2.0 Overview.