improved
Top Campaign Content - Multiple versions of an item
about 3 years ago by Peter Cimring
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:
- If relevant, a separate row is returned for each version of the item.
- The row that represents the current version has the Item ID in the
item
field (andnull
inold_item_version_id
) - e.g.:"item": 484
"old_item_version_id": null
- 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
, thenold_item_version_id
has a value ofnull
- and vice versa.