curl --request POST \
--url http://localhost:8000/api/v1/debug/assistant-functions/get-ads-keywords \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"google_ads_customer_id": "<string>",
"google_ads_login_customer_id": "<string>",
"days": 30,
"limit": 1500,
"scope": "all"
}
'{
"success": true,
"data": "<string>",
"execution_time_ms": 123
}Debug the get_ads_keywords function.
Args: request (AdsKeywordsDebugRequest): 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-ads-keywords \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"google_ads_customer_id": "<string>",
"google_ads_login_customer_id": "<string>",
"days": 30,
"limit": 1500,
"scope": "all"
}
'{
"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_ads_keywords function.
The Google Ads customer ID
The Google Ads login customer ID
Number of days of historical data to retrieve
1 <= x <= 180Maximum number of keywords to retrieve
1 <= x <= 10000Scope of the query, either 'all' or 'ad_group'