Class AdvertisersResource.NegativeKeywordListsResource.NegativeKeywordsResource
The "negativeKeywords" collection of methods.
Inherited Members
Namespace: Google.Apis.DisplayVideo.v2
Assembly: Google.Apis.DisplayVideo.v2.dll
Syntax
public class AdvertisersResource.NegativeKeywordListsResource.NegativeKeywordsResource
Constructors
NegativeKeywordsResource(IClientService)
Constructs a new resource.
Declaration
public NegativeKeywordsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
BulkEdit(BulkEditNegativeKeywordsRequest, long, long)
Bulk edits negative keywords in a single negative keyword list. The operation will delete the negative keywords provided in BulkEditNegativeKeywordsRequest.deleted_negative_keywords and then create the negative keywords provided in BulkEditNegativeKeywordsRequest.created_negative_keywords. This operation is guaranteed to be atomic and will never result in a partial success or partial failure.
Declaration
public virtual AdvertisersResource.NegativeKeywordListsResource.NegativeKeywordsResource.BulkEditRequest BulkEdit(BulkEditNegativeKeywordsRequest body, long advertiserId, long negativeKeywordListId)
Parameters
Type | Name | Description |
---|---|---|
BulkEditNegativeKeywordsRequest | body | The body of the request. |
long | advertiserId | Required. The ID of the DV360 advertiser to which the parent negative keyword list belongs. |
long | negativeKeywordListId | Required. The ID of the parent negative keyword list to which the negative keywords belong. |
Returns
Type | Description |
---|---|
AdvertisersResource.NegativeKeywordListsResource.NegativeKeywordsResource.BulkEditRequest |
Create(NegativeKeyword, long, long)
Creates a negative keyword in a negative keyword list.
Declaration
public virtual AdvertisersResource.NegativeKeywordListsResource.NegativeKeywordsResource.CreateRequest Create(NegativeKeyword body, long advertiserId, long negativeKeywordListId)
Parameters
Type | Name | Description |
---|---|---|
NegativeKeyword | body | The body of the request. |
long | advertiserId | Required. The ID of the DV360 advertiser to which the parent negative keyword list belongs. |
long | negativeKeywordListId | Required. The ID of the parent negative keyword list in which the negative keyword will be created. |
Returns
Type | Description |
---|---|
AdvertisersResource.NegativeKeywordListsResource.NegativeKeywordsResource.CreateRequest |
Delete(long, long, string)
Deletes a negative keyword from a negative keyword list.
Declaration
public virtual AdvertisersResource.NegativeKeywordListsResource.NegativeKeywordsResource.DeleteRequest Delete(long advertiserId, long negativeKeywordListId, string keywordValue)
Parameters
Type | Name | Description |
---|---|---|
long | advertiserId | Required. The ID of the DV360 advertiser to which the parent negative keyword list belongs. |
long | negativeKeywordListId | Required. The ID of the parent negative keyword list to which the negative keyword belongs. |
string | keywordValue | Required. The keyword value of the negative keyword to delete. |
Returns
Type | Description |
---|---|
AdvertisersResource.NegativeKeywordListsResource.NegativeKeywordsResource.DeleteRequest |
List(long, long)
Lists negative keywords in a negative keyword list.
Declaration
public virtual AdvertisersResource.NegativeKeywordListsResource.NegativeKeywordsResource.ListRequest List(long advertiserId, long negativeKeywordListId)
Parameters
Type | Name | Description |
---|---|---|
long | advertiserId | Required. The ID of the DV360 advertiser to which the parent negative keyword list belongs. |
long | negativeKeywordListId | Required. The ID of the parent negative keyword list to which the requested negative keywords belong. |
Returns
Type | Description |
---|---|
AdvertisersResource.NegativeKeywordListsResource.NegativeKeywordsResource.ListRequest |
Replace(ReplaceNegativeKeywordsRequest, long, long)
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.
Declaration
public virtual AdvertisersResource.NegativeKeywordListsResource.NegativeKeywordsResource.ReplaceRequest Replace(ReplaceNegativeKeywordsRequest body, long advertiserId, long negativeKeywordListId)
Parameters
Type | Name | Description |
---|---|---|
ReplaceNegativeKeywordsRequest | body | The body of the request. |
long | advertiserId | Required. The ID of the DV360 advertiser to which the parent negative keyword list belongs. |
long | negativeKeywordListId | Required. The ID of the parent negative keyword list to which the negative keywords belong. |
Returns
Type | Description |
---|---|
AdvertisersResource.NegativeKeywordListsResource.NegativeKeywordsResource.ReplaceRequest |