How to filter out datapoints for a specific campaign

Sometimes it could be interesting to get only datapoints from a specific campaign. This API request shows how to handle with this use case.

 

Usage:

$output = api_request('http://apiv2.clickmeter.com/groups/' . $campaign_id . '/datapoints?type=TP&status=active', 'GET', NULL, $api_key);

 

Parameters:

The endpoint used belongs to “Management-Groups” category. It is possible to specify:

  • $campaign_id: the campaign identifier, including datapoints of interest.

  • type: specify the type of datapoints to recover, “TP” for tracking pixel, “TL” for tracking link.

  • status: specify the status of the datapoints to recover, “active”, “paused”, “deleted”..


Return value:

The response body will contain an array (“entities”) of datapoints.

Have more questions? Submit a request

0 Comments

Article is closed for comments.