Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save axmakarov/9504034f6b9f9eec37bc62d391c5020f to your computer and use it in GitHub Desktop.
Save axmakarov/9504034f6b9f9eec37bc62d391c5020f to your computer and use it in GitHub Desktop.
Yandex.Metrika API request for getting Yandex.Direct campaigns and phrases with grouping by user ID
https://beta.api-metrika.yandex.ru/stat/v1/data?dimensions=ym:s:specialUser,ym:s:directID,ym:s:lastDirectSearchPhrase&metrics=ym:s:users,ym:s:visits&date1=2016-05-01&date2=2016-05-31&ids=<id>&oauth_token=<token>&limit=100000&offset=1&filters=ym:s:lastAdvEngine='ya_direct'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment