Printer Friendly Version      Send     
Click to Rate and Give Feedback
MSDN
MSDN Library
Live Services SDK
 MobileAd Data Object (V5.1)
Microsoft Advertising APIs
MobileAd Data Object (V5.1)

Represents a mobile ad. A mobile ad is displayed to a user when the ad is viewed on a mobile device. This class is derived from the Ad class.

Elements

Inherited Elements

Business Rules

Element Rules

<xs:complexType name="MobileAd">
    <xs:complexContent mixed="false">
        <xs:extension base="tns:Ad">
            <xs:sequence>
                <xs:element minOccurs="0" name="BusinessName" nillable="true" type="xs:string"/>
                <xs:element minOccurs="0" name="DisplayUrl" nillable="true" type="xs:string"/>
                <xs:element minOccurs="0" name="PhoneNumber" nillable="true" type="xs:string"/>
                <xs:element minOccurs="0" name="Text" nillable="true" type="xs:string"/>
                <xs:element name="Title" nillable="true" type="xs:string"/>
            </xs:sequence>
        </xs:extension>
    </xs:complexContent>
</xs:complexType>

Element Description Data Type Add Update Rules

BusinessName

Specifies the name of the business for the mobile ad.

string

Optional. If not specified, the DestinationUrl and DisplayUrl elements are required.

Optional

BusinessName Element

DisplayUrl

Specifies the display URL for the ad.

string

Optional. If not specified, the BusinessName and PhoneNumber elements are required.

Optional

DisplayUrl Element

PhoneNumber

Specifies the phone number for the mobile ad. This is the phone number that is dialed when the ad is clicked.

string

Optional. If not specified, the DestinationUrl and DisplayUrl elements are required.

Optional

PhoneNumber Element

Text

Specifies the text of the ad.

string

Required

Optional

Text Element

Title

Specifies the title of the ad.

string

Required

Optional

Title Element

The properties in the following table are inherited from the Ad object.

Element Description Data Type Add Update Rules

DestinationUrl

Specifies the destination URL for the ad. This is the URL for the webpage that you want people to visit when they click the ad.

string

Optional. If not specified, the BusinessName and PhoneNumber elements are required.

Optional

DestinationUrl Element

EditorialStatus

Reserved for future use.

AdEditorialStatus

Not used

Not used

None

ExemptionRequest

Reserved for future use.

string

Not used

Not used

None

Id

Identifies the ad.

int

Read-only

Required; specifies the ad to update.

None

Status

Reserved for future use.

AdStatus

Not used

Not used

None

Type

Specifies the type of the ad.

AdType

Read-only

Read-only

Type Element

General Business

There can be no more than 20 ads in an ad group.

For more information, see the Business Rules section of the Ad object.

BusinessName Element

The maximum length for the business name in a mobile ad is 20 characters.

DestinationUrl Element

For text ads, the maximum length for a destination URL is 1,022 characters.

For more information, see the DestinationUrl element of the Ad object.

DisplayUrl Element

The maximum length of this property is 200 characters. The maximum length of the displayed URL after all parameters have been expanded is 20 characters.

PhoneNumber Element

The maximum length for a mobile ad phone number is 20 characters.

Text Element

The maximum length of this property is 300 characters. The maximum length of the displayed mobile ad text after all parameters have been expanded is 18 characters.

Title Element

The maximum length of this property is 80 characters. The maximum length of the displayed mobile ad title after all parameters have been expanded is 18 characters.

Type Element

The ad type is read-only; it is set at creation time based on the type of derived class used to create the object. For text ads, this element always contains "Mobile".

WSDL: CampaignManagement.svc in version 5.1.

© 2008 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker