受众群体导出维度
对 Google Analytics(分析)Data API 的受众群体导出方法的查询中支持的维度。核心报告方法(例如 RunReport
)接受与受众群体导出方法不同的一组维度和指标。
维度
可以在为任何媒体资源导出受众群体时请求以下维度。
在 AudienceDimension
资源的 name
字段中,为受众群体导出响应中该维度的列指定“API 名称”。
API 名称 |
界面名称 |
说明 |
deviceId |
设备 ID |
基于浏览器或移动应用的标识符,对应唯一身份假名网站或移动应用用户。如需了解详情,请参阅设备 ID。 |
isAdsPersonalizationAllowed |
是否允许广告个性化 |
如果用户符合广告个性化条件,isAdsPersonalizationAllowed 会返回 true 。如果用户不符合广告个性化条件,isAdsPersonalizationAllowed 会返回 false 。 如果 Google Analytics(分析)无法返回此用户是否符合广告个性化条件,则 isAdsPersonalizationAllowed 会返回 (not set) ;如果用户返回了 isAdsPersonalizationAllowed,返回 (not set) 的用户可能不符合个性化广告的条件。对于个性化广告,您应将 isAdsPersonalizationAllowed 返回 (not set) 的用户视为 isAdsPersonalizationAllowed = false ,因为在大多数情况下,某些 (not set) 行会包含不符合广告个性化条件的用户。 如果 isAdsPersonalizationAllowed 返回 false ,用户仍可用于非广告用例,例如 A/B 测试和数据探索。 |
isLimitedAdTracking |
广告跟踪受限 |
设备的“限制广告跟踪”设置。可能的值包括:true 、false 和 (not set) 。如果 Google Analytics(分析)无法返回此设备的“限制广告跟踪”设置,则 isLimitedAdTracking 会返回 (not set) 。 |
userId |
User-ID |
在代码植入时为此用户指定的用户 ID。如需了解详情,请参阅使用 User-ID 衡量跨平台活动。 如果启用“收集用户提供的数据”功能,可将用户提供的数据以及 User-ID 发送到 Google Analytics(分析)以植入代码,以改进衡量效果。如需了解详情,请参阅收集用户提供的数据。无论是否为您的媒体资源启用了用户提供的数据,userId 都会返回代码中指定的用户 ID。 |
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2024-04-22。
[null,null,["最后更新时间 (UTC):2024-04-22。"],[[["The Analytics Data API's Audience Export methods use a specific set of dimensions for querying data, differing from the Core Reporting methods."],["Audience exports support dimensions such as Device ID, Ads Personalization status, Limited Ad Tracking status, and User ID for any Google Analytics property."],["These dimensions provide insights into user characteristics, privacy settings, and identifiers for analysis and audience creation."],["You can include these dimensions in your audience export requests by specifying their API names within the `AudienceDimension` resource."]]],["Audience Export methods in the Analytics Data API support specific dimensions for queries, distinct from Core Reporting methods. These dimensions, specified by their API Name, include `deviceId`, a unique user identifier; `isAdsPersonalizationAllowed`, indicating a user's eligibility for personalized ads; `isLimitedAdTracking`, reflecting the device's ad tracking settings; and `userId`, the user ID defined in tagging. Each dimension's API Name is used in the `AudienceDimension` resource to retrieve corresponding data.\n"]]