I am creating an ad distribution system similar to Facebook. In fact, my clients can create ads and They can target specifically, depending on the member, location and bio data, which we will continuously collect from them.
At this time it is designed in this form ..
Member ----- id Fname lname country_id state_id region_id postcode_id etc. I know that I only need to postcode and show it in the postcode table. But I have around 50 postcode tables for each country, it's just easier for me .. < / P>
member_profile ----- id mem_id bio_q (associated with id varchar .. like 'profession') bio_a advert ------- id client_id ad_title ad_line start_date end_date status etc. Advert_target ----- id advert_id fk_id type for example data ..
1, 1, 1, 'state' 2, 1 , 2, 'state' 3, 1, 5, 'profession' In a way I am doing a whole heap of union to do this ... Emantes ... not sure that this is the most effective way. Any help in the direction will be greatly appreciated ..
Thanks
a
Usually, this type of application is " Section ", gives segments to users, and targets ads on segments.
Therefore, you can "live in Europe" in a given user in 5 sections, "lives in Italy", "lives in Rome", "stay within at least 5 kilometers postcodes "At least 18 years old," "
Then you can target ads" lives in Italy "," At least 18 years old "," The site has less Have seen less than 3 times "; Our sample user extracts 2 points out of 3 criteria, so if only Nova is more qualified, ads can be shown.
You want to pre-fill your Segment in regular database jobs; Doing this on the fly will make your system cripple with the normal level of traffic.
Comments
Post a Comment