curl --request GET \
--url http://localhost:8000/api/v1/google-ads/ad-groups/csv \
--header 'Authorization: Bearer <token>'{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Retrieve ad groups and their performance metrics as CSV format.
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: StreamingResponse: CSV file containing ad groups data
curl --request GET \
--url http://localhost:8000/api/v1/google-ads/ad-groups/csv \
--header 'Authorization: Bearer <token>'{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}The access token received from the authorization server in the OAuth 2.0 flow.
1 - 200Optional specific Token ID
Successful Response