Class AdvertisersResource.EditAssignedTargetingOptionsRequest
Edits targeting options under a single advertiser. The operation will delete the assigned targeting options provided in BulkEditAdvertiserAssignedTargetingOptionsRequest.delete_requests and then create the assigned targeting options provided in BulkEditAdvertiserAssignedTargetingOptionsRequest.create_requests .
Inheritance
AdvertisersResource.EditAssignedTargetingOptionsRequest
Implements
Inherited Members
Namespace: Google.Apis.DisplayVideo.v2
Assembly: Google.Apis.DisplayVideo.v2.dll
Syntax
public class AdvertisersResource.EditAssignedTargetingOptionsRequest : DisplayVideoBaseServiceRequest<BulkEditAdvertiserAssignedTargetingOptionsResponse>, IClientServiceRequest<BulkEditAdvertiserAssignedTargetingOptionsResponse>, IClientServiceRequest
Constructors
EditAssignedTargetingOptionsRequest(IClientService, BulkEditAdvertiserAssignedTargetingOptionsRequest, long)
Constructs a new EditAssignedTargetingOptions request.
Declaration
public EditAssignedTargetingOptionsRequest(IClientService service, BulkEditAdvertiserAssignedTargetingOptionsRequest body, long advertiserId)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
BulkEditAdvertiserAssignedTargetingOptionsRequest | body | |
long | advertiserId |
Properties
AdvertiserId
Required. The ID of the advertiser.
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 EditAssignedTargetingOptions parameter list.
Declaration
protected override void InitParameters()