curl --request POST \
--url http://localhost:8000/api/v1/chat/analyze_negative_keywords \
--header 'Authorization: Bearer <token>'{
"summary": {
"recommended_negatives": [
{
"status": "pending",
"is_manually_generated": true,
"keyword": "<string>",
"match_type": "<string>",
"reason": "<string>",
"campaign": {
"id": 123,
"name": "<string>",
"status": "<string>",
"channel_type": "SEARCH"
},
"date_regenerated": "2023-11-07T05:31:56Z",
"date_added": "2023-11-07T05:31:56Z",
"date_updated": "2023-11-07T05:31:56Z",
"id": 123,
"budget_saving": 123
}
]
}
}Analyze the negative keywords for the Google Ads customer with the given ID.
Args: customer_id (int): The ID of the Google Ads customer login_customer_id (int | None): The Google Ads customer ID to log in as campaign_id (int | None): The ID of the campaign approved_user (User): The current user search_terms_days (int | None): The number of days to get the search terms search_terms_limit (int | None): The limit of search terms to get temperature (float): The temperature for the Gemini model
Returns: Dict containing the list of negative keywords
curl --request POST \
--url http://localhost:8000/api/v1/chat/analyze_negative_keywords \
--header 'Authorization: Bearer <token>'{
"summary": {
"recommended_negatives": [
{
"status": "pending",
"is_manually_generated": true,
"keyword": "<string>",
"match_type": "<string>",
"reason": "<string>",
"campaign": {
"id": 123,
"name": "<string>",
"status": "<string>",
"channel_type": "SEARCH"
},
"date_regenerated": "2023-11-07T05:31:56Z",
"date_added": "2023-11-07T05:31:56Z",
"date_updated": "2023-11-07T05:31:56Z",
"id": 123,
"budget_saving": 123
}
]
}
}The access token received from the authorization server in the OAuth 2.0 flow.
0 <= x <= 1Successful Response
The schema for a response of negative keywords' analysis.
The schema for a summary of negative keywords' analysis.
Show child attributes