提供: Bright Pattern Documentation
• English
rejectInteraction
受信したインタラクションを拒否します。
リクエスト
構文
| rejectInteraction(interactionId?: string): Promise<OperationResult<null>> |
パラメータ
| パラメータ | パラメータ値 | データ型 | オプション/必須 | 説明 |
| interactionId | 文字列 | オプション | 受信したインタラクションのidです。idが特定されていない場合は、アクティブなインタラクションが対象となります。 |
リクエスト例
rejectInteractionButton.onclick = () => {
const itemId = activeInteractionIdInput.value
adApi.rejectInteraction(itemId)
}
戻り値
null