|
||||||
Thanks Ankam,
When creating the AdManagerUser in a test application
ie. AdManagerUser user = new AdManagerUser();
where the settings are pulled in from my app.config which is configured now for the service account flow, indeed the user.config object has a OAuth2RedirectUri = urn:ietf:wg:oauth:2.0:oob.
I’m not sure where the RedirectUri comes from in the config, can you explain that for me? It’s not a setting in app.config and if I read your response correctly, you seem to indicate that our registered application type could have something to do with that RedirectUri being set that way? It doesn’t appear to come from the JWT file?
Funnily enough if I clear the RedirectUri (ie. user.Config.OAuth2RedirectUri = "";), then indeed the entities that weren’t working with the service account flow are now returning results! I doubt clearing the RedirectUri is the recommended workaround for this however?
If you could also clarify, with the Service Account flow, it appears that the JWT will not expire and that we will pass this onto our clients using our application and have them configure the Service Account in their networks to our Service Account email address for which the JWT was generated?
If it helps, our network code is: 38302577
And the service user I’m using there is called “Genera Service Account” (user_id=248113597) which is hooked up to the email I generated the JWT file from.
Kind Regards
Mark
From: Ad Manager API Forum Advisor <admana...@forumsupport.google>
Sent: Monday, 4 July 2022 8:52 PM
To: Mark Sheedy <msh...@atex.com>
Cc: google-doubleclick...@googlegroups.com
Subject: RE: Problems moving from the Refresh Token (Installed app) flow to Service Account flow
** EXTERNAL EMAIL **
Based on the Google documents, clarification to user queries.
And in addition to above points we can say:
However, your queries seems to be more related to the Google cloud. Kindly note, we can only assist you with issues related to Ad Manager API and suggest you reach out for Google cloud support if they have any further queries, as they will be well-equipped to assist the user better.
Regards,
|
||||||
|
||||||