NOTE
This article covers the basic process of creating a Pulsar application. Typically, this is done in the context of setting up private or custom data ingestion. To learn more, refer to the following articles:
This article covers the basic process of creating a Pulsar application. Typically, this is done in the context of setting up private or custom data ingestion. To learn more, refer to the following articles:
- Configuring private data (via JS tag)
- Configuring custom data (via beaconing)
A Pulsar application is a collection of Pulsar jobs (or resources to which the Pulsar engine measures). Upon each impression, Pulsar references the application ID (appID) to determine which set of jobs should record a measurement.
Use the PUT request below to create a new Pulsar application, replacing ACME Pulsar Tag with a relevant name for your Pulsar application. This generates an appID in response.
curl -X PUT -H 'X-NSONE-Key: $API_KEY' -d '{"name": "ACME Pulsar Tag", "active": true}' https://api.nsone.net/v1/pulsar/apps
Example response:
{
"customer": 0,
"appid": "x4f12h0",
"name": "ACME Pulsar Tag",
"active": true,
"token": 0,
"browser_wait_millis": 0,
"jobs_per_transaction": 0,
"default_config": {
"http": true,
"https": true,
"request_timeout_millis": 0,
"job_timeout_millis": 0,
"use_xhr": true,
"blend_metric_weights": {
"timestamp": 0,
"weights": [
{
"name": "string",
"weight": 0,
"default_value": 0,
"maximize": false
}
]
}
},
"community": true
}
Note and record the appID
value (ex. x4f12h0) generated in the response. When creating a Pulsar job, you'll need the appID to specify the application with which the job is associated.