POST /api/marketing/creatives
El object_story_spec lleva la página que publica y exactamente uno de link_data o video_data: mandar los dos, o ninguno, es 400. La imagen se referencia por el hash de POST /api/marketing/images y el video por el id de POST /api/marketing/videos. Requiere scope marketing:manage.
Field Type Description ad_account_idstring required Cuenta publicitaria de Meta, con prefijo. Example: "act_123". namestring optional Example: "Creatividad tráfico". object_story_specObjectStorySpecDto required — degrees_of_freedom_specobject optional Configuración de variaciones automáticas de Meta. Se pasa tal cual.
curl -X POST https://api.neike.dev/api/marketing/creatives \
-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 optional Example: "Creatividad tráfico". statusstring optional — object_story_specObjectStorySpecDto optional — object_story_idstring optional — effective_object_story_idstring optional — thumbnail_urlstring optional — image_hashstring optional — image_urlstring optional — video_idstring optional — call_to_action_typeLEARN_MORE · SHOP_NOW · SIGN_UP · BOOK_TRAVEL · DOWNLOAD · GET_QUOTE · CONTACT_US · SUBSCRIBE · APPLY_NOW · GET_OFFER · MESSAGE_PAGE · WHATSAPP_MESSAGE · CALL_NOW · DONATE_NOW · SEE_MENU · ORDER_NOW · PLAY_GAME · INSTALL_MOBILE_APP · NO_BUTTONoptional —