Analytics · Google

Google runtime distribution + optimal runtime

get/api/v1/analytics/google/runtime

Request

  • Base URL: https://api.adsmom.com
  • URL: https://api.adsmom.com/api/v1/analytics/google/runtime
  • Auth: HTTP bearer

Query parameters

advertiser_idsstring
Example:meta.advertiser.abc,meta.advertiser.def

Comma-separated advertiser id tokens. Defaults to all tracked.

date_fromstring

Start date (ISO 8601).

date_tostring

End date (ISO 8601).

region_codesstring

Comma-separated region codes (e.g. US,GB).

granularity'day' | 'week' | 'month'
Example:day

Response

Example response

{
  "distribution": [
    {
      "advertiser": {
        "gid": "gid://adsmom/tiktok/advertiser/123456",
        "id_token": "tiktok.advertiser.123456",
        "platform": "tiktok",
        "name": "Kaufland"
      },
      "buckets": [
        {
          "label": "8-14d",
          "count": 23
        }
      ]
    }
  ],
  "optimal": [
    {
      "advertiser": {
        "gid": "gid://adsmom/tiktok/advertiser/123456",
        "id_token": "tiktok.advertiser.123456",
        "platform": "tiktok",
        "name": "Kaufland"
      },
      "buckets": [
        {
          "label": "8-14d",
          "count": 23,
          "avg_impressions": 142000
        }
      ]
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.