Connect Google Analytics and Google Ads
Envoycast shows how a brand’s Google Ads campaigns do (cost, clicks, impressions, and the site visits and key events each ad brought) by reading them from the brand’s Google Analytics. You give Envoycast read access to the Google Analytics property once, with a key from a Google service account. It never starts, edits or spends on a campaign.
Before you start
You need four things in place. Each is done on Google’s side, once per brand.
- A Google Analytics 4 property for the brand’s website, and its property ID. In Google Analytics open Admin, and under Property choose Property details. Copy the property’s ID, which is a number such as 123456789.
- The property linked to the brand’s Google Ads account. Google Ads cost and clicks reach Google Analytics only through this link. In Google Analytics open Admin, and under Product links click Google Ads links, then Link, then Choose Google Ads accounts, select the account, and press Confirm, Next and Submit. You need the Editor role or above on the property and the Admin role on the Google Ads account.
- Personalised advertising on for that link (only needed if you will make audiences, see Bring back past visitors). The option Enable Personalized Advertising is on by default. To check it, open Admin, Product links, Google Ads links, press the arrow at the end of the linked account’s row, and look at Enable Personalized Advertising.
- A Google service account with a key, added to the property. A service account is a robot login that belongs to a Google Cloud project, not to a person. Steps are under Connect Google Analytics.
Connect Google Analytics
On Google: make the key
- In the Google Cloud console, select or create a project, and turn on the Google Analytics Data API and the Google Analytics Admin API for it. Envoycast uses both: the first reads the numbers and the second reads the property’s Google Ads links.
- Open the Service accounts page in the Google Cloud console and create a service account: enter a name and press Done. You can skip the optional access steps. The account gets an email address that ends in .iam.gserviceaccount.com.
- Click the service account’s email, open the Keys tab, press Add key, then Create new key, choose JSON and press Create. The key file downloads once, and Google can’t give it to you again. If Google refuses to create a key, your organisation blocks service account keys in that project; an administrator of the organisation has to allow it.
On Google Analytics: give the account a role
- Open Google Analytics, Admin, and under Property choose Property access management (labelled Access Management in some Google pages).
- Press +, then Add users.
- Type the service account’s email address, choose the role and press Add. Choose Viewer if Envoycast should only read results, or Marketer if it should also make audiences of past visitors (Marketer includes reading). Adding a user needs the Administrator role on the property or the account.
In Envoycast
- Open Studio, pick the brand, and open the Brand profile tab. Under Ad platforms, turn on Google Ads and fill in the Google Analytics property id. Also fill in the Google Ads Customer id, and the Manager (login) customer id only if the account sits under a manager account. Press Save profile.
- Open the Ad results tab. Until the property id is saved, a yellow line says “Add the Google Analytics property id in Brand profile so Envoycast can read Google Ads results”, with an Open button to the profile.
- Once the property id is saved, press Connect Google Analytics in the Google Ads card. A sheet called Connect Google Analytics opens.
- Open the downloaded JSON key file in a text editor, copy all of it, and paste it into Service account key (the whole JSON file). Press Check and save.
- Envoycast checks that the key can read the property and lists the Google Ads accounts it is linked to. It then shows “Connected as” followed by the service account’s email, or a yellow note if something needs attention (see Fix a problem). Envoycast stores the key sealed.




The first read brings the last 90 days. Press Read now to read again at any time.


