Show / Hide Table of Contents

Class AdvertisersResource.NegativeKeywordListsResource

The "negativeKeywordLists" collection of methods.

Inheritance
System.Object
AdvertisersResource.NegativeKeywordListsResource
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 NegativeKeywordListsResource

Constructors

NegativeKeywordListsResource(IClientService)

Constructs a new resource.

Declaration
public NegativeKeywordListsResource(IClientService service)
Parameters
Type Name Description
IClientService service

Properties

NegativeKeywords

Gets the NegativeKeywords resource.

Declaration
public virtual AdvertisersResource.NegativeKeywordListsResource.NegativeKeywordsResource NegativeKeywords { get; }
Property Value
Type Description
AdvertisersResource.NegativeKeywordListsResource.NegativeKeywordsResource

Methods

Create(NegativeKeywordList, Int64)

Creates a new negative keyword list. Returns the newly created negative keyword list if successful.

Declaration
public virtual AdvertisersResource.NegativeKeywordListsResource.CreateRequest Create(NegativeKeywordList body, long advertiserId)
Parameters
Type Name Description
NegativeKeywordList body

The body of the request.

System.Int64 advertiserId

Required. The ID of the DV360 advertiser to which the negative keyword list will belong.

Returns
Type Description
AdvertisersResource.NegativeKeywordListsResource.CreateRequest

Delete(Int64, Int64)

Deletes a negative keyword list given an advertiser ID and a negative keyword list ID.

Declaration
public virtual AdvertisersResource.NegativeKeywordListsResource.DeleteRequest Delete(long advertiserId, long negativeKeywordListId)
Parameters
Type Name Description
System.Int64 advertiserId

Required. The ID of the DV360 advertiser to which the negative keyword list belongs.

System.Int64 negativeKeywordListId

Required. The ID of the negative keyword list to delete.

Returns
Type Description
AdvertisersResource.NegativeKeywordListsResource.DeleteRequest

Get(Int64, Int64)

Gets a negative keyword list given an advertiser ID and a negative keyword list ID.

Declaration
public virtual AdvertisersResource.NegativeKeywordListsResource.GetRequest Get(long advertiserId, long negativeKeywordListId)
Parameters
Type Name Description
System.Int64 advertiserId

Required. The ID of the DV360 advertiser to which the fetched negative keyword list belongs.

System.Int64 negativeKeywordListId

Required. The ID of the negative keyword list to fetch.

Returns
Type Description
AdvertisersResource.NegativeKeywordListsResource.GetRequest

List(Int64)

Lists negative keyword lists based on a given advertiser id.

Declaration
public virtual AdvertisersResource.NegativeKeywordListsResource.ListRequest List(long advertiserId)
Parameters
Type Name Description
System.Int64 advertiserId

Required. The ID of the DV360 advertiser to which the fetched negative keyword lists belong.

Returns
Type Description
AdvertisersResource.NegativeKeywordListsResource.ListRequest

Patch(NegativeKeywordList, Int64, Int64)

Updates a negative keyword list. Returns the updated negative keyword list if successful.

Declaration
public virtual AdvertisersResource.NegativeKeywordListsResource.PatchRequest Patch(NegativeKeywordList body, long advertiserId, long negativeKeywordListId)
Parameters
Type Name Description
NegativeKeywordList body

The body of the request.

System.Int64 advertiserId

Required. The ID of the DV360 advertiser to which the negative keyword list belongs.

System.Int64 negativeKeywordListId

Output only. The unique ID of the negative keyword list. Assigned by the system.

Returns
Type Description
AdvertisersResource.NegativeKeywordListsResource.PatchRequest
In This Article
Back to top Generated by DocFX