Regular Expression

's Avatar

sb

08 Aug, 2014 11:11 AM

Hi,

can you please describe how and in what case I can use Regular Expression? How does it work?

  1. Support Staff 1 Posted by Mike Cherichett... on 08 Aug, 2014 03:18 PM

    Mike Cherichetti's Avatar

    Regular expressions are used in combination with custom field targeting. An example usage may be if users log in to your web site and have a profile with information about them. You might have a data field that contains some type of code that identifies users in some way. For example, that code may be USR-40012 and maybe you only want to target users with a code between USR-40000 and USR-45000 You can't use any of our built-in operators to do that, but it can be done with a regular expression.

  2. 2 Posted by Stanislav on 08 Aug, 2014 03:36 PM

    Stanislav's Avatar

    "You might have a data field that contains some type of code that identifies users in some way. "

    data field - where this field need to be placed and how I can send it to ad serve?

  3. Support Staff 3 Posted by Mike Cherichett... on 08 Aug, 2014 03:37 PM

    Mike Cherichetti's Avatar

    The data field is added to the zone code that you generate with our code wizard.

    Examples are given here in the user manual:

    http://www.advertserve.com/docs/latest/html/manual/custom.html

  4. 4 Posted by Stanislav on 11 Aug, 2014 10:19 AM

    Stanislav's Avatar

    Will it be correct if I said:

    on my web-site I`ll realize an autogeneration of the zone code (the basic code i`ll take from code wizad) to different pages where custom1, custom2 etc will be generated automaticaly and than I can use the regular expression to create so difficult logic of media appearance like I want?

  5. Support Staff 5 Posted by Mike Cherichett... on 11 Aug, 2014 11:16 AM

    Mike Cherichetti's Avatar

    Yes

  6. 6 Posted by Stanislav on 11 Aug, 2014 12:22 PM

    Stanislav's Avatar

    Thanks! Understood!

  7. 7 Posted by Stas on 12 Aug, 2014 09:28 AM

    Stas's Avatar

    What is that?

  8. Support Staff 8 Posted by Mike Cherichett... on 12 Aug, 2014 12:48 PM

    Mike Cherichetti's Avatar

    Sorry, that was from a comment spammer. I'm going to close this ticket so no further replies can be made to it.

  9. Mike Cherichetti closed this discussion on 12 Aug, 2014 12:48 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

Recent Discussions

31 Mar, 2021 03:15 PM
03 Aug, 2020 08:33 PM
22 Jun, 2020 06:51 PM
07 Feb, 2020 05:39 PM
10 Dec, 2019 05:28 PM

Recent Articles