# ClickExport

## Export Clicks Asynchronously

> Schedules a job to export daily clicks. It returns a URI to poll for job status updates and a URI to download the exported file once the job is complete.

```json
{"openapi":"3.1.0","info":{"title":"Brand API - Clicks","version":"v14"},"servers":[{"url":"https://api.impact.com"}],"paths":{"/Advertisers/{AccountSID}/Programs/{ProgramId}/ClickExport":{"get":{"summary":"Export Clicks Asynchronously","description":"Schedules a job to export daily clicks. It returns a URI to poll for job status updates and a URI to download the exported file once the job is complete.","operationId":"exportClicks","tags":["ClickExport"],"parameters":[{"name":"AccountSID","in":"path","required":true,"schema":{"type":"string"}},{"name":"ProgramId","in":"path","required":true,"description":"The ID of the program (campaign) to export clicks from.","schema":{"type":"integer"}},{"name":"AdId","in":"query","description":"ID of the ad that was clicked. Can be repeated for multiple ads.","schema":{"type":"array","items":{"type":"integer"}}},{"name":"Date","in":"query","description":"The date for the clicks to be exported, in 'yyyy-MM-dd' format. Defaults to today. Only dates after April 9, 2024 are supported.","schema":{"type":"string","format":"date"}},{"name":"MediaId","in":"query","description":"The unique ID of the partner. Can be repeated for multiple partners.","schema":{"type":"array","items":{"type":"integer"}}},{"name":"UniqueClick","in":"query","description":"Filter for clicks that follow IAB standards for a unique click.","schema":{"type":"boolean"}},{"name":"ResultFormat","in":"query","description":"The desired file format for the export.","schema":{"type":"string","enum":["CSV","XML","JSON"],"default":"CSV"}}],"responses":{"200":{"description":"The job has been queued successfully.","content":{"application/json":{"schema":{"type":"object","properties":{"Status":{"type":"string"},"QueuedUri":{"type":"string","format":"uri-reference"},"ResultUri":{"type":"string","format":"uri-reference"},"ReplayUri":{"type":"string","format":"uri-reference"}}}}}}}}}}}
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://integrations.impact.com/brand-api-reference/reference/clicks/clickexport.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
