curl --request GET \
--url http://localhost:8000/api/v1/google-ads/search-terms/csv \
--header 'Authorization: Bearer <token>'{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Retrieve search terms as CSV format.
Args: customer_id: The Google Ads customer ID
campaign_id: Optional filter by campaign ID ad_group_id: Optional filter by ad group ID start_date (str): Start date for the data range (YYYY-MM-DD). Defaults to 30 days ago. end_date (str): End date for the data range (YYYY-MM-DD). Defaults to today. limit: Maximum number of search terms to return min_clicks: Minimum number of clicks to include (applied server-side) search: Optional text search filter exclude_removed: Exclude REMOVED entities from results (default: False) oauth2_token: OAuth2 token for authentication
Returns: StreamingResponse: CSV file containing search terms data
curl --request GET \
--url http://localhost:8000/api/v1/google-ads/search-terms/csv \
--header 'Authorization: Bearer <token>'{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}The access token received from the authorization server in the OAuth 2.0 flow.
1 - 200Optional specific Token ID
Successful Response