|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.hd.d.pg2k.webSvr.ads.AdConsts
public final class AdConsts
Advertising-related constants.
| Field Summary | |
|---|---|
static boolean |
AD_SUPPORT
If true, support Web advertising in the Gallery. |
static int |
ADSENSE_MAX_ADUNITS
Maximum number of Google AdSense AdUnits (not including AdLinks) allowed on one page. |
static java.lang.String |
ASLU_AVAILABLE_REQ_ATTR_NAME
Name of request-level attribute to indicate that we've voluntarily dropped a G AdLink unit if set non-null. |
static boolean |
DROP_ADS_ON_FIRST_PAGE_VIEW
If true then show no or fewer ads on first page that a user sees, whichever it is. |
static boolean |
DROP_MORE_ADS_FOR_ALT_CONTENT
Drop more ads on poorly-performing pages. |
static boolean |
DYNAMICALLY_CHOOSE_AD_NETWORK
If true then try to dynamically choose ad network (and page layout) based on performance. |
static boolean |
ENABLE_ADBRITE
If true, enable AdBrite ad slots. |
static boolean |
ENABLE_CASALEMEDIA
If true, enable Casale Media ad slots. |
static boolean |
ENABLE_CONV_TRACKING
If true then enable conversion tracking of ads for the Gallery. |
static boolean |
ENABLE_ESHIRT
If true, enable eShirt link/ads. |
static boolean |
ENABLE_TRIBALFUSION
If true, enable TribalFusion ad slots. |
static java.lang.String |
LAYOUT_STYLE_EVENT_PREFIX
Prefix in global event set for layoutStyle parameter to capture name of click-through in given page layout. |
static int |
MAX_SS_AD_WAIT_MS
Maximum server-side ad insertion wait in milliseconds; non-negative. |
static java.lang.String |
MPINTLAYOUT_EVENT_PREFIX
Prefix in global event set for click-through when in given internal mid-page layout. |
static java.lang.String |
MPINTLAYOUT_KHITS_EVENT_PREFIX
Prefix in global event set of mid-page-ad internal layout page-view name. |
static java.lang.String |
PAGE_LAYOUT_KHITS_EVENT_PREFIX
Prefix in global event set of ad/page layout page-view name. |
static java.lang.String |
RQPNAME_MPINTLAYOUT
Request property name that holds String name of (last) internal mid-page layout, if any, for current page. |
static java.lang.String |
RQPNAME_PAGELAYOUT
Request property name that holds String name of page/ad, if any, for current page. |
static java.lang.String |
RQPNAME_TOWERINTLAYOUT
Request property name that holds String name of (last) internal tower layout, if any, for current page. |
static java.lang.String |
RQPNAME_TOWERPOS
Request property name that holds AdTowerPos tower layout, if any, for current page. |
static int |
TARGET_MIN_WORDS_PER_AD_BLOCK
Target minimum 'information' words per display ad on each page; strictly positive. |
static java.lang.String |
TOWERINTLAYOUT_EVENT_PREFIX
Prefix in global event set for click-through when in given internal tower layout. |
static java.lang.String |
TOWERINTLAYOUT_KHITS_EVENT_PREFIX
Prefix in global event set of tower-ad internal layout page-view name. |
static boolean |
TRACK_AS_CLICKTHROUGHS
If true then try to capture/sample AdSense clickthroughs. |
| Constructor Summary | |
|---|---|
private |
AdConsts()
Prevent construction of an instance. |
| Method Summary |
|---|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final boolean AD_SUPPORT
This may include things such as in-line banners, adjusted page layout, click-through monitoring, etc.
With this false, such special support is removed, and ads are limited to whatever is included in general banner rotations, etc.
public static final boolean TRACK_AS_CLICKTHROUGHS
public static final boolean DYNAMICALLY_CHOOSE_AD_NETWORK
This may also have the effect of avoiding some 'reduced advertising' layouts.
public static final boolean DROP_MORE_ADS_FOR_ALT_CONTENT
This also needs a run-time property to be set to be effective.
We may do this to help reduce ad blindness and to increase CTR for advertisers (and thus eCPM for us long-term possibly).
public static final boolean DROP_ADS_ON_FIRST_PAGE_VIEW
public static final boolean ENABLE_ESHIRT
public static final boolean ENABLE_CONV_TRACKING
public static final boolean ENABLE_ADBRITE
public static final boolean ENABLE_TRIBALFUSION
public static final boolean ENABLE_CASALEMEDIA
public static final int ADSENSE_MAX_ADUNITS
public static final java.lang.String RQPNAME_TOWERPOS
public static final java.lang.String LAYOUT_STYLE_EVENT_PREFIX
public static final java.lang.String PAGE_LAYOUT_KHITS_EVENT_PREFIX
public static final java.lang.String RQPNAME_PAGELAYOUT
public static final java.lang.String RQPNAME_TOWERINTLAYOUT
public static final java.lang.String TOWERINTLAYOUT_EVENT_PREFIX
public static final java.lang.String TOWERINTLAYOUT_KHITS_EVENT_PREFIX
public static final java.lang.String RQPNAME_MPINTLAYOUT
public static final java.lang.String MPINTLAYOUT_EVENT_PREFIX
public static final java.lang.String MPINTLAYOUT_KHITS_EVENT_PREFIX
public static final java.lang.String ASLU_AVAILABLE_REQ_ATTR_NAME
public static final int TARGET_MIN_WORDS_PER_AD_BLOCK
Standard boilerplate/furniture words should be excluded from this measure, as they don't add 'information' or real 'content' to the page.
Code may be marginally more efficient if this value is a power of 2.
public static final int MAX_SS_AD_WAIT_MS
May allow slightly more efficient code if a power of two.
| Constructor Detail |
|---|
private AdConsts()
|
DHD Multimedia Gallery V1.53.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||