Hello,
I'll respond to your questions in order:
> 1. The document says to pass detected_sensitive_category and detected_product_category to bcat, but the format of detected_sensitive_category is [10007,11496,13418,13934], but the example of bcat is ["IAB6-4","IAB19-18","IAB19-24"], so how to convert these two? Or use the detectedCategories returned in the Creatives API CreativeServingDecision object instead of detected_sensitive_category and detected_product_category, because its format is ["IAB6-4","IAB19-18","IAB19-24"].
Rather than trying to convert between the two, we recommend that you do the latter–use the detectedCategories
field in the Real-time Bidding API's creatives resource to determine which creatives should be excluded.
> 2. There are also some problems with the detected_attributes field.
2.1 It is not in the CreativeServingDecision object and it has expired. How should I get its content?
I've actually received similar feedback that I already raised with the engineering team. Discussion is ongoing, but it seems that several attributes found in buyer-declarable-creative-attributes.txtare obsolete–an obvious example being ADOBE_FLASH_FLV
( 3
). We're currently investigating whether there are valid cases where a creative would have no detected attributes, so we'll need to get back to you on that.
> 2.2 The data format does not match. In the Creatives API Creative is DeclaredAttributes []string `json:"declaredAttributes,omitempty"`, but in Openrtb2.5, battr is a []int type
Yes, this was an issue that became apparent a while back. Please see this mapping guide
.
