The ssaid
parameter can be used to track impression, click, and floodlight activity on non Google Play Android devices in China. The mobile device must be on a Chinese IP address for ad activity to be tracked.
To implement app tracking on mobile devices in China:
- Review the mobile trafficking guidelines to become familiar with placement tags.
- In both floodlight activity tags and ad tags, instead of the
dc_rdid=
parameter listed in mobile trafficking guidelines use thepdid=
parameter for mobile resettable device ID, and thepdidtype=ssaid
parameter to specify ssaid as the ID type.
Tag examples
iFrame
<IFRAME SRC="https://ad.doubleclick.net/ddm/adi/Nxxxx.site-keyname/Byyyyyyy;sz=widthxheight;ord=[timestamp];dc_lat=N;dc_rdid=Czzzz;tag_for_child_directed_treatment=I;kw=[keyword];click=?" WIDTH=X HEIGHT=Y MARGINWIDTH=0 MARGINHEIGHT=0 HSPACE=0 VSPACE=0 FRAMEBORDER=0 SCROLLING=no BORDERCOLOR='#000000'>
<SCRIPT language='JavaScript1.1' SRC="https://ad.doubleclick.net/ddm/adj/Nxxxx.site-keyname/Byyyyyyy;abr=!ie;sz=widthxheight;ord=[timestamp];
dc_lat=N;pdid= ;pdidtype=ssaid;tag_for_child_directed_treatment=I;kw=[keyword];click=?">
</SCRIPT>
<NOSCRIPT>
<A HREF="https://ad.doubleclick.net/ddm/jump/Nxxxx.ste-keyname/Byyyyyyy.n;abr=!ie;sz=widthxheight;ord=[timestamp];kw=[keyword]?">
<IMG SRC="https://ad.doubleclick.net/ddm/ad/Nxxxx.site-keyname/Byyyyyyy.n;abr=!ie;sz=widthxheight;ord=[timestamp];dc_lat=N;dc_rdid=Czzzz;tag_for_child_directed_treatment=I;kw=[keyword]?" BORDER=0 WIDTH=X HEIGHT=Y ALT="Click Here"></A>
</NOSCRIPT>
</IFRAME>
Legacy Javascript
iFrame
<SCRIPT language='JavaScript1.1' SRC="https://ad.doubleclick.net/ddm/adj/Nxxxx.site-keyname/Byyyyyyy;sz=widthxheight;dc_expa=URL;ord=[timestamp];dc_lat=N;pdid= ;pdidtype=ssaid;tag_for_child_directed_treatment=I;kw=[keyword];click=?">
Prefetch
https://ad.doubleclick.net/ddm/pfadx/Nxxxx.site-keyname/Byyyyyyy;kw=[keyword]; sz=widthxheight;ord=[timestamp];dc_lat=N;pdid= ;pdidtype=ssaid;tag_for_child_directed_treatment=I;dcmt=text/xml
Impressions (image):
<IMG SRC="https://ad.doubleclick.net/ddm/trackimp/Nxxxx.site-keyname/Byyyyyyy.n;dc_trk_aid={ad_id};dc_trk_cid={creative_id};ord=[timestamp];dc_lat=N;pdid= ;pdidtype=ssaid;tag_for_child_directed_treatment=I?" BORDER="0" HEIGHT="1" WIDTH="1" ALT="Advertisement">
Impressions (iframe):
<IFRAME SRC="https://ad.doubleclick.net/ddm/trackimpi/Nxxxx.site-keyname/Byyyyyyy.n;dc_trk_aid={ad_id};dc_trk_cid={creative_id};ord=[timestamp];dc_lat=N;pdid= ;pdidtype=ssaid;tag_for_child_directed_treatment=I?" WIDTH=1 HEIGHT=1 MARGINWIDTH=0 MARGINHEIGHT=0 HSPACE=0 VSPACE=0 FRAMEBORDER=0 SCROLLING=no BORDERCOLOR='#000000'></IFRAME>
Impressions (JavaScript):
<SCRIPT language='JavaScript1.1' SRC="https://ad.doubleclick.net/ddm/trackimpj/Nxxxx.site-keyname/Byyyyyyy.n;dc_trk_aid={ad_id};dc_trk_cid={creative_id};ord=[timestamp];dc_lat=N;pdid= ;pdidtype=ssaid;tag_for_child_directed_treatment=I?"></SCRIPT>
Clicks:
https://ad.doubleclick.net/ddm/trackclk/Nxxxx.site-keyname/Byyyyyyy.n;dc_trk_aid={ad_id};dc_trk_cid={creative_id};dc_lat=N;pdid= ;pdidtype=ssaid;tag_for_child_directed_treatment