curl --location --request POST 'https://analytics.googleapis.com/analytics/v3/management/accounts//webproperties//profiles//experiments' \
--header 'Content-Type: application/json' \
--data-raw '{
"accountId": "string",
"created": "2019-08-24T14:15:22Z",
"description": "string",
"editableInGaUi": true,
"endTime": "2019-08-24T14:15:22Z",
"equalWeighting": true,
"id": "string",
"internalWebPropertyId": "string",
"kind": "analytics#experiment",
"minimumExperimentLengthInDays": 0,
"name": "string",
"objectiveMetric": "string",
"optimizationType": "string",
"parentLink": {
"href": "string",
"type": "analytics#profile"
},
"profileId": "string",
"reasonExperimentEnded": "string",
"rewriteVariationUrlsAsOriginal": true,
"selfLink": "string",
"servingFramework": "string",
"snippet": "string",
"startTime": "2019-08-24T14:15:22Z",
"status": "string",
"trafficCoverage": 0,
"updated": "2019-08-24T14:15:22Z",
"variations": [
{
"name": "string",
"status": "string",
"url": "string",
"weight": 0,
"won": true
}
],
"webPropertyId": "string",
"winnerConfidenceLevel": 0,
"winnerFound": true
}'
{
"accountId": "string",
"created": "2019-08-24T14:15:22Z",
"description": "string",
"editableInGaUi": true,
"endTime": "2019-08-24T14:15:22Z",
"equalWeighting": true,
"id": "string",
"internalWebPropertyId": "string",
"kind": "analytics#experiment",
"minimumExperimentLengthInDays": 0,
"name": "string",
"objectiveMetric": "string",
"optimizationType": "string",
"parentLink": {
"href": "string",
"type": "analytics#profile"
},
"profileId": "string",
"reasonExperimentEnded": "string",
"rewriteVariationUrlsAsOriginal": true,
"selfLink": "string",
"servingFramework": "string",
"snippet": "string",
"startTime": "2019-08-24T14:15:22Z",
"status": "string",
"trafficCoverage": 0,
"updated": "2019-08-24T14:15:22Z",
"variations": [
{
"name": "string",
"status": "string",
"url": "string",
"weight": 0,
"won": true
}
],
"webPropertyId": "string",
"winnerConfidenceLevel": 0,
"winnerFound": true
}