How to Insert Ads and text in between Post list on category pages wordpress

Description

How to Put Ads and image content in between Post list in WordPress. How To Display Ads a Banner image Only On Posts From a Category In WordPress.  Adsense between posts on category pages. How to Insert Ads in between your Post list in WordPress. How to use a code add in category WordPress. 

How to Insert and add google  Adsense  in between Post list on category pages WordPress.

find the archive.php and index.php 

while ( have_posts() ) : the_post(); //    find this while code.

<?php  while ( have_posts() ) : the_post(); ?>

<?php if ($count == 1 || $count == 1 || $count == 3) : ?>

add content

<?php endif; $count++; ?>

2nd code try in

<?php if ( is_category() AND $bfa_ata['postcount'] == 3 ) { ?>

Adsense Code Here

<?php } ?>