Permissions Envoycast asks for
This connection does not use a Google sign-in screen, so there is nothing to tick. What Envoycast can do is decided by the key it holds and by the role you gave the service account in Google Analytics. The two access levels it asks Google for are:
- “See and download your Google Analytics data” (read). Envoycast uses it to read the cost, clicks, impressions, sessions and key events of each campaign, ad group and ad, and to read which Google Ads accounts the property is linked to. A Viewer can do this. Keep it. Without it, no results appear.
- “Edit Google Analytics management entities” (edit). Envoycast asks for it only when you make an audience of past visitors, to create that audience in Google Analytics. The service account needs the Marketer role on the property for it to work: Google lists creating, editing and deleting audiences under Marketer. Optional: without the Marketer role, results still load, and only making audiences fails, with a message that names the exact email to add.
Change or take away the access
- In Google Analytics, open Admin, then Property access management and find the service account’s email.
- Open it to change its role, or remove it, to take all access away.
- To stop Envoycast from holding the key at all, delete the key under Keys of the service account in the Google Cloud console. Envoycast then shows Needs a quick reconnect until you paste a new key.
After you connect
- Daily read. Envoycast reads Google Analytics once a day for the last 7 days, because Google keeps adjusting recent results. The first read is 90 days.
- What you see. Spent, Clicks, Click rate, Site visits and Key events, a Campaigns table and Ads by spend. Google Analytics gives no ad names, so an ad shows its ad group and ad id.
- Only one Google Ads account. If the Brand profile has a Customer id, only that account’s campaigns are shown.
- Lists in Google Ads. Audiences you make in Envoycast reach Google Ads through the link, and a campaign can also use a list that already exists in Google Ads: see Bring back past visitors, which has the steps and the 100-person rule.
Fix a problem
“Add the Google Analytics property id in Brand profile” or “Add the GA4 property id in Studio, Profile first”
Envoycast doesn’t know which property to read yet.
- In Google Analytics, open Admin, then Property details, and copy the property ID.
- In Envoycast open Studio, the brand, Brand profile. Under Ad platforms turn on Google Ads, paste the number into Google Analytics property id and press Save profile.
“Connect Google Ads results first”
The brand has no saved key yet. Open Ad results and press Connect Google Analytics, then follow Connect Google Analytics.
“Paste the whole service account key file”, or Envoycast “has no Google service account”
The box was empty, or what you pasted is not a complete Google key file. A key file is the whole JSON text, which includes client_email and private_key. Open the downloaded .json file, select everything, copy, and paste it into the box again. If you lost the file, make a new key (Google can’t show an old one again) and paste that.
“… can’t read properties/…” followed by a Google message
The key is valid, but Google Analytics refused it. The message starts with the service account’s email. The text after it says why. Work through these in order:
- If the text says an API “has not been used in project … or it is disabled”, turn on the Google Analytics Data API and the Google Analytics Admin API for that Google Cloud project (see Connect Google Analytics), wait a few minutes and try again.
- Check the email is added to the property, with the role Viewer or higher, in Admin, Property access management.
- Check the property id in the Brand profile is the property’s ID, not the measurement ID that starts with G-.
- If the text mentions an invalid key, make a new JSON key and paste it.
“This GA4 property isn’t linked to a Google Ads account”
The key works, but the property has no Google Ads link, so there are no ad results. Link it: Admin, Product links, Google Ads links, Link (see Before you start), then press Read now.
“This GA4 property is linked to Google Ads …, not … from the Studio profile”
The property is linked to a different Google Ads account than the Customer id in the Brand profile. Only the profile’s account is shown. Fix the Customer id in the Brand profile, or link the right Google Ads account to the property.
“Google stopped letting Envoycast read this GA4 property”
The service account lost its access, or its key was deleted. The Google Ads card shows Reconnect.
- In Google Analytics check that the service account’s email is still in Property access management with at least Viewer.
- In Google Cloud check that the key still exists under Keys. If not, make a new JSON key.
- Press Reconnect, paste the key and press Check and save.
“Google: …” or “Google Analytics didn’t answer: …”
Google Analytics returned an error that is not about access, often a short outage or a limit. Press Read now again after a few minutes. Envoycast also tries again at the next daily read.
“No Google ad delivered in the last 30 days”
The connection works, but Google Analytics has no cost for an ad campaign in that period. Check that the campaign ran, that the property is linked to the right Google Ads account (above), then press Read now again a day later.
“Google Analytics didn’t let Envoycast create audiences”
The service account has Viewer but not Marketer. In Google Analytics open Admin, Property access management, open the email the message names, choose Marketer and save, then press Try again on the audience. Steps with pictures are in Bring back past visitors.
“Personalised advertising is off on the Google Ads link”
Audiences are made in Google Analytics but never reach Google Ads while this is off. In Google Analytics open Admin, Product links, Google Ads links, press the arrow at the end of the account’s row and switch Enable Personalized Advertising on.
“Google Ads didn’t give the lists” or “Add the Google Ads customer id in the brand’s studio profile first”
The Google Ads lists of a brand are read using the Customer id in the Brand profile. Add it (and the manager id if the account sits under one), save, then press Read the lists from Google Ads in the campaign’s brief. If it repeats, wait a few minutes and try again.
Another message
Press Read now. If it fails again, check three things in order: the key still exists in Google Cloud, the service account still has a role on the property in Google Analytics, and the property is still linked to the Google Ads account. If all three are fine, press Reconnect (or Connect Google Analytics) and paste a new key.