Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

tencentads-creatives

БесплатноЗапускает вложенные скриптыНе проверен

腾讯营销(原腾讯广告)展示广告管理 - 创意管理。用于管理动态创意(dynamic_creatives)和创意形式(creative_template),以及素材标签(material_labels)。当用户需要创建或管理广告创意(含组件字段填写/审核详情)、或管理素材标签(素材标签查询、新建、更新和素材绑定)时使用…

infometaот infometa★ 475 звёзд на GitHub

Об этом скилле

腾讯广告 - 创意管理

前置依赖:需安装 tencentads-cli(Node.js ≥ 20)。执行 npm install -g tencentads-cli@latest 安装或升级;版本过低时 tencentads 会给出提示。

管理腾讯广告展示广告的动态创意(组件化创意)。

重要提示: 本技能基于腾讯广告营销 API(api.e.qq.com)API v3.0 展示广告接口。

  • 以本文档和官方文档为准: 字段名称、参数结构可能与旧版或其他广告平台不同,请勿依赖旧经验。
  • 串行执行约束: 同一广告组下,创意的新建、更新和删除操作必须串行执行,不可并发。
  • 禁止修改用户意图: 用户明确指定的参数值必须原样传递,严禁静默修改或忽略。若用户要求的参数值脚本不支持,必须明确报错告知用户,不得擅自使用默认值替代。

⚠️ 跨平台 JSON 参数传递规则(经实测验证)

脚本调用格式为 node scripts/<脚本名>.mjs '<JSON参数>',但 JSON 参数的引号包裹方式因操作系统/终端而异,传递不当会导致 JSON.parse 报错(如 Expected property name or '}' in JSON at position 1)。

终端环境 正确写法 说明
Linux / macOS (Bash/Zsh) node scripts/xxx.mjs '{"key":"value"}' ✅ 单引号包裹,内部双引号原样保留
Windows Git Bash node scripts/xxx.mjs '{"key":"value"}' ✅ 同 Bash
Windows CMD node scripts/xxx.mjs "{\"key\":\"value\"}" ✅ 双引号包裹 + 反斜杠转义
Windows CMD (备选) node scripts/xxx.mjs "{""key"":""value""}" ✅ 双引号包裹 + 双双引号转义
Windows PowerShell 5.x node --% scripts/xxx.mjs "{\"key\":\"value\"}" ✅ 必须加 --% 停止解析符
Windows PowerShell 5.x (备选) node scripts/xxx.mjs "{\`"key\`":\`"value\`"}" ✅ 反斜杠 + 反引号组合转义

⛔ PowerShell 5.x 是重灾区:单引号 '...'、反引号 `" 、反斜杠 \" 三种常见写法全部失败(双引号会被吞掉)。必须使用 --% 停止解析符或 \`" 组合转义。 ⛔ Windows CMD 不支持单引号包裹字符串,单引号会被当作普通字符传入脚本,导致 JSON 解析失败。


脚本列表

