Jump to content

When html Banners expires show alternative html code


smile

Recommended Posts

But for this to work with zone chaining I have to:

1. Create 2 campaigns (campaign1 and set expire date, campaign2 and do not set expire date)

I do not have to link them to any zones, not sure how that is used.

2. Go into each campaign and create banner HTML, paste the banner code there.

3.Create 2 zones ("default" and "expired"), link each individual banner to every zone.

For "default" zone set the "Display the selected zone instead" and chose 2nd zone "expired"

 

And this should be done for every banner I want to expire and show expired banner !

This is very complicated spaghetti ! Imagine having a dozen banners this way. 

---------------------------------------------------------------------------------------------------------

Why not simply make the feature to input another expired code into another text area at the banner HTML creation?

Then have in campaigns a check box where date expiration is set to "show expired HTML when campaign expires"

Link to comment
Share on other sites

Hi @smile,

1. Yes, you will need to create two campaigns. You're going to have to do that anyway, because you can only set an expiration date at the campaign level. So, if your plan is to have a "primary" banner that displays until the banner expires, and then show a "secondary" banner after that, then you're going to need two campaigns anyway. So, zone chaining or not, this is no more or less work. 

2. Similarly, if you're going to display banners through Revive Adserver, then you're going to need to create the HTML for the banners (if you're displaying HTML banners), and then create the banners in the UI, and paste the banner code in. So, again, zone chaining or not, this is no more or less work.

3. If you are using zone chaining, then yes, you will need two zones - one for the "default" (or primary) banner(s), and one for the "expired" (or secondary) banner(s). It may be that creating two zones for EVERY banner is the only way to achieve what you want. If so, then yes, I can see that you might end up with many zones. However, please consider if the following might simplify things for you:

a. Can you link entire campaigns to zones, rather than specific banners? This may reduce the management required.

b. Instead of having two zones for every banner (or campaign), could you just have two zones in total, and then use the various delivery rules to target where banners are displayed?

 

Finally, as for the "why not simply make the feature" comment - by all means! Please go ahead and feel free to submit a PR in GitHub...

Link to comment
Share on other sites

Thank you for reply, what is "submit a PR in GitHub..."?

How to submit it?

Every "banner" and "expired banner" is unique combination. I think can't just have campaign full of expired banners and link them to zone.

I use javascipt to show banner image1, then when mouse over show larger image 2. When expired I show banner image2 when mouse over show larger same image 2. Does this makes sense? I also use time expiration script to expire the banners.

As you see putting this to the client side is not what I want. The expiration should be handled securely by the revive.

Regarding the 

"b. Instead of having two zones for every banner (or campaign), could you just have two zones in total, and then use the various delivery rules to target where banners are displayed?"

Not fully understand how this works.

Link to comment
Share on other sites

Hi @smile,

1. GitHub Pull Requests: https://help.github.com/articles/creating-a-pull-request/

2. Even if every banner/expired banner combination is unique, you could potentially still do this without two campaigns per banner pair, depending on if delivery rules for each pair can be defined that will uniquely identify the delivery requirements. However, if not, then yes, I can see that you will require two campaigns per banner pair, and possibly two zones as well.

3. What are are saying makes sense about what you are doing. I am not sure what you mean by "using time expiration script to expire the banners" though. Revive Adserver's campaigns have the ability to set campaign start and end dates, so, expiration of campaigns is already handled by Revive Adserver.

4. See our documentation on delivery rules. It's not fully complete, but it should give you an idea.

Link to comment
Share on other sites

"3. What are are saying makes sense about what you are doing. I am not sure what you mean by "using time expiration script to expire the banners" though. Revive Adserver's campaigns have the ability to set campaign start and end dates, so, expiration of campaigns is already handled by Revive Adserver."

Instead of doing 2 campaigns, 2 zones etc. I currently use javascript to do it in my ad html code, I also handle expiration.

I want to do this with revive for obvious reasons. 

I currently try to unblock ads in ublock perhaps you could answer that question.?

https://forum.revive-adserver.com/topic/4800-ublock-origin-blocks-all-banners/

Edited by smile
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.

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