Lines Matching refs:ad
81 | 21800003 | Failed to load the ad request. |
115 `request single ad errorCode is: ${errorCode}, errorMsg is: ${errorMsg}`);
119 hilog.info(0x0000, 'testTag', '%{public}s', 'succeed in requesting single ad!');
127 hilog.info(0x0000, 'testTag', '%{public}s', 'request single ad!');
160 | 21800003 | Failed to load the ad request. |
221 showAd(ad: Advertisement, options: AdDisplayOptions, context?: common.UIAbilityContext): void
234 | ad | [Advertisement](#advertisement) | 是 | 广告对象。 |
249 | 21800004 | Failed to display the ad. |
264 private ad?: advertising.Advertisement;
277 advertising.showAd(this.ad, this.adDisplayOptions, this.context);
279 … hilog.error(0x0000, 'testTag', '%{public}s', `show ad catch error: ${err.code} ${err.message}`);
486 onStatusChanged(status: string, ad: advertising.[Advertisement](#advertisement), data: string)
497 | ad | advertising.[Advertisement](#advertisement) | 是 | 发生状态变化的广告内容。 |
506 onStatusChanged: (status: string, ad: advertising.Advertisement, data: string) => {
612 | 21800005 | Failed to parse the ad response. |
640 hilog.info(0x0000, 'testTag', '%{public}s', 'parse ad response!');
698 `register web ad interface error: ${err.code}, ${err.message}`);