Class AdvertisersResource.LineItemsResource.BulkEditAssignedTargetingOptionsRequest
Bulk edits targeting options under multiple line items. The operation will delete the assigned targeting options provided in BulkEditAssignedTargetingOptionsRequest.delete_requests and then create the assigned targeting options provided in BulkEditAssignedTargetingOptionsRequest.create_requests. Requests to this endpoint cannot be made concurrently with the following requests updating the same line item: * lineItems.bulkUpdate * lineItems.patch * assignedTargetingOptions.create * assignedTargetingOptions.delete YouTube & Partners line items cannot be created or updated using the API.
Inheritance
Inherited Members
Namespace: Google.Apis.DisplayVideo.v2
Assembly: Google.Apis.DisplayVideo.v2.dll
Syntax
public class AdvertisersResource.LineItemsResource.BulkEditAssignedTargetingOptionsRequest : DisplayVideoBaseServiceRequest<BulkEditAssignedTargetingOptionsResponse>, IClientServiceRequest<BulkEditAssignedTargetingOptionsResponse>, IClientServiceRequest
Constructors
BulkEditAssignedTargetingOptionsRequest(IClientService, BulkEditAssignedTargetingOptionsRequest, long)
Constructs a new BulkEditAssignedTargetingOptions request.
Declaration
public BulkEditAssignedTargetingOptionsRequest(IClientService service, BulkEditAssignedTargetingOptionsRequest body, long advertiserId)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
BulkEditAssignedTargetingOptionsRequest | body | |
long | advertiserId |
Properties
AdvertiserId
Required. The ID of the advertiser the line items 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()