curl --request POST \
--url http://localhost:8000/api/v1/debug/assistant-functions/get-campaign-performance \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"google_ads_customer_id": "<string>",
"google_ads_login_customer_id": "<string>",
"campaign_id": "<string>",
"days": 30,
"limit": 100
}
'{
"success": true,
"data": "<string>",
"execution_time_ms": 123
}Debug the get_campaign_performance function.
Args: request (CampaignPerformanceDebugRequest): The debug request parameters. approved_user (User): The authenticated user.
Returns: DebugFunctionResponse: The function execution result.
curl --request POST \
--url http://localhost:8000/api/v1/debug/assistant-functions/get-campaign-performance \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"google_ads_customer_id": "<string>",
"google_ads_login_customer_id": "<string>",
"campaign_id": "<string>",
"days": 30,
"limit": 100
}
'{
"success": true,
"data": "<string>",
"execution_time_ms": 123
}The access token received from the authorization server in the OAuth 2.0 flow.
Schema for debugging get_campaign_performance function.
The Google Ads customer ID
The Google Ads login customer ID
Optional campaign ID to filter by
Number of days of historical data to retrieve
1 <= x <= 365Maximum number of campaigns to retrieve
1 <= x <= 1000