---
metadata:
  - name: generator
    content: Diplodoc Platform v5.50.2
alternate:
  - https://yandex.com/dev/direct/doc/dg-v4/en/examples/all-examples.md
  - https://yandex.com/dev/direct/doc/dg-v4/ru/examples/all-examples.md
---
> **Documentation Index:** Fetch the complete configuration index at https://yandex.com/dev/direct/doc/dg-v4/ru/llms.txt

# Примеры


#|
||
**Perl**
||
||
- [JSON](https://yandex.ru/dev/direct/doc/dg-v4/examples/PerlSamples-json.html)
||

||
**PHP**
||
||
- [SOAP (класс NuSOAP)](https://yandex.ru/dev/direct/doc/dg-v4/examples/php-sample1.html) | [SOAP (класс SOAPClient) ](https://yandex.ru/dev/direct/doc/dg-v4/examples/php-sample2.html) | [JSON](https://yandex.ru/dev/direct/doc/dg-v4/examples/php-sample-json.html)
||

||
**Python**
||
||
- [SOAP (библиотека Suds)](https://yandex.ru/dev/direct/doc/dg-v4/examples/python-suds.html) | [JSON](https://yandex.ru/dev/direct/doc/dg-v4/examples/python-json.html)
||

||
**Авторизация**
||
||
- [Получение OAuth-токена веб-сервисом](https://yandex.ru/dev/direct/doc/dg-v4/examples/auth-token-sample.html)
||

||
**Отчеты**
||
||
- [Получение файла отчета](https://yandex.ru/dev/direct/doc/dg-v4/examples/get-report-sample-php.html) | [Пример отчета о статистике кампании](https://yandex.ru/dev/direct/doc/dg-v4/examples/StatFileFormat.html)
||
|#

