Properties

$adzoneId

$adzoneId : 

mm_xxx_xxx_xxx的第三位

Type

$contentId

$contentId : 

内容专用-内容详情ID

Type

$contentSource

$contentSource : 

内容专用-内容渠道信息

Type

$deviceEncrypt

$deviceEncrypt : 

智能匹配-设备号加密类型:MD5,类型为OAID时不传

Type

$deviceType

$deviceType : 

智能匹配-设备号类型:IMEI,或者IDFA,或者UTDID(UTDID不支持MD5加密),或者OAID

Type

$deviceValue

$deviceValue : 

智能匹配-设备号加密后的值(MD5加密需32位小写),类型为OAID时传原始OAID值

Type

$favoritesId

$favoritesId : 

选品库投放id

Type

$itemId

$itemId : 

商品ID,用于相似商品推荐

Type

$materialId

$materialId : 

官方的物料Id(详细物料id见:https://market.m.taobao.com/app/qn/toutiao-new/index-pc.html#/detail/10628875?_k=gpov9a)

Type

$pageNo

$pageNo : 

第几页,默认:1

Type

$pageSize

$pageSize : 

页大小,默认20,1~100

Type

$apiParas

$apiParas : 

Type

Methods

setAdzoneId()

setAdzoneId(  $adzoneId) 

Parameters

$adzoneId

getAdzoneId()

getAdzoneId() 

setContentId()

setContentId(  $contentId) 

Parameters

$contentId

getContentId()

getContentId() 

setContentSource()

setContentSource(  $contentSource) 

Parameters

$contentSource

getContentSource()

getContentSource() 

setDeviceEncrypt()

setDeviceEncrypt(  $deviceEncrypt) 

Parameters

$deviceEncrypt

getDeviceEncrypt()

getDeviceEncrypt() 

setDeviceType()

setDeviceType(  $deviceType) 

Parameters

$deviceType

getDeviceType()

getDeviceType() 

setDeviceValue()

setDeviceValue(  $deviceValue) 

Parameters

$deviceValue

getDeviceValue()

getDeviceValue() 

setFavoritesId()

setFavoritesId(  $favoritesId) 

Parameters

$favoritesId

getFavoritesId()

getFavoritesId() 

setItemId()

setItemId(  $itemId) 

Parameters

$itemId

getItemId()

getItemId() 

setMaterialId()

setMaterialId(  $materialId) 

Parameters

$materialId

getMaterialId()

getMaterialId() 

setPageNo()

setPageNo(  $pageNo) 

Parameters

$pageNo

getPageNo()

getPageNo() 

setPageSize()

setPageSize(  $pageSize) 

Parameters

$pageSize

getPageSize()

getPageSize() 

getApiMethodName()

getApiMethodName() 

getApiParas()

getApiParas() 

check()

check() 

putOtherTextParam()

putOtherTextParam(  $key,   $value) 

Parameters

$key
$value