Event forwarding issue with OAuth | Community
Skip to main content
Level 2
August 30, 2024
Solved

Event forwarding issue with OAuth

  • August 30, 2024
  • 3 replies
  • 883 views

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:

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"
Best answer by DavidRoss91

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-data-engineers/set-up-developer-console-and-postman

3 replies

DavidRoss91
Community Advisor
DavidRoss91Community AdvisorAccepted solution
Community Advisor
August 30, 2024

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-data-engineers/set-up-developer-console-and-postman

brekrut
Adobe Employee
Adobe Employee
August 30, 2024

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

March 4, 2025

@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.