Class AdvertisersResource.CampaignsResource.DeleteRequest
Permanently deletes a campaign. A deleted campaign cannot be recovered. The campaign should be archived
first, i.e. set entity_status to ENTITY_STATUS_ARCHIVED
, to be able to delete it. This method
regularly experiences high latency. We recommend increasing your default
timeout to avoid errors.
Inheritance
AdvertisersResource.CampaignsResource.DeleteRequest
Inherited Members
Namespace: Google.Apis.DisplayVideo.v2
Assembly: Google.Apis.DisplayVideo.v2.dll
Syntax
public class AdvertisersResource.CampaignsResource.DeleteRequest : DisplayVideoBaseServiceRequest<Empty>, IClientServiceRequest<Empty>, IClientServiceRequest
Constructors
DeleteRequest(IClientService, long, long)
Constructs a new Delete request.
Declaration
public DeleteRequest(IClientService service, long advertiserId, long campaignId)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
long | advertiserId | |
long | campaignId |
Properties
AdvertiserId
The ID of the advertiser this campaign belongs to.
Declaration
[RequestParameter("advertiserId", RequestParameterType.Path)]
public virtual long AdvertiserId { get; }
Property Value
Type | Description |
---|---|
long |
CampaignId
The ID of the campaign we need to delete.
Declaration
[RequestParameter("campaignId", RequestParameterType.Path)]
public virtual long CampaignId { get; }
Property Value
Type | Description |
---|---|
long |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
InitParameters()
Initializes Delete parameter list.
Declaration
protected override void InitParameters()