advertisers
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 entity_status to ENTITY_STATUS_ARCHIVED, to be able to delete it. YouTube & Partners line items cannot be created or updated using the API.
delete/v4/advertisers/{+advertiserId}/lineItems/{+lineItemId}
Request
- Base URL: https://displayvideo.googleapis.com
- URL: https://displayvideo.googleapis.com/v4/advertisers/{+advertiserId}/lineItems/{+lineItemId}
- Auth: OAuth 2 (implicit, authorization URL https://accounts.google.com/o/oauth2/auth, scopes: https://www.googleapis.com/auth/display-video) and OAuth 2 (authorization code, authorization URL https://accounts.google.com/o/oauth2/auth, token URL https://accounts.google.com/o/oauth2/token, scopes: https://www.googleapis.com/auth/display-video)
Path parameters
advertiserIdstring required
The ID of the advertiser this line item belongs to.
lineItemIdstring required
The ID of the line item to delete.
Response
Successful response
Changes
- breaking
removed the media type
*/*for the response with the status
- breaking