> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://apidocs.polytomic.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://apidocs.polytomic.com/_mcp/server.

# X Ads

Supports:
* ✅ Bulk sync source
* ✅ Connection Proxy




## Connection

### Configuration
<table>
<thead>
<tr>
<th>Name</th><th>Type</th><th>Description</th><th>Required</th>
</tr>
</thead>
<tbody>
<tr>
<td><code>access_token</code></td>
<td><code>string</code></td>
<td style="vertical-align: top;">Access token</td>
<td><code>true</code></td>
</tr>
<tr>
<td><code>access_token_secret</code></td>
<td><code>string</code></td>
<td style="vertical-align: top;">Access token secret</td>
<td><code>true</code></td>
</tr>
<tr>
<td><code>consumer_key</code></td>
<td><code>string</code></td>
<td style="vertical-align: top;">Consumer key</td>
<td><code>true</code></td>
</tr>
<tr>
<td><code>consumer_secret</code></td>
<td><code>string</code></td>
<td style="vertical-align: top;">Consumer secret</td>
<td><code>true</code></td>
</tr>
</tbody>
</table>


#### Example

```json
{
  "name": "X Ads connection",
  "type": "x_ads",
  "configuration": {
    "access_token": "",
    "access_token_secret": "",
    "consumer_key": "",
    "consumer_secret": ""
  }
}
```



## Bulk Sync
### Source
#### Configuration
<table>
<thead>
<tr>
<th>Name</th><th>Type</th><th>Description</th><th>Required</th>
</tr>
</thead>
<tbody>
<tr>
<td><code>reporting_lookback</code></td>
<td><code>integer</code></td>
<td style="vertical-align: top;">Lookback period for reports</td>
<td><code>false</code></td>
</tr>
</tbody>
</table>


#### Example
```json
{
  ...
  "source_configuration": {
    "reporting_lookback": 0
  }
}
```