# Native Ads | User Guide | AdGlare

| The Basics [Getting Started](/user-guide/getting-started)[Understanding the UI](/user-guide/understanding-ui) Management [Campaigns](/user-guide/campaigns)[Creatives](/user-guide/creatives)[Zones](/user-guide/zones)[Ad Tags](/user-guide/ad-tags)[Workspaces](/user-guide/workspaces)[Team Members](/user-guide/teammembers) Ad Formats [Native Ads](/user-guide/native-ads)[Catalog Ads](/user-guide/catalog-ads) Reports [Creating Reports](/user-guide/reports)[Custom Dimensions](/user-guide/reports-custom-dimensions)[Data Shipping](/user-guide/reports-data-exports)[Viewability](/user-guide/reports-viewability) Settings [Ad Sizes](/user-guide/ad-sizes)[Bot Filter](/user-guide/bot-filter)[White Label](/user-guide/white-label)[Custom Metrics](/user-guide/metrics) Advanced [Macros](/user-guide/macros)[Conversion Tracking](/user-guide/conversion-tracking)[Creative Optimization](/user-guide/creative-optimization)[Lazy Loading](/user-guide/lazy-loading)[Frequency Capping](/user-guide/frequency-cap)[Tracking Pixels](/user-guide/tracking-pixels) Others [Troubleshooting](/user-guide/troubleshooting)[Best Practices](/user-guide/best-practices)[Terms & Definitions](/user-guide/glossary)[AdGlare Subscription](/user-guide/subscription) Nothing Found... |  | # Native Ads [Home](/) [User Guide](/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 [AdGlare Support](/contact) in case you need further help. You can expect a reply in less than 24 hours. |  |  |
| --- | --- | --- | --- | --- |

 

## More guides

 

The Basics

[Getting Started](/user-guide/getting-started)  
[Understanding the UI](/user-guide/understanding-ui)  
  

Management

[Campaigns](/user-guide/campaigns)  
[Creatives](/user-guide/creatives)  
[Zones](/user-guide/zones)  
[Ad Tags](/user-guide/ad-tags)  
[Workspaces](/user-guide/workspaces)  
[Team Members](/user-guide/teammembers)  
  

Ad Formats

[Native Ads](/user-guide/native-ads)  
[Catalog Ads](/user-guide/catalog-ads)  
  

Reports

[Creating Reports](/user-guide/reports)  
[Custom Dimensions](/user-guide/reports-custom-dimensions)  
[Data Shipping](/user-guide/reports-data-exports)  
[Viewability](/user-guide/reports-viewability)  
  

Settings

[Ad Sizes](/user-guide/ad-sizes)  
[Bot Filter](/user-guide/bot-filter)  
[White Label](/user-guide/white-label)  
[Custom Metrics](/user-guide/metrics)  
  

Advanced

[Macros](/user-guide/macros)  
[Conversion Tracking](/user-guide/conversion-tracking)  
[Creative Optimization](/user-guide/creative-optimization)  
[Lazy Loading](/user-guide/lazy-loading)  
[Frequency Capping](/user-guide/frequency-cap)  
[Tracking Pixels](/user-guide/tracking-pixels)  
  

Others

[Troubleshooting](/user-guide/troubleshooting)  
[Best Practices](/user-guide/best-practices)  
[Terms & Definitions](/user-guide/glossary)  
[AdGlare Subscription](/user-guide/subscription)
