Add Product Targeting
Add new product targeting to a campaign group.
Resource URL
Newegg.com: https://api.newegg.com/marketplace/sponsoredmgmt/campaign/producttargeting/add?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 to which this target is associated | ||
groupNumber | Yes | Integer | The identifier of the ad group to which this target is associated | ||
relevantProducts | relevantCode | Yes | String | If Type = 0 (product) , this element value for Newegg Item#
If Type = 1 (category) , this element value is Newegg Item#s categoryCode |
|
subCategoryName | No | String | If Type = 0 (product) , this element value is null
If Type = 1 (category) , this element value isNewegg Item#s subCategory Name |
||
relevantProductNumber | No | String | If Type = 0 (product) , this element value is null
If Type = 1 (category) , this element value is ProductNumber |
||
type | Yes | Integer | Available values:
|
||
currentBid | No | Decimal | If Type = 0 (product) , this element value is offer a price for product
If Type = 1 (category) , this element value is null |
||
categoryRefine | No | If Type = 0 (product) , this element value is null
If Type = 1 (category) , this element value |
|||
brand_id | String | Product’s brand | |||
low_price | Decimal | price_range | |||
high_price | Decimal | price_range | |||
review_low_ratings | Integer | review egg ratings default is 0 | |||
review_high_ratings | Integer | review egg ratings default is 5 | |||
status | Integer | Available values:
|
Example: Json, Request
POST https://api.newegg.com/marketplace/sponsoredmgmt/campaign/producttargeting/add?sellerid={sellerid} Authorization: 720ddc067f4d115bd544aff46bc75634 SecretKey: 21EC2020-3AEA-1069-A2DD-08002B30309D Content-Type: application/json Accept: application/json { "campaignNumber": 1158408, "groupNumber": 1158409, "relevantProducts": [ { "relevantCode": "9SIAZG6GMJ7570", "subCategoryName": null, "relevantProductNumber": null, "type": 0, "currentBid": 0.52, "categoryRefine": null } ] }
Response Body
Attribute
|
Format
|
Description
|
---|---|---|
msg | String | Return Message |
biz code | Integer | Available values:
|
Example: Json, Response
{ "header": [ { "msg": "create product Targeting success", "bizCode": "056" } ] }
Last updated: June 29, 2022