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
System.Object
AdvertisersResource.NegativeKeywordListsResource.NegativeKeywordsResource.ReplaceRequest
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.DisplayVideo.v1
Assembly: Google.Apis.DisplayVideo.v1.dll
Syntax
public class ReplaceRequest : DisplayVideoBaseServiceRequest<ReplaceNegativeKeywordsResponse>, IClientServiceRequest<ReplaceNegativeKeywordsResponse>, IClientServiceRequest
Constructors
ReplaceRequest(IClientService, ReplaceNegativeKeywordsRequest, Int64, Int64)
Constructs a new Replace request.
Declaration
public ReplaceRequest(IClientService service, ReplaceNegativeKeywordsRequest body, long advertiserId, long negativeKeywordListId)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
ReplaceNegativeKeywordsRequest | body | |
System.Int64 | advertiserId | |
System.Int64 | 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 |
---|---|
System.Int64 |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.DisplayVideo.v1.Data.ReplaceNegativeKeywordsResponse>.HttpMethod
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.DisplayVideo.v1.Data.ReplaceNegativeKeywordsResponse>.MethodName
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 |
---|---|
System.Int64 |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.DisplayVideo.v1.Data.ReplaceNegativeKeywordsResponse>.RestPath
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
System.Object |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.DisplayVideo.v1.Data.ReplaceNegativeKeywordsResponse>.GetBody()
InitParameters()
Initializes Replace parameter list.
Declaration
protected override void InitParameters()
Overrides
Google.Apis.DisplayVideo.v1.DisplayVideoBaseServiceRequest<Google.Apis.DisplayVideo.v1.Data.ReplaceNegativeKeywordsResponse>.InitParameters()