Class AdvertisersResource.CreativesResource.DeleteRequest
Deletes a creative. Returns error code NOT_FOUND
if the creative does not exist. The creative should
be archived first, i.e. set entity_status to ENTITY_STATUS_ARCHIVED
, before it can be deleted. A
"Standard" user role or greater for the parent
advertiser or partner is required to make this request.
Inheritance
AdvertisersResource.CreativesResource.DeleteRequest
Inherited Members
Namespace: Google.Apis.DisplayVideo.v1
Assembly: Google.Apis.DisplayVideo.v1.dll
Syntax
public class AdvertisersResource.CreativesResource.DeleteRequest : DisplayVideoBaseServiceRequest<Empty>, IClientServiceRequest<Empty>, IClientServiceRequest
Constructors
DeleteRequest(IClientService, long, long)
Constructs a new Delete request.
Declaration
public DeleteRequest(IClientService service, long advertiserId, long creativeId)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
long | advertiserId | |
long | creativeId |
Properties
AdvertiserId
The ID of the advertiser this creative belongs to.
Declaration
[RequestParameter("advertiserId", RequestParameterType.Path)]
public virtual long AdvertiserId { get; }
Property Value
Type | Description |
---|---|
long |
CreativeId
The ID of the creative to be deleted.
Declaration
[RequestParameter("creativeId", RequestParameterType.Path)]
public virtual long CreativeId { get; }
Property Value
Type | Description |
---|---|
long |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.DisplayVideo.v1.Data.Empty>.HttpMethod
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.DisplayVideo.v1.Data.Empty>.MethodName
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.DisplayVideo.v1.Data.Empty>.RestPath
Methods
InitParameters()
Initializes Delete parameter list.
Declaration
protected override void InitParameters()