Campaigns

Get Ad Groups

Get ad groups (Google) or ad sets (Meta) for a campaign.

Supports two modes:

  1. Local DB lookup: Pass local campaign_id (integer)
  2. Direct platform lookup: Pass platform campaign_id + platform + account_id
get/api/v1/campaigns/{campaign_id}/ad-groups

Request

  • Base URL: https://api.adrex.ai (the document declares no server; this is the origin it was published from)
  • URL: https://api.adrex.ai/api/v1/campaigns/{campaign_id}/ad-groups
  • Auth: HTTP bearer

Path parameters

campaign_idstring required

Query parameters

platformstring nullable

Platform: 'google' or 'meta'

account_idstring nullable

Account ID for direct platform lookup

include_metricsboolean

Include performance metrics

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 1 revision of this API.