Targeting Objects

The content selection objects are used to select custom content for display on Web pages and are part of the Content Selection Framework (CSF). Although the CSF uses many different objects to select content, such as the ContentList object, the ContentListFactory object, and the CacheManager object, this section focuses on the ContentSelector object, which is the main object used to get and display targeted content. The ContentSelector object invokes different CSF pipelines to select different types of content based on the dictionary passed to the GetContent method.

The Targeting Programming Concepts topic describes the concepts related to programming with the Content Selection objects.

Objects

Visual Basic Reference C++ Invocation Description
ContentList ContentList Contains a representation of each content item eligible for a given request for content. Also provides services to Content Selection Framework (CSF) components such as filtering and sorting.
ContentListFactory ContentListFactory Allows creation of ContentList objects, and stores data shared by those objects.
ContentListSchema ContentListSchema Allows manipulation of the schema for a ContentListFactory object.
ContentSelector ContentSelector Allows specification and retrieval of page content.
ExpressionEval ExpressionEval Allows selection and evaluation of one or more expressions against a set of profiles.
ExpressionStore ExpressionStore Provides methods to create, save, modify, and retrieve expressions.
ExprEvalContext ExprEvalContext Stores a specific evaluation context (set of profiles) that can be used for multiple expression evaluation operations.
ExprFltrQueryBldr ExprFltrQueryBldr Translates an expression in XML form into a SQL filter query string.
ListManager ListManager Provides methods to create, destroy, manage, and manipulate lists.
PredictorClient PredictorClient Loads an analysis model, sets properties controlling the prediction context, and executes the prediction algorithm.
RowCollection RowCollection Allows enumeration of the rows returned from the ActiveRows and AllRows properties, and the Search method, of a ContentList object, and from the AllRows property and the Search method of a ContentListFactory object.

Examples

Example Description
Code to Support the ContentSelector Object Contains code to include in the Global.asa file to support the ContentSelection object.
Code to Execute the ContentSelector Object Contains code to include in the Default.asp file that you use to create the ContentSelection object, code that you use with the GetContent method, and code you use to write ads to the Web page.
Code to Connect to the Expression Store Describes how to connect to, and disconnect from, the Expression Store.
Code to Create an Evaluation Context Describes how to create an evaluation context that contains the data for evaluating an expression against.
Code to Evaluate an Expression Stored as an XML Fragment Describes how to evaluate an expression stored as an XML fragment.
Code to Create a New Expression Describes how to create a new expression.
Code to Manipulate Expressions Describes how to retrieve or delete expressions from the Expression Store, rename an expression, or translate between expression IDs and expression names.
Code to Evaluate a Single Expression Describes how to evaluate a single expression.
Code to Evaluate Groups of Expressions Describes how to create a stored evaluation context and evaluate groups of expressions against this common context.
Code to Import and Export Expressions Describes how to import and export expressions.
Code to Initialize the ListManager Object Describes how to create and initialize the ListManager object.
Code to Create a List Describes how to create a list from a file.
Code to Manipulate Lists Describes the operations performed on lists such has copy, subtract, union, and export, and the procedure to add and subtract a user from a list.
Code to Enumerate Available Lists Describes how to retrieve and enumerate the available lists and set list properties, such as the list name and description.

Copyright © 2005 Microsoft Corporation.
All rights reserved.