Log
Create a new log.
Create a new log.
post/cm/v1/logs
Request
- Base URLhttps://api.moloco.cloud
- AuthAPI key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
ad_account_idstring required
Ad account ID to which a log associated.
Request body
Example request
{
"id": "sampleLogId",
"ad_account_id": "sampleAdAccountId",
"type": "IMP",
"format": "CSV",
"date": "2020-01-01",
"created_at": "2020-01-03T03:12:50.124101982Z",
"updated_at": "2020-01-03T03:24:21.109821241Z"
}Response
A successful response.
Example response
{
"log": {
"id": "newlyCreatedLogId",
"ad_account_id": "sampleAdAccountId",
"type": "IMP",
"format": "CSV",
"date": "2020-01-01",
"created_at": "2020-01-01T03:12:50.124101982Z",
"updated_at": "2020-01-01T03:12:50.124101982Z"
},
"href": "https://managefnt.adsmoloco.com/cm/v1/logs/newlyCreatedLogId",
"status": "https://managefnt.adsmoloco.com/cm/v1/logs/newlyCreatedLogId/status"
}Changes
No recorded changes to this operation across all 2 revisions of this API.