curl --request GET \
--url http://localhost:8000/api/v1/google-ads/ad-schedule/csv \
--header 'Authorization: Bearer <token>'{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Retrieve ad schedule targeting criteria as CSV format.
Args: customer_id: The Google Ads customer ID campaign_id: Optional filter by campaign ID 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 ad schedule data
curl --request GET \
--url http://localhost:8000/api/v1/google-ads/ad-schedule/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