Share via


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

Invocation

Description

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

Allows creation of ContentList objects, and stores data shared by those objects.

ContentListSchema

Allows manipulation of the schema for a ContentListFactory object.

ContentSelector

Allows specification and retrieval of page content.

ExpressionEval

Allows selection and evaluation of one or more expressions against a set of profiles.

ExpressionStore

Provides methods to create, save, modify, and retrieve expressions.

ExprEvalContext

Stores a specific evaluation context (set of profiles) that can be used for multiple expression evaluation operations.

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 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 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 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.

See Also

Other Resources

COM Object Reference