Testing the integration

Create a test campaign

  1. Log in to INVIDI Pulse, and add a new campaign with a goal and a standard pre-roll ad. For more information, see Create a campaign.
  2. Add two campaign targeting rules. For more information, see Add targeting rules.
    1. Set Tag Targeting to All of test.
    2. Set <DMP name> Targeting to All of <your selected segments>.

      Campaign Targeting

      Start typing in order to select audience segments. For example, type age to see all segments that belong to the age segmentation.

      Add audience segments window

  3. Make sure VAST is enabled for this campaign: Vast enabled field

Test using cookie

Note: Make sure cookies and third-party cookies are enabled in your browser.
  1. Clear your browser cache.
  2. Call the following VAST tag: http://[subdomain].videoplaza.tv/proxy/distributor/v2?tt=p&t=test&rt=vast_3.0, where [subdomain] is the subdomain of your Pulse account and can be found under Account Settings > Integration Information of the Settings tab. You get an empty VAST response because a Pulse cookie has not been dropped in your browser yet.
  3. Manually create a Pulse cookie in your browser by calling the URI according to the following protocol:

    {Base URL}?{audience provider URL identifier}={URL-encoded comma-separated string of parameter names and values}

    Note:

    {URL-encoded comma-separated string of parameter names and values} needs to match the segments you used in your test campaign and previously created through the API or provided in the (Deprecated) Segment identification document.

    For example, your audience provider URL identifier is dmpParam, your segmentationKey=xyz (Parameter Name in CSV file), and your segmentKey=123 (Parameter Value in CSV file), then your URI should be http://subdomain.videoplaza.tv/proxy/pixel/v2?dmpParam=xyz%3D123.

    Example

    Create Cookie

  4. Call the VAST tag again: http://subdomain.videoplaza.tv/proxy/distributor/v2?tt=p&t=test&rt=vast_3.0. You get a pre-roll ad now (if all steps have been done correctly). If you look at the VAST request header, you see the cookie with a unique viewer ID pid and DMP parameters VP-DMP.

    Check Cookie

Test using session store

  1. Populate Pulse session store for viewer ID either:
    • by uploading an audience data batch file, see Batch upload requests
    • or by calling the URI according to the following protocol:

      {Base URL}?pid={string}&{audience provider URL identifier}={URL-encoded comma-separated string of parameter names and values}

      Note:

      {URL-encoded comma-separated string of parameter names and values} needs to match the segments you used in your test campaign and previously created through the API or provided in the (Deprecated) Segment identification document.

      For example, your audience provider URL identifier is dmpParam, your segmentationKey=xyz (Parameter Name in CSV file), and your segmentKey=123 (Parameter Value in CSV file), then your URI should be http://subdomain.videoplaza.tv/proxy/pixel/v2?pid=2467a22f-9d74-406a-ab62-54fae1414af9&dmpParam=xyz%3D123.

  2. Call the following VAST tag: http://[subdomain].videoplaza.tv/proxy/distributor/v2?pid=2467a22f-9d74-406a-ab62-54fae1414af9&tt=p&t=test&rt=vast_3.0, where [subdomain] is the subdomain of your Pulse account and can be found under Account Settings > Integration Information of the Settings tab. You get a pre-roll ad (if all steps have been done correctly).