|
||||||
|
||||||
|
||||||
|
||||||
Hi Chad,
Thank you for getting back to us. I work with Peter and allow me to assist you here. I hope you are doing well today.
Please see my response to your query below.
1.) Alright, it's becoming more clear now.
Correct me if I am wrong, but here's what I think is going on:
* I created the service account for API use to Google Analytics 4, and I just added the service account to the authorized users as view-only.
* Google Ads REQUIRES that invitees accept the invitation via email. This is impossible for a service account, therefore my service account can not directly access Google Ads
* To bypass this, I must impersonate my personal email with the service account. Impersonation requires the service account to have Domain Wide Delegation
Okay, fair enough. I checked and we don't have the admin.google.com account so that I can set up Domain Wide Delegation.
Unless I am mistaken somehow. But I don't see any indication that we have such an account.
I take it that I will need to create this admin.google.com account with an internal email, say goo...@mycompany.com.
But then I assume I must manually add the main email* and my personal email* to this new admin.google.com account, as workforce members or something?
...and after that, I should be able to see the Service Account I created in there? Then I can just give it Domain Wide Delegation?
Is this all accurate?
2.)adding to my prior message:
Can I perform this task (Domain Wide Delegation) with the Essentials Starter Edition of Workspace?
I just signed up for that version. But now I'm at a roadblock. The main email*, associated with our Ads account, Firebase, GA4, etc... is an @gmail domain email. However, the workspace says I can only add users via internal emails.
How do I now associate the existing accounts (all @gmail) with this workspace so that I can utilize the Service Account to access Google Ads?
3.) Well, I just got it working via OAUTH2. Like I said though, it won't make sense for us to use this method long-term. The program will run automatically every day, and while it may not take much effort to perform this one little manual task every day -- Lots of little manual tasks add up into intense workloads, eventually.
I'll use OAUTH2 for debugging, testing, building, etc for the time being. Can someone help me figure out the issue above though? I still don't understand how to use this new workspace if I can't add our Ads account because it was made with an @gmail email.
Regards,
|
||||||
|
||||||
|
||||||
Hi Chad,
Thank you for getting back to us. I hope you are doing well today.
Moving forward to your concern about the refresh token automatically expires after 7 days and cannot "publish"/"verify". Allow me to raise this issue to my team for further checking. Rest assured that we will provide updates when become available.
Regards,
|
||||||