API ReferenceAnnouncementsCommunity Discussion
API ReferenceCommunity DiscussionAnnouncementsSubscribeLog In
Announcements
improved

Top Campaign Content - Multiple versions of an item

Overview

Sometimes an item is updated - e.g. the title is modified - after it was already running.

In this scenario, the system has performance stats for 2 different versions of the item - e.g. the item with its old title, and the item with its new title.

When running the Top Campaign Content report, note the following, updated behavior:

  1. If relevant, a separate row is returned for each version of the item.
  2. The row that represents the current version has the Item ID in theitem field (and null in old_item_version_id) - e.g.:
    • "item": 484
    • "old_item_version_id": null
  3. Rows that represent older versions of the item have null in theitem field. However, old_item_version_id contains a string with the original Item ID - e.g.:
    • "item": null
    • "old_item_version_id": "484 (Old version)"

Example

{
    "results": [
        //...
        {
            "item": 484,
            "item_name": "New title",
            "description": null,
            "thumbnail_url": "http://cdn.example.com/demo_image_1.jpg",
            //...
            "old_item_version_id": null,
            "learning_display_status": "EMPTY_DISPLAY"
        },
        //...
        {
            "item": null,
            "item_name": "Old title",
            "description": null,
            "thumbnail_url": "http://cdn.example.com/demo_image_1.jpg",
            //...
            "old_item_version_id": "484 (Old version)",
            "learning_display_status": "EMPTY_DISPLAY"
        }
    ]
}

🚧

  • old_item_version_id does not contain a numeric ID.
  • If a value is present for item, then old_item_version_id has a value of null - and vice versa.