如何通过管理API获取自定义数据源的自定义维度?

时间:2015-06-16 23:32:38

标签: google-analytics google-analytics-api

Google Management API提供了获取custom data sourcescustom dimensions列表的方法。

但是,我需要获取属于自定义数据集的自定义维度列表,但无法找到。它有可能吗?

1 个答案:

答案 0 :(得分:1)

不幸的是,这是不可能的。有关自定义数据源的唯一可用数据如下:

{
  "id": string,
  "kind": "analytics#customDataSource",
  "selfLink": string,
  "accountId": string,
  "webPropertyId": string,
  "name": string,
  "description": string,
  "type": string,
  "uploadType": "analytics#uploads",
  "uploadType": "analytics#dailyUploads",
  "importBehavior": "OVERWRITE",
  "importBehavior": "SUMMATION",
  "profilesLinked": [
    string
  ],
  "created": datetime,
  "updated": datetime,
  "parentLink": {
    "type": "analytics#webproperty",
    "href": string
  },
  "childLink": {
    "type": "analytics#dailyUploads",
    "href": string
  },
  "childLink": {
    "type": "analytics#uploads",
    "href": string
  }
}