curl --request POST \
--url http://localhost:8000/api/v1/debug/assistant-functions/get-campaigns \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"google_ads_customer_id": "<string>",
"google_ads_login_customer_id": "<string>",
"limit": 100
}
'{
"success": true,
"data": "<string>",
"execution_time_ms": 123
}Debug the get_campaigns function.
Args: request (CampaignsDebugRequest): 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-campaigns \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"google_ads_customer_id": "<string>",
"google_ads_login_customer_id": "<string>",
"limit": 100
}
'{
"success": true,
"data": "<string>",
"execution_time_ms": 123
}The access token received from the authorization server in the OAuth 2.0 flow.