Retail campaigns

The various methods for Campaign Settings are listed below:

  1. Clone template campaign (create retail campaign)
  2. Update retail campaign
  3. Delete retail campaign
  4. Get retail campaigns
  5. Get retail campaign by ID
  6. Clone retail campaign
  7. Get campaign creation status
  8. Fetch Templates by Label (Prospecting, Retargeting, Full-Funnel)
  9. Save Campaign

Clone template campaign (create retail campaign)

Creates a new retail campaign by cloning from a template campaign. Requires Campaigns_Clone permission.

Path Parameters

NameData TypeRequirementParameter TypeDescription
accountIdstringMandatorypathID of the account

Parameters

Parsed via parseJson[CampaignCloneRequestRMA]. Mandatory fields will throw a ValidationException if missing.

FieldData TypeRequirementDescription
templateCampaignIdxintegerMandatoryIndex of the template campaign to clone from.
retailCampaignNamestringMandatoryName for the new retail campaign.
emailstringMandatoryEmail address for notifications.
labelIdintegerMandatoryLabel ID to associate with the campaign.
assetSourceTypeenum (string)MandatoryAsset source type. Values: productFeed, uploadAsset, hybridAsset
mediaChannelIdxintegerMandatoryIndex of the media channel to use.
isDaVinciCreatedintegerOptionalFlag indicating whether the campaign was created via Da Vinci.
dspCampaignInfoobject (JSON string)OptionalDSP campaign configuration object (serialized as JSON string).
dspAdditionalCampaignInfoobjectOptionalAdditional DSP campaign info. See DSPAdditionalCampaignInfo below.
adServerIdstringOptionalID of the ad server to use.
templateCampaignNamestringOptionalName of the source template campaign.
faceCardAssetstringOptionalAsset identifier for the face card.
faceCardAssetDimensionstringOptionalDimension string for the face card asset (e.g. 300x250).
inventoryTypeenum (string)OptionalInventory type. Values: offsite, onsite
retailerIdintegerOptionalID of the retailer.
landingUrlstringOptionalLanding URL for the campaign.
agenticInfoobjectOptionalAgentic campaign info. See CampaignAgenticInfo below.

dspAdditionalCampaignInfo object (DSPAdditionalCampaignInfo)

FieldData TypeDescription
countryCodestringCountry code (e.g. US).
domainstringDomain for the DSP campaign.
campaignTypeenum (string)DSP campaign type. Values: Third_Party_Tags, Responsive_E_Commerce, Standard_Display_Creatives, Criteo_Creative_Generation
amzSourceCampaignIdstringAmazon source campaign ID (default: -1).
isAdGroupClonedbooleanWhether ad groups were cloned (default: false).
criteoAttributeAssetSourceMappingsarrayList of Criteo attribute-to-asset-source mappings.

agenticInfo object (CampaignAgenticInfo)

FieldData TypeDescription
adIdxintegerIndex of the ad unit.
adUnitAssetPropertyMaparrayList of ad unit to asset property mappings.
adUnitAssetPropertyMap[].adUnitIdxintegerIndex of the ad unit.
adUnitAssetPropertyMap[].assetPropertystringAsset property name.
ctaTextstringCall-to-action text for the campaign.
llmProviderstringLLM provider name for agentic generation.

Sample Request

HTTP
Copy

Request Body

JSON
Copy

Response

Returns a CloneTemplateResponse JSON object.

FieldData TypeDescription
messagestringSuccess message.
retailCampaignIdxintegerIndex of the newly created retail campaign.

Request Body

JSON
Copy

Update retail campaign

Updates an existing retail campaign. Uses the same CampaignCloneRequestRMA request body as the clone operation. Requires Campaigns_Create permission.

Path Parameters

NameData TypeRequirementParameter TypeDescription
accountIdstringMandatorypathID of the account.
retailCampaignIdxintegerMandatorypathIndex of the retail campaign to update.

Parameters

Same structure as the Clone template campaign. All mandatory fields should be present; optional fields, if provided, are updated.

FieldData TypeRequirementDescription
templateCampaignIdxintegerMandatoryIndex of the source template campaign.
retailCampaignNamestringMandatoryUpdated name for the retail campaign.
emailstringMandatoryEmail address for notifications.
labelIdintegerMandatoryLabel ID to associate with the campaign.
assetSourceTypeenum (string)MandatoryAsset source type. Values: productFeed, uploadAsset, hybridAsset
mediaChannelIdxintegerMandatoryIndex of the media channel to use.
isDaVinciCreatedintegerOptionalFlag indicating whether the campaign was created via DaVinci.
dspCampaignInfoobject (JSON string)OptionalDSP campaign configuration object.
dspAdditionalCampaignInfoobjectOptionalAdditional DSP campaign info (see DSPAdditionalCampaignInfo).
adServerIdstringOptionalID of the ad server to use.
templateCampaignNamestringOptionalName of the source template campaign.
faceCardAssetstringOptionalAsset identifier for the face card.
faceCardAssetDimensionstringOptionalDimension string for the face card asset (e.g. 300x250).
inventoryTypeenum (string)OptionalInventory type. Values: offsite, onsite
retailerIdintegerOptionalID of the retailer.
landingUrlstringOptionalLanding URL for the campaign.
agenticInfoobjectOptionalAgentic campaign info (see CampaignAgenticInfo).

