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