advertisers
DELETE /v4/advertisers/{advertisersId}/lineItems/{lineItemsId}
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.
Request
- Base URLhttps://displayvideo.googleapis.com
- AuthOAuth 2 and OAuth 2Implicithttps://accounts.google.com/o/oauth2/authScopeshttps://www.googleapis.com/auth/display-videoAuthorization codehttps://accounts.google.com/o/oauth2/authToken URLhttps://accounts.google.com/o/oauth2/tokenScopeshttps://www.googleapis.com/auth/display-video
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
advertisersIdstring required
lineItemsIdstring required
Response
Successful response
Empty required
A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }
Changes
No recorded changes to this operation across all 7 revisions of this API.