curl --request GET \
--url http://localhost:8000/api/v1/google-ads/ad-schedule \
--header 'Authorization: Bearer <token>'[
{
"campaign_id": 123,
"campaign_name": "<string>",
"day_of_week": "<string>",
"start_hour": 123,
"end_hour": 123,
"day_time": "<string>",
"bid_modifier": 123,
"metrics": {},
"start_minute": 0,
"end_minute": 0,
"criterion_id": 123,
"resource_name": "<string>"
}
]Retrieve ad schedule targeting criteria.
Queries campaign_criterion directly so newly created schedules appear immediately without needing performance data.
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: List of ad schedule targeting criteria.
curl --request GET \
--url http://localhost:8000/api/v1/google-ads/ad-schedule \
--header 'Authorization: Bearer <token>'[
{
"campaign_id": 123,
"campaign_name": "<string>",
"day_of_week": "<string>",
"start_hour": 123,
"end_hour": 123,
"day_time": "<string>",
"bid_modifier": 123,
"metrics": {},
"start_minute": 0,
"end_minute": 0,
"criterion_id": 123,
"resource_name": "<string>"
}
]The access token received from the authorization server in the OAuth 2.0 flow.
1 - 200Optional specific Token ID
Successful Response