2025 年 9 月 8 日以降、すべての新しい広告申込情報で、欧州連合(EU)の政治広告を配信するかどうかを宣言する必要があります。宣言が提供されていないディスプレイ&ビデオ 360 API と SDF のアップロードは失敗します。統合を更新してこの宣言を行う方法について詳しくは、
非推奨のページをご覧ください。
REST Resource: advertisers.locationLists.assignedLocations
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
リソース: AssignedLocation
地域リストと関連するターゲティング オプションの割り当て。
JSON 表現 |
{
"name": string,
"assignedLocationId": string,
"targetingOptionId": string
} |
フィールド |
name |
string
出力専用。割り当てられたロケーションのリソース名。
|
assignedLocationId |
string (int64 format)
出力専用。割り当てられたロケーションの一意の ID。この ID は一意なのはロケーション リスト内のみです。他のコンテキストで再利用される可能性があります。
|
targetingOptionId |
string
必須。地域リストに割り当てられたターゲティング オプションの ID。
|
メソッド |
|
複数のロケーションと 1 つのロケーション リスト間の複数の割り当てを一括編集します。 |
|
場所と場所リストの間に割り当てを作成します。 |
|
ビジネスとビジネス拠点リストの間の割り当てを削除します。 |
|
ロケーションリストに割り当てられたロケーションを一覧表示します。 |
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-07-25 UTC。
[null,null,["最終更新日 2025-07-25 UTC。"],[[["\u003cp\u003eAssignedLocation resource represents an assignment between a location list and a targeting option, allowing advertisers to target specific locations.\u003c/p\u003e\n"],["\u003cp\u003eIt includes fields like \u003ccode\u003ename\u003c/code\u003e, \u003ccode\u003eassignedLocationId\u003c/code\u003e, and \u003ccode\u003etargetingOptionId\u003c/code\u003e to manage the assignments.\u003c/p\u003e\n"],["\u003cp\u003eYou can manage AssignedLocations using methods like \u003ccode\u003ebulkEdit\u003c/code\u003e, \u003ccode\u003ecreate\u003c/code\u003e, \u003ccode\u003edelete\u003c/code\u003e, and \u003ccode\u003elist\u003c/code\u003e to modify and retrieve assignments.\u003c/p\u003e\n"],["\u003cp\u003eThese methods provide functionality to edit multiple assignments, create new ones, remove existing ones, and retrieve a list of locations assigned to a specific list.\u003c/p\u003e\n"]]],[],null,["# REST Resource: advertisers.locationLists.assignedLocations\n\n| Display \\& Video 360 API is deprecated and will sunset on **October 7, 2025** . Migrate to [Display \\& Video 360 API v4](/display-video/api/reference/rest/v4) before sunset to avoid an interruption in service.\n- [Resource: AssignedLocation](#AssignedLocation)\n - [JSON representation](#AssignedLocation.SCHEMA_REPRESENTATION)\n- [Methods](#METHODS_SUMMARY)\n\nResource: AssignedLocation\n--------------------------\n\nAn assignment between a location list and a relevant targeting option.\n\n| JSON representation |\n|---------------------------------------------------------------------------------------|\n| ``` { \"name\": string, \"assignedLocationId\": string, \"targetingOptionId\": string } ``` |\n\n| Fields ||\n|----------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `name` | `string` Output only. The resource name of the assigned location. |\n| `assignedLocationId` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` Output only. The unique ID of the assigned location. The ID is only unique within a location list. It may be reused in other contexts. |\n| `targetingOptionId` | `string` Required. The ID of the targeting option assigned to the location list. |\n\n| Methods ------- ||\n|-----------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------|\n| ### [bulkEdit](/display-video/api/reference/rest/v3/advertisers.locationLists.assignedLocations/bulkEdit) | Bulk edits multiple assignments between locations and a single location list. |\n| ### [create](/display-video/api/reference/rest/v3/advertisers.locationLists.assignedLocations/create) | Creates an assignment between a location and a location list. |\n| ### [delete](/display-video/api/reference/rest/v3/advertisers.locationLists.assignedLocations/delete) | Deletes the assignment between a location and a location list. |\n| ### [list](/display-video/api/reference/rest/v3/advertisers.locationLists.assignedLocations/list) | Lists locations assigned to a location list. |"]]