Update product campaign
This endpoint updates an existing product campaign settings. Modify campaign details like name, catalog assignments, and other campaign options.
description: "This endpoint updates an existing product campaign settings. Modify campaign details like name, catalog assignments, and other campaign options."
Update product campaign
This endpoint updates an existing product campaign settings. Modify campaign details like name, catalog assignments, and other campaign options.
For accessing the API a valid JWT jwt must be passed in all queries in the 'Authorization' header. The following syntax must be used in the 'Authorization' header. (Bearer xxx.yyy.zzz)
The unique identifier of the campaign.
Specifies the productCampaign fields to update. Use a comma-separated string to list the field paths, such as 'name,startTime', ensuring that only these fields are modified during the update process. Fields not included in this list will remain unchanged.
Details of the updated campaign.
There was a problem with input.
Login failed or token not valid.
Access denied due to insufficient permissions.
An unexpected error response.
PATCH /v3/product-campaigns/{productCampaign.id} HTTP/1.1
Host: campaign.<env>.citrusad.com
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 2122
{
"mask": "text",
"productCampaign": {
"advertisedProducts": {
"productGroupList": [
"text"
],
"productsByAttributes": {
"priceRange": {
"max": "100",
"min": "10"
},
"tags": [
"tag1",
"tag2",
"tag3"
]
},
"productsByKey": [
{
"catalogId": "catalog_001",
"productCode": "PROD123456",
"sellerId": "seller_78910"
}
]
},
"approval": {
"rejectionReason": "text",
"state": "APPROVAL_STATE_UNSPECIFIED"
},
"campaignState": "CAMPAIGN_STATE_UNSPECIFIED",
"catalogIds": [
"text"
],
"customFields": [
{
"content": "This is a custom field content.",
"customFieldId": "cfid_12345"
}
],
"customQuestions": [
{
"answers": [
"Answer 1",
"Answer 2",
"Answer 3"
],
"customQuestionId": "cqid_67890"
}
],
"endTime": "2026-01-01T00:00:00.000Z",
"fixedCosts": {
"creativeCost": "$200.00",
"dataCost": "$100.00",
"otherCost": "$50.00"
},
"managerTeamId": "text",
"name": "text",
"namespaceId": "text",
"placementId": "text",
"sellerId": "text",
"startTime": "2026-01-01T00:00:00.000Z",
"strategy": {
"auction": {
"automatedBid": {
"enableAutomatedBid": true
},
"maxBid": "$100.00",
"spendLimit": {
"daily": "$50.00",
"total": "$1000.00"
}
},
"fixedTenancy": {
"catalogCosts": [
{
"catalogCostPercentage": 0.25,
"catalogId": "catalog_123456"
}
],
"cost": "$99.99",
"positions": [
1,
2,
3
]
}
},
"targeting": {
"audience": {
"includeSegmentsSets": [
{
"segmentIds": [
"text"
]
}
]
},
"crossSell": {
"targetProductsByAttributes": {
"subclassTags": [
"Electronics",
"Home Appliances"
],
"vendorTags": [
"BrandX",
"BrandY"
]
},
"targetProductsByKey": [
{
"catalogId": "catalog_001",
"productCode": "PROD123456",
"sellerId": "seller_78910"
}
]
},
"excludeFilters": [
{
"catalogId": "catalog_12345",
"filter": "filter_value_abc"
}
],
"includeFilters": [
{
"catalogId": "catalog_12345",
"filter": "filter_value_abc"
}
],
"negativeSearchTerms": [
{
"matchType": "MATCH_TYPE_UNSPECIFIED",
"phrase": "text"
}
],
"searchTerms": [
{
"collectionName": "default_collection",
"matchType": "MATCH_TYPE_UNSPECIFIED",
"maxBid": "100.00",
"phrase": "example search term",
"treatAsCustom": true
}
],
"upsell": {
"targetProductsByAttributes": {
"priceRange": {
"max": "100",
"min": "10"
},
"subclassTags": [
"text"
],
"vendorTags": [
"text"
]
},
"targetProductsByKey": [
{
"catalogId": "catalog_001",
"productCode": "PROD123456",
"sellerId": "seller_78910"
}
]
}
},
"teamId": "text",
"templateId": "text",
"walletId": "text"
}
}{
"productCampaign": {
"advertisedProducts": {
"productGroupList": [
"text"
],
"productsByAttributes": {
"priceRange": {
"max": "100",
"min": "10"
},
"tags": [
"tag1",
"tag2",
"tag3"
]
},
"productsByKey": [
{
"catalogId": "catalog_001",
"productCode": "PROD123456",
"sellerId": "seller_78910"
}
]
},
"approval": {
"rejectionReason": "text",
"state": "APPROVAL_STATE_UNSPECIFIED"
},
"campaignState": "CAMPAIGN_STATE_UNSPECIFIED",
"catalogIds": [
"text"
],
"customFields": [
{
"content": "This is a custom field content.",
"customFieldId": "cfid_12345"
}
],
"customQuestions": [
{
"answers": [
"Answer 1",
"Answer 2",
"Answer 3"
],
"customQuestionId": "cqid_67890"
}
],
"endTime": "2026-01-01T00:00:00.000Z",
"fixedCosts": {
"creativeCost": "$200.00",
"dataCost": "$100.00",
"otherCost": "$50.00"
},
"id": "text",
"managerTeamId": "text",
"name": "text",
"namespaceId": "text",
"placementId": "text",
"sellerId": "text",
"startTime": "2026-01-01T00:00:00.000Z",
"strategy": {
"auction": {
"automatedBid": {
"enableAutomatedBid": true
},
"maxBid": "$100.00",
"spendLimit": {
"daily": "$50.00",
"total": "$1000.00"
}
},
"fixedTenancy": {
"catalogCosts": [
{
"catalogCostPercentage": 0.25,
"catalogId": "catalog_123456"
}
],
"cost": "$99.99",
"positions": [
1,
2,
3
]
}
},
"targeting": {
"audience": {
"includeSegmentsSets": [
{
"segmentIds": [
"text"
]
}
]
},
"crossSell": {
"targetProductsByAttributes": {
"subclassTags": [
"Electronics",
"Home Appliances"
],
"vendorTags": [
"BrandX",
"BrandY"
]
},
"targetProductsByKey": [
{
"catalogId": "catalog_001",
"productCode": "PROD123456",
"sellerId": "seller_78910"
}
]
},
"excludeFilters": [
{
"catalogId": "catalog_12345",
"filter": "filter_value_abc"
}
],
"includeFilters": [
{
"catalogId": "catalog_12345",
"filter": "filter_value_abc"
}
],
"negativeSearchTerms": [
{
"matchType": "MATCH_TYPE_UNSPECIFIED",
"phrase": "text"
}
],
"searchTerms": [
{
"collectionName": "default_collection",
"excludedProducts": [
{
"catalogId": "catalog_001",
"productCode": "PROD123456",
"sellerId": "seller_78910"
}
],
"matchType": "MATCH_TYPE_UNSPECIFIED",
"maxBid": "100.00",
"phrase": "example search term",
"suggested": true,
"treatAsCustom": true
}
],
"upsell": {
"targetProductsByAttributes": {
"priceRange": {
"max": "100",
"min": "10"
},
"subclassTags": [
"text"
],
"vendorTags": [
"text"
]
},
"targetProductsByKey": [
{
"catalogId": "catalog_001",
"productCode": "PROD123456",
"sellerId": "seller_78910"
}
]
}
},
"teamId": "text",
"templateId": "text",
"updateTime": "2026-01-01T00:00:00.000Z",
"walletId": "text"
}
}