脚本 功能 必填参数 可选参数
scripts/create-creative.mjs 创建动态创意(自动校验必填字段及创意数量上限,须先调用 build-creative-params.mjs 完成参数预处理) account_id, adgroup_id, creative_components -
scripts/update-creative.mjs 更新动态创意 account_id, dynamic_creative_id creative_components
scripts/delete-creative.mjs 删除动态创意 account_id, dynamic_creative_id -
scripts/get-component-list.mjs 按组件子类型查询账户下可用组件列表 account_id, component_sub_types -
scripts/get-components.mjs 查询组件库(按类型拉取可用组件列表) account_id, component_type -
scripts/get-creative-templates.mjs 查询可用创意形式,输出组件摘要 account_id, adgroup_id creative_template_id, dynamic_creative_type, delivery_mode, live_promoted_type
scripts/get-creative-template-list.mjs 查询可用创意形式列表(含 live_promoted_type_list) account_id adgroup_id
scripts/get-component-depends.mjs 查询组件字段联动约束,输出依赖摘要(含合法枚举值) account_id, adgroup_id, component_type creative_template_id, dynamic_creative_type, delivery_mode, live_promoted_type
scripts/query-adgroup-context.mjs 查询广告组上下文(marketing_asset_outer_spec 等) account_id, adgroup_id -
scripts/get-creative.mjs 查询动态创意详情(含 creative_components 完整结构) account_id, dynamic_creative_id fields
scripts/build-creative-params.mjs 构建并校验创意请求参数(不发起创建,输出 params+warnings+errors) account_id, adgroup_id, creative_components adgroup_context, creative_template_id, live_promoted_type, impression_tracking_url, click_tracking_url
scripts/get-playable-pages.mjs 查询小游戏试玩页列表,获取 playable_page_path account_id, app_id -
scripts/get-project-assets.mjs 查询全店托管商品列表(获取 marketing_asset_id) account_id, project_id(广告组ID) -
scripts/upload-image.mjs 上传图片到素材库(jpg/png/gif,≤10MB),返回 image_id account_id, file_path description, image_usage
scripts/get-images.mjs 查询素材库图片列表(按 ID 确认素材存在/查详情) account_id filtering, page, page_size
scripts/upload-video-svp.mjs 上传视频到素材库(SVP分片上传,支持大文件、断点续传) account_id, file_path description, concurrent, chunk_size, timeout
scripts/get-videos.mjs 查询素材库视频列表(按 ID 确认/查转码状态 system_status) account_id filtering, page, page_size
scripts/get-integrated-components.mjs 组件模式查询素材(含报表排序、起量潜力/首发/低质筛选) account_id, component_sub_types sort_field, sort_type, date_range, fuzzy_name, potential_status, first_publication_status, quality_status, generation_type, page, page_size, organization_id
scripts/get-integrated-media.mjs 素材库模式查询单图/视频(含可用性过滤、报表排序、多维筛选) account_id, type sort, sort_type, date_range, create_range, ratios, ratio_valids, fuzzy_name, label_id, similarity_status, quality_status, first_publication_status, generation_type, duration, watermark, page, page_size, organization_id
scripts/get-audios.mjs 查询妙思版权音频列表 account_id fields, page, page_size
scripts/get-dc-review-result.mjs 查询动态创意审核详情(含组件/元素审核结果、驳回原因、组件组合审核信息) account_id, dynamic_creative_id need_return_has_violation_reason_interpretation
scripts/dynamic-product-templates/get-dynamic-ad-image-templates.mjs 查询动态商品图片模版列表(MPA/DPA),返回可选模版 account_id, product_catalog_id, product_mode, dynamic_ad_template_width, dynamic_ad_template_height dynamic_ad_template_ownership_type, template_id_list, template_name
scripts/dynamic-product-templates/generate-dynamic-ad-image.mjs 从商品图片模版生成图片,返回 image_id account_id, product_catalog_id, product_mode, product_source, dynamic_ad_template_id, dynamic_ad_template_size remove_template_id
`scripts/dynamic-product-templates/get-dynamic-ad-video-templates.
Полный SKILL.md на GitHub

Установить tencentads-creatives в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

package.jsonreferences/component-depends-get.mdreferences/components-get.mdreferences/creative-components.mdreferences/creative-template-get.mdreferences/creative-template-list-get.mdreferences/dc-review-result-get.mdreferences/dynamic-ad-templates.mdreferences/dynamic-creatives-add.mdreferences/dynamic-creatives-delete.mdreferences/dynamic-creatives-get.mdreferences/dynamic-creatives-update.mdreferences/enums.mdreferences/integrated-components-get.mdreferences/integrated-media-get.mdreferences/material-labels.mdreferences/materials/images-add.mdreferences/materials/images-get.mdreferences/materials/muse-audios-get.mdreferences/materials/videos-add.mdreferences/materials/videos-get.mdreferences/profiles-get.mdscripts/add-material-labels.mjsscripts/bind-material-labels.mjsscripts/build-creative-params.mjsscripts/crc64-ecma182.mjsscripts/create-creative.mjsscripts/delete-creative.mjsscripts/dynamic-product-templates/generate-dynamic-ad-image.mjsscripts/dynamic-product-templates/generate-dynamic-ad-video.mjsscripts/dynamic-product-templates/get-dynamic-ad-image-templates.mjsscripts/dynamic-product-templates/get-dynamic-ad-video-templates.mjsscripts/get-audios.mjsscripts/get-component-depends.mjsscripts/get-component-list.mjsscripts/get-components.mjsscripts/get-creative-template-list.mjsscripts/get-creative-templates.mjsscripts/get-creative.mjsscripts/get-dc-review-result.mjs

FAQ

Что делает скилл tencentads-creatives?

腾讯营销(原腾讯广告)展示广告管理 - 创意管理。用于管理动态创意(dynamic_creatives)和创意形式(creative_template),以及素材标签(material_labels)。当用户需要创建或管理广告创意(含组件字段填写/审核详情)、或管理素材标签(素材标签查询、新建、更新和素材绑定)时使用此技能。排除搜索创意(search_dynamic_creatives)。

Как установить скилл tencentads-creatives?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл tencentads-creatives запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить tencentads-creatives с