Actions119
- Analyze Search Terms
- Analyze Wasted Spend
- Explain Performance Anomaly
- Get Benchmark Context
- Get Business Profile
- Get Campaign Performance
- Get Campaign Structure
- Get Campaign Targeting
- Get Pmax Audience Signals
- Get Pmax Search Themes
- Get Usage Status
- Help User Upload
- Infer Business Profile
- List Campaign Extensions
- List Campaigns
- Optimize Budget Allocation
- Pause Ad
- Pause Campaign
- Remove Pmax Audience Signal
- Resume Ad
- Resume Campaign
- Save Business Profile
- Search Audiences
- Select Google Campaign Type
- Update Bid Strategy
- Update Campaign
- Update Keyword
- Validate Video
- Analyze Meta Ad Performance
- Analyze Meta Audiences
- Analyze Meta Wasted Spend
- Browse Meta Targeting
- Detect Meta Creative Fatigue
- Discover Meta Assets
- Duplicate Meta Campaign
- Explain Meta Anomaly
- Get Meta Ad Creatives
- Get Meta Audience Insights
- Get Meta Campaign Details
- Get Meta Campaign Performance
- Get Meta Lead Form Submissions
- List Meta Ad Sets
- List Meta Ads
- List Meta Campaigns
- List Meta Custom Audiences
- List Meta Instagram Accounts
- List Meta Lead Forms
- List Meta Pixels
- Optimize Meta Budget
- Optimize Meta Placements
- Pause Meta Campaign
- Resume Meta Campaign
- Select Meta Campaign Type
- Update Meta Ad
- Update Meta Campaign
- Add Linkedin Creative
- Add Linkedin Text Creative
- Add Linkedin Video Creative
- Analyze Linkedin Creative Performance
- Analyze Linkedin Wasted Spend
- Associate Linkedin Conversion
- Delete Linkedin Creative
- Discover Linkedin Assets
- Explain Linkedin Anomaly
- Explain Linkedin Objectives
- Generate Linkedin Ad Creatives
- Get Linkedin Campaign Performance
- Get Linkedin Campaign Structure
- Get Linkedin Campaign Targeting
- Get Linkedin Engagement Metrics
- Get Linkedin Organizations
- List Linkedin Campaign Groups
- List Linkedin Campaigns
- List Linkedin Conversions
- List Linkedin Creatives
- Manage Linkedin Conversions
- Optimize Linkedin Budget
- Pause Linkedin Campaign
- Pause Linkedin Creative
- Resume Linkedin Campaign
- Resume Linkedin Creative
- Search Linkedin Targeting
- Select Linkedin Campaign Type
- Update Linkedin Campaign Budget
- Update Linkedin Campaign Group
- Update Linkedin Campaign Schedule
- Update Linkedin Creative
- Analyze Tiktok Geo Performance
- Analyze Tiktok Wasted Spend
- Detect Tiktok Creative Fatigue
- Discover Tiktok Assets
- Explain Tiktok Anomaly
- Get Tiktok Ad Performance
- Get Tiktok Audience Insights
- Get Tiktok Campaign Details
- Get Tiktok Campaign Performance
- List Tiktok Ad Groups
- List Tiktok Ads
- List Tiktok Campaigns
- Optimize Tiktok Budget
- Pause Tiktok Ad
- Pause Tiktok Ad Group
- Pause Tiktok Campaign
- Resume Tiktok Ad
- Resume Tiktok Ad Group
- Resume Tiktok Campaign
- Update Tiktok Campaign
- Audit Conversion Tracking
- Delete Monitor
- Get Connections Status
- Get Monitor History
- Get Research Status
- List Connected Accounts
- List Monitors
- List Pending Actions
- List Scheduled Tasks
- Manage Action
- Manage Scheduled Task
- Test Monitor
Get Campaign Structure
AI-generatedSummary
Retrieve the structure of a Google Ads campaign, optionally filtered to a specific ad group, with pagination and inclusion options for detailed ad group data.
Inputs
- Platform (required) — Select the advertising platform; for this operation, must be 'Google Ads'.
- Campaign Id (required) — The Google Ads campaign ID whose structure you want to fetch.
- Customer Id — The Google Ads customer ID associated with the campaign.
- Ad Group Id — Optionally fetch only the details of this specific ad group, bypassing pagination.
- Include — Specify what to include per ad group: 'all' (default) includes all nested data; 'summary' includes counts only without nested data; 'keywords' includes only keywords; 'ads' includes only ads.
- Page — Page number for paginated ad groups (1-based). Leave blank to omit and retrieve the first page or all depending on API behavior.
- Page Size — Number of ad groups per page (between 1 and 50). Leave blank to use default page size.
Output shape
a structured JSON object representing the campaign structure, including ad groups as specified by the parameters; if an Ad Group Id is specified, returns details for that ad group only.
Pagination applies only when no specific Ad Group Id is provided. The 'include' parameter controls the depth of information returned per ad group. The operation supports only the Google Ads platform.