curl --request GET \
--url http://localhost:8000/api/v1/analysis/ \
--header 'Authorization: Bearer <token>'[
{
"id": 123,
"google_ads_customer": {
"id": 123,
"descriptive_name": "<string>",
"currency_code": "<string>",
"time_zone": "<string>",
"status": "<string>",
"manager": true
},
"google_ads_login_customer_id": 123,
"campaign": {
"id": 123,
"google_ads_customer_id": 123,
"name": "<string>",
"status": "<string>",
"start_date": "2023-11-07T05:31:56Z",
"channel_type": "<string>",
"end_date": "2023-11-07T05:31:56Z"
},
"analysis_type": "keyword_pause",
"delay": 123,
"is_started": true,
"is_completed": true,
"is_failed": true,
"message": "<string>",
"error_message": "<string>",
"data": {},
"date_added": "2023-11-07T05:31:56Z",
"date_updated": "2023-11-07T05:31:56Z"
}
]Get all analyses with pagination. Only superusers can access this endpoint.
curl --request GET \
--url http://localhost:8000/api/v1/analysis/ \
--header 'Authorization: Bearer <token>'[
{
"id": 123,
"google_ads_customer": {
"id": 123,
"descriptive_name": "<string>",
"currency_code": "<string>",
"time_zone": "<string>",
"status": "<string>",
"manager": true
},
"google_ads_login_customer_id": 123,
"campaign": {
"id": 123,
"google_ads_customer_id": 123,
"name": "<string>",
"status": "<string>",
"start_date": "2023-11-07T05:31:56Z",
"channel_type": "<string>",
"end_date": "2023-11-07T05:31:56Z"
},
"analysis_type": "keyword_pause",
"delay": 123,
"is_started": true,
"is_completed": true,
"is_failed": true,
"message": "<string>",
"error_message": "<string>",
"data": {},
"date_added": "2023-11-07T05:31:56Z",
"date_updated": "2023-11-07T05:31:56Z"
}
]The access token received from the authorization server in the OAuth 2.0 flow.
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
The schema for a Google Ads customer.
Show child attributes
Schema for Campaign data
Show child attributes
The types of analyses.
keyword_pause, negative_keyword, double_check_keywords_to_pause, headline, description, budget_migration, pause_hours, pause_locations, search_terms