Starting September 8, 2025, every new line item will need to declare whether or not they will serve Eurpoean Union (EU) political ads. Display & Video 360 API and SDF uploads that don't provide declarations will fail. See our deprecations page for more details on how to update your integration to make this declaration.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-09-18 UTC."],[[["\u003cp\u003eDisplay & Video 360 API v1 is sunset and this documentation details the creation of an assignment between a location and a location list.\u003c/p\u003e\n"],["\u003cp\u003eThe API utilizes an HTTP POST request to \u003ccode\u003ehttps://displayvideo.googleapis.com/v1/advertisers/{advertiserId}/locationLists/{locationListId}/assignedLocations\u003c/code\u003e to establish this assignment.\u003c/p\u003e\n"],["\u003cp\u003eRequired path parameters include \u003ccode\u003eadvertiserId\u003c/code\u003e and \u003ccode\u003elocationListId\u003c/code\u003e, specifying the advertiser and the target location list, respectively.\u003c/p\u003e\n"],["\u003cp\u003eA successful request will return a newly created instance of \u003ccode\u003eAssignedLocation\u003c/code\u003e within the response body, confirming the assignment.\u003c/p\u003e\n"],["\u003cp\u003eAuthorization necessitates the \u003ccode\u003ehttps://www.googleapis.com/auth/display-video\u003c/code\u003e OAuth scope for access and manipulation.\u003c/p\u003e\n"]]],["This document details the process for creating an assignment between a location and a location list using the Display & Video 360 API. It outlines that a `POST` request must be sent to a specific URL, including `advertiserId` and `locationListId` as path parameters. The request body requires an `AssignedLocation` instance, and upon success, the response returns a new `AssignedLocation` instance. This action requires OAuth 2.0 authorization with the `display-video` scope.\n"],null,["| Display \\& Video 360 API v1 has been sunset.\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n- [Authorization Scopes](#body.aspect)\n- [Try it!](#try-it)\n\nCreates an assignment between a location and a location list.\n\nHTTP request\n\n`POST https://displayvideo.googleapis.com/v1/advertisers/{advertiserId}/locationLists/{locationListId}/assignedLocations`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\nPath parameters\n\n| Parameters ||\n|------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `advertiserId` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` Required. The ID of the DV360 advertiser to which the location list belongs. |\n| `locationListId` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` Required. The ID of the location list for which the assignment will be created. |\n\nRequest body\n\nThe request body contains an instance of [AssignedLocation](/display-video/api/reference/rest/v1/advertisers.locationLists.assignedLocations#AssignedLocation).\n\nResponse body\n\nIf successful, the response body contains a newly created instance of [AssignedLocation](/display-video/api/reference/rest/v1/advertisers.locationLists.assignedLocations#AssignedLocation).\n\nAuthorization Scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/display-video`\n\nFor more information, see the [OAuth 2.0 Overview](https://developers.google.com/identity/protocols/OAuth2)."]]