Show / Hide Table of Contents

Class AdvertisersResource.LocationListsResource

The "locationLists" collection of methods.

Inheritance
System.Object
AdvertisersResource.LocationListsResource
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 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, Int64)

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.

System.Int64 advertiserId

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

Returns
Type Description
AdvertisersResource.LocationListsResource.CreateRequest

Get(Int64, Int64)

Gets a location list.

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

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

System.Int64 locationListId

Required. The ID of the location list to fetch.

Returns
Type Description
AdvertisersResource.LocationListsResource.GetRequest

List(Int64)

Lists location lists based on a given advertiser id.

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

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

Returns
Type Description
AdvertisersResource.LocationListsResource.ListRequest

Patch(LocationList, Int64, Int64)

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.

System.Int64 advertiserId

Required. The ID of the DV360 advertiser to which the location lists belongs.

System.Int64 locationListId

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

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