概览
用户访问权限控制着个人可以在 Display & Video 360 产品中执行的操作。用户由身份验证期间使用的 Google 帐号标识。用户的访问权限范围取决于向其分配的用户角色,这些角色与 Display & Video 360 Partner
或 Advertiser
资源相关联。
本指南介绍如何通过 Display & Video 360 API 查找和创建用户,以及为他们分配用户角色。
前提条件
开始使用 Display & Video 360 API 用户服务之前,您需要完成以下步骤。如有必要,请与团队中的现有管理员用户联系,让其启用必要的 Display & Video 360 用户角色:
按照使用入门指南中的说明创建一个 API 项目,并向其授权。
请确保您遵循服务帐号流程进行授权。只有服务帐号才能访问 Display & Video 360 API users
服务。在身份验证过程中,还必须使用 users
服务专用的 OAuth 范围。
确保服务帐号是 Display & Video 360 用户,并且具有必要的资源所需的用户角色。只有管理员角色可用于更改用户及其分配的用户角色。任何其他标准角色仅为您授予用户资源的读取权限。
了解用户角色
分配的用户角色决定了用户对不同 Display & Video 360 广告投放资源的访问权限级别。关于用户角色,需要了解的重要事项包括:
用户角色还控制您有权访问的其他用户,以及您是否可以创建用户和修改其他用户为他们分配的角色。作为用户,您只能查看对同一资源的访问权限。例如,如果您对某个合作伙伴资源拥有标准访问权限,则有权访问该合作伙伴或其名下的任何广告客户的所有用户都将包含在 users.list
方法响应中。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2023-12-01。
[null,null,["最后更新时间 (UTC):2023-12-01。"],[[["Display & Video 360 user access is determined by assigned user roles linked to Partner or Advertiser resources."],["This guide explains how to find, create, and assign user roles to users through the Display & Video 360 API using service accounts."],["Only Admin user roles can modify users and their roles; other roles only provide read access to user resources."],["User access is limited to resources they share with other users, meaning visibility is restricted to users with overlapping resource access."],["User 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."]]],["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"]]