Change Group Status

Change campaign group(s) status.

Resource URL

Newegg.com: https://api.newegg.com/marketplace/sponsoredmgmt/campaign/group/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
campaignNumber Yes Integer The identifier of the campaign
groupList groupNumber Yes Integer The identifier of the ad group
groupName No String The name of the ad group
activeStatus Yes Enum Available values:

  •  Active
  • Inactive
defaultBid No Decimal If Type = 1 – auto targeting

Bidding of automatic targeting ads set by the seller

headline No String UI’s Name
video No String video file’s URL
offSiteBid No Decimal off-site bid amount

Example: Json, Request

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

{
  "campaignNumber": 1171555,
  "groupList": [
    {
      "groupNumber": 1171556,
      "groupName": null,
      "activeStatus": "Inactive",
      "defaultBid": null,
      "headline": null,
      "video": null,
      "offSiteBid": null
    }
  ]

Response Body

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

  • 015: batch change group status success
  • 039: update headlines success

Example: Json, Response

{
  "header": [
    {
      "msg": "batch change group status success",
      "bizCode": "015"
    }
  ]
}

Last updated: June 29, 2022