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

Ad Groups

GET
https://api.data.v4.marketing/v1/google/ads/ad-group
Retrieve Google Ads ad group data with detailed performance metrics.
This endpoint provides ad group-level insights including status, associated campaign information, and performance indicators.
Dimensions Available:
Campaign resource name/ID
Ad group resource name/ID, name, status
Metrics: clicks, impressions, cost, conversions, CTR, CPC, cost per conversion, conversions value, impression share, conversion rates
Date segments
Limitations:
Maximum 5000 records per page
Supports date filtering via createdStart and createdEnd (ISO 8601 format)
Supports sorting via orderBy and orderDirection (ASC/DESC)
Filters:
workspaceId (required)
organizationId (optional)
userId (optional)
integrationName (optional)
createdStart (optional)
createdEnd (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/google/ads/ad-group?workspaceId=workspace_123&organizationId&userId&integrationName&createdStart=2024-01-01T00:00:00Z&createdEnd=2024-12-31T23:59:59Z&page&limit&orderBy&orderDirection' \
--header 'x-client-id: <api-key>' \
--header 'x-client-secret: <api-key>'
Response Response Example
200 - Exemplo 1
{
    "data": [
        {
            "campaign_resource_name": "string",
            "campaign_id": "string",
            "ad_group_resource_name": "string",
            "ad_group_status": "string",
            "ad_group_id": "string",
            "ad_group_name": "string",
            "metrics_clicks": 0,
            "metrics_search_impression_share": 0,
            "metrics_search_rank_lost_impression_share": 0,
            "metrics_conversions_from_interactions_rate": 0,
            "metrics_conversions_value": 0,
            "metrics_conversions": 0,
            "metrics_cost_micros": 0,
            "metrics_cost_per_conversion": 0,
            "metrics_ctr": 0,
            "metrics_average_cpc": 0,
            "metrics_impressions": 0,
            "metrics_cost": 0,
            "segments_date": "2019-08-24",
            "workspace_id": "string",
            "organization_id": "string",
            "user_id": "string",
            "document_id": "string",
            "integration_name": "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:19
Página anterior
Ad Group Ads
Próxima página
Campaigns
Built with