Example Static Promotion Rule

The following QMS rule returns when you send a query for promotions that contains one or more of the terms news, drama, or data in the query text. QMS then returns the IDOL Server document with the reference 4567389246372.

#DREREFERENCE static_promotion 
#DRETITLE url_redirect_1 
#DREDBNAME ACTIVATED 
#DREOUTPUTENCODING UTF8 
#DRELANGUAGETYPE englishUTF8
#DREFIELD QMSAGENTBOOL="news OR drama OR data"
#DREFIELD PROMOTION_NAME="static_promotion_1"
#DREFIELD QMSTYPE="2"
#DREFIELD QMS_PROMOTION_ITEMS="0"
#DREFIELD QMS_PROMOTION_ITEM_COUNT="0"
#DREFIELD QMSVALUE1="4567389246372"
#DREFIELD ALWAYSACTIVE="True"
#DRECONTENT
NEWS DRAMA DATA 
#DREENDDOC

For example, the following query to QMS returns this promotion:

action=Query&Text=drama&Promotions=True

_HP_HTML5_bannerTitle.htm