Show / Hide Table of Contents

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.

Inheritance
System.Object
Google.Apis.Requests.ClientServiceRequest
Google.Apis.Requests.ClientServiceRequest<Empty>
DisplayVideoBaseServiceRequest<Empty>
AdvertisersResource.CreativesResource.DeleteRequest
Implements
Google.Apis.Requests.IClientServiceRequest<Empty>
Google.Apis.Requests.IClientServiceRequest
Inherited Members
DisplayVideoBaseServiceRequest<Empty>.Xgafv
DisplayVideoBaseServiceRequest<Empty>.AccessToken
DisplayVideoBaseServiceRequest<Empty>.Alt
DisplayVideoBaseServiceRequest<Empty>.Callback
DisplayVideoBaseServiceRequest<Empty>.Fields
DisplayVideoBaseServiceRequest<Empty>.Key
DisplayVideoBaseServiceRequest<Empty>.OauthToken
DisplayVideoBaseServiceRequest<Empty>.PrettyPrint
DisplayVideoBaseServiceRequest<Empty>.QuotaUser
DisplayVideoBaseServiceRequest<Empty>.UploadType
DisplayVideoBaseServiceRequest<Empty>.UploadProtocol
Google.Apis.Requests.ClientServiceRequest<Google.Apis.DisplayVideo.v1.Data.Empty>.Execute()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.DisplayVideo.v1.Data.Empty>.ExecuteAsStream()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.DisplayVideo.v1.Data.Empty>.ExecuteAsync()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.DisplayVideo.v1.Data.Empty>.ExecuteAsync(System.Threading.CancellationToken)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.DisplayVideo.v1.Data.Empty>.ExecuteAsStreamAsync()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.DisplayVideo.v1.Data.Empty>.ExecuteAsStreamAsync(System.Threading.CancellationToken)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.DisplayVideo.v1.Data.Empty>.CreateRequest(System.Nullable<System.Boolean>)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.DisplayVideo.v1.Data.Empty>.GenerateRequestUri()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.DisplayVideo.v1.Data.Empty>.GetBody()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.DisplayVideo.v1.Data.Empty>.GetDefaultETagAction(System.String)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.DisplayVideo.v1.Data.Empty>.ETagAction
Google.Apis.Requests.ClientServiceRequest<Google.Apis.DisplayVideo.v1.Data.Empty>.ModifyRequest
Google.Apis.Requests.ClientServiceRequest<Google.Apis.DisplayVideo.v1.Data.Empty>.ValidateParameters
Google.Apis.Requests.ClientServiceRequest<Google.Apis.DisplayVideo.v1.Data.Empty>.RequestParameters
Google.Apis.Requests.ClientServiceRequest<Google.Apis.DisplayVideo.v1.Data.Empty>.Service
Google.Apis.Requests.ClientServiceRequest._unsuccessfulResponseHandlers
Google.Apis.Requests.ClientServiceRequest._exceptionHandlers
Google.Apis.Requests.ClientServiceRequest._executeInterceptors
Google.Apis.Requests.ClientServiceRequest.AddUnsuccessfulResponseHandler(Google.Apis.Http.IHttpUnsuccessfulResponseHandler)
Google.Apis.Requests.ClientServiceRequest.AddExceptionHandler(Google.Apis.Http.IHttpExceptionHandler)
Google.Apis.Requests.ClientServiceRequest.AddExecuteInterceptor(Google.Apis.Http.IHttpExecuteInterceptor)
Google.Apis.Requests.ClientServiceRequest.Credential
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.DisplayVideo.v1
Assembly: Google.Apis.DisplayVideo.v1.dll
Syntax
public class DeleteRequest : DisplayVideoBaseServiceRequest<Empty>, IClientServiceRequest<Empty>, IClientServiceRequest

Constructors

DeleteRequest(IClientService, Int64, Int64)

Constructs a new Delete request.

Declaration
public DeleteRequest(IClientService service, long advertiserId, long creativeId)
Parameters
Type Name Description
Google.Apis.Services.IClientService service
System.Int64 advertiserId
System.Int64 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
System.Int64

CreativeId

The ID of the creative to be deleted.

Declaration
[RequestParameter("creativeId", RequestParameterType.Path)]
public virtual long CreativeId { get; }
Property Value
Type Description
System.Int64

HttpMethod

Gets the HTTP method.

Declaration
public override string HttpMethod { get; }
Property Value
Type Description
System.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
System.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
System.String
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.DisplayVideo.v1.Data.Empty>.RestPath

Methods

InitParameters()

Initializes Delete parameter list.

Declaration
protected override void InitParameters()
Overrides
Google.Apis.DisplayVideo.v1.DisplayVideoBaseServiceRequest<Google.Apis.DisplayVideo.v1.Data.Empty>.InitParameters()

Implements

Google.Apis.Requests.IClientServiceRequest<TResponse>
Google.Apis.Requests.IClientServiceRequest
In This Article
Back to top