meta_get_campaign_structure
Retrieve the hierarchical structure for a Meta ad account, organized by campaigns, ad sets, and ads. Filter by campaign ID to analyze a specific campaign and clarify account organization.
Instructions
Get hierarchical campaign structure: campaigns -> ad sets -> ads. Useful for understanding account organization.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| campaignId | No | Get structure for a specific campaign only | |
| adAccountId | Yes | Ad account ID (e.g., act_123456789) |