Complex Logic
-
Hi,
I’m asking for your help in implementing the algorithm for displaying ads.
Right now the algorithm is as follows:
[ADINSERTER CHECK countries="G1"] [ADINSERTER VIEWPORT="Desktop"] AdCode_for_G1_desktop [ADINSERTER VIEWPORT="Phone"] AdCode_for_G1_mobile [ADINSERTER CHECK countries="^G1"] [ADINSERTER ROTATE name="Ad1"] [ADINSERTER VIEWPORT="Desktop"] AdCode_for_non-G1_desktop_Rotation-1 [ADINSERTER VIEWPORT="Phone"] AdCode_for_non-G1_mobile_Rotation-1 [ADINSERTER ROTATE name="Ad2"] [ADINSERTER VIEWPORT="Desktop"] AdCode_for_non-G1_desktop_Rotation-2 [ADINSERTER VIEWPORT="Phone"] AdCode_for_non-G1_mobile_Rotation-2
I need to insert an additional ad code (let’s call it AddonAdCode).
Insertion options and related questions are as follows, and I’ll start by shortcode priority:
Where should AddonAdCode be inserted so that it is inserted regardless of the CHECK countries shortcode, that is, in both G1 and ^G1?
Where should AddonAdCode be inserted so that it is inserted regardless of the ROTATE shortcode, i.e. in both Ad1 and Ad2?
Where should the AddonAdCode be inserted so that it is inserted regardless of the VIEWPORT shortcode, i.e. in both Desktop and Phone (for example, in the ^G1 –> Ad2 section)?
Thank you in advance for your reply.
- The topic ‘Complex Logic’ is closed to new replies.