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. Only ad groups under a line item of
line_item_type LINE_ITEM_TYPE_DEMAND_GEN are supported for this method.
Inheritance
Implements
Inherited Members
Namespace: Google.Apis.DisplayVideo.v4
Assembly: Google.Apis.DisplayVideo.v4.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()