Class AdvertisersResource.NegativeKeywordListsResource.NegativeKeywordsResource.ReplaceRequest
Replaces all negative keywords in a single negative keyword list. The operation will replace the keywords in a negative keyword list with keywords provided in ReplaceNegativeKeywordsRequest.new_negative_keywords.
Inheritance
AdvertisersResource.NegativeKeywordListsResource.NegativeKeywordsResource.ReplaceRequest
Inherited Members
Namespace: Google.Apis.DisplayVideo.v3
Assembly: Google.Apis.DisplayVideo.v3.dll
Syntax
public class AdvertisersResource.NegativeKeywordListsResource.NegativeKeywordsResource.ReplaceRequest : DisplayVideoBaseServiceRequest<ReplaceNegativeKeywordsResponse>, IClientServiceRequest<ReplaceNegativeKeywordsResponse>, IClientServiceRequest
Constructors
ReplaceRequest(IClientService, ReplaceNegativeKeywordsRequest, long, long)
Constructs a new Replace request.
Declaration
public ReplaceRequest(IClientService service, ReplaceNegativeKeywordsRequest body, long advertiserId, long negativeKeywordListId)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
ReplaceNegativeKeywordsRequest | body | |
long | advertiserId | |
long | negativeKeywordListId |
Properties
AdvertiserId
Required. The ID of the DV360 advertiser to which the parent negative keyword list belongs.
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
NegativeKeywordListId
Required. The ID of the parent negative keyword list to which the negative keywords belong.
Declaration
[RequestParameter("negativeKeywordListId", RequestParameterType.Path)]
public virtual long NegativeKeywordListId { get; }
Property Value
Type | Description |
---|---|
long |
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 Replace parameter list.
Declaration
protected override void InitParameters()