Used when bid_mode = MANUAL. Amount of the bid
If AUTO, Ads will decide which bid to apply, else if MANUAL you have to define the amount in "bid" attribute, else if MANUAL_BY_PRODUCT you have to define the amount in ./products/add
Enum: "AUTO", "MANUAL", "MANUAL_BY_PRODUCT"
Maximum amount the ad group is allowed to spend according to the selected budget type
If AUTO, Ads will decide which keywords to target, else if MANUAL you have to add keywords with ../keywords/add
Enum: "AUTO", "MANUAL"
Used when product_targeting = MANUAL. If PRODUCT_SKU you have to add product SKUs with ../products/add, else IF OFFER_SKU you have to add offer SKUs
Enum: "PRODUCT_SKU", "OFFER_SKU"
If AUTO, Ads will decide which products to sponsor, else if MANUAL you have to add products with ../products/add
Enum: "AUTO", "MANUAL"
- Retail Media Production Serverhttps://retailmedia.mirakl.net/api/v1/sp/adgroups
- Retail Media Sandbox Serverhttps://retailmedia-dev.mirakl.net/api/v1/sp/adgroups
- Retail Media Production Serverhttps://retailmedia.mirakl.net/api/v1/sp/adgroups
- Retail Media Sandbox Serverhttps://retailmedia-dev.mirakl.net/api/v1/sp/adgroups
curl -i -X POST \
https://retailmedia.mirakl.net/api/v1/sp/adgroups \
-H 'Content-Type: application/json' \
-d '[
{
"bid": 1,
"bid_mode": "MANUAL",
"budget": 100,
"budget_type": "DAILY",
"campaign_id": "019011ef-6888-639f-b569-227f92df2069",
"end_date": null,
"keyword_targeting": "AUTO",
"name": "Adgroup 2",
"product_selection_mode": "PRODUCT_SKU",
"product_targeting": "MANUAL",
"start_date": "2024-07-29"
}
]'