v1.0
Jivox API Documentation

Product Content

The various methods for Product Content are listed below:

  1. Get Product Content
  2. List Product/Category/Subcategory from Asset Source
  3. Save/Update Product Content
  4. Placement Preview

Get Product Content

This will get the placement to product filters map.

Parameters

NameData TypeRequirementParameter TypeDescription
accountIdstringMandatorypathID of the advertiser account created on the platform.
mediaPlanIdstringMandatorypathID of the media plan associated with a given user account.
retailCampaignIdstringMandatorypathID of the retail campaigns.

Sample Request

HTTP
Copy

This is a paginated API. contentType key can only have 3 values i.e. “Product”, “Sub-category”, “Category”. The following set of params can be passed in query params.

filters The value for the filters parameter will be a comma separated string. Each part has to be of the format Field(Operator)Value (the parenthesis are optional but help in parsing the input).

Field will be the same as the fields query parameter.

Valid operators are =,<>,<,>,<=,>=,like,in. < and > are only supported for int field types.

By default, all filters are combined with AND operator. API only returns data that matches all the filters.

The below table lists the following set of params that can be passed in query params

paramsDescription
limitMax number of items to return as part of the API response body. Default value is 100.
offsetStarting offset of pagination of data. Default value is 0.
fieldsList of fields, comma separated, that the API requester wants to be returned. By default, all the values are returned.
orderby

List of fields, comma separated, that the API requester wants to order the response.

use : at after every field and type asc or desc for ascending and descending ordering respectively.

If asc or desc is not provided the default will be asc

For example: orderby=adServerId:asc,adServerName:desc

filters

The value for the filters parameter will be a comma separated string. Each part has to be of the format Field(Operator)Value (the parenthesis are optional but help in parsing the input).

Field will be the same as the fields query parameter.

Valid operators are =,<>,<,>,<=,>=,like,in. < and > are only supported for int field types.

By default, all filters are combined with AND operator. API only returns data that matches all the filters.

Sample Response

JSON
Copy

List Product/Category/Subcategory from Asset Source

This will list all the Product/Category/SubCategory from the Asset Source.

Parameters

NameData TypeRequirementParameter TypeDescription
accountIdstringMandatorypathID of the advertiser account created on the platform.

Sample Request

HTTP
Copy

The Parameter:

accountId - is the Current account Id

field: product/category/sub-category field

query: the search query input by the user

limit: the limit of elements in the list

offset: the no. of elements to skip

Sample Response

JSON
Copy

Save/Update Product Content

This will save/update placement to product filters map.

Parameters

NameData TypeRequirementParameter TypeDescription
accountIdstringMandatorypathID of the advertiser account created on the platform.
mediaPlanIdstringMandatorypathID of the media plan associated with a given user account.
retailCampaignIdstringMandatorypathID of the retail campaigns.

Sample Request

HTTP
Copy

The placementId key is jivox placement Id and not an external placement Id.

Request Body

JSON
Copy

Placement Preview

This will get previews for the campaign + placement(s).

Parameters

NameData TypeRequirementParameter TypeDescription
accountIdstringMandatorypathID of the advertiser account created on the platform.
campaignIdstringMandatorypathID of the campaign created under a given user account on the platform.
placementIdstringMandatorypathID of the placement associated with media plan to be used for tag generation

Sample Request

HTTP
Copy

Sample Response

JSON
Copy