Ad targeting in Adfox
In Adfox, targeting can be set up at different levels. Adding context data to the request can significantly enhance the quality of advertising and increase your revenue.
To use additional targetings, logical targeting, or keyword targeting for direct sales, implement passing the relevant parameter values in the ad request to Adfox.
Set up targeting
Determine which type of targeting is appropriate for your needs and implement passing the relevant parameter values:
Type of targeting |
Parameter name |
Description |
Keyword targeting |
|
Serve ad banners for select keywords. For example, you can insert search queries in the ad tag or set up targeting by names and interests, using your user base to more accurately identify the target audience. To do this, insert parameters with values in
Not case sensitive. No value encoding is required. For more information, see Adfox Help |
Additional and logical targeting |
|
Serve ad banners based on additional targetings. You can specify custom targeting values. For example, you can target only users with the test build or trigger banner impressions based on a specific internal metric. To do this, pass the parameter with the values Steps for setting up additional targeting
To use logical targeting, pass the values for the additional targetings from the app. In the Adfox interface, you can also set up ad campaign impressions using the For more information, see Adfox Help |
IDs for debugging banners |
|
Call a banner from a specific placement or campaign. Warning We recommend calling specific banners only for testing purposes. Otherwise, no other banners will appear on the placement. To call a specific banner, pass two values: |
Sample code (Ts)
let adRequest = new AdRequest({
parameters: new Map<string, string>([['adf_puid1', 'XXX'], ['adf_puid2', 'XXX'],['adf_pk', 'XXX']]),
});
Levels in descending order of priority:
- Banner.
- Placement on the platform.
- Placement in the section.
- Placement on the site.
- Campaign.
Levels in descending order of priority:
- Banner.
- Placement on the platform.
- Placement in the section.
- Placement on the site.
- Campaign.