Jump to content

Recommended Posts

Posted

Hello,

I'm using the Local Mode Invocation Tag to display all banners.

I want to display only one specific banner on a specific page. It's easy, by putting the id of the banner in invocation code and it is working.

BUT i don't want this specific banner to be displayed anywhere else on the site.

To make sure a banner is not displayed, you can either set up the campaign to 0, the priority to 0 or not having a zone defined for that banner. But then, even by putting the number of the id of the banner directly in the invocation code, there is no banner displayed.

In other words, is there a way to FORCE a banner to display using the invocation code, even if the campaign or priority is set to 0 ?

Thank you

Posted (edited)

I found that it is also possible to use avw with the number of the banner (so not using the invocation tag) to display the image only
/www/delivery/avw.php?bannerid=11

but it is still using any delivery rule related to the banner. 

Edited by checkad
written an error
Posted

An other accepted alternative would be to hack the alocal.php file by :
- making a copy of alocal.php
- use this copy when i need it and 
modify one line in it, to force not to take into account any priority ? like commenting one line ?

I've seen many function like _adSelectCommon and _adSelect and i've tried many modifications without being able to make it work. any clue ?

Thank you

Posted
On 4/13/2020 at 2:28 AM, checkad said:

i don't want this specific banner to be displayed anywhere else on the site.

The way that I would approach this is to use a delivery rule, to specify that the banner can only be displayed on the specific page that you want it to be on.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...