curl --request GET \
--url http://localhost:8000/api/v1/google-ads/campaign/{campaign_id}/metrics/csv \
--header 'Authorization: Bearer <token>'{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Retrieve metrics for a specific campaign as CSV format.
Args: customer_id (int): The Google Ads customer ID to retrieve campaigns for campaign_id (str): The campaign ID to get metrics for login_customer_id (int): The Google Ads customer ID to log in as oauth2_token (OAuth2Token): The OAuth2 token for the user
Returns: StreamingResponse: CSV file containing campaign metrics
curl --request GET \
--url http://localhost:8000/api/v1/google-ads/campaign/{campaign_id}/metrics/csv \
--header 'Authorization: Bearer <token>'{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}