class AdvertisersLocationListsAssignedLocations extends Resource (View source)

The "assignedLocations" collection of methods.

Typical usage is:

 $displayvideoService = new Google\Service\DisplayVideo(...);
 $assignedLocations = $displayvideoService->advertisers_locationLists_assignedLocations;

Methods

bulkEdit(string $advertiserId, string $locationListId, BulkEditAssignedLocationsRequest $postBody, array $optParams = [])

Bulk edits multiple assignments between locations and a single location list.

create(string $advertiserId, string $locationListId, AssignedLocation $postBody, array $optParams = [])

Creates an assignment between a location and a location list.

delete(string $advertiserId, string $locationListId, string $assignedLocationId, array $optParams = [])

Deletes the assignment between a location and a location list.

listAdvertisersLocationListsAssignedLocations(string $advertiserId, string $locationListId, array $optParams = [])

Lists locations assigned to a location list.

Details

BulkEditAssignedLocationsResponse bulkEdit(string $advertiserId, string $locationListId, BulkEditAssignedLocationsRequest $postBody, array $optParams = [])

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. (assignedLocations.bulkEdit)

Parameters

string $advertiserId

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

string $locationListId

Required. The ID of the location list to which these assignments are assigned.

BulkEditAssignedLocationsRequest $postBody
array $optParams

Optional parameters.

Return Value

BulkEditAssignedLocationsResponse

Exceptions

Exception

AssignedLocation create(string $advertiserId, string $locationListId, AssignedLocation $postBody, array $optParams = [])

Creates an assignment between a location and a location list.

(assignedLocations.create)

Parameters

string $advertiserId

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

string $locationListId

Required. The ID of the location list for which the assignment will be created.

AssignedLocation $postBody
array $optParams

Optional parameters.

Return Value

AssignedLocation

Exceptions

Exception

DisplayvideoEmpty delete(string $advertiserId, string $locationListId, string $assignedLocationId, array $optParams = [])

Deletes the assignment between a location and a location list.

(assignedLocations.delete)

Parameters

string $advertiserId

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

string $locationListId

Required. The ID of the location list to which this assignment is assigned.

string $assignedLocationId

Required. The ID of the assigned location to delete.

array $optParams

Optional parameters.

Return Value

DisplayvideoEmpty

Exceptions

Exception

ListAssignedLocationsResponse listAdvertisersLocationListsAssignedLocations(string $advertiserId, string $locationListId, array $optParams = [])

Lists locations assigned to a location list.

(assignedLocations.listAdvertisersLocationListsAssignedLocations)

Parameters

string $advertiserId

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

string $locationListId

Required. The ID of the location list to which these assignments are assigned.

array $optParams

Optional parameters.

Return Value

ListAssignedLocationsResponse

Exceptions

Exception