001package com.intentsoftware.addapptr;
002
003/**
004 * The delegate that can be used to customize the banner request with regards to keyword targeting. If no delegate is set, all networks will get the targeting information.
005 */
006@SuppressWarnings({"unused", "WeakerAccess"})
007public interface BannerRequestDelegate {
008
009    /**
010     * Decides if for a given request and {@link AdNetwork} the targeting information should be passed.
011     * @param request The {@link BannerRequest} for which the decission is being made.
012     * @param network The {@link AdNetwork} for which the decission is being made.
013     * @return True if targeting should be used, false otherwise.
014     */
015    boolean shouldUseTargeting(BannerRequest request, AdNetwork network);
016}