curl --request POST \
--url http://localhost:8000/api/v1/subscriptions/modules \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"analysis_type": "keyword_pause",
"constraint": 123,
"analysis_frequency_hours": 123,
"is_autopilot_enabled": false
}
'{
"analysis_type": "keyword_pause",
"constraint": 123,
"analysis_frequency_hours": 123,
"id": 123,
"date_added": "2023-11-07T05:31:56Z",
"date_updated": "2023-11-07T05:31:56Z",
"is_autopilot_enabled": false
}Create a new plan module. Superuser only.
curl --request POST \
--url http://localhost:8000/api/v1/subscriptions/modules \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"analysis_type": "keyword_pause",
"constraint": 123,
"analysis_frequency_hours": 123,
"is_autopilot_enabled": false
}
'{
"analysis_type": "keyword_pause",
"constraint": 123,
"analysis_frequency_hours": 123,
"id": 123,
"date_added": "2023-11-07T05:31:56Z",
"date_updated": "2023-11-07T05:31:56Z",
"is_autopilot_enabled": false
}The access token received from the authorization server in the OAuth 2.0 flow.
Schema for creating PlanModule.
The types of analyses.
keyword_pause, negative_keyword, double_check_keywords_to_pause, headline, description, budget_migration, pause_hours, pause_locations, search_terms Successful Response
Schema for reading PlanModule.
The types of analyses.
keyword_pause, negative_keyword, double_check_keywords_to_pause, headline, description, budget_migration, pause_hours, pause_locations, search_terms