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