Ad-comm General Advertising Detailed

Source: Internet
Author: User

Support Layout

Reponsive

Fixed-height

Fixed

Sample

Banner Style

layout= "responsive" for component layout settings, document

<mip-ad

layout= "Responsive"

Width= "414"

height= "80"

Type= "Ad-comm"

Tpl= "Onlyimg"

href= "//m.baidu.com/s?word= Baidu"

Data-size= "1242 180"

src= "//m.baidu.com/static/search/ala/ad_1.png" >

</mip-ad>

no diagram style

<mip-ad

layout= "Fixed-height"

height= "80"

Type= "Ad-comm"

Tpl= "Noneimg"

href= "//m.baidu.com/s?word= Baidu"

data-title= "ad title" >

</mip-ad>

single-chart style

<mip-ad

layout= "Reponsive"

Width= "414"

height= "80"

Type= "Ad-comm"

Tpl= "Oneimg"

href= "//m.baidu.com/s?word= Baidu"

Data-size= "1242 180"

Src= "Https://ss2.bdstatic.com/70cFvnSh_Q1YnxGkpoWK1HF6hhy/it/u=2357051511,2286288825&fm=11&gp=0.jpg"

data-title= "ad title" >

</mip-ad>

Multi-graph style

<mip-ad

Type= "Ad-comm"

Tpl= "Moreimg"

href= "//m.baidu.com/s?word= Baidu"

Data-size= "1242 180"

Src= "Yun_qi_img/error.html;yun_qi_img/error.html;yun_qi_img/error.html"

Data-ads= "Here is a summary of the advertisement;

Data-txt= "Here is the title of the picture; This is the title of the picture."

Data-title= "Here is the ad title here is the ad title label" >

</mip-ad>

Property

type

Description: Advertising Type

Required option: Yes

Type: string

Value: Ad-comm Default value: None

TPL

Description: Style

Required option: Yes

Type: string

Value: banner,noneimg,oneimg,moreimg Default value: None

href

Description: Jump Address

Required option: Yes

Type: URL

Default value: None

src

Description: Picture address, in multiple image types, the address of multiple pictures with a half-width semicolon (;) separated

Required option: No

Type: string

Default value: None

data-size

Description: Picture size, used to set the picture's width and height ratio, in the case of a picture need to set

Required option: No (required when advertisement type is banner)

Type: Two digits separated by spaces

Default value: None

Data-title

Description: Advertisement title, can be set as the advertisement description

Required options: Banner, multiple graphs) No (no diagram, single picture) is

Type: string

Default value: None

Data-txt

Description: Ad subheadings, multiple maps available

Required option: No

Type: string

Default value: None

data-ads

Description: Ad summary, available when multiple diagrams

Required option: No

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.