curl --request GET \
--url http://localhost:8000/api/v1/google-ads/ad-groups \
--header 'Authorization: Bearer <token>'[
{
"id": 123,
"name": "<string>",
"campaign_id": 123,
"campaign_name": "<string>",
"status": "<string>",
"type": "<string>",
"metrics": {}
}
]Retrieve ad groups and their performance metrics for a specified date range.
Args: customer_id: The Google Ads customer ID
campaign_id: Optional filter by campaign ID start_date (str): Start date for the data range (YYYY-MM-DD). Defaults to 30 days ago. end_date (str): End date for the data range (YYYY-MM-DD). Defaults to today. limit: Maximum number of records to return
search: Optional text search filter exclude_removed: Exclude REMOVED entities from results (default: False) oauth2_token: OAuth2 token for authentication
Returns: List of ad groups with performance metrics
curl --request GET \
--url http://localhost:8000/api/v1/google-ads/ad-groups \
--header 'Authorization: Bearer <token>'[
{
"id": 123,
"name": "<string>",
"campaign_id": 123,
"campaign_name": "<string>",
"status": "<string>",
"type": "<string>",
"metrics": {}
}
]The access token received from the authorization server in the OAuth 2.0 flow.
1 - 200Optional specific Token ID