curl --request POST \
--url http://localhost:8000/api/v1/analysis/trigger/{analysis_type} \
--header 'Authorization: Bearer <token>'{
"success": true,
"message": "<string>"
}Trigger the analysis of the {analysis_type}.
Args: analysis_type (str): The type of analysis to trigger (e.g., “negative_keywords”). customer_id (int): The Google Ads customer ID. login_customer_id (int): The Google Ads login customer ID. temperature (float): The temperature for the analysis. Defaults to settings.OPENROUTER_DEFAULT_TEMPERATURE. approved_user (User): The approved user making the request.
Returns: TriggerAnalysisResultSchema: The result of the analysis trigger.
Raises: HTTPException: 403 if the user does not have access to the customer.
curl --request POST \
--url http://localhost:8000/api/v1/analysis/trigger/{analysis_type} \
--header 'Authorization: Bearer <token>'{
"success": true,
"message": "<string>"
}The access token received from the authorization server in the OAuth 2.0 flow.
The types of analyses.
keyword_pause, negative_keyword, double_check_keywords_to_pause, headline, description, budget_migration, pause_hours, pause_locations, search_terms