Ruby: Create configuration file yandex_direct.yml token: token login: login locale: ru verbose: true sandbox: true. Load configuration. Yandex::Direct.config .