Sample Request

HTTP
Copy

Response

Returns an UpdateRetailCampaignResponse JSON object.

FieldData TypeDescription
msgstringResult message describing the outcome of the update.
cloneIdstring/nullClone ID if a background clone was triggered.
messageIdstring/nullMessage/task ID for async processing, if applicable.

Request Body

JSON
Copy

Delete retail campaign

Deletes an existing retail campaign. Requires Campaigns_Create permission.

Path Parameters

NameData TypeRequirementParameter TypeDescription
accountIdstringMandatorypathID of the account.
retailCampaignIdxstringMandatorypathIndex of the retail campaign to delete.

Parameters

None.

Sample Request

HTTP
Copy

Response

Returns a fixed JSON confirmation message.

FieldData TypeDescription
messagestringDeletion confirmation.

Request Body

JSON
Copy

Get retail campaigns

Returns a paginated list of retail campaigns for the account. Requires Campaigns_List permission.

Path Parameters

NameData TypeRequirementParameter TypeDescription
accountIdstringMandatorypathID of the account.

Query Parameters

NameData TypeRequirementParameter TypeDescription
offsetintegerOptionalqueryPagination offset (e.g. 0).
limitintegerOptionalqueryNumber of items per page (e.g. 25).

Sample Request

HTTP
Copy

Response

Returns a paginated JSON object with a campaigns array. Each item is a RetailCampaignMediaPlanMap serialized via Jackson.

FieldData TypeDescription
campaignsarrayList of retail campaign objects.
campaigns[].retailCampaignNamestring/nullName of the retail campaign.
campaigns[].retailCampaignIdxinteger/nullIndex of the retail campaign.
campaigns[].mediaPlanNamestring/nullName of the associated media plan.
campaigns[].mediaPlanIdinteger/nullID of the associated media plan.
campaigns[].mediaChannelIdxinteger/nullIndex of the media channel.
campaigns[].mediaChannelNamestring/nullName of the media channel.
campaigns[].dspLogoURLstring/nullLogo URL of the DSP.
campaigns[].statusenum (string)Status of the retail media plan (e.g. Active, Inactive).
campaigns[].campaignIdxinteger/nullIndex of the associated campaign.
campaigns[].dspCampaignIdstring/nullDSP campaign ID.
campaigns[].creationDatestring/nullCreation date of the campaign.
campaigns[].modifiedDatestring/nullLast modified date.
campaigns[].dcmCampaignIdinteger/nullDCM campaign ID, if applicable.
campaigns[].isDCMAdvertiserMappingExistsboolean/nullWhether a DCM advertiser mapping exists.
campaigns[].retailDSPCampaignobject/nullDSP campaign details (see RetailDSPCampaign in Get retail campaign by ID).
campaigns[].activationConfigurationobject/nullActivation configuration for the campaign.
campaigns[].activationConfiguration.tagGenerationbooleanWhether tag generation is enabled.
campaigns[].activationConfiguration.creativeGenerationbooleanWhether creative generation is enabled.
campaigns[].assetGenerationTypeenum (string)Asset generation type.
campaigns[].isRunningOrApprovedboolean/nullWhether the campaign is currently running or approved.
campaigns[].isMetaIntegratedboolean/nullWhether the campaign is integrated with Meta.
countintegerTotal number of matching campaigns.
nextstring/nullURL for the next page of results.
previousstring/nullURL for the previous page of results.

Request Body

JSON
Copy

Get retail campaign by ID

Returns the details of a single retail campaign by its index. Requires Campaigns_View permission.

Parameters

NameData TypeRequirementParameter TypeDescription
accountIdstringMandatorypathID of the account.
retailCampaignIdxintegerMandatorypathIndex of the retail campaign to fetch.

Query Parameters

NameData TypeRequirementParameter TypeDescription
offsetintegerOptionalqueryPagination offset
limitintegerOptionalqueryNumber of items per page

Sample Request

HTTP
Copy

Response

Returns a single RetailCampaign JSON object serialized via the explicit retailCampaignFmt writer.

