Except as otherwise noted,
the content of this page is licensed under the Creative Commons
Attribution 3.0 License.
Google Code offered in: English - Español - 日本語 - 한국어 - Português - Pусский - 中文(简体) - 中文(繁體)
Represents a MobileAd. A mobile ad can contain a click-to-call phone number, a link to a website, or both. You specify which features you want by setting certain fields, as shown in the following table. For example, to create a click-to-call mobile ad, set the fields in the Click-to-call column. A hyphen means don't set the corresponding field.
| Click-to-call | Website | Both |
|---|---|---|
| headline description mobileCarriers phoneNumber countryCode businessName - - - |
headline description mobileCarriers - - - displayUrl destinationUrl markupLanguages |
headline description mobileCarriers phoneNumber countryCode businessName displayUrl destinationUrl markupLanguages |
| Field | Type | Description |
|---|---|---|
Ad (inherited) |
||
| id |
xsd:long
|
ID of Ad This field is read only and should not be set for following Operators : ADD. |
| url |
xsd:string
|
Destination URL |
| displayUrl |
xsd:string
|
Visible URL |
| approvalStatus |
Ad.ApprovalStatus
|
Approval status
This field is read only and should not be set.
|
| disapprovalReasons |
xsd:string[]
|
List of disapproval reasons This field is read only and should not be set. |
| Ad.Type |
xsd:string
|
This field indicates the subtype of Ad of this instance. It is ignored on input, and instead xsi:type should be specified. |
MobileAd |
||
| headline |
xsd:string
|
The headline of the ad |
| description |
xsd:string
|
The description line |
| markupLanguages |
MarkupLanguageType[]
|
The list of markup languages to use for the mobile ad.
Values are:
|
| mobileCarriers |
xsd:string[]
|
The list of mobile carriers to use for the mobile ad. Each string must be of the form 'CarrierName@CountryCode'. To specify that all available carriers are to be used, use the reserved keyword 'ALLCARRIERS'. |
| businessName |
xsd:string
|
The business name of the mobile ad. Must not exceed 20 characters except for ads targeted to Japan which must not exceed 10 Japanese characters. |
| countryCode |
xsd:string
|
The country code for the phone number in the click-to-call mobile ad. The click-to-call ad will appear only in this country. The countryCode will be used to verify the phone number format, as well validate the targeted mobile carriers. |
| phoneNumber |
xsd:string
|
The phone number for use in click-to-call. Must not exceed 20 characters. |