Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

Google Ads API v19.1: how to retrieve session attributes?

46 views
Skip to first unread message

Patryk Tucki

unread,
May 8, 2025, 5:33:52 AMMay 8
to Google Ads API and AdWords API Forum
Google Ads API version 19.1 changelog entry (https://developers.google.com/google-ads/api/docs/release-notes) contains a note about session attributes.

Session attributes represent aggregated identifiers used for conversion attribution. These work in addition to click identifiers, (such as GCLIDs and GBRAIDs), and user-provided data, which is central to enhanced conversions for leads. There are two ways to import session attributes: by providing the encoded token generated by our Javascript code in the browser, or by providing individual key value pairs for each of the identifiers.

How can we retrieve the encoded session token from Google's Javascript code in the browser?

Google Ads API and AdWords API Forum

unread,
May 8, 2025, 4:25:32 PMMay 8
to Google Ads API and AdWords API Forum
Hi,

Thank you for reaching out to the Google Ads API support team.

I understand that you want to retrieve the encoded session token from Google's Javascript code in the browser. Unfortunately, javascript client library is not yet supported by the Google Ads API, but we already raised this to the wider team, and they mentioned that, you may refer to this client library that exists. Our team also mentioned that this is a third party client library, and they work closely with them to ensure it stays up to date. Also,  to retrieve the encoded session token, you may use this link to raise this concern.

Hope this helps.

Regards, 
Google Ads API Team.

Reply all
Reply to author
Forward
0 new messages