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.- Parse the request body as a query string. Store that in the variable
q
. - Get the property at JSONPath
payload
in the variableq
. Store that in the variablepayload
. - Parse the variable
payload
as JSON. Store that in the result for the request body. - Parse the result for the request body at
context.VALPARAMS
as JSON. Replace the existing value. - 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.Property | Context | Path | Examples of observed values |
---|---|---|---|
Accelerometer X | body | context.ANALOG.accelerometer_x | 0.7662141 NaN 0.0 |
Accelerometer Y | body | context.ANALOG.accelerometer_y | 9.013549 NaN 9.776321 |
Accelerometer Z | body | context.ANALOG.accelerometer_z | 3.795387 NaN 0.812345 |
App ID | body | context.BUNDLE | com.curvydating com.stx.pullhimout drzio.dailyyoga.at.home.yogaforbeginner.howtodoyoga com.free.music.downloader.mp3.song.download.player com.atpc |
App name | body | context.APPNAME | Curvy Dating Pull Him Out Yoga For Begginer MusicDownload AT Player |
App version | body | context.APPVERS | 1.0.10 1.2.1 2.0.8 2.1.6 1.442 |
Battery level | body | context.ANALOG.battery | 77.0 100.0 |
Carrier | body | context.CARRIER | Android T-Mobile |
Free disk space | body | context.ANALOG.free_space | 5693734912 5578498048 5707972608 5708124160 5722030080 |
Device advertising ID (GAID/IDFA) | body | context.IDFA | 827d8162-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 status | body | context.ANALOG.charging | 0 |
Is device an emulator? | body | context.VALPARAMS.is_emu | true false |
Is device rooted? | body | context.ROOTED | 1 |
Language | body | context.LOCALE | en_US en auto ar ru |
Manufacturer | body | context.MAKE | Google |
Model | body | context.MODEL | sdk_gphone_x86_64_arm64 sdk_gphone_x86_64 |
OS name | body | context.OS | Android |
OS version | body | context.OSVERS | 11 13 |
Other unique identifiers for the user, device, session, or installation | body | context.SESSION_ID | 6d86926b-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 RAM | body | context.ANALOG.available_memory | 935862272 417808384 987467776 959950848 913403904 |
Total RAM | body | context.ANALOG.total_memory | 2077356032 2076893184 2077286400 2061852672 2076852224 |
Rotation X | body | context.ANALOG.rotation_x | 0.0 |
Rotation Y | body | context.ANALOG.rotation_y | 0.0 |
Rotation Z | body | context.ANALOG.rotation_z | 0.0 |
Screen height | body | context.SCREEN_HEIGHT | 683 411 392 781 805 |
Screen width | body | context.SCREEN_WIDTH | 411 683 781 392 |
Time zone | body | context.VALPARAMS.timezone_offset | 3600000 |
Tracker SDK version | body | context.SDK_VERSION | 5.11.0 6.2.0 5.6.0 6.1.0 5.9.1 |