v1.0
Jivox API Documentation

Campaign Overview API

Given an advertiser email address and date range, this retrieves campaign metrics for all active campaigns. Data returned is in XML and includes the following:

  • Campaign Name
  • Date
  • Number of impressions
  • Number of views
  • Total number of click-through events
  • Total number of interactions
  • For each interaction, the interaction name and count
  • Interaction rate

Please note that totals for the columns are not provided.

Request URL

To retrieve the campaign overview report, make a request to the following URL: http:///jivox/serverAPIs/externalReporting/campaignOverviewReport.php

Parameters

The request URL supports the following parameters:

ParameterDescription
apiId(Required) ID of the API.
apiKey(Required) Authentication key.
apiVersion(Required) Version number of the API for which authentication key is generated.
publisherId(Required) ID of the publisher or agency for which authentication key is generated.
emailAddressEmail address of the advertiser.
startDateStart of date range for which the report is required.
endDateEnd of date range for which the report is required.
externalIdExternal identifier for a campaign (entered when the tag is generated for a campaign). If this is provided then emailAddress is ignored and only the campaign (or campaigns) with the matching external identifier are included in the result.
campaignType(Optional) Filter campaigns by campaign type. Valid values include web, directory.

Example

Using cURL (this command includes hard returns for readability):

Javascript
Copy

Server Success Response

In case of success, the server returns the following response:

Javascript
Copy

Fields in the server response XML are as follows:

campaign_type: Filter campaigns by campaign type, from the following:

Javascript
Copy

Legacy campaigns may show the following deprecated types:

Javascript
Copy

campaign_status: The current state of the campaign, from the following:

Javascript
Copy

Legacy campaigns may show the following deprecated states:

Javascript
Copy

In most cases campaigns will be in the "Running" state.

  • campaign_thumbnail: The active image provided for the campaign. This is only valid for video ads and returns the thumbnail URL.
  • campaign_start_date: The campaign launch date.
  • campaign_end_date: The campaign end date.
  • record_date: The date on which the event was recorded. If a campaign ran 30 days and recorded events on each day there will be 30 record entries in the xml.
  • record_impressions: Number of times the ad player was loaded on the publisher page.
  • record_num_clickthrus: Number of times users clicked anywhere on the ad, not including clicks on the interactivity features.
  • record_num_interactions: Number of user actions, including clicking on any part of the ad, clicking or rolling over on the Interactivity Panel, and clicking on any interactivity option.
  • record_completionRate: Number of times the ad video ran to completion as a percentage of the number of impressions.
  • record_clickThroughRate: The click-through rate: the number of clicks divided by the number of impressions.
  • record_interactionRate: The interaction rate: the number of interactions divided by the number of impressions.
  • record_universalInteractionRate: The percent of users who purposely enter the frame of an ad continuously for at least 0.5 seconds or more. Universal Interaction Rate (UIR) as defined by the IAB refers to the number of times a user's mouse enters the frame of an ad and is active (not parked) for 0.5 seconds or longer (maximum of one interaction per load) divided by the number of times an ad fully loads on the page (maximum of one ad load per page).
  • record_averageDwellTime: The average amount of time users spent on the ad. Universal Interaction Time (UIT) as defined by the IAB is the average length of a time that a user's mouse enters the frame of an ad and is active (not parked) for 0.5 seconds or longer and ends when the mouse leaves the ad frame, or at 60 seconds, which ever happens first.
  • interaction_name: Name of the interaction.
  • interaction_count: Total number of this type of interaction.