Returns the views and spend of one campaign for each country, most views first. The country of a view comes from the audience of the account that posted the clip.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"ClipStake Developer Docs","description":"Developer docs for the ClipStake APIs. The Console API tracks Instagram and X media. The Agency API reads your campaign data. The Creator API submits your clips.","colors":{"primary":"#CE1111","light":"#E34A4A","dark":"#7C0A0A"},"logo":{"light":"https://mintcdn.com/clipstake-618eb5ee/Jsnu6q5jiHt_YP3R/clipstake-logo-light.svg?fit=max\u0026auto=format\u0026n=Jsnu6q5jiHt_YP3R\u0026q=85\u0026s=7681e523e43fb1457a67bd8fef8635d9","dark":"https://mintcdn.com/clipstake-618eb5ee/Jsnu6q5jiHt_YP3R/clipstake-logo-dark.svg?fit=max\u0026auto=format\u0026n=Jsnu6q5jiHt_YP3R\u0026q=85\u0026s=eb665430b972a58134b8c16b137c3230"},"favicon":"https://mintcdn.com/clipstake-618eb5ee/l5j-30uYBX6r2Dqv/favicon.svg?fit=max\u0026auto=format\u0026n=l5j-30uYBX6r2Dqv\u0026q=85\u0026s=f48b590257eaf8c7112fb416b1cbe4e4","appearance":{"default":"system"},"background":{"color":{"light":"#FFFBFA","dark":"#000000"}},"navbar":{"links":[{"href":"https://status.clipstake.com","label":"Status"}],"primary":{"type":"button","label":"Open Console","href":"https://console.clipstake.com"}},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"clipstake-618eb5ee","hasAudioNarration":false,"actualSubdomain":"clipstake-618eb5ee","customDomains":["docs.clipstake.com"],"gitSource":{"type":"github","owner":"clipstake","repo":"bedrock","deployBranch":"prod","contentDirectory":"apps/docs","isPrivate":true,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"DISABLED"},"WEB_MCP":{"status":"DISABLED"}},"buildId":"6aeb6abedfc350f7e13f9bfb","clientVersion":"0.0.4111","searchFilterCounts":[{"language":"default","tag":"API Reference","count":72},{"language":"default","tag":"Console API","count":60},{"language":"default","tag":"Submissions","count":28},{"language":"default","tag":"Developer Guides","count":19},{"language":"default","tag":"Instagram","count":17},{"language":"default","tag":"Agency API","count":15},{"language":"default","tag":"X","count":14},{"language":"default","tag":"YouTube","count":14},{"language":"default","tag":"Brand API","count":13},{"language":"default","tag":"Accounts","count":13}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","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":"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":"editor-metadata","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},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"brand-api/api-reference/campaigns/get-campaign-countries","slug":"/brand-api/api-reference/campaigns/get-campaign-countries","pageMetadata":{"title":"Get campaign countries","description":"Returns the views and spend of one campaign for each country, most views first. The country of a view comes from the audience of the account that posted the clip.","deprecated":null,"version":null,"sidebarTitle":"Get campaign countries","openapi":"/brand-api/openapi.json get /campaigns/{campaign_id}/countries","href":"/brand-api/api-reference/campaigns/get-campaign-countries","autogeneratedByOpenApi":true},"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: \"Returns the views and spend of one campaign for each country, most views first. The country of a view comes from the audience of the account that posted the clip.\"\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}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Get campaign countries","description":"Returns the views and spend of one campaign for each country, most views first. The country of a view comes from the audience of the account that posted the clip.","deprecated":null,"version":null,"sidebarTitle":"Get campaign countries","openapi":"/brand-api/openapi.json get /campaigns/{campaign_id}/countries","href":"/brand-api/api-reference/campaigns/get-campaign-countries","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":["/_mintlify/custom/clipstake-618eb5ee/39a3d3e929151a04/navbar-cta.js","/_mintlify/custom/clipstake-618eb5ee/53f114a48bb87823/hero-shader.js"],"openApiReferenceData":{"operation":{"operationId":"campaigns-countries","summary":"Get campaign countries","description":"Returns the views and spend of one campaign for each country, most views first. The country of a view comes from the audience of the account that posted the clip.","tags":["Campaigns"],"security":["f06d77f9-ffee-4cff-a63a-d5e158e1ac0e"],"parameters":["4e890b1f-9b18-4dfd-9478-8cf47a6f7d87"],"responses":{"200":"ee415eb8-79d4-4919-a387-ff7fcedecfb0","401":"54ff1475-9cfd-458d-92ac-4b2b1062d1a0","404":"359c0131-5768-4da1-a053-481afdc0bf4b","500":"8df0e21a-1333-46f1-8735-fb83c77ec1c7"},"x-mint":{"href":"/brand-api/api-reference/campaigns/get-campaign-countries"},"method":"get","type":"path","servers":["32291b76-29b0-4420-94cf-a5e5f1ab5194"],"path":"/campaigns/{campaign_id}/countries","baseUrlOptions":["https://app.clipstake.com/api/v1/brand"],"title":"Get campaign countries","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"4e890b1f-9b18-4dfd-9478-8cf47a6f7d87":{"in":"path","name":"campaign_id","schema":{"type":"string","description":"Campaign ID. Format: cmp_ followed by 32 lowercase hexadecimal characters.","example":"cmp_8a1d4e2f6b7c4d9e8f0a1b2c3d4e5f60","isRequired":true,"uniqueKey":"","typeLabel":"string"},"required":true,"description":"Campaign ID. Format: cmp_ followed by 32 lowercase hexadecimal characters."}},"responses":{"ee415eb8-79d4-4919-a387-ff7fcedecfb0":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"campaign_id":{"type":"string","pattern":"^cmp_[0-9a-f]{32}$","description":"Campaign ID.","example":"cmp_8a1d4e2f6b7c4d9e8f0a1b2c3d4e5f60","isRequired":true,"uniqueKey":"campaign_id","typeLabel":"string"},"total_views":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Every view on the clips that can earn. The countries and `other` add up to this number.","example":1180000,"isRequired":true,"uniqueKey":"total_views","typeLabel":"integer"},"total_spend_cents":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"The spend of every country and `other` added together, in cents.","example":236000,"isRequired":true,"uniqueKey":"total_spend_cents","typeLabel":"integer"},"budget_cents":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"The campaign budget, in cents. `spend_percent` is a percentage of this amount.","example":500000,"isRequired":true,"uniqueKey":"budget_cents","typeLabel":"integer"},"countries":{"type":"array","items":{"type":"object","properties":{"country_code":{"type":"string","description":"The two-letter ISO 3166-1 country code, in upper case.","example":"US","isRequired":true,"uniqueKey":"countries.items.[INDEX].country_code","typeLabel":"string"},"views":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"The views from this country, estimated from the audience of each clip's account.","example":410000,"isRequired":true,"uniqueKey":"countries.items.[INDEX].views","typeLabel":"integer"},"views_percent":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"The views from this country as a percentage of `total_views`, rounded. The countries and `other` add up to 100.","example":35,"isRequired":true,"uniqueKey":"countries.items.[INDEX].views_percent","typeLabel":"integer"},"spend_cents":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"The amount that the views from this country earned, in cents, at the campaign rates and after the most that one clip can earn.","example":82000,"isRequired":true,"uniqueKey":"countries.items.[INDEX].spend_cents","typeLabel":"integer"},"spend_percent":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"`spend_cents` as a percentage of the budget, rounded.","example":16,"isRequired":true,"uniqueKey":"countries.items.[INDEX].spend_percent","typeLabel":"integer"}},"required":["country_code","views","views_percent","spend_cents","spend_percent"],"additionalProperties":false,"description":"The views and spend from one country.","uniqueKey":"countries.items.[INDEX]","typeLabel":"object"},"description":"Each country, most views first.","isRequired":true,"uniqueKey":"countries","typeLabel":"object[]"},"other":{"type":"object","properties":{"views":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Views that have no country. This is `unattributed_views` plus `views_without_geo_data`.","example":52000,"isRequired":true,"uniqueKey":"other.views","typeLabel":"integer"},"views_percent":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"`views` as a percentage of `total_views`, rounded.","example":4,"isRequired":true,"uniqueKey":"other.views_percent","typeLabel":"integer"},"spend_cents":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"The amount that these views earned, in cents.","example":6400,"isRequired":true,"uniqueKey":"other.spend_cents","typeLabel":"integer"},"spend_percent":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"`spend_cents` as a percentage of the budget, rounded.","example":1,"isRequired":true,"uniqueKey":"other.spend_percent","typeLabel":"integer"},"unattributed_views":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Views on clips with audience data, from the part of the audience that has no country.","example":30000,"isRequired":true,"uniqueKey":"other.unattributed_views","typeLabel":"integer"},"views_without_geo_data":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Views on clips whose account has no audience data.","example":22000,"isRequired":true,"uniqueKey":"other.views_without_geo_data","typeLabel":"integer"}},"required":["views","views_percent","spend_cents","spend_percent","unattributed_views","views_without_geo_data"],"additionalProperties":false,"description":"The views that have no country.","isRequired":true,"uniqueKey":"other","typeLabel":"object"}},"required":["campaign_id","total_views","total_spend_cents","budget_cents","countries","other"],"additionalProperties":false,"description":"Where the viewers of a campaign's clips are. These are the figures on the campaign Analytics tab.","uniqueKey":"","typeLabel":"object"},"example":{"campaign_id":"cmp_8a1d4e2f6b7c4d9e8f0a1b2c3d4e5f60","total_views":1180000,"total_spend_cents":220000,"budget_cents":500000,"countries":[{"country_code":"US","views":610000,"views_percent":52,"spend_cents":114000,"spend_percent":23},{"country_code":"GB","views":290000,"views_percent":25,"spend_cents":54000,"spend_percent":11},{"country_code":"CA","views":228000,"views_percent":19,"spend_cents":42000,"spend_percent":8}],"other":{"views":52000,"views_percent":4,"spend_cents":10000,"spend_percent":2,"unattributed_views":30000,"views_without_geo_data":22000}},"examples":{"Example":{"title":"Example","value":{"campaign_id":"cmp_8a1d4e2f6b7c4d9e8f0a1b2c3d4e5f60","total_views":1180000,"total_spend_cents":220000,"budget_cents":500000,"countries":[{"country_code":"US","views":610000,"views_percent":52,"spend_cents":114000,"spend_percent":23},{"country_code":"GB","views":290000,"views_percent":25,"spend_cents":54000,"spend_percent":11},{"country_code":"CA","views":228000,"views_percent":19,"spend_cents":42000,"spend_percent":8}],"other":{"views":52000,"views_percent":4,"spend_cents":10000,"spend_percent":2,"unattributed_views":30000,"views_without_geo_data":22000}}}},"exampleType":"examples"}},"exampleType":"examples"},"54ff1475-9cfd-458d-92ac-4b2b1062d1a0":{"description":"Unauthorized","content":{"application/json":{"schema":{"type":"object","title":"Unauthorized error (401)","description":"The error envelope every failed request returns.","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["unauthorized"],"description":"A stable, machine-readable error code.","isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"What went wrong, in words a person can act on.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"request_id":{"type":"string","description":"The id of this request. Quote it when you contact support.","isRequired":true,"uniqueKey":"error.request_id","typeLabel":"string"}},"required":["code","message","request_id"],"additionalProperties":false,"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"additionalProperties":false,"uniqueKey":"","typeLabel":"Unauthorized error (401) · object"},"example":{"error":{"code":"unauthorized","message":"Provide a valid API key as `Authorization: Bearer cb_live_...`.","request_id":"0b7e4d2c-9a1f-4e3b-8c6d-5f2a1b9c7e34"}},"examples":{"Example":{"title":"Example","value":{"error":{"code":"unauthorized","message":"Provide a valid API key as `Authorization: Bearer cb_live_...`.","request_id":"0b7e4d2c-9a1f-4e3b-8c6d-5f2a1b9c7e34"}}}},"exampleType":"examples"}},"exampleType":"examples"},"359c0131-5768-4da1-a053-481afdc0bf4b":{"description":"Not found","content":{"application/json":{"schema":{"type":"object","title":"Not found error (404)","description":"The error envelope every failed request returns.","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["not_found"],"description":"A stable, machine-readable error code.","isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"What went wrong, in words a person can act on.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"request_id":{"type":"string","description":"The id of this request. Quote it when you contact support.","isRequired":true,"uniqueKey":"error.request_id","typeLabel":"string"}},"required":["code","message","request_id"],"additionalProperties":false,"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"additionalProperties":false,"uniqueKey":"","typeLabel":"Not found error (404) · object"},"example":{"error":{"code":"not_found","message":"No such campaign.","request_id":"3c9a8b7d-2e1f-4a6b-9c8d-7e6f5a4b3c21"}},"examples":{"Example":{"title":"Example","value":{"error":{"code":"not_found","message":"No such campaign.","request_id":"3c9a8b7d-2e1f-4a6b-9c8d-7e6f5a4b3c21"}}}},"exampleType":"examples"}},"exampleType":"examples"},"8df0e21a-1333-46f1-8735-fb83c77ec1c7":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"object","title":"Internal server error error (500)","description":"The error envelope every failed request returns.","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["internal_error"],"description":"A stable, machine-readable error code.","isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"What went wrong, in words a person can act on.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"request_id":{"type":"string","description":"The id of this request. Quote it when you contact support.","isRequired":true,"uniqueKey":"error.request_id","typeLabel":"string"}},"required":["code","message","request_id"],"additionalProperties":false,"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"additionalProperties":false,"uniqueKey":"","typeLabel":"Internal server error error (500) · object"},"example":{"error":{"code":"internal_error","message":"An unexpected error occurred.","request_id":"5a4b3c2d-1e0f-4a9b-8c7d-6e5f4a3b2c19"}},"examples":{"Example":{"title":"Example","value":{"error":{"code":"internal_error","message":"An unexpected error occurred.","request_id":"5a4b3c2d-1e0f-4a9b-8c7d-6e5f4a3b2c19"}}}},"exampleType":"examples"}},"exampleType":"examples"}},"security":{"f06d77f9-ffee-4cff-a63a-d5e158e1ac0e":{"Authorization":{"type":"http","scheme":"bearer","scopes":[],"schemeName":"Authorization"}}},"servers":{"32291b76-29b0-4420-94cf-a5e5f1ab5194":{"url":"https://app.clipstake.com/api/v1/brand"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","scopes":[],"schemeName":"Authorization"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Bearer authentication header of the form `Bearer \u003ctoken>`, where `\u003ctoken>` is your auth token.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"Authorization","name":"Authorization"}],"title":"Authorization"}]},"originalFileLocation":"brand-api/openapi.json"},"subdomain":"clipstake-618eb5ee","siteName":"ClipStake Developer Docs","title":"Get campaign countries - ClipStake Developer Docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-04T11:43:13.951Z","originalFileLocation":"brand-api/api-reference/campaigns/get-campaign-countries.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=\"Returns the views and spend of one campaign for each country, most views first. The country of a view comes from the audience of the account that posted the clip.\">\u003cmeta data-mint-head name=\"application-name\" content=\"ClipStake Developer Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/clipstake-618eb5ee/86fyYlt-B-ruXaHw/_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=\"/mintlify-assets/_mintlify/favicons/clipstake-618eb5ee/86fyYlt-B-ruXaHw/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/clipstake-618eb5ee/86fyYlt-B-ruXaHw/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/clipstake-618eb5ee/86fyYlt-B-ruXaHw/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/clipstake-618eb5ee/86fyYlt-B-ruXaHw/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/clipstake-618eb5ee/86fyYlt-B-ruXaHw/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/clipstake-618eb5ee/86fyYlt-B-ruXaHw/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/clipstake-618eb5ee/86fyYlt-B-ruXaHw/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/clipstake-618eb5ee/86fyYlt-B-ruXaHw/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Get campaign countries - ClipStake Developer Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Returns the views and spend of one campaign for each country, most views first. The country of a view comes from the audience of the account that posted the clip.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"ClipStake Developer Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.clipstake.com/brand-api/api-reference/campaigns/get-campaign-countries\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://clipstake-618eb5ee.mintlify.site/_mintlify/api/og/v2?division=Campaigns\u0026amp;title=Get+campaign+countries\u0026amp;description=Returns+the+views+and+spend+of+one+campaign+for+each+country%2C+most+views+first.+The+country+of+a+view+comes+from+the+audience+of+the+account+that+posted+the+cli\u0026amp;theme=752973628dc7a5916322a68b\u0026amp;signature=c5ed44b9a6907183bcc2a02bb540365a8dd5b4adf54af56e31edd5514281d58d\">\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=\"Get campaign countries - ClipStake Developer Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Returns the views and spend of one campaign for each country, most views first. The country of a view comes from the audience of the account that posted the clip.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://clipstake-618eb5ee.mintlify.site/_mintlify/api/og/v2?division=Campaigns\u0026amp;title=Get+campaign+countries\u0026amp;description=Returns+the+views+and+spend+of+one+campaign+for+each+country%2C+most+views+first.+The+country+of+a+view+comes+from+the+audience+of+the+account+that+posted+the+cli\u0026amp;theme=752973628dc7a5916322a68b\u0026amp;signature=c5ed44b9a6907183bcc2a02bb540365a8dd5b4adf54af56e31edd5514281d58d\">\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=\"/mintlify-assets/_mintlify/favicons/clipstake-618eb5ee/86fyYlt-B-ruXaHw/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"ClipStake Developer Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#CE1111\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.clipstake.com/brand-api/api-reference/campaigns/get-campaign-countries\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/brand-api/api-reference/campaigns/get-campaign-countries.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.clipstake.com/#organization\",\"name\":\"ClipStake Developer Docs\",\"url\":\"https://docs.clipstake.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/clipstake-618eb5ee/Jsnu6q5jiHt_YP3R/clipstake-logo-light.svg?fit=max\u0026auto=format\u0026n=Jsnu6q5jiHt_YP3R\u0026q=85\u0026s=7681e523e43fb1457a67bd8fef8635d9\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.clipstake.com#website\",\"name\":\"ClipStake Developer Docs\",\"url\":\"https://docs.clipstake.com\",\"publisher\":{\"@id\":\"https://docs.clipstake.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.clipstake.com/brand-api/api-reference/campaigns/get-campaign-countries#webpage\",\"url\":\"https://docs.clipstake.com/brand-api/api-reference/campaigns/get-campaign-countries\",\"name\":\"Get campaign countries\",\"description\":\"Returns the views and spend of one campaign for each country, most views first. The country of a view comes from the audience of the account that posted the clip.\",\"dateModified\":\"2026-11-04T11:43:13.951Z\",\"isPartOf\":{\"@id\":\"https://docs.clipstake.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.clipstake.com/brand-api/api-reference/campaigns/get-campaign-countries#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.clipstake.com/brand-api/api-reference/campaigns/get-campaign-countries#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"API Reference\",\"item\":\"https://docs.clipstake.com/brand-api/api-reference/brands/list-brands\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Campaigns\",\"item\":\"https://docs.clipstake.com/brand-api/api-reference/campaigns/list-campaigns\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Get campaign countries\",\"item\":\"https://docs.clipstake.com/brand-api/api-reference/campaigns/get-campaign-countries\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.clipstake.com/brand-api/api-reference/campaigns/get-campaign-countries#apireference\",\"headline\":\"Get campaign countries\",\"name\":\"Get campaign countries\",\"description\":\"Returns the views and spend of one campaign for each country, most views first. The country of a view comes from the audience of the account that posted the clip.\",\"url\":\"https://docs.clipstake.com/brand-api/api-reference/campaigns/get-campaign-countries\",\"mainEntityOfPage\":{\"@id\":\"https://docs.clipstake.com/brand-api/api-reference/campaigns/get-campaign-countries#webpage\"},\"dateModified\":\"2026-11-04T11:43:13.951Z\",\"publisher\":{\"@id\":\"https://docs.clipstake.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.clipstake.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"ClipStake Developer Docs\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"ClipStake Developer Docs\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/brand-api/api-reference/campaigns/get-campaign-countries.md","siteName":"ClipStake Developer Docs","nav":{"global":null,"products":[{"product":"Console API","icon":"terminal","description":"For developers who track media in the console.","pages":[{"title":"Console API","href":"/introduction"}]},{"product":"Agency API","icon":"chart-line","description":"For agencies that read their campaign data and create campaigns.","pages":[{"title":"Agency API","href":"/agency-api/introduction"}]},{"product":"Brand API","icon":"store","description":"For brands that read the data of their campaigns.","groups":[{"group":"Getting Started","pages":[{"title":"Brand API","href":"/brand-api/introduction"},{"title":"Quickstart","href":"/brand-api/quickstart"}]},{"group":"API Reference","pages":[{"group":"Brands","pages":[{"title":"List brands","deprecated":null,"version":null,"sidebarTitle":"List brands","openapi":"/brand-api/openapi.json get /brands","href":"/brand-api/api-reference/brands/list-brands"},{"title":"Get a brand","deprecated":null,"version":null,"sidebarTitle":"Get a brand","openapi":"/brand-api/openapi.json get /brands/{brand_id}","href":"/brand-api/api-reference/brands/get-a-brand"}]},{"group":"Campaigns","pages":[{"title":"List campaigns","deprecated":null,"version":null,"sidebarTitle":"List campaigns","openapi":"/brand-api/openapi.json get /campaigns","href":"/brand-api/api-reference/campaigns/list-campaigns"},{"title":"Get a campaign","deprecated":null,"version":null,"sidebarTitle":"Get a campaign","openapi":"/brand-api/openapi.json get /campaigns/{campaign_id}","href":"/brand-api/api-reference/campaigns/get-a-campaign"},{"title":"Get campaign metrics","description":"Returns the views, spend, CPM and engagement of one campaign. These are the figures on the campaign Analytics tab. A metric that was not measured is null.","deprecated":null,"version":null,"sidebarTitle":"Get campaign metrics","openapi":"/brand-api/openapi.json get /campaigns/{campaign_id}/metrics","href":"/brand-api/api-reference/campaigns/get-campaign-metrics"},{"title":"Get campaign countries","deprecated":null,"version":null,"sidebarTitle":"Get campaign countries","openapi":"/brand-api/openapi.json get /campaigns/{campaign_id}/countries","href":"/brand-api/api-reference/campaigns/get-campaign-countries"}]},{"group":"Clips","pages":[{"title":"List the clips of a campaign","description":"Returns the clips submitted to one campaign, newest first. A campaign ID you cannot read gives 404.","deprecated":null,"version":null,"sidebarTitle":"List the clips of a campaign","openapi":"/brand-api/openapi.json get /campaigns/{campaign_id}/clips","href":"/brand-api/api-reference/clips/list-the-clips-of-a-campaign"},{"title":"Get a clip","deprecated":null,"version":null,"sidebarTitle":"Get a clip","openapi":"/brand-api/openapi.json get /clips/{clip_id}","href":"/brand-api/api-reference/clips/get-a-clip"}]}]},{"group":"Developer Guides","pages":[{"title":"Authentication","href":"/brand-api/authentication"},{"title":"Pagination","href":"/brand-api/pagination"},{"title":"Errors","href":"/brand-api/errors"}]}]},{"product":"Creator API","icon":"clapperboard","description":"For creators who submit clips from their own tools.","pages":[{"title":"Creator API","href":"/creator-api/introduction"}]}]},"basePath":"","title":"Get campaign countries - ClipStake Developer Docs","buildId":"dpl_DqYu5MPb49gWBBbUGgpHQUmCHY3P","deploymentId":"dpl_DqYu5MPb49gWBBbUGgpHQUmCHY3P","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-CybtLBIt.js","utils-BMLj2fvV.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-B6In562Y.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-Dr8Mfhp9.js","snippetPresets-2rmQvMVl.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-WMqJYdZj.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-CJ-MlPHu.js","shallow-dY3TMRCk.js","getApiPlaygroundDisplay-v-1B2bKm.js","CodeSnippet-BDhiTB7U.js","CodeSnippets-D9hnzQcS.js","Page-C4GwDT3_.js","getPastedJson-Th2V45jI.js","icon-BQXch1W9.js","MethodPill-BCqUneP3.js","DuplicateIcon-Q_-bhurZ.js","createIcon-DUjLHRqp.js","DynamicMarkdown-B-f2cqXQ.js","SectionHeading-Da5NsV4v.js","axios-vUo_bRtp.js","Markdown-D13FWkIM.js","clsx-D3Isdib3.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-C-XZBk9h.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink--qIqmmVG.js"]}