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

# Campaigns

> The list of Ad campaigns associated with your X/Twitter account.

export const HeaderAPI = ({noProfileKey, profileKeyRequired}) => <>
    <ParamField header="Authorization" type="string" required>
      <a href="/docs/apis/overview#authorization">API Key</a> of the Primary Profile.
      <br />
      <br />
      Format: <code>Authorization: Bearer API_KEY</code>
    </ParamField>
    {!noProfileKey && (profileKeyRequired ? <ParamField header="Profile-Key" type="string" required>
          <a href="/docs/apis/overview#profile-key-format">Profile Key</a> of a User Profile.
          <br />
          <br />
          Format: <code>Profile-Key: PROFILE_KEY</code>
        </ParamField> : <ParamField header="Profile-Key" type="string">
          <a href="/docs/apis/overview#profile-key-format">Profile Key</a> of a User Profile.
          <br />
          <br />
          Format: <code>Profile-Key: PROFILE_KEY</code>
        </ParamField>)}
  </>;

The campaigns field *id* contains the campaign ID. Note: The campaign is sometimes referred to as the accounts.

## Header Parameters

<HeaderAPI />

<RequestExample />

<ResponseExample>
  ```json 200: Response theme={"system"}
  {
    "campaigns": [
      {
        "name": "Ayrshare",
        "business_name": null,
        "timezone": "America/New_York",
        "timezone_switch_at": "2020-11-10T05:00:00Z",
        "country_code": "US",
        "id": "18ca55appc1",
        "vat_status": "NOT_REQUIRED",
        "created_at": "2020-11-11T16:22:12Z",
        "updated_at": "2021-04-27T16:18:41Z",
        "industry_type": null,
        "business_id": null,
        "approval_status": "ACCEPTED",
        "deleted": false
      }
    ]
  }
  ```
</ResponseExample>
