Change Campaign Status

Change campaign(s) status.

Resource URL

Newegg.com: https://api.newegg.com/marketplace/sponsoredmgmt/campaign/changestatus?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
activeStatus Yes Enum Available values:

  • Active
  • Inactive

Example: Json, Request

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

{
  "campaignList": [
    {
      "campaignNumber": 995822,
      "activeStatus": "Inactive"
    }
  ]
}

Response Body

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

  • 006:  change campaign status success
  • 008:  campaign name already exist, update campaign name fail!
  • 011:  update campaign total budget fail

Example: Json, Response

{
  "header": [
    {
      "msg": "change campaign status  success",
      "bizCode": "006"
    }
  ]
}

Last updated: June 29, 2022