AI-generated Key Takeaways
-
This method lists locations assigned to a specified location list.
-
The HTTP request uses a GET method and includes
advertiserIdandlocationListIdas required path parameters. -
Optional query parameters allow for controlling pagination, sorting, and filtering of the results.
-
The request body must be empty.
-
The successful response body contains a list of
assignedLocationsand potentially anextPageTokenfor retrieving additional results.
Lists locations assigned to a location list.
HTTP request
GET https://displayvideo.googleapis.com/v1beta2/advertisers/{advertiserId}/locationLists/{locationListId}/assignedLocations
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
advertiserId |
Required. The ID of the DV360 advertiser to which the location list belongs. |
locationListId |
Required. The ID of the location list to which these assignments are assigned. |
Query parameters
| Parameters | |
|---|---|
pageSize |
Requested page size. Must be between |
pageToken |
A token identifying a page of results the server should return. Typically, this is the value of |
orderBy |
Field by which to sort the list. Acceptable values are:
The default sorting order is ascending. To specify descending order for a field, a suffix " desc" should be added to the field name. Example: |
filter |
Allows filtering by location list assignment fields. Supported syntax:
The length of this field should be no more than 500 characters. |
Request body
The request body must be empty.
Response body
If successful, the response body contains data with the following structure:
Response message for AssignedLocationService.ListAssignedLocations.
| JSON representation |
|---|
{
"assignedLocations": [
{
object ( |
| Fields | |
|---|---|
assignedLocations[] |
The list of assigned locations. This list will be absent if empty. |
nextPageToken |
A token to retrieve the next page of results. Pass this value in the |
Authorization Scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/display-video
For more information, see the OAuth 2.0 Overview.