# com.bea.p13n.ad
AdEventTracker Interface

public interface AdEventTracker

Base interface for tracking events. The ad package raises two basic events. The display event is raised when an ad is displayed. The click thru event is raised when a user initiates some action against an ad.

All Known Implementing Classes
  `AdEventTrackerBase`

## Method Summary

`public void` | `raiseClickThruEvent`(`String` userId, `HttpServletRequest` request, `String` containerUID, `String` contextUID, `String` placeholder, `String` contPath) Raise an event when an ad is clicked on
`public void` | `raiseDisplayEvent`(`String` userId, `HttpServletRequest` request, `String` containerUID, `String` contextUID, `String` placeholder, `String` contPath) Raise an event when an ad is displayed.

## Method Detail

### raiseClickThruEvent(String, HttpServletRequest, String, String, String, String) Method

    public void raiseClickThruEvent(String userId,
                                    HttpServletRequest request,
                                    String containerUID,
                                    String contextUID,
                                    String placeholder,
                                    String contPath)

Raise an event when an ad is clicked on

#### Parameters

userId
  the user id

request
  the HTTP request

containerUID
  the UID of the container

contextUID
  the UID of the context

placeholder
  the name of the placeholder,

contPath
  the content path of the ad

### raiseDisplayEvent(String, HttpServletRequest, String, String, String, String) Method

    public void raiseDisplayEvent(String userId,
                                  HttpServletRequest request,
                                  String containerUID,
                                  String contextUID,
                                  String placeholder,
                                  String contPath)

Raise an event when an ad is displayed.

#### Parameters

userId
  the user id

request
  the HTTP request

containerUID
  the UID of the container

contextUID
  the UID of the context

placeholder
  the name of the placeholder,

contPath
  the content path of the ad