Jump to content

Blocking Any Campaign Or Banner By Id


Recommended Posts

Hello together,


we are using revive-adserver with small changes. Normally we are able to block any banner or zone manually by putting the following code in banner level in comments field:


as example:

<?xml version='1.0'?>
of course the delivery files altered and will take this information and blocking the appropriate banners. This function programmed early by another it supporter. 
Now we will use async loading and my question would be first, if there is such a function or possibility in revive-adserver. If yes, I would prefer to use the property, if not I will try to alter the async delivery files, to be able to block any banner or any zone by the banner.
I just think, that the revive-adserver should support such a function, as sometimes customers doesnt want to have another banner on the page or we must implement the customers banners in different campaigns.
I would appreciate any help. If you wish I can even send you altered spc.php and spcjs.php files.
Thanks a lot for any answer.
Link to comment
Share on other sites

Yes, from memory, you can do this with a site variable.


Should be documented here:




but is not at the time of posting :-)


But in short, give each banner a keyword or something that will prevent it from delivering, and then pass in that site variable whenever you want to block that banner.

Link to comment
Share on other sites

  • 2 weeks later...



thanks for your answer. But my question is more, that a banner or campaign should block other campaign or banner by campaign id or banner id. It needs to be done dynamically. For example we have Campaign 1 with ID = 1 And Campaign 2 with ID =2


Campaign 1 has 2 Banners Bannerid = 11 Bannerid = 12

Campaign 2 has 2 Banners Bannerid = 21 Bannerid = 22


it is possible during delivery of Campaign 1 blocking Campaign 2 or blocking any banner of campaign 2. Or even could we block by delivering the banners from campaign 1 the banners from campaign 2?


Thanks for answer.


Best Regards,

Link to comment
Share on other sites

  • 2 weeks later...
  • 1 year later...

Hi @Devrim,

Yes, I think this should be possible - my understanding of the delivery "context" is that you can specify things like excluding a certain campaign ID, so that all banners from the campaign will be excluded. So, that way, if you wanted only banners from Campaign 1 to display, then this could be done.

But I am not sure that there's anything built into Revive Adserver to do this. I think the only built in options are "If delivery of the banner is from Campaign 1, then only show banners from the same campaign again on this page" or, "If delivery of the banner is from Campaign 1, then never show banners from the same campaign again on this page".

I don't think there's anything to do "If delivery of the banner is from Campaign 1, then now exclude this list of other campaigns."

Link to comment
Share on other sites

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.

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...