FieldData TypeDescription
retailCampaignNamestring/nullName of the retail campaign.
retailCampaignIdxinteger/nullIndex of the retail campaign
mediaPlanIdxinteger/nullIndex of the associated media plan.
labelIdinteger/nullLabel ID associated with the campaign.
templateCampaignIdxinteger/nullIndex of the source template campaign.
campaignIdxinteger/nullIndex of the associated campaign.
cloneIdxstring/nullClone index identifier.
assetSourceTypestring/nullAsset source type. Values: productFeed, uploadAsset, hybridAsset
adIdxinteger/nullIndex of the ad unit.
numOfCardsinteger/nullNumber of cards in the creative.
availableDimensionsarray of stringList of available ad dimensions (e.g. ["300x250", "728x90"]).
isVideoCampaignboolean/nullWhether the campaign is a video campaign.
isSocialCampaignboolean/nullWhether the campaign is a social campaign.
isDCMMediaPlanUsedboolean/nullWhether a DCM media plan is used.
isDCMAdvertiserMappingExistsboolean/nullWhether a DCM advertiser mapping exists.
assetGenerationTypestring/nullAsset generation type.
mediaChannelobject/nullMedia channel mapping details.
retailDSPCampaignobject/nullDSP campaign details (see RetailDSPCampaign below).
isAnimatedImageSupportedboolean/nullWhether animated images are supported.
statusstring/nullStatus of the retail campaign
landingUrlstring/nullLanding URL for the campaign
dcmCampaignIdinteger/nullDCM campaign ID, if applicable.
templateCampaignNamestring/nullName of the source template campaign.
faceCardAssetstring/nullFace card asset identifier.
faceCardAssetDimensionstring/nullDimension string for the face card asset.
faceCardAssetHtmlstring/nullHTML content of the face card asset.
inventoryTypestring/nullInventory type. Values: offsite, onsite
retailerIdinteger/nullRetailer ID.
ctaTextstring/nullCall-to-action text.

retailDSPCampaign object (RetailDSPCampaign)

FieldData TypeDescription
rowIdxinteger/nullRow index.
retailCampaignIdinteger/nullRetail campaign ID.
dspCampaignIdstring/nullDSP campaign ID.
adServerIdstring/nullAd server ID.
isDaVinciCreatedboolean/nullWhether created via DaVinci.
createdTimestring/nullCreation timestamp.
dspAdditionalCampaignInfoobject/nullAdditional DSP info (see DSPAdditionalCampaignInfo).

Request Body

JSON
Copy

Clone retail campaign

Clones an existing campaign from a source account to a destination account. This is a general-purpose campaign clone pipeline — not specific to RMA template cloning. Triggers an async clone via SQS. Requires Campaigns_Clone permission on both source and destination accounts.

Path Parameters

NameData TypeRequirementParameter TypeDescription
accountIdstringMandatorypathID of the source account.
destAccountIdstringMandatorypathID of the destination account. Needs to be same as accountId

Parameters

Parsed via `parseJson[CloneRequest].srcAccountId,destAccountId`, and `mode` are **set server-side** from path parameters — they do not need to be in the request body.

FieldData TypeRequirementDescription
cloneObjectenum (string)MandatoryType of object being cloned. For campaigns: Campaign
srcAdvertiserIdintegerMandatoryAdvertiser ID of the source account.
destAdvertiserIdintegerMandatoryAdvertiser ID of the destination account.
cloneObjectIdintegerMandatoryID of the campaign to clone.
emailstringMandatoryEmail address for notifications on completion.

Sample Request

HTTP
Copy

Request Body

JSON
Copy

Response

Returns a CloneResponse JSON object. The clone itself is processed asynchronously.

FieldData TypeDescription
messageIdstringSQS message ID for the async clone job.
cloneIdstringUUID generated for this clone request (for status tracking).

Request Body

JSON
Copy

Get campaign creation status

Returns the clone/creation status of a retail campaign. Useful for polling progress after triggering a clone. Requires Campaigns_Clone permission.

Parameters

NameData TypeRequirementParameter TypeDescription
accountIdstringMandatorypathID of the account.
retailCampaignIdxintegerMandatorypathIndex of the retail campaign to check status for.

Sample Request

HTTP
Copy

Response

Returns a GetCloneStatusResponse JSON object serialized via Jackson.

FieldData TypeDescription
clonePercentCompletedintegerPercentage of clone completion (0–100).
cloneStatusenum (string)Current status of the clone. Values: Queued, Completed, Failed

Request Body

JSON
Copy

Fetch Templates by Label (Prospecting, Retargeting, Full-Funnel)

This will fetch campaigns by label/category.

Parameters

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

Sample Request

HTTP
Copy

Sample Response

JSON
Copy

Save Campaign

Create retail media campaign from the template - (to clarify against confluence doc "Save Campaign" versus google sheet Campaign -> CREATE -> POST).

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.

Request Body

JSON
Copy

Sample Response

JSON
Copy
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard