Expand my Community achievements bar.

Join us on September 25th for a must-attend webinar featuring Adobe Experience Maker winner Anish Raul. Discover how leading enterprises are adopting AI into their workflows securely, responsibly, and at scale.
SOLVED

Event forwarding issue with OAuth

Avatar

Level 3

Hello Everyone,

 

I am trying to setup a OAuth Secret within Event Forwardiing for WebSDK implementation.

Its for Google Search 360 API. When i do that Launch always gives me this error "The Credentials provided are incorrect" Even though i am able to generate token using curl with same credentials. Below i the screenshot of how i am doing it under Data Collection:

NitinCT_0-1725015718181.png

Does anyone know what might be wrong i am doing. Here is the syntax google is giving for Curl:

curl \
 
--data "grant_type=refresh_token" \
 
--data "client_id=CLIENT_ID" \
 
--data "client_secret=CLIENT_SECRET" \
 
--data "refresh_token=REFRESH_TOKEN" \
  "https
://www.googleapis.com/oauth2/v3/token"
1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi @NitinCT 

Have you setup a project via Adobe Developer Console in order to generate credentials? I believe you will have to do that first. This documentation walks through the setup using Postman.


https://experienceleague.adobe.com/en/docs/platform-learn/getting-started-for-data-architects-and-da...

View solution in original post

3 Replies

Avatar

Correct answer by
Community Advisor

Hi @NitinCT 

Have you setup a project via Adobe Developer Console in order to generate credentials? I believe you will have to do that first. This documentation walks through the setup using Postman.


https://experienceleague.adobe.com/en/docs/platform-learn/getting-started-for-data-architects-and-da...

Avatar

Employee

Are you able to authenticate using the Google OAuth playground for the credentials you have generated?

 

https://developers.google.com/search-ads/reporting/concepts/oauth-playground

Avatar

Level 1

@NitinCT, were you successful in getting this connection to work?
I'm trying to set up a OAuth secret to reach a different Google API, and have not been able to return a token.