Kể từ
ngày 8 tháng 9 năm 2025, mỗi mục hàng mới sẽ cần phải khai báo xem mục hàng đó có phân phát quảng cáo chính trị ở Liên minh Châu Âu (EU) hay không. Display & Video 360 API và các tệp SDF được tải lên mà không cung cấp thông tin khai báo sẽ không thành công. Hãy xem
trang thông báo về những nội dung không dùng nữa để biết thêm thông tin về cách cập nhật quy trình tích hợp để đưa ra nội dung khai báo này.
Tổng quan
Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
Quyền truy cập của người dùng quản lý các thao tác mà cá nhân có thể thực hiện trong sản phẩm Display & Video 360. Người dùng được xác định bằng tài khoản Google được sử dụng trong quá trình xác thực. Phạm vi truy cập của người dùng được xác định bằng các vai trò người dùng được chỉ định, liên kết với tài nguyên Partner
hoặc Advertiser
của Display & Video 360.
Hướng dẫn này mô tả cách tìm và tạo người dùng, cũng như chỉ định vai trò người dùng cho họ thông qua API Display & Video 360.
Điều kiện tiên quyết
Trước khi bắt đầu sử dụng các dịch vụ Người dùng API Display & Video 360, bạn cần hoàn tất các bước sau. Hãy liên hệ với một người dùng Quản trị viên hiện tại trong nhóm của bạn để bật các vai trò người dùng cần thiết trong Display & Video 360 (nếu cần):
Tạo và uỷ quyền cho một dự án API như được nêu trong hướng dẫn Bắt đầu sử dụng.
Đảm bảo rằng bạn đang làm theo quy trình uỷ quyền của tài khoản dịch vụ. Chỉ tài khoản dịch vụ mới có thể truy cập vào dịch vụ users
của API Display & Video 360. Bạn cũng phải sử dụng phạm vi OAuth dành riêng cho dịch vụ users
trong quy trình xác thực.
Đảm bảo rằng tài khoản dịch vụ là người dùng Display & Video 360 và có vai trò người dùng cần thiết cho các tài nguyên cần thiết. Chỉ vai trò Quản trị viên mới cho phép bạn thay đổi người dùng và vai trò người dùng được chỉ định của họ. Mọi vai trò chuẩn khác chỉ cấp cho bạn quyền đọc tài nguyên của người dùng.
Tìm hiểu về vai trò của người dùng
Vai trò được chỉ định cho người dùng xác định cấp truy cập của người dùng đối với các tài nguyên phân phát quảng cáo khác nhau trong Display & Video 360. Sau đây là một số điều quan trọng cần biết về vai trò của người dùng:
Bạn có thể chỉ định vai trò người dùng cho hai loại tài nguyên khác nhau: Advertiser
và Partner
.
Một số vai trò của người dùng chỉ có thể được chỉ định cho một loại tài nguyên cụ thể.
Vai trò người dùng được chỉ định cho một đối tác sẽ tự động cấp cấp truy cập đó cho tất cả nhà quảng cáo thuộc đối tác đó.
Vai trò của người dùng cũng kiểm soát những người dùng khác mà bạn có quyền truy cập, cũng như liệu bạn có thể tạo người dùng và/hoặc sửa đổi vai trò được chỉ định của người khác hay không. Là người dùng, bạn chỉ có thể thấy những người dùng có quyền truy cập vào cùng một tài nguyên. Ví dụ: nếu bạn có quyền truy cập tiêu chuẩn vào tài nguyên của đối tác, thì tất cả người dùng có quyền truy cập vào đối tác đó hoặc bất kỳ nhà quảng cáo nào trong đó sẽ được đưa vào phản hồi phương thức users.list
.
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2025-07-25 UTC.
[null,null,["Cập nhật lần gần đây nhất: 2025-07-25 UTC."],[[["\u003cp\u003eDisplay & Video 360 user access is determined by assigned user roles linked to Partner or Advertiser resources.\u003c/p\u003e\n"],["\u003cp\u003eThis guide explains how to find, create, and assign user roles to users through the Display & Video 360 API using service accounts.\u003c/p\u003e\n"],["\u003cp\u003eOnly Admin user roles can modify users and their roles; other roles only provide read access to user resources.\u003c/p\u003e\n"],["\u003cp\u003eUser access is limited to resources they share with other users, meaning visibility is restricted to users with overlapping resource access.\u003c/p\u003e\n"],["\u003cp\u003eUser roles can be assigned at the Partner or Advertiser level, with some roles specific to a resource type and Partner-level roles granting access to all advertisers under that Partner.\u003c/p\u003e\n"]]],["Users in Display & Video 360 are identified by their Google account, and their actions are dictated by assigned roles linked to Partner or Advertiser resources. To use the API, an API project needs authorization, and only service accounts can access the user service with a specific OAuth scope. Admin users can create and modify users and roles; others can only read. User roles grant access to resources; roles at the partner level automatically apply to all advertisers. Users can only see those with access to the same resources.\n"],null,["# Overview\n\nUser access governs the operations individuals can do within the\nDisplay \\& Video 360 product. [Users](/display-video/api/reference/rest/current/users) are identified by the Google\naccount used during authentication. The extent of a user's access is determined\nby their assigned user roles, which are linked to Display \\& Video 360\n[`Partner`](/display-video/api/reference/rest/current/partners) or [`Advertiser`](/display-video/api/reference/rest/current/advertisers) resources.\n\nThis guide describes how to find and create users, as well as assign them user\nroles through the Display \\& Video 360 API.\n\nPrerequisites\n-------------\n\nBefore you start working with Display \\& Video 360 API User services, you'll need to\ncomplete the following steps. Contact an existing **Admin** user on your team to\nhave the necessary Display \\& Video 360 user roles enabled, if necessary:\n\n1. Create and authorize an API project as outlined in our\n [Get Started](/display-video/api/guides/getting-started) guide.\n\n2. Ensure that you're following the [service account](/display-video/api/guides/how-tos/service-account)\n flow for authorization. Only service accounts can access the Display \\& Video 360 API\n [`users`](/display-video/api/reference/rest/current/users) service. An [OAuth scope specific to the `users`\n service](/display-video/api/reference/rest/current/users/get#authorization-scopes) must also be used in the authentication process.\n\n3. Ensure that the service account is a Display \\& Video 360 user, and has the\n requisite [user roles](//support.google.com/displayvideo/answer/2723011) for the necessary resources. Only the\n [Admin](/display-video/api/reference/rest/current/users#UserRole.ENUM_VALUES.ADMIN) role allows you to make changes to a user and their\n assigned user roles. Any other [standard role](//support.google.com/displayvideo/answer/2723011#user-roles) only gives\n you read access to user resources.\n\nUnderstand user roles\n---------------------\n\nAssigned user roles determine the level of access users have to different\nDisplay \\& Video 360 ad-serving resources. Important things to know about user\nroles include:\n\n- A user role can be given for two different resource types:\n [`Advertiser`](/display-video/api/reference/rest/current/advertisers) and [`Partner`](/display-video/api/reference/rest/current/partners).\n\n- Some user roles can only be assigned for a specific resource type.\n\n- A user role assigned for a partner automatically grants that level of access\n to all advertisers under that partner.\n\nUser roles also control which other users you have access to, and whether you\ncan create users and or modify others' assigned roles. **As a user, you can\nonly see users who share access to the same resource.** For example, if you\nhave standard access to a partner resource, all users who have access to that\npartner or any of the advertisers under it will be included in a\n[`users.list`](/display-video/api/reference/rest/current/users/list) method response."]]