Method: advertisers.lineItems.delete
Stay organized with collections
Save and categorize content based on your preferences.
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
DELETE https://displayvideo.googleapis.com/v1beta2/advertisers/{advertiserId}/lineItems/{lineItemId}
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters |
advertiserId |
string (int64 format)
The ID of the advertiser this line item belongs to.
|
lineItemId |
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:
https://www.googleapis.com/auth/display-video
For more information, see the OAuth 2.0 Overview.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-09-18 UTC."],[[["Deletes a specific line item under a given advertiser if it's been archived beforehand."],["Requires setting the line item's `entityStatus` to `ENTITY_STATUS_ARCHIVED` before deletion."],["Sends a `DELETE` request to a specific URL with advertiser and line item IDs as path parameters."],["An empty request body is required, and a successful deletion results in an empty response body."],["Needs authorization with the `https://www.googleapis.com/auth/display-video` scope."]]],[]]