Class AdvertisersResource.AdGroupsResource.BulkEditAssignedTargetingOptionsRequest
Bulk edits targeting options for multiple ad groups. The same set of delete and create requests will be applied to all specified ad groups. Specifically, the operation will delete the assigned targeting options provided in BulkEditAdGroupAssignedTargetingOptionsRequest.delete_requests from each ad group, and then create the assigned targeting options provided in BulkEditAdGroupAssignedTargetingOptionsRequest.create_requests. 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
Implements
Inherited Members
Namespace: Google.Apis.DisplayVideo.v3
Assembly: Google.Apis.DisplayVideo.v3.dll
Syntax
public class AdvertisersResource.AdGroupsResource.BulkEditAssignedTargetingOptionsRequest : DisplayVideoBaseServiceRequest<BulkEditAdGroupAssignedTargetingOptionsResponse>, IClientServiceRequest<BulkEditAdGroupAssignedTargetingOptionsResponse>, IClientServiceRequest
Constructors
BulkEditAssignedTargetingOptionsRequest(IClientService, BulkEditAdGroupAssignedTargetingOptionsRequest, long)
Constructs a new BulkEditAssignedTargetingOptions request.
Declaration
public BulkEditAssignedTargetingOptionsRequest(IClientService service, BulkEditAdGroupAssignedTargetingOptionsRequest body, long advertiserId)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| BulkEditAdGroupAssignedTargetingOptionsRequest | body | |
| long | advertiserId |
Properties
AdvertiserId
Required. The ID of the advertiser the ad groups belong 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
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
| Type | Description |
|---|---|
| object |
Overrides
InitParameters()
Initializes BulkEditAssignedTargetingOptions parameter list.
Declaration
protected override void InitParameters()