{
"workflowId":"my-first-workflow",
"timeWindowStart": "2024-01-20T00:00:00",
"timeWindowEnd": "2024-01-25T00:00:00",
"timeWindowType": "EXPLICIT",
"timeWindowTimeZone": "America/New_York"
}
curl --location -g --request POST 'https://www.amazon.com/ap/oa/amc/reporting/{{instanceId}}/workflowExecutions' \
--header 'Amazon-Advertising-API-ClientId: {{client_id}}' \
--header 'Amazon-Advertising-API-MarketplaceId: {{marketplace_id}}' \
--header 'Amazon-Advertising-API-AdvertiserId: {{advertiser_id}}' \
--header 'Authorization: Bearer {{access_token}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"workflowId":"my-first-workflow",
"timeWindowStart": "2024-01-20T00:00:00",
"timeWindowEnd": "2024-01-25T00:00:00",
"timeWindowType": "EXPLICIT",
"timeWindowTimeZone": "America/New_York"
}'
{
"createTime": "2024-09-25T03:11:52Z",
"dataGaps": [],
"disableAggregationControls": false,
"executionCategory": "AD_HOC",
"expireTime": "2024-09-26T03:11:52Z",
"ignoreDataGaps": false,
"lastUpdatedTime": "2024-09-25T03:11:52Z",
"parameterValues": {},
"status": "PENDING",
"timeWindowEnd": "2024-01-25T05:00:00Z",
"timeWindowEndOriginal": "2024-01-25T00:00:00",
"timeWindowStart": "2024-01-20T05:00:00Z",
"timeWindowStartOriginal": "2024-01-20T00:00:00",
"timeWindowTimeZoneOriginal": "America/New_York",
"waitUntil": "2024-09-25T02:11:52Z",
"workflowExecutionId": "b3a77999-7c8e-4289-9bf9-5da8f178536c",
"workflowExecutionTimeoutSeconds": 21600,
"workflowId": "my-first-workflow"
}