The LibraryCustomHTMLAd data object represents a custom HTML ad.
| Restrictions * | ||||
|---|---|---|---|---|
| Element | Data Type | Description | Add | Full-Up |
| accountID | string | The ID of the account. | RO | RO |
| adFormat | AdFormat | The format of the ad. | RO | RO |
| adSecurity | AdSecurity | The security of the ad. | Opt | Opt |
| adSizeID | long | The ID of the ad size (based on the width and height of the ad). | RO | RO |
|
associatedTo Placement |
boolean | Indicates whether the ad is associated with a placement. | RO | RO |
| createTimestamp | dateTime | The date the ad was added. | RO | RO |
| creativeIDs | long[] | The IDs of the creatives for the ad. | Req | Req |
| editorialStatus | EditorialStatus | The editorial status of the ad. | RO | RO |
| folderID | long | The ID of the folder for the ad. By default, the ad will be placed under the root folder of the current account. | Opt | Opt |
| height | long | The height of the ad. | Req | Req |
|
htmlTagWith Macros |
string | The HTML tag code for the ad. | Req | Req |
| ID | long | The ID of the ad. | RO | Req |
|
impressionTracking URL |
string | The URL of the impression tracking system for the ad. | Opt | Opt |
| lastUpdateTimestamp | dateTime | The date the ad was last updated. | RO | RO |
| name | string | The name of the ad. | Req | Req |
| status | LibraryAdStatus | The status of the ad. | RO | RO |
| suppressAptAdMarker | boolean | Indicates if the APT from Yahoo! platform ad marker must be suppressed (true) or displayed (false). | Opt | Opt |
| type | long |
The type of ad. For: TEXT ad, 1 MOBILE ad, 2 IMAGE ad, 3 FLASH ad, 4 VIDEO ad, 5 AUDIO ad, 6 RICHMEDIA ad, 7 THIRDPARTY ad, 8 CUSTOM ad, 9 CUSTOMIZABLEFLASH ad, 10 DYNAMICFLASH ad, 11 CLICKABLEVIDEO ad, 12 INTERACTIVEVIDEO ad, 13 CUSTOMIZABLECLICKABLEVIDEO ad, 14 BUMPERVIDEO ad, 15 OVERLAYCLICKTOSITE ad, 16 OVERLAYCLICKTOVIDEO ad, 17 INTERACTIVEPHARMA ad, 18 CUSTOMTEMPLATE ad, 19. |
RO | RO |
| width | long | The width of the ad. | Req | Req |