feat(stdproject): 获取巨量智擎版标准投放项目和素材能力#81
Conversation
新增标准项目列表获取、项目下素材查询接口,配套新增相关枚举定义与文档注释,完善SDK文档说明
There was a problem hiding this comment.
Code Review
This pull request introduces the OceanEngine Marketing API's standard delivery capabilities (api/v3/stdproject), adding endpoints to list standard projects and retrieve materials, along with their associated request/response models and enums. The review feedback highlights type inconsistencies for ProductID and GameAddictionID between the StdProject and ListFilter structs, where they are defined as string in one and uint64 in the other, which could cause unmarshaling issues.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
| // ProductID 产品ID | ||
| ProductID string `json:"product_id,omitempty"` |
There was a problem hiding this comment.
The ProductID field is defined as string here, but in ListFilter (in list.go), it is defined as uint64. This type inconsistency can lead to unmarshaling errors or integration issues when mapping fields. Please make the types consistent across both structs.
| // ProductID 产品ID | |
| ProductID string `json:"product_id,omitempty"` | |
| // ProductID 产品ID | |
| ProductID uint64 `json:"product_id,omitempty"` |
| // GameAddictionID 关键行为ID | ||
| GameAddictionID string `json:"game_addiction_id,omitempty"` |
There was a problem hiding this comment.
The GameAddictionID field is defined as string here, but in ListFilter (in list.go), it is defined as uint64. This type inconsistency can lead to unmarshaling errors or integration issues. Please make the types consistent across both structs.
| // GameAddictionID 关键行为ID | |
| GameAddictionID string `json:"game_addiction_id,omitempty"` | |
| // GameAddictionID 关键行为ID | |
| GameAddictionID uint64 `json:"game_addiction_id,omitempty"` |
新增标准项目列表获取、项目下素材查询接口,配套新增相关枚举定义与文档注释,完善SDK文档说明
官方文档: https://bytedance.larkoffice.com/docx/BH6zdu3j2o9hiGxr4oucedjFnGb