v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-13177414729.5 KB
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}

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