-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(project): 巨量广告增加推广产品/载体信息,部分投放场景字段校验逻辑变动
- Loading branch information
Showing
4 changed files
with
94 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
package enum | ||
|
||
// DeliveryMedium 单投放载体 | ||
type DeliveryMedium string | ||
|
||
const ( | ||
// DeliveryMedium_WECHAT_GAME:微信小游戏 | ||
DeliveryMedium_WECHAT_GAME DeliveryMedium = "WECHAT_GAME" | ||
// DeliveryMedium_WECHAT_GAMEWECHAT_APP:微信小程序 | ||
DeliveryMedium_WECHAT_GAMEWECHAT_APP DeliveryMedium = "WECHAT_GAMEWECHAT_APP" | ||
// DeliveryMedium_WECHAT_GAMEBYTE_GAME:字节小游戏 | ||
DeliveryMedium_WECHAT_GAMEBYTE_GAME DeliveryMedium = "WECHAT_GAMEBYTE_GAME" | ||
// DeliveryMedium_WECHAT_GAMEBYTE_APP:字节小程序 | ||
DeliveryMedium_WECHAT_GAMEBYTE_APP DeliveryMedium = "WECHAT_GAMEBYTE_APP" | ||
// DeliveryMedium_WECHAT_GAMEPRODUCT:商品 | ||
DeliveryMedium_WECHAT_GAMEPRODUCT DeliveryMedium = "WECHAT_GAMEPRODUCT" | ||
// DeliveryMedium_WECHAT_GAMEORANGE: 橙子落地页 | ||
DeliveryMedium_WECHAT_GAMEORANGE DeliveryMedium = "WECHAT_GAMEORANGE" | ||
// DeliveryMedium_WECHAT_GAMETHIRDPARTY :自研落地页 | ||
DeliveryMedium_WECHAT_GAMETHIRDPARTY DeliveryMedium = "WECHAT_GAMETHIRDPARTY" | ||
// DeliveryMedium_WECHAT_GAMEENTERPRISE :企业号落地页 | ||
DeliveryMedium_WECHAT_GAMEENTERPRISE DeliveryMedium = "WECHAT_GAMEENTERPRISE" | ||
// DeliveryMedium_WECHAT_GAMEAWEME: 抖音号 | ||
DeliveryMedium_WECHAT_GAMEAWEME DeliveryMedium = "WECHAT_GAMEAWEME" | ||
// DeliveryMedium_WECHAT_GAMEQUICK_APP:快应用 | ||
DeliveryMedium_WECHAT_GAMEQUICK_APP DeliveryMedium = "WECHAT_GAMEQUICK_APP" | ||
// DeliveryMedium_WECHAT_GAMEAPP:应用 | ||
DeliveryMedium_WECHAT_GAMEAPP DeliveryMedium = "WECHAT_GAMEAPP" | ||
// DeliveryMedium_WECHAT_GAMELANDING_PAGE_LINK:落地页 | ||
DeliveryMedium_WECHAT_GAMELANDING_PAGE_LINK DeliveryMedium = "WECHAT_GAMELANDING_PAGE_LINK" | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
package enum | ||
|
||
// DeliveryProduct 推广产品 | ||
type DeliveryProduct string | ||
|
||
const ( | ||
// DeliveryProduct_NONE:无产品 | ||
DeliveryProduct_NONE DeliveryProduct = "NONE" | ||
// DeliveryProduct_APP :应用 | ||
DeliveryProduct_APP DeliveryProduct = "APP" | ||
// DeliveryProduct_PRODUCT:商品 | ||
DeliveryProduct_PRODUCT DeliveryProduct = "PRODUCT" | ||
// DeliveryProduct_WECHAT_GAME:微信小游戏 | ||
DeliveryProduct_WECHAT_GAME DeliveryProduct = "WECHAT_GAM" | ||
// DeliveryProduct_WECHAT_APP:微信小程序 | ||
DeliveryProduct_WECHAT_APP DeliveryProduct = "WECHAT_APP" | ||
// DeliveryProduct_BYTE_GAME:字节小游戏 | ||
DeliveryProduct_BYTE_GAME DeliveryProduct = "BYTE_GAME" | ||
// DeliveryProduct_BYTE_APP:字节小程序 | ||
DeliveryProduct_BYTE_APP DeliveryProduct = "BYTE_APP" | ||
// DeliveryProduct_QUICK_APP:快应用 | ||
DeliveryProduct_QUICK_APP DeliveryProduct = "QUICK_APP" | ||
// DeliveryProduct_AWEME:抖音号 | ||
DeliveryProduct_AWEME DeliveryProduct = "AWEME" | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
package enum | ||
|
||
// MultiDeliveryMedium 多投放载体,仅当landing_type = LINK 销售线索推广目的下会返回 | ||
type MultiDeliveryMedium string | ||
|
||
const ( | ||
// MultiDeliveryMedium_ORANGE_AND_AWEME 优选投放橙子落地页和抖音主页 | ||
MultiDeliveryMedium_ORANGE_AND_AWEME MultiDeliveryMedium = "ORANGE_AND_AWEME" | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters