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 <https://github.com/opteo/google-ads-api> 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 
<https://github.com/Opteo/google-ads-api/issues> to raise this concern.

Hope this helps.

Regards, 
Google Ads API Team.

On Thursday, May 8, 2025 at 3:03:52 PM UTC+5:30 [email protected] wrote:

> Google Ads API version 19.1 changelog entry (
> https://developers.google.com/google-ads/api/docs/release-notes) contains 
> a note about session attributes.
>
> Click conversion specification (
> https://developers.google.com/google-ads/api/reference/rpc/v19/ClickConversion#session_attributes)
>  
> states that:
> 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?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/adwords-api/09281088-e316-4b09-a453-583f6b7adb03n%40googlegroups.com.
  • Google Ads API v19... 'Patryk Tucki' via Google Ads API and AdWords API Forum
    • Re: Google Ad... Google Ads API and AdWords API Forum

Reply via email to