Hi,
I want to create a total of 48 ad box, but in the Ad Section, we only have a limited amount of custom ads we can place. How can I create more custom ad boxes?
Many thanks!
Hello fernando.segre,
Our theme already provides 5 custom ad spots. If you need more ad boxes beyond the 5 custom ad spots, you can create a new ad spot like so: https://forum.tagdiv.com/topic/costum-ad/
Thanks for the message!
Hello @catalin-l, I want to disable ads for some specific pages on my site, I can’t find the feature anywhere in the theme, how do i do it?
-
This reply was modified 9 years by
dexter.
Hi Catalin, hope you are doing well.
We have been able to create various ad boxes, but the ads will not show. Let me explain in details.
The predetermined ad boxes that come along with the template (header ad, sidebar ad, article top bar, etc) work fine. Our ad tags from DFP show the corresponding ads without any problem.
Now, the problem that does come up, is whenever we created custom ad boxes.
We have created per section and site placements, DFP segregated tags, but whenever we upload these to the custom ad boxes, they will not show on the website (excepting the header and sidebar wich call the standard predetermined boxes).
The custom ad box was created as follow:
td_api_ad::add(‘gourmet_header’,
array(
‘text’ => ‘Gourmet Header’,
‘ad_type’ => ‘ajax’,
‘fields’ => array(
‘ad_field_title’ => false,
‘ad_field_position_content’ => false,
‘ad_field_after_paragraph’ => false,
),
)
);
And the ad boxes have been ‘created’ under td_api_block::add(‘td_block_ad_box’, correspondingly.
In this section: https://crunchy.life/gourmet/ you will see that there should be a 728×90 ad box between the header and above the first posts, but nothing shows (you can inspect the site and you’ll find no lines for what’s meant to be there.
Even if instead of placing a DFP tag, we place a random text, nothing will show.
Is there something we’re missing out?
Many thanks in advance,
Hello fernando,
The above solution was not referred to using the API method for implementing this Ad Box, sorry! Also, notice that the DFP ads were not been tested with our theme and also, we cannot say for sure if it will work as expected with our Ad Box, sorry! If you are not aware with our AdSystem you should use a plugin which has this functionality and checks the results. As a hint, you can try using the AdRotate plugin because it seems to work as expected with our theme. Many of our users use it and have been pleased with its functionality.
Thanks for your understanding!
