{
  "opencollection": "1.0.0",
  "info": {
    "name": "Reddit Ads Account Campaigns API",
    "version": "3"
  },
  "request": {
    "auth": {
      "type": "oauth2",
      "flow": "authorization_code",
      "authorizationUrl": "https://www.reddit.com/api/v1/authorize",
      "accessTokenUrl": "https://www.reddit.com/api/v1/access_token",
      "credentials": {
        "clientId": "{{clientId}}",
        "clientSecret": "{{clientSecret}}"
      }
    }
  },
  "items": [
    {
      "info": {
        "name": "Campaigns",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List Campaigns",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://ads-api.reddit.com/api/v3/accounts/:account_id/campaigns",
            "params": [
              {
                "name": "account_id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the Reddit Ads account."
              },
              {
                "name": "page_size",
                "value": "",
                "type": "query",
                "description": "The maximum number of items to return per page (default 25, max 100)."
              },
              {
                "name": "cursor",
                "value": "",
                "type": "query",
                "description": "A pagination cursor for retrieving the next page of results."
              },
              {
                "name": "status",
                "value": "",
                "type": "query",
                "description": "Filter campaigns by status."
              }
            ]
          },
          "docs": "Lists all campaigns in a Reddit Ads account with filtering, pagination, and sorting. Returns campaign IDs, names, status, objectives, budgets, and schedule information."
        },
        {
          "info": {
            "name": "Create a Campaign",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://ads-api.reddit.com/api/v3/accounts/:account_id/campaigns",
            "params": [
              {
                "name": "account_id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the Reddit Ads account."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates a new advertising campaign in the specified Reddit Ads account."
        },
        {
          "info": {
            "name": "Get a Campaign",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://ads-api.reddit.com/api/v3/accounts/:account_id/campaigns/:campaign_id",
            "params": [
              {
                "name": "account_id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the Reddit Ads account."
              },
              {
                "name": "campaign_id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the campaign."
              }
            ]
          },
          "docs": "Fetches detailed information about a specific Reddit Ads campaign including status, budget, schedule, and targeting configuration."
        },
        {
          "info": {
            "name": "Update a Campaign",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://ads-api.reddit.com/api/v3/accounts/:account_id/campaigns/:campaign_id",
            "params": [
              {
                "name": "account_id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the Reddit Ads account."
              },
              {
                "name": "campaign_id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the campaign."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Updates an existing campaign's configuration, including name, budget, schedule, and status."
        },
        {
          "info": {
            "name": "Delete a Campaign",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://ads-api.reddit.com/api/v3/accounts/:account_id/campaigns/:campaign_id",
            "params": [
              {
                "name": "account_id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the Reddit Ads account."
              },
              {
                "name": "campaign_id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the campaign."
              }
            ]
          },
          "docs": "Deletes an advertising campaign. The campaign must be in a non-active state to be deleted."
        }
      ]
    }
  ],
  "bundled": true
}