Update Campaign Info

Update campaign(s) basic information.

Resource URL

Newegg.com: https://api.newegg.com/marketplace/sponsoredmgmt/campaign/update?sellerid={sellerid}

Note: Please make sure your request URL is all in lower case (except for Seller ID) and cannot contain any blank spaces or line breaks.

Parameters

Name Required? Description
sellerid Yes Your seller ID on Newegg Marketplace

Resource Information

HTTP Method Authentication? Request Formats Response Formats Rate Limited?
POST Required Json Json 1000 request per hour

Request Body

                Attribute Required? Format Description
campaignList campaignNumber Yes Integer The identifier of the campaign.
campaignName Yes String The name of the campaign, maximum200 characters.

And the campaign Name under each Seller cannot be repeated

activeStatus No Enum Available values:

  • Active
  • Inactive

If the value is not passed, it means that the status is not requested to be updated

startDate Yes String Campaign Date Start(Pacific Standard Time)
endDate No String Campaign Date End (Pacific Standard Time)
totalBudget No Decimal The total budget for this Campaign, if the value is null, it means is unlimited
dailyBudget Yes Decimal The daily budget for this Campaign

Example: Json, Request

POST https://api.newegg.com/marketplace/sponsoredmgmt/campaign/update?sellerid={sellerid}
Authorization: 720ddc067f4d115bd544aff46bc75634
SecretKey: 21EC2020-3AEA-1069-A2DD-08002B30309D
Content-Type: application/json
Accept: application/json

{
  "campaignList": [
    {
      "campaignNumber": 764953,
      "campaignName": "Monitor(Automatic)",
      "activeStatus": "Active",
      "startDate": "2021-10-26 00:00:00",
      "endDate": null,
      "totalBudget": null,
      "dailyBudget": 150
    }
  ]
}

Response Body

Attribute
Format
Description
msg String Return message
biz code Integer Available values:

  • 007: batch update campaign setting success
  • 008: campaign name already exist, update campaign name fail!
  • 011: update campaign total budget fail

Example: Json, Response

{
  "header": [
    {
      "msg": "batch update campaign setting success",
      "bizCode": "007"
    }
  ]
}

Last updated: June 29, 2022