GuidesAPI ReferenceChangelog
GuidesAPI ReferenceChangelogLog In
fixed

Bug Fix for PUT | preferred-line-item Endpoint (Preferred Deals Only)

A new bug fix was released to the Update Preferred Line Item by Line Item Id endpoint

PUT | /preferred-line-items/{line-item-id}

The issue affected API applications that were unable not associate a creativeId when updating an existing preferred deals line item. The new bug fix introduced the creativeId field again as an optional attribute that can be used to associate a creative to a line item or a page for setting line item pages.

The new update is a "breaking change" to the endpoint as the new field may require applications using this endpoint to update their API queries. Any application using this endpoint is encouraged to check its API queries to ensure there are no errors with how the application calls the endpoint.

Public API SDK
Applications using a Criteo SDK may be impacted as operation and payload IDs have changed. As a result of this update, the class names in the Criteo SDK will change. The next version of the Criteo SDK will be released around mid-October following the release of the next stable API version (2022.10).

Applications that are interacting with the endpoint via HTTP (forming their own requests/parsing their own response) are just going to see a change in the request/ response payloads.

This new change was released to versions 2022-04 and 2022-07 and will be available in future versions.