V4 Marketing API
HomeAPI Reference
Changelog
HomeAPI Reference
Changelog
V4 Marketing
  1. Facebook Ads
  • Guia Rápido
  • Facebook Ads
    • Overview
    • Accounts
      GET
    • Ads
      GET
    • Ad Sets
      GET
    • Campaigns
      GET
    • Actions
      GET
    • Ad Creatives
      GET
    • Demographics
      GET
    • Platforms
      GET
    • Regions
      GET
    • Ad Config
      GET
    • Ad Set Config
      GET
    • Campaigns Config
      GET
  • Google Ads
    • Overview
    • Accounts
    • Ad Group Ads
    • Ad Groups
    • Campaigns
    • Keywords
    • Age Range
    • Gender
    • Geographic
    • Conversions
    • Conversion Segmented Ad Group Ads
    • Conversion Segmented Ad Groups
    • Conversion Segmented Campaigns
    • Campaigns Criterion
    • Ad Group Criterion
  • Tray
    • Overview
    • Customers
    • Orders
    • Products
  • Shopify
    • Overview
    • Customers
    • Orders
    • Order Items
    • Products
HomeAPI Reference
Changelog
HomeAPI Reference
Changelog
V4 Marketing
  1. Facebook Ads

Regions

GET
https://api.data.v4.marketing/v1/facebook/ads/region
Retrieve Facebook Ads regions data with performance metrics segmented by geographic location.
This endpoint provides location-based insights including country and region-level performance data.
Dimensions Available:
Adset ID, ad ID, region, country, objective
Metrics: impressions, reach, clicks, spend
Date range (date_start, date_stop)
Limitations:
Maximum 5000 records per page
Supports date filtering via dateStart and dateEnd (ISO 8601 format)
Supports sorting via orderBy and orderDirection (ASC/DESC)
Filters:
workspaceId (required)
organizationId (optional)
userId (optional)
integrationName (optional)
dateStart (optional)
dateEnd (optional)

Requisição

Authorization
API Key
Adicionar parâmetro em header
x-client-id
Exemplo:
x-client-id: ********************
API Key
Adicionar parâmetro em header
x-client-secret
Exemplo:
x-client-secret: ********************
or
Parâmetros de Consulta

Respostas

🟢200Sucesso
application/json
Successful response
Body

🟠400400
🔴500500
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.data.v4.marketing/v1/facebook/ads/region?workspaceId=workspace_123&organizationId&userId&integrationName&dateStart=2024-01-01&dateEnd=2024-12-31&page&limit&orderBy&orderDirection' \
--header 'x-client-id: <api-key>' \
--header 'x-client-secret: <api-key>'
Response Response Example
200 - Exemplo 1
{
    "data": [
        {
            "adset_id": "string",
            "ad_id": "string",
            "clicks": 0,
            "reach": 0,
            "impressions": 0,
            "objective": "string",
            "spend": 0,
            "date_start": "2019-08-24",
            "date_stop": "2019-08-24",
            "region": "string",
            "country": "string",
            "workspace_id": "string",
            "organization_id": "string",
            "user_id": "string",
            "document_id": "string",
            "inserted_at": "2019-08-24T14:15:22.123Z"
        }
    ],
    "meta": {
        "page": 0,
        "limit": 0,
        "hasNextPage": true,
        "hasPreviousPage": true
    }
}
Modificado em 2025-12-02 02:02:03
Página anterior
Platforms
Próxima página
Ad Config
Built with