Facebook Ad Network Sync 2

Facebook Ad Network Sync 2 (facebook/adnw-sync2)

operated by: Facebook (get company information on datarequests.org)

Endpoint URLs

These are URLs or regexes of endpoints the tracker sends data to. We use these to determine which adapter to apply to a request. Some trackers use the same endpoint for several formats. In this case we use additional logic to match the adapter to the request, refer to the code for more information.
  • /^https:\/\/(www|web)\.facebook\.com\/adnw_sync2?$/

Decoding steps

Every tracking library has its own way of transmitting tracking data, often even several. They are regularly pretty convoluted, nested encoding schemes. Because of that, the adapter needs to decode the request information into a consistent format. We try to keep keys and paths intact, but the structure results from our decoding. All steps used in the decoding for this adapter are documented here.
  1. Parse the request body as a query string. Store that in the variable q.
  2. Get the property at JSONPath payload in the variable q. Store that in the variable payload.
  3. Parse the variable payload as JSON. Store that in the result for the request body.
  4. Parse the result for the request body at context.VALPARAMS as JSON. Replace the existing value.
  5. Parse the result for the request body at context.ANALOG as JSON. Replace the existing value.
1q = parseQueryString(body)
2payload = q.payload
3res.body = parseJson(payload)
4res.body.context.VALPARAMS = parseJson(res.body.context.VALPARAMS)
5res.body.context.ANALOG = parseJson(res.body.context.ANALOG)

Observed data transmissions

This is data that we observed being transmitted by this tracker. Not every request contains all of this data. The context of the data describes where we found the data in the request, the path describes the location of the data in the decoded request. The examples are a selection of observed values.
PropertyContextPathExamples of observed values
Accelerometer Xbodycontext.ANALOG.accelerometer_x0.7662141
NaN
0.0
Accelerometer Ybodycontext.ANALOG.accelerometer_y9.013549
NaN
9.776321
Accelerometer Zbodycontext.ANALOG.accelerometer_z3.795387
NaN
0.812345
App IDbodycontext.BUNDLEcom.curvydating
com.stx.pullhimout
drzio.dailyyoga.at.home.yogaforbeginner.howtodoyoga
com.free.music.downloader.mp3.song.download.player
com.atpc
App namebodycontext.APPNAMECurvy Dating
Pull Him Out
Yoga For Begginer
MusicDownload
AT Player
App versionbodycontext.APPVERS1.0.10
1.2.1
2.0.8
2.1.6
1.442
Battery levelbodycontext.ANALOG.battery77.0
100.0
Carrierbodycontext.CARRIERAndroid
T-Mobile
Free disk spacebodycontext.ANALOG.free_space5693734912
5578498048
5707972608
5708124160
5722030080
Device advertising ID (GAID/IDFA)bodycontext.IDFA827d8162-0e1c-48cd-892e-4abd3df95ba8
ea70edc1-ac05-481c-8d2a-66b1be496a7e
830ec0b3-e94e-43e5-8722-a3a428af37bb
49b61a9c-cece-4300-b52e-26840e4c258e
fffe8a97-a504-4d14-89ab-c2025fbaf065
Charging statusbodycontext.ANALOG.charging0
Is device an emulator?bodycontext.VALPARAMS.is_emutrue
false
Is device rooted?bodycontext.ROOTED1
Languagebodycontext.LOCALEen_US
en
auto
ar
ru
Manufacturerbodycontext.MAKEGoogle
Modelbodycontext.MODELsdk_gphone_x86_64_arm64
sdk_gphone_x86_64
OS namebodycontext.OSAndroid
OS versionbodycontext.OSVERS11
13
Other unique identifiers for the user, device, session, or installationbodycontext.SESSION_ID6d86926b-c36e-4db7-b8c0-32e407c00acc
15d3b8b7-c2ff-416f-a52f-b21c34aee4c2
bc1e0f16-7aaa-431f-9e2d-2c85e97e07a1
7426590f-140d-41bb-98e1-ef402357b951
df2b3ed3-1d6b-4264-8693-deb371c104cf
Free RAMbodycontext.ANALOG.available_memory935862272
417808384
987467776
959950848
913403904
Total RAMbodycontext.ANALOG.total_memory2077356032
2076893184
2077286400
2061852672
2076852224
Rotation Xbodycontext.ANALOG.rotation_x0.0
Rotation Ybodycontext.ANALOG.rotation_y0.0
Rotation Zbodycontext.ANALOG.rotation_z0.0
Screen heightbodycontext.SCREEN_HEIGHT683
411
392
781
805
Screen widthbodycontext.SCREEN_WIDTH411
683
781
392
Time zonebodycontext.VALPARAMS.timezone_offset3600000
Tracker SDK versionbodycontext.SDK_VERSION5.11.0
6.2.0
5.6.0
6.1.0
5.9.1