Class AdvertisersResource.LocationListsResource
The "locationLists" collection of methods.
Inherited Members
Namespace: Google.Apis.DisplayVideo.v1
Assembly: Google.Apis.DisplayVideo.v1.dll
Syntax
public class AdvertisersResource.LocationListsResource
Constructors
LocationListsResource(IClientService)
Constructs a new resource.
Declaration
public LocationListsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Properties
AssignedLocations
Gets the AssignedLocations resource.
Declaration
public virtual AdvertisersResource.LocationListsResource.AssignedLocationsResource AssignedLocations { get; }
Property Value
Type | Description |
---|---|
AdvertisersResource.LocationListsResource.AssignedLocationsResource |
Methods
Create(LocationList, long)
Creates a new location list. Returns the newly created location list if successful.
Declaration
public virtual AdvertisersResource.LocationListsResource.CreateRequest Create(LocationList body, long advertiserId)
Parameters
Type | Name | Description |
---|---|---|
LocationList | body | The body of the request. |
long | advertiserId | Required. The ID of the DV360 advertiser to which the location list belongs. |
Returns
Type | Description |
---|---|
AdvertisersResource.LocationListsResource.CreateRequest |
Get(long, long)
Gets a location list.
Declaration
public virtual AdvertisersResource.LocationListsResource.GetRequest Get(long advertiserId, long locationListId)
Parameters
Type | Name | Description |
---|---|---|
long | advertiserId | Required. The ID of the DV360 advertiser to which the fetched location list belongs. |
long | locationListId | Required. The ID of the location list to fetch. |
Returns
Type | Description |
---|---|
AdvertisersResource.LocationListsResource.GetRequest |
List(long)
Lists location lists based on a given advertiser id.
Declaration
public virtual AdvertisersResource.LocationListsResource.ListRequest List(long advertiserId)
Parameters
Type | Name | Description |
---|---|---|
long | advertiserId | Required. The ID of the DV360 advertiser to which the fetched location lists belong. |
Returns
Type | Description |
---|---|
AdvertisersResource.LocationListsResource.ListRequest |
Patch(LocationList, long, long)
Updates a location list. Returns the updated location list if successful.
Declaration
public virtual AdvertisersResource.LocationListsResource.PatchRequest Patch(LocationList body, long advertiserId, long locationListId)
Parameters
Type | Name | Description |
---|---|---|
LocationList | body | The body of the request. |
long | advertiserId | Required. The ID of the DV360 advertiser to which the location lists belongs. |
long | locationListId | Output only. The unique ID of the location list. Assigned by the system. |
Returns
Type | Description |
---|---|
AdvertisersResource.LocationListsResource.PatchRequest |