Class AdvertisersResource.AdGroupAdsResource.DeleteRequest
Deletes an ad group ad. This method is only supported for Demand Gen ads. Retrieval and management of Demand Gen resources is currently in beta. This method is only available to allowlisted users.
Inheritance
AdvertisersResource.AdGroupAdsResource.DeleteRequest
Inherited Members
Namespace: Google.Apis.DisplayVideo.v4
Assembly: Google.Apis.DisplayVideo.v4.dll
Syntax
public class AdvertisersResource.AdGroupAdsResource.DeleteRequest : DisplayVideoBaseServiceRequest<Empty>, IClientServiceRequest<Empty>, IClientServiceRequest
Constructors
DeleteRequest(IClientService, long, long)
Constructs a new Delete request.
Declaration
public DeleteRequest(IClientService service, long advertiserId, long adGroupAdId)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| long | advertiserId | |
| long | adGroupAdId |
Properties
AdGroupAdId
Required. The ID of the ad to delete. Only Demand Gen ads are supported.
Declaration
[RequestParameter("adGroupAdId", RequestParameterType.Path)]
public virtual long AdGroupAdId { get; }
Property Value
| Type | Description |
|---|---|
| long |
AdvertiserId
Required. The ID of the advertiser the ad belongs to.
Declaration
[RequestParameter("advertiserId", RequestParameterType.Path)]
public virtual long AdvertiserId { 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()