Quick start for programmatic native
This article describes a simple starting point for programmatic native ads. For more thorough instructions, see Detailed process for programmatic native.
Step 1: Set up a native style
- In DFP, go to Delivery > Creatives > Native styles > New native style.
- Select Native content ad.
If you're setting up native ads for mobile, be sure to set up styles for both Native content ads and Native app install ads. This will allow both formats to compete to maximize yield.
- Give your style a name. Target it to Run of network (you can create additional styles later). For Size, select Fluid.
- Under “CSS with variables,” click Change template to start with a preset that determines the look and feel of the ad.
- See how the default style looks in the "Preview" area. Edit the colors, fonts, and layout using CSS to make the style fit into your property, and then click Validate to see if there are any errors.
- Correct any validation errors and click Save. The style must pass validation to be eligible for programmatic demand.
- (Recommended) Set up A/B tests to help determine which native styles will perform the best in your inventory.
Step 2: Enable native backfill
- Add the special Native size to an Ad Exchange backfill line item. Also, we strongly recommend you have banners compete with native ads to maximize performance. Make sure you add at least one standard banner size in addition to the Native size to get both banner and native demand.
- Confirm the Ad Exchange backfill line item is targeted to the inventory where you want to run native ads.
Step 3: Add Fluid to your ad request in GPT or the GMA SDK
Add the special Fluid size to a multi-size ad request in Google Publisher Tags or the Mobile Ads SDK. This will make your native ads responsive when they win.