Method: advertisers.locationLists.assignedLocations.create
Stay organized with collections
Save and categorize content based on your preferences.
Creates an assignment between a location and a location list.
HTTP request
POST https://displayvideo.googleapis.com/v1beta2/advertisers/{advertiserId}/locationLists/{locationListId}/assignedLocations
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters |
advertiserId |
string (int64 format)
Required. The ID of the DV360 advertiser to which the location list belongs.
|
locationListId |
string (int64 format)
Required. The ID of the location list for which the assignment will be created.
|
Request body
The request body contains an instance of AssignedLocation
.
Response body
If successful, the response body contains a newly created instance of AssignedLocation
.
Authorization Scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/display-video
For more information, see the OAuth 2.0 Overview.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-18 UTC.
[[["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."],[[["Creates an assignment between a location and a location list using an HTTP POST request to the specified endpoint."],["Requires specifying the advertiser ID and location list ID as path parameters in the request URL."],["The request body must contain an `AssignedLocation` object, which defines the location being assigned."],["A successful response returns the newly created `AssignedLocation` object in the response body."],["Requires authorization with the `https://www.googleapis.com/auth/display-video` OAuth scope."]]],["This describes the process of assigning a location to a location list within a DV360 advertiser. A `POST` request is sent to the specified URL, which includes the `advertiserId` and `locationListId` as required path parameters. The request body contains an `AssignedLocation` instance. Upon success, the API returns the newly created `AssignedLocation` within the response body, using the specified OAuth scope for authorization. The process adheres to gRPC transcoding.\n"]]