The various methods for Feed Settings are listed below:
This will list all the retail media campaigns for the account.
Parameters
Name | Data Type | Requirement | Parameter Type | Description |
---|---|---|---|---|
accountId | string | Mandatory | path | ID of the advertiser account created on the platform. |
Sample Request
xxxxxxxxxx
GET http://demo.stub.api.jivox.com/v2/accounts/:accountId/retail-campaigns
Sample Response
xxxxxxxxxx
{
"campaigns": [
{
"dspName": "Appnexus",
"dspLogoURL": "https://dsp.logo.com",
"mediaPlanId": 2062,
"mediaPlanName": "RMAMediaPlan15",
"retailCampaignIdx": 1,
"retailCampaignName": "ABCD",
"dspCampaignId": "Campaign 1",
"status": "NEW"
}
],
"count": 1,
"next": "",
"previous": ""
}
This will fetch the details for a specific retail media campaign.
Parameters
Name | Data Type | Requirement | Parameter Type | Description |
---|---|---|---|---|
accountId | string | Mandatory | path | ID of the advertiser account created on the platform. |
retailCampaignIdx | string | Mandatory | path | ID of the retail campaigns. |
Sample Request
xxxxxxxxxx
GET http://demo.stub.api.jivox.com/v2/accounts/:accountId/retail-campaigns/:retailCampaignIdx
retailCampaignIdx is the campaign Id for retail campaigns and is present in the campaigns list API |
Sample Response
xxxxxxxxxx
{
"retailCampaignName": "ABCD",
"retailCampaignIdx": 1,
"labelId": 102,
"templateCampaignIdx": 120102
}
This will fetch campaigns by label/category.
Parameters
Name | Data Type | Requirement | Parameter Type | Description |
---|---|---|---|---|
accountId | string | Mandatory | path | ID of the advertiser account created on the platform. |
Sample Request
xxxxxxxxxx
GET http://demo.stub.api.jivox.com/v2/accounts/:accountId/rma/campaigns?ids=<labelId>
Sample Response
xxxxxxxxxx
{
"campaigns": [
{
"campaignId": 123,
"campaignName": "Campaign 1",
"description": "lorem ipsum",
"numOfCards" : 3,
"previewTag":
{
"adUnitCombination": {
"bDim": "300x600"
},
"tag": `<script type="text/javascript" src="https://as.jivox.com/unit/unit_renderer.php?bDim=600x250&ap_cgName=Pampers_300x250&isPreviewRequest=1&cId=102&bUnitId=2000"></script>`
}
},
{
"campaignId": 234,
"campaignName": "Campaign 2",
"description": "lorem ipsum",
"numOfCards" : 1,
"previewTag":
{
"adUnitCombination": {
"bDim": "300x600"
},
"tag": `<script type="text/javascript" src="https://as.jivox.com/unit/unit_renderer.php?bDim=600x250&ap_cgName=Pampers_300x250&isPreviewRequest=1&cId=102&bUnitId=2000"></script>`
}
}
]
}
Create retail media campaign from the template - (to clarify against confluence doc "Save Campaign" versus google sheet Campaign -> CREATE -> POST).
Parameters
Name | Data Type | Requirement | Parameter Type | Description |
---|---|---|---|---|
accountId | string | Mandatory | path | ID of the advertiser account created on the platform. |
Sample Request
xxxxxxxxxx
POST http://demo.stub.api.jivox.com/v2/accounts/:accountId/retail-campaign
The Parameter:
|
Request Body
xxxxxxxxxx
{
"templateCampaignIdx": 1234,
"retailCampaignName": "Campaign1",
"email": "abc@jivox.com",
"labelId": 789
}
Sample Response
xxxxxxxxxx
{
"messageId": "cloneMessageId",
"retailCampaignIdx": 1234
}
<info needed -pending>.
Parameters
Name | Data Type | Requirement | Parameter Type | Description |
---|---|---|---|---|
accountId | string | Mandatory | path | ID of the advertiser account created on the platform. |
retailCampaignIdx | string | Mandatory | path | ID of the retail campaigns. |
Sample Request
xxxxxxxxxx
PUT http://demo.stub.api.jivox.com/v2/accounts/:accountId/retail-campaign/:retailCampaignIdx
The Parameter:
|
Request Body
xxxxxxxxxx
{
"templateCampaignIdx": 1234,
"retailCampaignName": "Campaign1",
"email": "abc@jivox.com",
"labelId": 789
}
Sample Response
xxxxxxxxxx
{
"msg": "cloneMessage"
}
This will get the retail media campaign creation status.
Parameters
Name | Data Type | Requirement | Parameter Type | Description |
---|---|---|---|---|
accountId | string | Mandatory | path | ID of the advertiser account created on the platform. |
retailCampaignIdx | string | Mandatory | path | ID of the retail campaigns. |
Sample Request
xxxxxxxxxx
GET http://demo.stub.api.jivox.com/v2/accounts/:accountId/campaigns/:retailCampaignIdx/clone/status
The Parameter:
|
Sample Response
When the clone request fails for any reason:
xxxxxxxxxx
{
"clonePercentCompleted" : -1,
"cloneStatus" : "Failed"
}
When the clone request is in processing case:
xxxxxxxxxx
{
"clonePercentCompleted" : 90,
"cloneStatus" : "Queued"
}
When the clone request is completed successfully:
xxxxxxxxxx
{
"clonePercentCompleted" : 100,
"cloneStatus" : "Completed"
}