提供: Bright Pattern Documentation
移動先: 案内検索
• English

rejectInteraction

受信したインタラクションを拒否します。

リクエスト

構文

rejectInteraction(interactionId?: string): Promise<OperationResult<null>>

パラメータ

パラメータ パラメータ値 データ型 オプション/必須 説明
interactionId 文字列 オプション 受信したインタラクションのidです。idが特定されていない場合は、アクティブなインタラクションが対象となります。

リクエスト例

    rejectInteractionButton.onclick = () => {

const itemId = activeInteractionIdInput.value

adApi.rejectInteraction(itemId)

}

戻り値

null

< 前へ | 次へ >