PHP WEB SCRIPTS    Support Forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Question about a particular column in the database...

 
Post new topic   Reply to topic    PHP Web Scripts Forum Index -> Ad Manager Pro Support & Discussion
View previous topic :: View next topic  
Author Message
Brian Jester



Joined: 16 Mar 2011
Posts: 62
Location: Bayonne, New Jersey

PostPosted: Sat Dec 31, 2011 9:46 am    Post subject: Question about a particular column in the database... Reply with quote

Hi Richard,

I'm referencing the amp_ads table in the Ad Manager Pro db. The preview column that shows the url to the ad. In my example I have:

<a target="_blank" href="http://www.reunitemysite.com"><img alt="Sample Advertisement" border=0 src="http://reunitemysite.com/scripts/amp/banners/1-1-1308190396.png" width="120" height="240"></a>


Can I add some tracking info directly to that url to track the ads in the admin section? For example: Clicks / Impressions?

Thank you!
Brian
_________________
I am getting better, Everyday...
Back to top
View user's profile Send private message
PHPWebScripts
Richard - Admin


Joined: 13 Jan 2003
Posts: 5693

PostPosted: Sat Dec 31, 2011 11:45 am    Post subject: Reply with quote

Hi Brian,

When it shows ads, it automatically tracks impressions and clicks, it doesn't need any extra tracking code. If you need to change something, please show me an example, maybe I don't see what you mean.

Impressions and clicks are not tracked when it shows only the preview in admin or users area.
Back to top
View user's profile Send private message
Brian Jester



Joined: 16 Mar 2011
Posts: 62
Location: Bayonne, New Jersey

PostPosted: Sat Dec 31, 2011 3:02 pm    Post subject: Reply with quote

PHPWebScripts wrote:
Hi Brian,

When it shows ads, it automatically tracks impressions and clicks, it doesn't need any extra tracking code. If you need to change something, please show me an example, maybe I don't see what you mean.

Impressions and clicks are not tracked when it shows only the preview in admin or users area.


Sorry Richard,

I know that url that I posted tracks the clicks / impressions. I meant lets say the url was pulled from the db given: <a href=\"$row['url']\"><img src=\"$row['banner']\">

This will work getting the correct output per se but the actual link is not right, it will be without the tracking info.

That is what I meant. Is there another way around that?

Thanks again Richard!

Brian
_________________
I am getting better, Everyday...
Back to top
View user's profile Send private message
PHPWebScripts
Richard - Admin


Joined: 13 Jan 2003
Posts: 5693

PostPosted: Sat Dec 31, 2011 4:02 pm    Post subject: Reply with quote

It can't be used since it creates unique URL for each impression. But you can use the php code which is also available in the code generator. It includes the html which shows ads directly to the page where is the ad code, so search engines can't detect that you use an ads management software.
Back to top
View user's profile Send private message
Brian Jester



Joined: 16 Mar 2011
Posts: 62
Location: Bayonne, New Jersey

PostPosted: Sat Dec 31, 2011 4:14 pm    Post subject: Reply with quote

PHPWebScripts wrote:
It can't be used since it creates unique URL for each impression. But you can use the php code which is also available in the code generator. It includes the html which shows ads directly to the page where is the ad code, so search engines can't detect that you use an ads management software.


Then Richard can you explain this situatiion? I will provide a sample of it so you can see what I mean.

How come when I put the code generated from ad manager pro on a php page by itself (no other php code on the page other than the opening and closing php tags with the generated ad manager pro code) and reload the page, sometimes I get nothing on the page while another refresh I get some ads and not all of them. This works even if I display only 1 ad, it will not display the one ad and sometimes it will. I don't know if this is a bug in the script or something I am doing wrong in the admin area, but here is the page with a sample zone with multiple ads on the page to give you the example. You need to refresh F5 the page a few times to see what I mean.

http://reunitemysite.com/atest.php

Notice the code box above, that is the code used to generate the ads below the code box.

Thanks again!
Brian
_________________
I am getting better, Everyday...
Back to top
View user's profile Send private message
PHPWebScripts
Richard - Admin


Joined: 13 Jan 2003
Posts: 5693

PostPosted: Sat Dec 31, 2011 4:47 pm    Post subject: Reply with quote

In the ads you selected it to never show the same ad again in 10 or so seconds for the same IP. When you reload the page in a short time, it shows nothing or only a single ad since the others were used in the last 10 seconds so it can't show them again.
Back to top
View user's profile Send private message
Brian Jester



Joined: 16 Mar 2011
Posts: 62
Location: Bayonne, New Jersey

PostPosted: Sat Dec 31, 2011 4:50 pm    Post subject: Reply with quote

PHPWebScripts wrote:
In the ads you selected it to never show the same ad again in 10 or so seconds for the same IP. When you reload the page in a short time, it shows nothing or only a single ad since the others were used in the last 10 seconds so it can't show them again.


So your saying if I were to increase that number the ads would stay on the page after refreshing? Is it even possible to display that part?
_________________
I am getting better, Everyday...
Back to top
View user's profile Send private message
PHPWebScripts
Richard - Admin


Joined: 13 Jan 2003
Posts: 5693

PostPosted: Sat Dec 31, 2011 5:07 pm    Post subject: Reply with quote

You can remove or decrease the limit which I mentioned. You also can create more ads, so it can show them even when you reload the page in a short time. Or you can create some default ads, these can be displayed when there are not available normal ads.
Back to top
View user's profile Send private message
Brian Jester



Joined: 16 Mar 2011
Posts: 62
Location: Bayonne, New Jersey

PostPosted: Sat Dec 31, 2011 5:33 pm    Post subject: Reply with quote

PHPWebScripts wrote:
You can remove or decrease the limit which I mentioned. You also can create more ads, so it can show them even when you reload the page in a short time. Or you can create some default ads, these can be displayed when there are not available normal ads.


Ok, that is fixed...But another issue is can I generate one code for all zones? Another words, I would just like to put one generated code to display all ads in the database, as I have created an A-Z index, and would like to put the generated php code to display all ads as the A-Z index would sort them accordingly.
_________________
I am getting better, Everyday...
Back to top
View user's profile Send private message
PHPWebScripts
Richard - Admin


Joined: 13 Jan 2003
Posts: 5693

PostPosted: Sun Jan 01, 2012 4:58 am    Post subject: Reply with quote

In the code generator you can choose only the required ad type, not zones. Then it creates a code which can show ads in all zones of the ad type. But it can't show ads by letters. If you need this feature, please email me.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    PHP Web Scripts Forum Index -> Ad Manager Pro Support & Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group