> ## Documentation Index
> Fetch the complete documentation index at: https://docs.x.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Tools and libraries

> Official tools and community client libraries for the X Ads API, including SDKs in multiple languages and helpers for managing campaigns and reports.

## Official tools and libraries

The X teams maintain a small number of SDKs that support the Ads API.

### Python

|                      |                                                                                  |
| :------------------- | :------------------------------------------------------------------------------- |
| **Clients**          | --                                                                               |
| **SDKs / Libraries** | [twitter-python-ads-sdk](https://github.com/xdevplatform/twitter-python-ads-sdk) |
| **Tools**            | --                                                                               |

### Ruby

|                      |                                                                              |
| :------------------- | :--------------------------------------------------------------------------- |
| **Clients**          | --                                                                           |
| **SDKs / Libraries** | [twitter-ruby-ads-sdk](https://github.com/xdevplatform/twitter-ruby-ads-sdk) |
| **Tools**            | --                                                                           |

### Additional resources

**[Postman collection](https://app.getpostman.com/run-collection/369a02c0adc626ff6a06#?env%5BTwitter%20Ads%20API%5D=W3sia2V5IjoiYWNjb3VudF9pZCIsInZhbHVlIjoieW91cl9hZHNfYWNjb3VudF9pZCIsImVuYWJsZWQiOnRydWV9LHsia2V5IjoidmVyc2lvbiIsInZhbHVlIjoiNiIsImVuYWJsZWQiOnRydWV9LHsia2V5IjoiY29uc3VtZXJfa2V5IiwidmFsdWUiOiJ5b3VyX2NvbnN1bWVyX2tleSIsImVuYWJsZWQiOnRydWV9LHsia2V5IjoiY29uc3VtZXJfc2VjcmV0IiwidmFsdWUiOiJ5b3VyX2NvbnN1bWVyX3NlY3JldCIsImVuYWJsZWQiOnRydWV9LHsia2V5IjoiYWNjZXNzX3Rva2VuIiwidmFsdWUiOiJ5b3VyX2FjY2Vzc190b2tlbiIsImVuYWJsZWQiOnRydWV9LHsia2V5IjoidG9rZW5fc2VjcmV0IiwidmFsdWUiOiJ5b3VyX3Rva2VuX3NlY3JldCIsImVuYWJsZWQiOnRydWV9XQ==)**

Explore the Ads API endpoints using Postman, the visual REST client.

***

## Community tools and libraries

These are some of the many community-supported libraries that cover the X Ads API, across several programming languages and platforms. The libraries listed here should support most features of the Ads API, unless otherwise noted - check with the authors for details.

If you have built a library that supports the X APIs, please let us know about it via our [Developer Community forums](https://devcommunity.x.com/c/libraries-and-sdks/63).

### PHP

|                      |                                                                                                                                                                                                               |
| :------------------- | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| **Clients**          | --                                                                                                                                                                                                            |
| **SDKs / Libraries** | [twitter-php-ads-sdk](https://github.com/hborras/twitter-php-ads-sdk) by [@hborras](https://github.com/hborras) <br /> [codebird-php](https://github.com/jublo/codebird-php) by [@jublo](https://x.com/jublo) |
| **Tools**            | --                                                                                                                                                                                                            |

### Java

|                      |                                                                                                       |
| :------------------- | :---------------------------------------------------------------------------------------------------- |
| **Clients**          | --                                                                                                    |
| **SDKs / Libraries** | [twitter4j-ads](https://github.com/sprinklr-inc/twitter4j-ads) by [@sprinklr](https://x.com/sprinklr) |
| **Tools**            | --                                                                                                    |

### JavaScript / Node.js

|                      |                                                                                                          |
| :------------------- | :------------------------------------------------------------------------------------------------------- |
| **Clients**          | --                                                                                                       |
| **SDKs / Libraries** | [twitter-ads](https://github.com/FallenTech/twitter-ads) by [@FallenTech](https://github.com/FallenTech) |
| **Tools**            | --                                                                                                       |

### Additional resources

The community tools below can also be useful when working with the X Ads API.

* [**twitter-ads-api-analytics-debugger**](https://github.com/smaeda-ks/twitter-ads-api-analytics-debugger): An Electron-based desktop application for X Ads Analytics API, by [@smaeda-ks](https://github.com/smaeda-ks)
