To create an In-article ad unit, follow these steps:
- Sign in to your AdSense account.
- Click Ads.
- Click Ad units.
- Click In-article ads.
- Give your In-article ad unit a name.
Note: Google recommends that you prefix the names of your In-article ad units with ‘Native’ or something similar to help you track their performance.
- Style your ad to match your content.
- Test how your ad will appear on different screen sizes by changing the container width in the preview area. Use the drag handle to change the width.
Note: In-article ads are responsive by default.
- Click Save and get code.
- Copy and paste the In-article ad code on your site inside the HTML of your page.
Google suggest that you place the code two paragraphs below the start of the article.
Important: If you’d like to place more than one In-article ad on your page, make sure that you allow sufficient content between ads to minimise disruption to your readers.
Do you want to automatically show this ad format on your pages?
You can switch on this format in Auto ads. Auto ads use machine learning to make smart placement and monetisation decisions on your behalf, saving you time.
In-article responsive ad size
In-article ads are responsive ads which means that they automatically adjust their size for the device that they’re being viewed on. On mobile devices in portrait mode, In-article ads expand to use the full-width of the user’s screen.
On desktop and other mobile configurations, the width of an In-article ad is always equal to the width of the parent container that it’s inside.
Note: The minimum width for an In-article ad is 250 px. The height of an In-article ad is automatically adjusted by AdSense.
Tracking the performance of In-article ad units
You can track the performance of your In-article ad units by viewing your Ad units report:
- Visit your Reports page.
- Open the Ad units report.
- Select your In-article ad units.
- Click Filter.