Yandex.Direct

Attention.

Access tokens will not be accepted in URL parameters starting February 13, 2019. To continue working with the Yandex.Metrica API, set up authorization by passing the token in the HTTP header.

The outdated authorization method will be temporarily disabled on January 23, January 30, and February 6 for maintenance. Authorization using URL parameters will be unavailable on these dates.

These templates allow you to generate reports on clicks to a site from Yandex.Direct ads.

Template Report Dimensions Metrics
sources_direct_platforms Yandex.Direct, ad platforms ym:s:<attribution>DirectPlatformType, ym:s:<attribution>DirectPlatform ym:s:visits, ym:s:users, ym:s:bounceRate, ym:s:pageDepth, ym:s:avgVisitDurationSeconds
sources_direct_platforms_types Ad platforms ym:s:<attribution>DirectPlatformType ym:s:visits, ym:s:users, ym:s:bounceRate, ym:s:pageDepth, ym:s:avgVisitDurationSeconds
sources_direct_summary Yandex.Direct, summary ym:s:<attribution>DirectClickOrder, ym:s:<attribution>DirectClickBanner, ym:s:<attribution>DirectPhraseOrCond, ym:s:<attribution>DirectSearchPhrase ym:s:visits, ym:s:users, ym:s:bounceRate, ym:s:pageDepth, ym:s:avgVisitDurationSeconds
sources_direct_clicks Yandex.Direct, costs ym:ad:<attribution>DirectOrder, ym:ad:<attribution>DirectBanner, ym:ad:<attribution>DirectPhraseOrCond, ym:ad:<attribution>DirectSearchPhrase ym:ad:users, ym:ad:<currency>AdCost, ym:ad:bounceRate, ym:ad:pageDepth, ym:ad:avgVisitDurationSeconds