curl --request GET \
--url http://localhost:8000/api/v1/analysis/recommendations/headlines \
--header 'Authorization: Bearer <token>'[
{
"status": "pending",
"is_manually_generated": true,
"ad": {
"id": 123,
"google_ads_ad_group": {
"id": 123,
"google_ads_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"
},
"name": "<string>",
"status": "<string>",
"type": "<string>"
},
"type": "<string>",
"final_url": "<string>"
},
"text": "<string>",
"reason": "<string>",
"date_regenerated": "2023-11-07T05:31:56Z",
"date_added": "2023-11-07T05:31:56Z",
"date_updated": "2023-11-07T05:31:56Z",
"id": 123,
"user_updated_text": "<string>"
}
]Get headline recommendations.
curl --request GET \
--url http://localhost:8000/api/v1/analysis/recommendations/headlines \
--header 'Authorization: Bearer <token>'[
{
"status": "pending",
"is_manually_generated": true,
"ad": {
"id": 123,
"google_ads_ad_group": {
"id": 123,
"google_ads_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"
},
"name": "<string>",
"status": "<string>",
"type": "<string>"
},
"type": "<string>",
"final_url": "<string>"
},
"text": "<string>",
"reason": "<string>",
"date_regenerated": "2023-11-07T05:31:56Z",
"date_added": "2023-11-07T05:31:56Z",
"date_updated": "2023-11-07T05:31:56Z",
"id": 123,
"user_updated_text": "<string>"
}
]The access token received from the authorization server in the OAuth 2.0 flow.
Successful Response
The status of a recommendation.
pending, applied, auto_applied, rejected Schema for Ad data
Show child attributes
Schema for Ad Group data
Show child attributes
Schema for Campaign data
Show child attributes