---
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/en/llms.txt

# Examples


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

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

||
**Python**
||
||
- [SOAP (Suds library)](https://yandex.com/dev/direct/doc/dg-v4/en/examples/python-suds.md) | [JSON](https://yandex.com/dev/direct/doc/dg-v4/en/examples/python-json.md)
||

||
**Authorization**
||
||
- [Getting an OAuth token using a web service](https://yandex.com/dev/direct/doc/dg-v4/en/concepts/auth-token.md)
||

||
**Reports**
||
||
- [Getting the report file](https://yandex.com/dev/direct/doc/dg-v4/en/examples/get-report-sample-php.md) | [Example of a campaign statistics report](https://yandex.com/dev/direct/doc/dg-v4/en/examples/StatFileFormat.md)
||
|#

