# com.bea.campaign
AdTracking Class

public class AdTracking
extends `AdEventTrackerBase`
implements `AdConstants`

Helper class for posting events related to ads and campaigns.

Hierarchy
  `Object`
  `AdEventTrackerBase`
  `AdTracking`

All Implemented Interfaces
  `AdConstants`, `AdEventTracker`

## Constructor Summary

AdTracking()

## Method Summary

`public void` | `raiseClickThruEvent`(`String` userId, `HttpServletRequest` request, `String` containerUID, `String` scenarioUID, `String` placeholder, `String` contpath) Raise a click-thru event for an ad from a scenario.
`public void` | `raiseDisplayEvent`(`String` userId, `HttpServletRequest` request, `String` containerUID, `String` scenarioUID, `String` placeholder, `String` contpath) Raise an impression event for an ad from a scenario.

Methods from `com.bea.p13n.ad.`AdEventTrackerBase``
``getEventService`,`

Methods from class `java.lang.`Object``
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Methods from interface `com.bea.p13n.ad.`AdEventTracker``
``raiseClickThruEvent`, `raiseDisplayEvent``

## Constructor Detail

### AdTracking

    public AdTracking()

## Method Detail

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

    public void raiseClickThruEvent(String userId,
                                    HttpServletRequest request,
                                    String containerUID,
                                    String scenarioUID,
                                    String placeholder,
                                    String contpath)

Raise a click-thru event for an ad from a scenario.

Overrides
  `AdEventTrackerBase.raiseClickThruEvent(String, HttpServletRequest, String, String, String, String)`

#### Parameters

userId
  the user id.

request
  the http servlet request.

containerUID
  the scenario container's (e.g. campaign) unique id.

scenarioUID
  the scenario's unique id.

placeholder
  the placeholder name.

contpath
  the ad's content id.

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

    public void raiseDisplayEvent(String userId,
                                  HttpServletRequest request,
                                  String containerUID,
                                  String scenarioUID,
                                  String placeholder,
                                  String contpath)

Raise an impression event for an ad from a scenario.

Overrides
  `AdEventTrackerBase.raiseDisplayEvent(String, HttpServletRequest, String, String, String, String)`

#### Parameters

userId
  the user id.

request
  the http servlet request.

containerUID
  the scenario container's (e.g. campaign) unique id.

scenarioUID
  the scenario's unique id.

placeholder
  the placeholder name.

contpath
  the ad's content path.