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.

TemplateReportDimensionsMetrics
sources_direct_platformsYandex.Direct, ad platformsym:s:<attribution>DirectPlatformType, ym:s:<attribution>DirectPlatformym:s:visits, ym:s:users, ym:s:bounceRate, ym:s:pageDepth, ym:s:avgVisitDurationSeconds
sources_direct_platforms_typesAd platformsym:s:<attribution>DirectPlatformTypeym:s:visits, ym:s:users, ym:s:bounceRate, ym:s:pageDepth, ym:s:avgVisitDurationSeconds
sources_direct_summaryYandex.Direct, summaryym:s:<attribution>DirectClickOrder, ym:s:<attribution>DirectClickBanner, ym:s:<attribution>DirectPhraseOrCond, ym:s:<attribution>DirectSearchPhraseym:s:visits, ym:s:users, ym:s:bounceRate, ym:s:pageDepth, ym:s:avgVisitDurationSeconds
sources_direct_clicksYandex.Direct, costsym:ad:<attribution>DirectOrder, ym:ad:<attribution>DirectBanner, ym:ad:<attribution>DirectPhraseOrCond, ym:ad:<attribution>DirectSearchPhraseym:ad:users, ym:ad:<currency>AdCost, ym:ad:bounceRate, ym:ad:pageDepth, ym:ad:avgVisitDurationSeconds