# DTXplatform: Example Tags

* Updating your tag with the right parameters such as subid, feedID etc is vital to earning more and being open to more demand sources
* **Example Redirect Tag**\
  Publishers may enter their own text after the subid=”example”\
  <https://xml.dtxplatform.net/redirect?feed=FEED\\_ID\\&auth=AUTH\\_CODE\\&url=https://YOUR\\_URL\\&subid=SUD\\_ID>
* **Example Pop tag**

```
<script>
window.adk_pdisp = {'h' : 'xml.dtxplatform.net',
'f' : ZONE_ID,
'a' : 'AUTH_CODE',
'ps' : [1],
'cin' : 4,
's' : 'replace-with-some-dynamic-subid',
'q' : [],
't' : 1,
};
</script>
<script src='//static.dtxplatform.net/tabu/display.js'></script>
```

***

* **Example Tab under tag**

```
<script>
window.adk_pdisp = {'h' : 'xml.dtxplatform.net',
'f' : 243902,
'a' : 'j9F48y',
'ps' : [1],
'cin' : 4,
's' : 'replace-with-some-dynamic-subid',
'q' : [],
't' : 1,
'op': {'chrome': 'tabu'}
};
</script>
<script src='//static.dtxplatform.net/tabu/display.js'></script>
```

\
\
the following parameters are included in your JS Pop and Tab under tags:\
h:\
f: feed ID (mandatory)\
a: authentication ID (mandatory)\
ps: 1 (fixed value)\
cin: 4 (fixed value)\
s: subid (optional)\
q: site category (optional)\
t: frequency cap in hours (optional)\ <br>

***

* **Example In-Page Push Tag Code**

```
<script>
(function(i,n,p,a,g,e){
i.inpagepush = i.inpagepush || function() {
(i.inpagepush.q=(i.inpagepush.q||[])).push(arguments)
};
var s=n.getElementsByTagName('head')[0];
var q=n.createElement('script'); q.async=1;
q.src='//static.dtxplatform.net/inpage/inpage.js';
s.appendChild(q);
i.inpagepush('init', {
host: 'xml.dtxplatform.net',
feed: 243902,
auth : 'j9F48y',
subid: '1',
refresh: 25,
position: 'bottom',
slots: 3,
query : 'inpage',
z_index: 88888
});
i.inpagepush('show');
})(window, document);
</script>
```

\ <br>

refresh - refresh period in seconds,\
\
position - 'bottom' and 'top' are showing ads in right-bottom or right-top corner\
\
slots - max number of ads to show per "refresh"\
\
layout : 'mobile\_mini' makes the widget more condensed on mobile devices\`\`\*\*\*\*\*\*\*\*


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://help.dtxplatform.com/publishers-help-center/dtxplatform-example-tags.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
