Display Ad Server
Serve ads in standard fixed-size ad units
Native Ad Server
Serve native ads on your web page or app
VAST Video Ad Server
Serve MP4 video ads as pre/mid/post-rolls
CTV Video Ad Server
Monetize your CTV channel
White Label Ad Server
Build your own ad server in hours
API Quickstart
Test the API in just minutes
Full API Docs
Automate your complete ad operations
Migration Assistance
Need help switching to AdGlare?
Management APIs
Automate your complete ad ops workflow
Realtime Reporting
Never miss an imporant KPI
Enterprise-grade Infrastructure
Engineered for speed, built for trust
Video Optimization
Built-in quality checks before going live
Feature Overview
See if we're a fit in minutes
Talk to Sales
Reach out to get started
Talk to Support
Get help with your ad server
Request a Demo
Get a free demo to see if we're a fit
Security / Compliance
GDPR / CCPA, cookie laws, ISO 27001
Terms of Service
AdGlare's terms and privacy policy
Network Status
Keep track of network uptime
search

Native Ads

Home chevron_right User Guide

Table of Contents

1. Serving Native Ads
2. Templates
3. Configure The Creative
4. Native Ad URL
5. Logging Events
6. Key/Value Targeting

Serving Native Ads

With native ads, you can get a JSON response which you can use to create your own ad unit, in contrary to an ad tag that loads the ad.

This article describes how to create native ads.

Templates

First, create your templates via the page Settings => Customization => Native Ad Templates by setting up the variable that you want AdGlare to return in the response.

A variable can be of the following type:

  • Text
  • URL
  • Number
  • Code
  • Boolean

Configure The Creative

Once you've set up your templates, create a new Native Ad campaign. Then add a creative, and choose your template from the list.

You can now set up the values for each of the variables from the template. Then assign the campaign to a Native Ad zone.

Native Ad URL

To get the native ad URL that returns a JSON response, create a Native Ad zone and click the blue button at the top right.

Logging Events

To log events of native ads in AdGlare, you have to make a POST request to https://{your_name}.engine.adglare.net/event with the event token as a payload.

Key/Value Targeting

To provide data for Key/Value Targeting, make a POST request (instead of a GET request) to your Native Ad URL and add the following JSON payload:

{"targeting":{"key_value":{"some_key":"some_value","another_key":123}}}

Note that if you add booleans as a value in your payload, they will be casted to strings as 'true' or 'false'. You can then target those keys inside your AdGlare creative as some_key=true.


Reach out to emailAdGlare Support in case you need further help. You can expect a reply in less than 24 hours.

More guides

The Basics
Getting Started
Understanding the UI

Management
Campaigns
Creatives
Zones
Ad Tags
Workspaces
Team Members

Ad Formats
Native Ads
Catalog Ads

Reports
Creating Reports
Custom Dimensions
Data Shipping
Viewability

Settings
Ad Sizes
Bot Filter
White Label
Custom Metrics

Advanced
Macros
Conversion Tracking
Creative Optimization
Lazy Loading
Frequency Capping
Tracking Pixels

Others
Troubleshooting
Best Practices
Terms & Definitions
AdGlare Subscription