We have been running GA4 and Google Ads on our website for a while now. However, the GA4 data appears not to be available in Google Ads even though the accounts are linked. For example, we can see 'All user' data in GA4, but the automatically imported GA4 audience 'All users' is not being filled (it does have some users, but that is probably from when we use UA). I have installed the GA4 tag through GTM, and it is working as GA4 data gets filled.
GA4: Linked account
GA4: All users
GAds: GA4 All users in Ads
I have cross checked all links, property codes etc and all do match with the corresponding account, but unfortunately the data is not being imported. Also, when I create a new audience in GA4, the data is not available in Google Ads. When I configure the Google Ads remarketing/conversion tag in our GTM, the audience does get filled.
Am I missing something?
I had the same issue. I fixed it.
You have to login to your google analytics.
Click on Admin at the bottom left hand corner, you will then see Data settings. Under Data settings, you will see data collection. In that page, you will have to activate Google signals data collection and also Acknowledge the User Data Collection Acknowledgement.
I have attached a screen shot for your reference.
Once you do this, you will be able to see the data for audiences in google ads from your google analytics property. It can take upto 24 hours for the data to be visible in your google ads audiences.
I hope my answer helps you!
Best Regards,
Shoaib Hussain
Images are below
Data collection
Google signals data collection
User Data Collection Acknowledgement
Related
this is what I would like to do: I wanted to create an app for my colleagues where, given a google sheet, you can send a form that would save some info on this google sheet.
I would like that, after the first login where the user gives permissions, it should not be required for the user to login again, they will be able to check the result directly on Google Sheet.
Some more info: Let's say we have the author of the Google Sheet and their customer, ok? The author of the Google Sheet creates some questions on Google Sheet, this web app will read this questions from the Google Sheet. when the customer fill an answer, in another tab of this google sheet, you will find all the answers. I want to use this single google sheet (for this specific user) as persistency. The Google Sheet, if possible, should not be public.
I was checking the documentation for Google API and Google Sheet but it seems this product doesn't fix my use case. I could be wrong though.
I checked the following links:
https://developers.google.com/identity/protocols/oauth2/web-server
https://developers.google.com/sheets/api/quickstart/js?authuser=2
https://developers.google.com/identity/protocols/oauth2
What I understood from this is that, best case scenario, after you log in, you receive an access token and a refresh token. The refresh token could be used for my use case when the access token expires, but the refresh token can be used for a limited amount of time (6 months) and you cannot use it for more than 50 times.
This would not work for me because when you give the form to other people so that they can use it, it could pass some time and they could be more than 50 so the refresh token will expire quite soon.
Is there any solution with Google Sheet API to just have an api key that I can you use in my backend without the risk of having an expiration (unless my user remove the permissions, in which case that would be fine)?
PS: I found this answer on SO already but only works for public sheets, I would need it to work for sheets that stay private: HTTP Google Sheets API v4 how to access without OAuth 2.0?
I Observed that when i deleted my TextAd and try to get it via API it still can be retrieved, is this a bug by Adwords? or there is a valid explanation on why this is happening?
i expect that if the TextAd is deleted it will can't be longer be retrieve using the API.
You can also see a deleted AdWords ad on in the UI if you select "All ads" in the filter dropdown. AdWords ads cannot be fully removed from the account. The API allows for a programmatic way to access what you have in the UI.
I've been working with the Google Analytics API to create a page showing some specific statistics. Right now everything is working, except that after the user goes through OAuth, it is displaying statistics from their Google Account.
Instead, I always want it to display statistics from a single Google Account that I own/operate, and everyone else is just viewing the data from that account.
I haven't seen a way in the GA documentation to accomplish this. I would assume the user wouldn't have to log in, because I'm just showing them my account, but it's not the end of the world if they have to.
If you're looking to create a place where users do not have to go through OAuth, you should really look at using Google's superProxy to publicly display data.
Is it possible with the Google Adwords API to get ads (both text and images) from any website, even if I don't own it?
For example, I'd like to see all ads that www.website.com does. Is there a way to extract that data?
There are sites online that do it, so there must be a way, any idea?
AdWords API only displays the Ads that you have created.
For any given AdWords account, there has to be a Campaign, which have AdGroups, which have the Ads and the user can only access Ads within that particular account.
Situation: I want to track some Data with Google Analytics on the server-side.
Problem: My application is able to provide an exact geolocation (lat, lng). I want to track it with GA as the 'users location' so i can show them on a Map in the GA Dashboard.
I know i may track custom variables/events, but am unsure how to plot them on a map in Google Analytics. My company would like to stay with one reporting tool.
You will not be able to plot these in the Google Analytics dashboard, but you should not let this stop you from moving forward. You could do this fairly easily by saving the geolocations in a custom variable and then pulling that data and then plotting it using a combination of the Data Export API and the Google Maps API. You will not, however, be able to embed this within the Google Analytics dashboard.
It currently is not possible to provide geolocation information directly to google analytics. Google automatically extrapolates that information based on data gathered from the web client (e.g. ip address), and you cannot provide that information since you are invoking tracking on the server-side.
It would be nice if google added the ability to provide at least city level geolocation data for server-side tracking, but it doesn't appear possible at this point in time.