Hello everyone! We are working on the integration ...
# getting-started
m
Hello everyone! We are working on the integration with Google Ad Manager and we have found the following tap: https://hub.meltano.com/extractors/tap-googleads/ It is not clear to us if this tap can be used to get data from Google Ad Manager or it only works with Google Ads? Thanks in advance!
e
I can’t speak for the tap but google ads manager allows you access to multiple google ads accounts, I am pretty sure you’ll still want to tap into the google ads accounts directly since that data shouldn’t be tied to GAM but the GAds accounts you have access to via GAM although GAM and GAds accounts have the same account id structure so it might not hurt to see what happens if you leverage your GAM id
a
Hi @matheus_dantas Google Ad Manager is just the Google delegated authorization mechanism right? On the tap, there is our variant which we designed to work with a single account - making the UI settings simpler. This is forked from Dereks good work that sync all accessible accounts. This thread gives a bit more info: https://meltano.slack.com/archives/CMN8HELB0/p1681928692142779
k
Thanks for the response @aaron_phethean. For this configuration, we need
refresh_token
and
developer_token
. From where can we get these? We currently have
client_id
and
client_secret
. Thanks in advance
m
@aaron_phethean thanks for your response. I am not completely sure about your question but Google Ad Manager is the service focused on publishers and it has its own API: https://developers.google.com/ad-manager/api/start
@ed in GAM we have some reports that we want to extract and they are not available in Google Ads. So I didn’t understand your point.
a
Right. So that tap is google ads API - almost certainly different to the GAM API by the sounds of it
@kaveri_lolge with OAuth, you need to go through one of a few different flows to get a token. The refresh token flow has two stages - get a code, then exchange that code for the refresh token, one more stage usually inside the app to use the refresh token to get an access token. Frankly, this is a royal pain when you try to do it manually. Or you could just plug the clientId and secret into an app and let it do it all for you - like this: https://www.matatika.com/docs/getting-started/community-edition#specify-a-custom-google-oauth-provider.