File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed
atinternet-dispatcher/src/main/java/com/batch/android/dispatcher/atinternet Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change 4
4
5
5
import java .util .ArrayList ;
6
6
7
+ /**
8
+ * Class to parse and validate a XTOR string.
9
+ *
10
+ * XTOR format: A-B-[C]-[D]-[E]-[F]-[G]-[H]
11
+ * A: Source prefix, see {@link Xtor#XTOR_PREFIX}.
12
+ * B: value of the campaign ID.
13
+ * C: creative (according to the format [label] or id[label]).
14
+ * D: variant (according to the format [label] or id[label]).
15
+ * E: format (according to the ID given by AT Internet: see appendix.
16
+ * F: website (specifies the URL according to the format [url]).
17
+ * G: general position on the overall website.
18
+ * H: details of the position on the web page.
19
+ *
20
+ * We need to parse the XTOR to retrieve the campaign ID when dispatching on OnSiteAds.
21
+ */
7
22
class Xtor {
8
23
9
24
private static final String [] XTOR_PREFIX = {
You can’t perform that action at this time.
0 commit comments