Track in-app ads in China with ssaid parameter

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:

  1. Review the mobile trafficking guidelines to become familiar with placement tags.
  2. In both floodlight activity tags and ad tags, instead of the dc_rdid= parameter listed in mobile trafficking guidelines use the pdid=  parameter for mobile resettable device ID, and the pdidtype=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

Was this helpful?

How can we improve it?

Need more help?

Try these next steps:

Search
Clear search
Close search
Google apps
Main menu
12445500939038380754
true
Search Help Center
true
true
true
true
true
69192
false
false