PATCH /api/marketing/ads/{adId}
Name, status, creative and tracking_specs can be changed. adset_id is immutable : if it is sent, the response is 400. To move an ad to another ad set you must create a new one. Requires the marketing:manage scope.
Field Type Description ad_account_idstring required Ad account that owns the ad. Example: "act_123". namestring optional — statusACTIVE · PAUSED · DELETED · ARCHIVEDoptional — creativeAdCreativeRefDto optional — tracking_specsobject[] optional — adset_idstring optional NOT accepted: moving an ad to another ad set is 400. Create a new one.
Status Description Schema 200— AdDto
curl -X PATCH https://api.neike.dev/api/marketing/ads/{adId} \
-H " x-neike-api-key: whk_live_… " \
-H " Content-Type: application/json " \
"ad_account_id": "act_123"
Field Type Description idstring required Example: "120210000000000000". namestring required Example: "Anuncio tráfico · imagen". adset_idstring optional — campaign_idstring optional — statusACTIVE · PAUSED · DELETED · ARCHIVEDoptional — effective_statusstring optional Status computed by Meta, includes the review status. creativeAdCreativeRefDto optional — created_timestring optional — updated_timestring optional —