Type: ad-imageplus picture plus advertisement


Picture + specific method of migrating advertising code bits to mip

Support layout

  • N/S

Example

Example 1

Non-mip page delivery method

<!-- 图+原代码位 示例 -->
<script type="text/javascript">
var baiduImagePlus = {
    unionId: "u888888"
};
</script>
<script src="//m.sbmmt.com/cpro/ui/mi.js"></script>

mip page delivery method

<mip-ad 
    type="ad-imageplus"
    unionId="u888888"
    >
</mip-ad>

Example 2

Non-mip page delivery method

<!-- 图+原代码位 示例 -->
<script type="text/javascript">
var baiduImagePlus = {
    unionId: "u888888",
    formList: [{formId:21}, {formId:22}]
};
</script>
<script src="//m.sbmmt.com/cpro/ui/mi.js"></script>

mip page delivery method

<mip-ad 
    type="ad-imageplus"
    unionId="u888888"
    FormList="[{formId:21}, {formId:22}]"
    >
</mip-ad>

Example 3

Non-mip page delivery method

<!-- 图+原代码位 示例 -->
<script type="text/javascript">
var baiduImagePlus = {
    unionId: "u888888",
    formList: [{formId:21}, {formId:22}],
    nopicFormList: [{formId:25}]
};
</script>
<script src="//m.sbmmt.com/cpro/ui/mi.js"></script>

mip page delivery method

<mip-ad 
    type="ad-imageplus"
    unionId="u888888"
    FormList="[{formId:21}, {formId:22}]"
    nopicFormList="[{formId:25}]"
    >
</mip-ad>

Attributes

type

Description: Advertising category after migrating to mip
Required option: Yes
Type: String
Value: ad-imageplus Default value: None

unionId

Description: Advertising slot id, the same as the original advertising slot id (the original advertising slot id may also be called cpro_id) Required: Yes
Type: String
Default value: None

FormList

Description: Advertising style list, copied from the original ad slot formList attribute Just come here, if the original advertising space does not have formList, then omit
Required option: No
Type: String
Default value: None

nopicFormList

Description: Advertising style list, just copy it from the original advertising space nopicFormList attribute. If the original advertising space does not have nopicFormList, omit it
Required option: No
Type: character String
Default value: None

Notes

  1. Baidu Alliance business end: http://union.baidu.com
  2. Picture + advertising official website: http ://imageplus.baidu.com
  3. Pictures + advertising code positions will automatically load and display ads on the first 4 large pictures on the page
  4. Pictures+Advertising If you select for the specific style, please go to Baidu Alliance Business End or 图+Advertising Official Website to operate
  5. On one page, only should appear One image + code bit can support the function of displaying multiple styles of advertisements on multiple images