Class AdvertisersResource.LocationListsResource.AssignedLocationsResource
The "assignedLocations" collection of methods.
Inheritance
Inherited Members
Namespace: Google.Apis.DisplayVideo.v1
Assembly: Google.Apis.DisplayVideo.v1.dll
Syntax
public class AssignedLocationsResource
Constructors
AssignedLocationsResource(IClientService)
Constructs a new resource.
Declaration
public AssignedLocationsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
BulkEdit(BulkEditAssignedLocationsRequest, Int64, Int64)
Bulk edits multiple assignments between locations and a single location list. The operation will delete the assigned locations provided in BulkEditAssignedLocationsRequest.deleted_assigned_locations and then create the assigned locations provided in BulkEditAssignedLocationsRequest.created_assigned_locations.
Declaration
public virtual AdvertisersResource.LocationListsResource.AssignedLocationsResource.BulkEditRequest BulkEdit(BulkEditAssignedLocationsRequest body, long advertiserId, long locationListId)
Parameters
Type | Name | Description |
---|---|---|
BulkEditAssignedLocationsRequest | body | The body of the request. |
System.Int64 | advertiserId | Required. The ID of the DV360 advertiser to which the location list belongs. |
System.Int64 | locationListId | Required. The ID of the location list to which these assignments are assigned. |
Returns
Type | Description |
---|---|
AdvertisersResource.LocationListsResource.AssignedLocationsResource.BulkEditRequest |
Create(AssignedLocation, Int64, Int64)
Creates an assignment between a location and a location list.
Declaration
public virtual AdvertisersResource.LocationListsResource.AssignedLocationsResource.CreateRequest Create(AssignedLocation body, long advertiserId, long locationListId)
Parameters
Type | Name | Description |
---|---|---|
AssignedLocation | body | The body of the request. |
System.Int64 | advertiserId | Required. The ID of the DV360 advertiser to which the location list belongs. |
System.Int64 | locationListId | Required. The ID of the location list for which the assignment will be created. |
Returns
Type | Description |
---|---|
AdvertisersResource.LocationListsResource.AssignedLocationsResource.CreateRequest |
Delete(Int64, Int64, Int64)
Deletes the assignment between a location and a location list.
Declaration
public virtual AdvertisersResource.LocationListsResource.AssignedLocationsResource.DeleteRequest Delete(long advertiserId, long locationListId, long assignedLocationId)
Parameters
Type | Name | Description |
---|---|---|
System.Int64 | advertiserId | Required. The ID of the DV360 advertiser to which the location list belongs. |
System.Int64 | locationListId | Required. The ID of the location list to which this assignment is assigned. |
System.Int64 | assignedLocationId | Required. The ID of the assigned location to delete. |
Returns
Type | Description |
---|---|
AdvertisersResource.LocationListsResource.AssignedLocationsResource.DeleteRequest |
List(Int64, Int64)
Lists locations assigned to a location list.
Declaration
public virtual AdvertisersResource.LocationListsResource.AssignedLocationsResource.ListRequest List(long advertiserId, long locationListId)
Parameters
Type | Name | Description |
---|---|---|
System.Int64 | advertiserId | Required. The ID of the DV360 advertiser to which the location list belongs. |
System.Int64 | locationListId | Required. The ID of the location list to which these assignments are assigned. |
Returns
Type | Description |
---|---|
AdvertisersResource.LocationListsResource.AssignedLocationsResource.ListRequest |