Requires an API key (orwel_sk_) with the campaigns:read scope.
Campaigns come from the ad accounts connected in Integrations (Google Ads, Meta Ads). Each campaign carries the totals of its daily metrics over the window you choose with days.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Orwel","colors":{"primary":"#2853ff","light":"#6d8bff","dark":"#1d3fd6"},"logo":{"light":"https://mintcdn.com/orwel-docs/oZX7rBe1PSAnJ1a6/logo/light.svg?fit=max\u0026auto=format\u0026n=oZX7rBe1PSAnJ1a6\u0026q=85\u0026s=80bb317ac5f334005787239fe5fc49d8","dark":"https://mintcdn.com/orwel-docs/oZX7rBe1PSAnJ1a6/logo/dark.svg?fit=max\u0026auto=format\u0026n=oZX7rBe1PSAnJ1a6\u0026q=85\u0026s=6d76aa96f7e17fbaf27a1965e19e13b7"},"favicon":"https://mintcdn.com/orwel-docs/oZX7rBe1PSAnJ1a6/favicon.png?fit=max\u0026auto=format\u0026n=oZX7rBe1PSAnJ1a6\u0026q=85\u0026s=bb9b2e48b160f267f566e420743e9699","api":{"mdx":{"auth":{"method":"bearer"},"server":"https://api.orwel.io"}},"background":{"color":{"light":"#ffffff","dark":"#111214"}},"navbar":{"links":[{"href":"/support","label":"Support"}],"primary":{"type":"button","label":"Dashboard","href":"https://www.orwel.io/dashboard"}},"footer":{"socials":{"github":"https://github.com/hyperlabs-ai/orwel","linkedin":"https://www.linkedin.com/company/orwel"}},"seo":{"metatags":{"canonical":"https://www.orwel.io/docs"}},"contextual":{"options":["copy","view","chatgpt","claude","cursor","mcp"],"display":"header"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"orwel-docs","hasAudioNarration":false,"actualSubdomain":"orwel-docs","customDomains":["www.orwel.io"],"gitSource":{"type":"github","owner":"hyperlabs-ai","repo":"orwel-api","deployBranch":"master","contentDirectory":"docs","isPrivate":true,"mountPath":"","label":"","_id":"6ad82e72e51e6a3f317fe704"},"chroma":{"latestBuiltDeploymentHistoryId":"6adfad2f55383828dd0cd8a2","collectionId":"50cdbe54-07c1-4ee1-807c-20e10ff88cfb","liveDeploymentHistoryId":"6adfad2f55383828dd0cd8a2","schemaVersion":"v3"},"entitlements":{},"buildId":"6aeb617f245c712a705b2225","clientVersion":"0.0.4054","searchFilterCounts":[{"language":"default","tag":"Documentation","count":37},{"language":"default","tag":"API Reference","count":17},{"language":"default","tag":"Core Concepts","count":17},{"language":"default","tag":"Intent signals","count":13},{"language":"default","tag":"SDK","count":8},{"language":"default","tag":"Identities","count":6},{"language":"default","tag":"Get Started","count":5},{"language":"default","tag":"Leads","count":4},{"language":"default","tag":"Developers","count":3},{"language":"default","tag":"Integrations","count":3}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"/docs","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"#navbar .max-w-8xl,div:has(>#sidebar){max-width:104rem!important}@media (min-width:1024px){#content-area{padding-left:6.5rem}}@media (min-width:1280px){#content-area{width:calc(100% - 24rem)!important;max-width:none!important;padding-left:7.5rem;padding-right:2.5rem}#table-of-contents-layout{width:20rem;padding-left:4rem}#table-of-contents{width:16rem}}#header{padding-bottom:.5rem}#header>div>div.mt-2{margin-top:.875rem;max-width:44rem;color:rgb(75 85 99)}.dark #header>div>div.mt-2{color:rgb(176 180 190)}#page-context-menu{align-self:flex-start;margin-top:-2.5rem}.dark .card{background-color:#17181b!important;border-color:rgb(255 255 255/.08)!important}.dark .card:hover{background-color:#1b1c20!important}.card [data-component-part=card-content]{font-size:.875rem;line-height:1.5rem}.card-group{gap:.875rem!important;row-gap:.875rem!important}.card-group>.card{margin-top:0;margin-bottom:0}.card{position:relative;overflow:hidden;transition:border-color .2s ease,transform .2s ease}.card:hover{transform:translateY(-2px)}.card [data-component-part=card-content-container]{padding:1.25rem 1.375rem 1.375rem;min-height:9.5rem}.card [data-component-part=card-icon]{display:flex;align-items:center;justify-content:center;width:2.5rem!important;height:2.5rem!important;border-radius:11px;background:rgb(40 83 255/.08);border:1px solid rgb(40 83 255/.16)}.dark .card [data-component-part=card-icon]{background:rgb(109 139 255/.12);border-color:rgb(109 139 255/.22)}.card [data-component-part=card-icon] svg{width:1.15rem!important;height:1.15rem!important}.card [data-component-part=card-title]{margin-top:1rem;font-size:1rem}.card[role=link]::after{content:'';position:absolute;top:1.4rem;right:1.4rem;width:1rem;height:1rem;background-color:rgb(107 114 128);-webkit-mask:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17 17 7M8 7h9v9'/%3E%3C/svg%3E\") center/contain no-repeat;mask:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17 17 7M8 7h9v9'/%3E%3C/svg%3E\") center/contain no-repeat;transition:transform .2s ease,background-color .2s ease}.card[role=link]:hover::after{background-color:#2853ff;transform:translate(2px,-2px)}.dark .card[role=link]:hover::after{background-color:#6d8bff}.code-block:not(:has([data-component-part=code-block-header])){padding:2px!important;background-color:rgb(249 250 251)!important}.dark .code-block:not(:has([data-component-part=code-block-header])){background-color:rgb(255 255 255/.05)!important}.code-block:not(:has([data-component-part=code-block-header]))::before{content:attr(language);display:block;width:fit-content;margin:0 0 0 .9rem;padding:.55rem .1rem .5rem;font-size:.8125rem;font-weight:500;line-height:1.25rem;color:#2853ff;border-bottom:1.5px solid #2853ff}.dark .code-block:not(:has([data-component-part=code-block-header]))::before{color:#6d8bff;border-color:#6d8bff}.code-block:not(:has([data-component-part=code-block-header])) .code-block-background{border-radius:14px!important}.code-block:not(:has([data-component-part=code-block-header])) .code-block-fade-overlay{display:none!important}.code-block:not(:has([data-component-part=code-block-header])) [data-floating-buttons]{top:.3rem!important}.code-block:not(:has([data-component-part=code-block-header]))[language=bash]::before,.code-block:not(:has([data-component-part=code-block-header]))[language=sh]::before,.code-block:not(:has([data-component-part=code-block-header]))[language=shell]::before,.code-block:not(:has([data-component-part=code-block-header]))[language=shellscript]::before{content:'Terminal'!important}.code-block:not(:has([data-component-part=code-block-header]))[language=json]::before{content:'JSON'!important}.code-block:not(:has([data-component-part=code-block-header]))[language=javascript]::before,.code-block:not(:has([data-component-part=code-block-header]))[language=js]::before{content:'JavaScript'!important}.code-block:not(:has([data-component-part=code-block-header]))[language=ts]::before,.code-block:not(:has([data-component-part=code-block-header]))[language=typescript]::before{content:'TypeScript'!important}.code-block:not(:has([data-component-part=code-block-header]))[language=tsx]::before{content:'TSX'!important}.code-block:not(:has([data-component-part=code-block-header]))[language=jsx]::before{content:'JSX'!important}.code-block:not(:has([data-component-part=code-block-header]))[language=python]::before{content:'Python'!important}.code-block:not(:has([data-component-part=code-block-header]))[language=html]::before{content:'HTML'!important}.code-block:not(:has([data-component-part=code-block-header]))[language=svelte]::before{content:'Svelte'!important}.code-block:not(:has([data-component-part=code-block-header]))[language=astro]::before{content:'Astro'!important}.code-block:not(:has([data-component-part=code-block-header]))[language=yaml]::before{content:'YAML'!important}.code-block:not(:has([data-component-part=code-block-header]))[language=http]::before{content:'HTTP'!important}.code-block:not(:has([data-component-part=code-block-header]))[language=php]::before{content:'PHP'!important}.code-block:not(:has([data-component-part=code-block-header]))[language=plaintext]::before,.code-block:not(:has([data-component-part=code-block-header]))[language=text]::before{content:'Text'!important}"}],"page":{"pagePath":"api-reference/campaigns/list","slug":"/api-reference/campaigns/list","pageMetadata":{"title":"List Campaigns","api":"GET https://api.orwel.io/api/v1/campaigns","description":"Ad campaigns of your workspace (Google Ads, Meta Ads) with impressions, clicks, cost, conversions and CTR over the last days.","href":"/api-reference/campaigns/list"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Ad campaigns of your workspace (Google Ads, Meta Ads) with impressions, clicks, cost, conversions and CTR over the last days.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,p:`p`,strong:`strong`,..._provideComponents(),...props.components},{Expandable,Heading,Info,ParamField,ResponseField}=_components;if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Info)_missingMdxReference(`Info`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);return _jsxs(_Fragment,{children:[_jsx(Info,{children:_jsxs(_components.p,{children:[`Requires an `,_jsx(_components.a,{href:`/authentication`,children:`API key`}),` (`,_jsx(_components.code,{children:`orwel_sk_`}),`) with the `,_jsx(_components.code,{children:`campaigns:read`}),` scope.`]})}),`\n`,_jsxs(_components.p,{children:[`Campaigns come from the ad accounts connected in `,_jsx(_components.strong,{children:`Integrations`}),` (`,_jsx(_components.a,{href:`/integrations/google-ads`,children:`Google Ads`}),`, `,_jsx(_components.a,{href:`/integrations/meta-ads`,children:`Meta Ads`}),`). Each campaign carries the totals of its daily metrics over the window you choose with `,_jsx(_components.code,{children:`days`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`query-parameters`,children:`Query Parameters`}),`\n`,_jsx(ParamField,{query:`limit`,type:`integer`,default:`50`,id:`param-limit`,children:_jsx(_components.p,{children:`Maximum number of results to return (max: 100)`})}),`\n`,_jsx(ParamField,{query:`offset`,type:`integer`,default:`0`,id:`param-offset`,children:_jsx(_components.p,{children:`Number of results to skip for pagination`})}),`\n`,_jsx(ParamField,{query:`days`,type:`integer`,default:`30`,id:`param-days`,children:_jsx(_components.p,{children:`Window for the metrics totals, counted back from today (1 to 365)`})}),`\n`,_jsx(ParamField,{query:`status`,type:`string`,id:`param-status`,children:_jsxs(_components.p,{children:[`Filter by campaign status, as reported by the ad platform (for example `,_jsx(_components.code,{children:`active`}),`, `,_jsx(_components.code,{children:`enabled`}),` or `,_jsx(_components.code,{children:`paused`}),`)`]})}),`\n`,_jsx(ParamField,{query:`platform`,type:`string`,id:`param-platform`,children:_jsxs(_components.p,{children:[`Filter by ad platform, `,_jsx(_components.code,{children:`google_ads`}),` or `,_jsx(_components.code,{children:`meta_ads`})]})}),`\n`,_jsx(Heading,{level:`2`,id:`response`,children:`Response`}),`\n`,_jsxs(ResponseField,{name:`data`,type:`array`,id:`param-data`,children:[_jsx(_components.p,{children:`Array of campaign objects`}),_jsxs(Expandable,{title:`Campaign Object`,children:[_jsx(ResponseField,{name:`id`,type:`string`,id:`param-id`,children:_jsx(_components.p,{children:`Unique identifier for the campaign`})}),_jsx(ResponseField,{name:`name`,type:`string`,id:`param-name`,children:_jsx(_components.p,{children:`Campaign name in the ad platform`})}),_jsx(ResponseField,{name:`status`,type:`string`,id:`param-status-1`,children:_jsx(_components.p,{children:`Campaign status`})}),_jsx(ResponseField,{name:`platform`,type:`string`,id:`param-platform-1`,children:_jsx(_components.p,{children:`Ad platform the campaign belongs to`})}),_jsx(ResponseField,{name:`campaign_type`,type:`string`,id:`param-campaign-type`,children:_jsx(_components.p,{children:`Campaign type reported by the platform (for example search or display)`})}),_jsx(ResponseField,{name:`budget_amount`,type:`number`,id:`param-budget-amount`,children:_jsxs(_components.p,{children:[`Campaign budget, in `,_jsx(_components.code,{children:`currency`})]})}),_jsx(ResponseField,{name:`currency`,type:`string`,id:`param-currency`,children:_jsx(_components.p,{children:`Currency of the ad account`})}),_jsx(ResponseField,{name:`start_date`,type:`string`,id:`param-start-date`,children:_jsx(_components.p,{children:`Start date`})}),_jsx(ResponseField,{name:`end_date`,type:`string`,id:`param-end-date`,children:_jsx(_components.p,{children:`End date, when the campaign has one`})}),_jsx(ResponseField,{name:`has_live_traffic`,type:`boolean`,id:`param-has-live-traffic`,children:_jsx(_components.p,{children:`Whether Orwel saw visits from this campaign recently`})}),_jsx(ResponseField,{name:`last_traffic_at`,type:`string`,id:`param-last-traffic-at`,children:_jsx(_components.p,{children:`ISO 8601 timestamp of the last visit Orwel attributed to this campaign`})}),_jsx(ResponseField,{name:`metrics`,type:`object`,id:`param-metrics`,children:_jsxs(_components.p,{children:[`Totals over the last `,_jsx(_components.code,{children:`days`}),` days: `,_jsx(_components.code,{children:`days`}),`, `,_jsx(_components.code,{children:`impressions`}),`, `,_jsx(_components.code,{children:`clicks`}),`, `,_jsx(_components.code,{children:`cost`}),`, `,_jsx(_components.code,{children:`conversions`}),` and `,_jsx(_components.code,{children:`ctr`}),` (percentage)`]})})]})]}),`\n`,_jsx(ResponseField,{name:`pagination`,type:`object`,id:`param-pagination`,children:_jsx(_components.p,{children:`Pagination information`})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"List Campaigns","api":"GET https://api.orwel.io/api/v1/campaigns","description":"Ad campaigns of your workspace (Google Ads, Meta Ads) with impressions, clicks, cost, conversions and CTR over the last days.","href":"/api-reference/campaigns/list"}}},"mdxSourceWithNoJs":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,..._provideComponents(),...props.components},{CodeBlock,Expandable,Heading,Info,ParamField,RequestExample,ResponseExample,ResponseField}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Info)_missingMdxReference(`Info`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!RequestExample)_missingMdxReference(`RequestExample`,true);if(!ResponseExample)_missingMdxReference(`ResponseExample`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);return _jsxs(_Fragment,{children:[_jsx(Info,{children:_jsxs(_components.p,{children:[`Requires an `,_jsx(_components.a,{href:`/authentication`,children:`API key`}),` (`,_jsx(_components.code,{children:`orwel_sk_`}),`) with the `,_jsx(_components.code,{children:`campaigns:read`}),` scope.`]})}),`\n`,_jsxs(_components.p,{children:[`Campaigns come from the ad accounts connected in `,_jsx(_components.strong,{children:`Integrations`}),` (`,_jsx(_components.a,{href:`/integrations/google-ads`,children:`Google Ads`}),`, `,_jsx(_components.a,{href:`/integrations/meta-ads`,children:`Meta Ads`}),`). Each campaign carries the totals of its daily metrics over the window you choose with `,_jsx(_components.code,{children:`days`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`query-parameters`,children:`Query Parameters`}),`\n`,_jsx(ParamField,{query:`limit`,type:`integer`,default:`50`,id:`param-limit`,children:_jsx(_components.p,{children:`Maximum number of results to return (max: 100)`})}),`\n`,_jsx(ParamField,{query:`offset`,type:`integer`,default:`0`,id:`param-offset`,children:_jsx(_components.p,{children:`Number of results to skip for pagination`})}),`\n`,_jsx(ParamField,{query:`days`,type:`integer`,default:`30`,id:`param-days`,children:_jsx(_components.p,{children:`Window for the metrics totals, counted back from today (1 to 365)`})}),`\n`,_jsx(ParamField,{query:`status`,type:`string`,id:`param-status`,children:_jsxs(_components.p,{children:[`Filter by campaign status, as reported by the ad platform (for example `,_jsx(_components.code,{children:`active`}),`, `,_jsx(_components.code,{children:`enabled`}),` or `,_jsx(_components.code,{children:`paused`}),`)`]})}),`\n`,_jsx(ParamField,{query:`platform`,type:`string`,id:`param-platform`,children:_jsxs(_components.p,{children:[`Filter by ad platform, `,_jsx(_components.code,{children:`google_ads`}),` or `,_jsx(_components.code,{children:`meta_ads`})]})}),`\n`,_jsx(Heading,{level:`2`,id:`response`,children:`Response`}),`\n`,_jsxs(ResponseField,{name:`data`,type:`array`,id:`param-data`,children:[_jsx(_components.p,{children:`Array of campaign objects`}),_jsxs(Expandable,{title:`Campaign Object`,children:[_jsx(ResponseField,{name:`id`,type:`string`,id:`param-id`,children:_jsx(_components.p,{children:`Unique identifier for the campaign`})}),_jsx(ResponseField,{name:`name`,type:`string`,id:`param-name`,children:_jsx(_components.p,{children:`Campaign name in the ad platform`})}),_jsx(ResponseField,{name:`status`,type:`string`,id:`param-status-1`,children:_jsx(_components.p,{children:`Campaign status`})}),_jsx(ResponseField,{name:`platform`,type:`string`,id:`param-platform-1`,children:_jsx(_components.p,{children:`Ad platform the campaign belongs to`})}),_jsx(ResponseField,{name:`campaign_type`,type:`string`,id:`param-campaign-type`,children:_jsx(_components.p,{children:`Campaign type reported by the platform (for example search or display)`})}),_jsx(ResponseField,{name:`budget_amount`,type:`number`,id:`param-budget-amount`,children:_jsxs(_components.p,{children:[`Campaign budget, in `,_jsx(_components.code,{children:`currency`})]})}),_jsx(ResponseField,{name:`currency`,type:`string`,id:`param-currency`,children:_jsx(_components.p,{children:`Currency of the ad account`})}),_jsx(ResponseField,{name:`start_date`,type:`string`,id:`param-start-date`,children:_jsx(_components.p,{children:`Start date`})}),_jsx(ResponseField,{name:`end_date`,type:`string`,id:`param-end-date`,children:_jsx(_components.p,{children:`End date, when the campaign has one`})}),_jsx(ResponseField,{name:`has_live_traffic`,type:`boolean`,id:`param-has-live-traffic`,children:_jsx(_components.p,{children:`Whether Orwel saw visits from this campaign recently`})}),_jsx(ResponseField,{name:`last_traffic_at`,type:`string`,id:`param-last-traffic-at`,children:_jsx(_components.p,{children:`ISO 8601 timestamp of the last visit Orwel attributed to this campaign`})}),_jsx(ResponseField,{name:`metrics`,type:`object`,id:`param-metrics`,children:_jsxs(_components.p,{children:[`Totals over the last `,_jsx(_components.code,{children:`days`}),` days: `,_jsx(_components.code,{children:`days`}),`, `,_jsx(_components.code,{children:`impressions`}),`, `,_jsx(_components.code,{children:`clicks`}),`, `,_jsx(_components.code,{children:`cost`}),`, `,_jsx(_components.code,{children:`conversions`}),` and `,_jsx(_components.code,{children:`ctr`}),` (percentage)`]})})]})]}),`\n`,_jsx(ResponseField,{name:`pagination`,type:`object`,id:`param-pagination`,children:_jsx(_components.p,{children:`Pagination information`})}),`\n`,_jsxs(RequestExample,{children:[_jsx(CodeBlock,{filename:`cURL`,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://api.orwel.io/api/v1/campaigns?days=30\u0026limit=10\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization: Bearer orwel_sk_YOUR_KEY\"`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`JavaScript`,numberOfLines:`4`,language:`javascript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`javascript`,children:_jsxs(_components.code,{language:`javascript`,numberOfLines:`4`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` res`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` fetch`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'https://api.orwel.io/api/v1/campaigns?days=30'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` headers:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`Authorization:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:\" `Bearer \"}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:\"${\"}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`process`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`env`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:`ORWEL_API_KEY`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:\"`\"}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`})`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:`data`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` } `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` res`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`json`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`()`})]}),`\n`]})})})]}),`\n`,_jsx(ResponseExample,{children:_jsx(CodeBlock,{filename:`Response`,numberOfLines:`31`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`31`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"6f1c2a9e-3b7d-4c55-9a0e-2d8f4b1e7c30\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Search, brand terms\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"enabled\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"platform\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"google_ads\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"campaign_type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"SEARCH\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"budget_amount\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`50`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"currency\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"USD\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"start_date\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-09-01\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"end_date\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"has_live_traffic\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"last_traffic_at\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-11-03T18:22:10Z\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"created_at\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-09-01T12:00:00Z\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"metrics\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"days\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`30`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"impressions\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`18450`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"clicks\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`612`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"cost\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1384.2`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"conversions\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`41`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"ctr\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`3.32`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ],`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"pagination\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"limit\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`10`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"offset\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"total\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`4`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"List Campaigns","api":"GET https://api.orwel.io/api/v1/campaigns","description":"Ad campaigns of your workspace (Google Ads, Meta Ads) with impressions, clicks, cost, conversions and CTR over the last days.","href":"/api-reference/campaigns/list"}}}},"mdxExtracts":{"tableOfContents":[{"title":"Query Parameters","slug":"query-parameters","depth":2,"children":[]},{"title":"Response","slug":"response","depth":2,"children":[]}],"codeExamples":{"request":{"type":"RequestExample","children":[{"filename":"cURL","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"shellscript\">\u003ccode language=\"shellscript\" numberOfLines=\"2\">\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#DCDCAA\">curl\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"https://api.orwel.io/api/v1/campaigns?days=30\u0026#x26;limit=10\"\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -H\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"Authorization: Bearer orwel_sk_YOUR_KEY\"\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"JavaScript","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"javascript\">\u003ccode language=\"javascript\" numberOfLines=\"4\">\u003cspan class=\"line\">\u003cspan style=\"color:#CF222E;--shiki-dark:#569CD6\">const\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#4FC1FF\"> res\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\"> =\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#C586C0\"> await\u003c/span>\u003cspan style=\"color:#8250DF;--shiki-dark:#DCDCAA\"> fetch\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">(\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">'https://api.orwel.io/api/v1/campaigns?days=30'\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> headers:\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> { \u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">Authorization:\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> `Bearer \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#569CD6\">${\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">process\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#D4D4D4\">.\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">env\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#D4D4D4\">.\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#4FC1FF\">ORWEL_API_KEY\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#569CD6\">}\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">`\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">})\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#CF222E;--shiki-dark:#569CD6\">const\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> { \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#4FC1FF\">data\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> } \u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#C586C0\"> await\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> res\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">.\u003c/span>\u003cspan style=\"color:#8250DF;--shiki-dark:#DCDCAA\">json\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">()\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]},"response":{"type":"ResponseExample","children":[{"filename":"Response","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"31\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"data\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: [\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"6f1c2a9e-3b7d-4c55-9a0e-2d8f4b1e7c30\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"name\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Search, brand terms\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"status\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"enabled\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"platform\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"google_ads\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"campaign_type\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"SEARCH\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"budget_amount\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">50\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"currency\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"USD\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"start_date\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2026-09-01\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"end_date\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">null\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"has_live_traffic\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">true\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"last_traffic_at\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2026-11-03T18:22:10Z\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"created_at\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2026-09-01T12:00:00Z\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"metrics\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"days\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">30\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"impressions\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">18450\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"clicks\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">612\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"cost\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">1384.2\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"conversions\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">41\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"ctr\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">3.32\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> ],\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"pagination\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"limit\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">10\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"offset\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">0\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"total\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">4\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]}},"endpoint":{"title":"List Campaigns","path":"/api/v1/campaigns","servers":[{"url":"https://api.orwel.io"}],"method":"get","request":{"security":[{"title":"Bearer Auth","parameters":{"header":{"Authorization":{"type":"http","scheme":"bearer","description":"Bearer authentication header of the form `Bearer \u003ctoken>`, where `\u003ctoken>` is your auth token."}},"query":{},"cookie":{}}}],"parameters":{"query":{"limit":{"schema":[{"type":"integer","description":"Maximum number of results to return (max: 100)"}]},"offset":{"schema":[{"type":"integer","description":"Number of results to skip for pagination"}]},"days":{"schema":[{"type":"integer","description":"Window for the metrics totals, counted back from today (1 to 365)"}]},"status":{"schema":[{"type":"string","description":"Filter by campaign status, as reported by the ad platform (for example `active` , `enabled` or `paused` )"}]},"platform":{"schema":[{"type":"string","description":"Filter by ad platform, `google_ads` or `meta_ads`"}]}},"header":{},"cookie":{},"path":{}},"body":{}},"response":{"200":{"application/json":{"schemaArray":[{"type":"object","properties":{"data":[{"type":"array","items":[{"type":"object","properties":{"id":[{"type":"string","description":"Unique identifier for the campaign"}],"name":[{"type":"string","description":"Campaign name in the ad platform"}],"status":[{"type":"string","description":"Campaign status"}],"platform":[{"type":"string","description":"Ad platform the campaign belongs to"}],"campaign_type":[{"type":"string","description":"Campaign type reported by the platform (for example search or display)"}],"budget_amount":[{"type":"number","description":"Campaign budget, in `currency`"}],"currency":[{"type":"string","description":"Currency of the ad account"}],"start_date":[{"type":"string","description":"Start date"}],"end_date":[{"type":"string","description":"End date, when the campaign has one"}],"has_live_traffic":[{"type":"boolean","description":"Whether Orwel saw visits from this campaign recently"}],"last_traffic_at":[{"type":"string","description":"ISO 8601 timestamp of the last visit Orwel attributed to this campaign"}],"metrics":[{"type":"object","properties":{},"description":"Totals over the last `days` days: `days` , `impressions` , `clicks` , `cost` , `conversions` and `ctr` (percentage)"}]}}],"description":"Array of campaign objects"}],"pagination":[{"type":"object","properties":{},"description":"Pagination information"}]}}],"examples":{"example":{"value":{"data":[{"id":"\u003cstring>","name":"\u003cstring>","status":"\u003cstring>","platform":"\u003cstring>","campaign_type":"\u003cstring>","budget_amount":123,"currency":"\u003cstring>","start_date":"\u003cstring>","end_date":"\u003cstring>","has_live_traffic":true,"last_traffic_at":"\u003cstring>","metrics":{}}],"pagination":{}}}}}}},"deprecated":false}},"jsLinks":[],"subdomain":"orwel-docs","siteName":"Orwel","title":"List Campaigns - Orwel","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-04T16:47:03.097Z","originalFileLocation":"api-reference/campaigns/list.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Ad campaigns of your workspace (Google Ads, Meta Ads) with impressions, clicks, cost, conversions and CTR over the last days.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Orwel\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/orwel-docs/hIdAacvI_SxZwyo6/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/docs/mintlify-assets/_mintlify/favicons/orwel-docs/hIdAacvI_SxZwyo6/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/orwel-docs/hIdAacvI_SxZwyo6/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/orwel-docs/hIdAacvI_SxZwyo6/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/orwel-docs/hIdAacvI_SxZwyo6/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/orwel-docs/hIdAacvI_SxZwyo6/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/orwel-docs/hIdAacvI_SxZwyo6/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/orwel-docs/hIdAacvI_SxZwyo6/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/orwel-docs/hIdAacvI_SxZwyo6/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"List Campaigns - Orwel\">\u003cmeta data-mint-head property=\"og:description\" content=\"Ad campaigns of your workspace (Google Ads, Meta Ads) with impressions, clicks, cost, conversions and CTR over the last days.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Orwel\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://www.orwel.io/docs/api-reference/campaigns/list\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://orwel-docs.mintlify.app/_mintlify/api/og/v2?division=Campaigns\u0026amp;title=List+Campaigns\u0026amp;description=Ad+campaigns+of+your+workspace+%28Google+Ads%2C+Meta+Ads%29+with+impressions%2C+clicks%2C+cost%2C+conversions+and+CTR+over+the+last+days.\u0026amp;theme=c069ada5c2f261fd9ddbf68b\u0026amp;signature=eca7567735bef66d801b4f39fe2554b815d4830fa027d4059101f1b91d032cb4\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"List Campaigns - Orwel\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Ad campaigns of your workspace (Google Ads, Meta Ads) with impressions, clicks, cost, conversions and CTR over the last days.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://orwel-docs.mintlify.app/_mintlify/api/og/v2?division=Campaigns\u0026amp;title=List+Campaigns\u0026amp;description=Ad+campaigns+of+your+workspace+%28Google+Ads%2C+Meta+Ads%29+with+impressions%2C+clicks%2C+cost%2C+conversions+and+CTR+over+the+last+days.\u0026amp;theme=c069ada5c2f261fd9ddbf68b\u0026amp;signature=eca7567735bef66d801b4f39fe2554b815d4830fa027d4059101f1b91d032cb4\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/docs/mintlify-assets/_mintlify/favicons/orwel-docs/hIdAacvI_SxZwyo6/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Orwel\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#2853ff\">\u003clink data-mint-head rel=\"canonical\" href=\"https://www.orwel.io/docs/api-reference/campaigns/list\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/docs/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/api-reference/campaigns/list.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://www.orwel.io/#organization\",\"name\":\"Orwel\",\"url\":\"https://www.orwel.io\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/orwel-docs/oZX7rBe1PSAnJ1a6/logo/light.svg?fit=max\u0026auto=format\u0026n=oZX7rBe1PSAnJ1a6\u0026q=85\u0026s=80bb317ac5f334005787239fe5fc49d8\"}},{\"@type\":\"WebSite\",\"@id\":\"https://www.orwel.io/docs#website\",\"name\":\"Orwel\",\"url\":\"https://www.orwel.io/docs\",\"publisher\":{\"@id\":\"https://www.orwel.io/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://www.orwel.io/docs/api-reference/campaigns/list#webpage\",\"url\":\"https://www.orwel.io/docs/api-reference/campaigns/list\",\"name\":\"List Campaigns\",\"description\":\"Ad campaigns of your workspace (Google Ads, Meta Ads) with impressions, clicks, cost, conversions and CTR over the last days.\",\"dateModified\":\"2026-11-04T16:47:03.097Z\",\"isPartOf\":{\"@id\":\"https://www.orwel.io/docs#website\"},\"breadcrumb\":{\"@id\":\"https://www.orwel.io/docs/api-reference/campaigns/list#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://www.orwel.io/docs/api-reference/campaigns/list#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Orwel\",\"item\":\"https://www.orwel.io/docs\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"List Campaigns\",\"item\":\"https://www.orwel.io/docs/api-reference/campaigns/list\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://www.orwel.io/docs/api-reference/campaigns/list#apireference\",\"headline\":\"List Campaigns\",\"name\":\"List Campaigns\",\"description\":\"Ad campaigns of your workspace (Google Ads, Meta Ads) with impressions, clicks, cost, conversions and CTR over the last days.\",\"url\":\"https://www.orwel.io/docs/api-reference/campaigns/list\",\"mainEntityOfPage\":{\"@id\":\"https://www.orwel.io/docs/api-reference/campaigns/list#webpage\"},\"dateModified\":\"2026-11-04T16:47:03.097Z\",\"publisher\":{\"@id\":\"https://www.orwel.io/#organization\"},\"isPartOf\":{\"@id\":\"https://www.orwel.io/docs#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Orwel\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Orwel","nav":{"global":null,"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/introduction"}]},{"tab":"API Reference","groups":[{"group":"API Reference","pages":[{"title":"API Reference","href":"/api-reference/introduction"}]},{"group":"Leads","pages":[{"title":"List Leads","api":"GET https://api.orwel.io/api/v1/leads","href":"/api-reference/leads/list"},{"title":"Get Lead","api":"GET https://api.orwel.io/api/v1/leads/{id}","href":"/api-reference/leads/get"},{"title":"Create Lead","api":"POST https://api.orwel.io/api/v1/leads","href":"/api-reference/leads/create"},{"title":"Update Lead","api":"PATCH https://api.orwel.io/api/v1/leads/{id}","href":"/api-reference/leads/update"}]},{"group":"Users","pages":[{"title":"List Users","api":"GET https://api.orwel.io/api/v1/users","href":"/api-reference/users/list"},{"title":"Get User","api":"GET https://api.orwel.io/api/v1/users/{id}","href":"/api-reference/users/get"}]},{"group":"Identities","pages":[{"title":"List Identities","api":"GET https://api.orwel.io/api/v1/identities","href":"/api-reference/identities/list"},{"title":"Get Identity","api":"GET https://api.orwel.io/api/v1/identities/{id}","href":"/api-reference/identities/get"},{"title":"Create Identity","api":"POST https://api.orwel.io/api/v1/identities","href":"/api-reference/identities/create"},{"title":"Update Identity","api":"PATCH https://api.orwel.io/api/v1/identities/{id}","href":"/api-reference/identities/update"},{"title":"Get Personalities","api":"GET https://api.orwel.io/api/v1/identities/{id}/personalities","href":"/api-reference/identities/personalities"},{"title":"Get Activity","api":"GET https://api.orwel.io/api/v1/identities/{id}/activity","href":"/api-reference/identities/activity"}]},{"group":"Companies","pages":[{"title":"List Companies","api":"GET https://api.orwel.io/api/v1/companies","href":"/api-reference/companies/list"},{"title":"Get Company","api":"GET https://api.orwel.io/api/v1/companies/{id}","href":"/api-reference/companies/get"}]},{"group":"Visitor Lists","pages":[{"title":"List Visitor Lists","api":"GET https://api.orwel.io/api/v1/lists","description":"Retrieve a paginated list of visitor lists (segments)","href":"/api-reference/lists/list"}]},{"group":"Campaigns","pages":[{"title":"List Campaigns","api":"GET https://api.orwel.io/api/v1/campaigns","href":"/api-reference/campaigns/list"}]},{"group":"Conversions","pages":[{"title":"List Conversions","api":"GET https://api.orwel.io/api/v1/conversions","description":"Every conversion of your workspace, newest first, with the lead, identity and session it belongs to. Use the id to sync conversions to a CRM or warehouse without duplicates.","href":"/api-reference/conversions/list"},{"title":"Get Conversion","api":"GET https://api.orwel.io/api/v1/conversions/{id}","href":"/api-reference/conversions/get"}]},{"group":"Reports","pages":[{"title":"Generate Report","api":"POST https://api.orwel.io/api/v1/reports","href":"/api-reference/reports/create"}]}]}]},"basePath":"","title":"List Campaigns - Orwel","buildId":"dpl_GWQzn6k13MqphA3qck3hQKoQXDzM","deploymentId":"dpl_GWQzn6k13MqphA3qck3hQKoQXDzM","dynamics":["c2aa737661","2b790eda92","b0f84f53ff"],"chunks":["OpenApiReferenceProvider-vlKR2tYY.js","utils-DBDPZSWe.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-CxHK4zz2.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-27b98BOz.js","snippetPresets-DNnui32z.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-cDVS2zyo.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-BEE-OyDQ.js","shallow-fqEMZOYR.js","getApiPlaygroundDisplay-BPut1_OB.js","CodeSnippet-h9vp8UTG.js","CodeSnippets-DoMjCW5Q.js","Page-BOWGOUSK.js","getPastedJson-C4r-hmQ_.js","icon-CCDahfhO.js","MethodPill-Dpq0JSrS.js","DuplicateIcon-BGPwFt-j.js","createIcon-DBULrQp7.js","DynamicMarkdown-B74atANy.js","SectionHeading-DZCpbSmT.js","axios-vUo_bRtp.js"]}