Ad-baidu Network Alliance Advertising detailed Ad-baidu Network Alliance advertising how to use

Source: Internet
Author: User
Tags json script tag

Support layout

Fixed-height

Fixed

Example

Non-custom basic use

<div class= "MIP-ADBD" >

<mip-ad

Type= "Ad-baidu"

Cproid= "u2697398" >

</mip-ad>

</div>

Non-customizable Add layout

Component layout: Document

<div class= "MIP-ADBD" >

<mip-ad

layout= "Responsive"

Width= "414"

height= "80"

Type= "Ad-baidu"

Cproid= "u2697398" >

</mip-ad>

</div>

Custom Advertising Use

It is to be noted that:

The parameters in the Script tab of a custom advertisement must be in double quotes, which means that the data in the script tag must be in JSON format

The mip-embed or mip-ad tag must have a DIV child node, and the node must have a property ID, and the attribute value of the ID is "Cpro_" as the prefix, and the cproid in the script tag is the suffix of the string, this example should be "cproid=" u1908671 "

The parameters of the custom ad are consistent with the original page parameters, and the following code is for reference only

layout= "responsive" for component layout settings, document

<mip-embed

layout= "Responsive"

Width= "414"

height= "157"

Type= "Ad-baidu"

Cproid= "u1908671" >

<script type= "Application/json" >

{

"At": "3",

"HN": "0",

"WN": "0",

"Imgradio": "1.7",

"Scale": "20.6",

"Pat": "6",

"TN": "Template_inlay_all_mobile_lu_native",

"Rss1": "#FFFFFF",

"ADP": "1",

"PTT": "0",

"TITFF": "%E",

"Rss2": "#FFFFFF",

"Titsu": "0",

"PTBG": "70",

"PTP": "1"

}

</script>

<div id= "cpro_u1908671" ></div>

</mip-embed>

Property

Type

Description: Advertising Type

Required option: Yes

Type: string

Take value: Ad-baidu

Default value: None

Cproid

Description: Network Alliance advertising ID

Required option: Yes

Type: string

Default value: None

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.