Class AdvertisersResource.NegativeKeywordListsResource
The "negativeKeywordLists" collection of methods.
Inherited Members
Namespace: Google.Apis.DisplayVideo.v2
Assembly: Google.Apis.DisplayVideo.v2.dll
Syntax
public class AdvertisersResource.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, long)
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. |
long | advertiserId | Required. The ID of the DV360 advertiser to which the negative keyword list will belong. |
Returns
Type | Description |
---|---|
AdvertisersResource.NegativeKeywordListsResource.CreateRequest |
Delete(long, long)
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 |
---|---|---|
long | advertiserId | Required. The ID of the DV360 advertiser to which the negative keyword list belongs. |
long | negativeKeywordListId | Required. The ID of the negative keyword list to delete. |
Returns
Type | Description |
---|---|
AdvertisersResource.NegativeKeywordListsResource.DeleteRequest |
Get(long, long)
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 |
---|---|---|
long | advertiserId | Required. The ID of the DV360 advertiser to which the fetched negative keyword list belongs. |
long | negativeKeywordListId | Required. The ID of the negative keyword list to fetch. |
Returns
Type | Description |
---|---|
AdvertisersResource.NegativeKeywordListsResource.GetRequest |
List(long)
Lists negative keyword lists based on a given advertiser id.
Declaration
public virtual AdvertisersResource.NegativeKeywordListsResource.ListRequest List(long advertiserId)
Parameters
Type | Name | Description |
---|---|---|
long | advertiserId | Required. The ID of the DV360 advertiser to which the fetched negative keyword lists belong. |
Returns
Type | Description |
---|---|
AdvertisersResource.NegativeKeywordListsResource.ListRequest |
Patch(NegativeKeywordList, long, long)
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. |
long | advertiserId | Required. The ID of the DV360 advertiser to which the negative keyword list belongs. |
long | negativeKeywordListId | Output only. The unique ID of the negative keyword list. Assigned by the system. |
Returns
Type | Description |
---|---|
AdvertisersResource.NegativeKeywordListsResource.PatchRequest |