Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
31 views

I’m trying to link my AdSense for Search (AFS) account with Google Analytics 4 (GA4), so I can fetch UTM, URL and more granular data using GA API and dump to our database for analysis, but currently I'...
freesoul's user avatar
  • 244
-1 votes
1 answer
226 views

I am trying to get some data using the Adsense Management API. I have created a project, enabled the API and then created a service account and generated keys for it. I generate a token with the ...
Lambros Tampourlos's user avatar
0 votes
1 answer
79 views

If I show an Adsense ad unit on a webpage, does the page URL get passed to the advertiser and/or Google? Are they told every page that shows their ad or that someone clicks from? Is there a way to ...
user984003's user avatar
  • 29.9k
0 votes
1 answer
462 views

I am trying to set up the Google Adsense API for a project I am working on and have started playing around with the Google OAuth 2.0 playground. Some of the commands in the list they provide reference ...
Joel Cribby's user avatar
0 votes
0 answers
117 views

I'm using Google's App Script to import AdSense data into a Google Sheet (I'm using this script and it's working fine). Here is sample data I receive (usually the rows number in the hundreds) which is ...
Adrien Hingert's user avatar
-1 votes
1 answer
278 views

I'm using the generateReport function from Google's AdSense Service to import AdSense data into Google Spreadsheets. How do I edit the code to import data only from a specific domain (AdSense ads are ...
Adrien Hingert's user avatar
1 vote
0 answers
194 views

I have been using the adsense management api v2 and I now notice that the sites listed aren't complete. The report on the adsense dasboard shows all the domain names/sites but I cannot figure out why ...
zainsyedz's user avatar
0 votes
1 answer
210 views

I want to generate a report from a firebase cloud function (in Node), I am using the Adsense API v2 like this: const { google } = require("googleapis"); const adsense = google....
Manuel's user avatar
  • 1
0 votes
1 answer
654 views

Hi I'm trying to fetch the ad unit details of an Adsense Account using the Adsense Management API. I created the application on google cloud console and got the client_id and client_secret which I ...
Gavya Mehta's user avatar
0 votes
1 answer
327 views

i need to send custom filter to google adsense api v2 something like this $optParams = array( 'filters' => array( "URL_CHANNEL_NAME=@https://example.com/test/*" //or "...
Peter Tharwat's user avatar
0 votes
1 answer
415 views

i want to know can i show ads for free users and remove ads if they purchase subscription in my website. (i have website). and i want to done this in php if conditions like if(subscription==true){ ...
Raj programing tutorials's user avatar
-1 votes
1 answer
146 views

Is there any documentation or anywhere that notes how to customize the AdSense for Platforms Embedded Connect Widget? Or have any docs to adsenseEmbeddedConnect.init() function? If i want to get just ...
Dmitry Shelupets's user avatar
0 votes
0 answers
190 views

I'm working on my app (iOS) to get AdMob and AdSense earnings information. But I've been having trouble getting specifics from them. I've already created the credentials and client ID from my Google ...
Travgalax's user avatar
0 votes
1 answer
435 views

I'm doing research regarding Google Adsense Host API on how to split the revenue of ads between the content creators and website's owner. I've been following the instruction at https://developers....
czetsuya's user avatar
  • 5,163
1 vote
1 answer
1k views

Integrate google AdSense in NextJS project? I tried several way which gives on internet blog but I was stuck each method. and I tried AdSense at dummy site but It couldn't work in my case Here I have ...
Anjan Diyora's user avatar
0 votes
1 answer
98 views

I'm trying to use Adsense management API in Google Sheets using apps script which runs with javascript. I'm unable to define "accountName " even knowing "This sample lists all of the ad ...
Al Azad's user avatar
  • 51
7 votes
1 answer
972 views

Currently working on a CMF for a web platform that uses firebase, Firebase Analytics and AdSense. However firebase's docs on consent and user privacy for the web are either missing a lot of stuff or ...
Emma Alecrim's user avatar
8 votes
2 answers
4k views

I'm currently working on a consent management system for my platform where we use firebase for analytics and AdSense for Ads. However the api is badly documented on this subject and there doesn't seem ...
Emma Alecrim's user avatar
0 votes
1 answer
237 views

I am trying to call listAccountSites in php via the Adsense Management API and I am continually getting a 500 error. I have tried setting the pageSize to different values and still get the error: { &...
NPM's user avatar
  • 1
1 vote
0 answers
307 views

I tried like below https://adsense.googleapis.com/v2/accounts/pub-xxxxxxxxxxxxxxx/reports:generate?dateRange=CUSTOM&startDate.year=2021&startDate.month=10&startDate.day=12&endDate.year=...
Seunghwan Kim's user avatar
0 votes
1 answer
212 views

After October 12, the existing AdSense API version 1.4 is not supported, and I tried to switch to the AdSense API version 2, so it is difficult. We would appreciate it if you could provide more ...
찍신 - 영어의 모든 것's user avatar
1 vote
1 answer
2k views

Our site let's user post content and we display ads on them and share some part of ad revenue with user just like YouTube. Now the issue is how to programmatically know if an ad was successfully ...
Captain_Satya's user avatar
0 votes
0 answers
230 views

So I'm trying to make a NodeJs app, that checks regularly for any new Google Adsense alerts, The issue is that until now, It only shows one Alert, while there is more than 80 showing on my Adsense ...
elkhayder's user avatar
0 votes
1 answer
579 views

I'm trying to use the google-api-javascript-client with the Adsense Management API to get reports of an authorized account. The login process with OAuth2 is working fine and I can fetch the Adsense ...
Lars Flieger's user avatar
  • 2,709
0 votes
1 answer
846 views

While migrating from an older version, I ran into a problem with the reports pulling. The same report from v1.4 isn't return any data in v2: v1.4 report scrape: self.service.accounts().reports()....
Inbar Demuth's user avatar
1 vote
1 answer
754 views

Is there any way to use Python to access the Google Adsense API from a server without any user interaction? This is typically done by setting up a "service account", but Google's docs say ...
Cerin's user avatar
  • 65.6k
0 votes
0 answers
255 views

This issue with Adsense happens on safari browsers only During page load the website will be redirected to the ad url (the src value in the iframe that was provided by adsense i.e https://googleads.g....
Tom's user avatar
  • 432
0 votes
1 answer
125 views

AdSense community! We integrate with Google AdSense and we came across one issue, where we don't receive any values for Channel (custom_channel_name) metrics from API. Request: GET /adsense/v1.4/...
Databox Mobile-First Business 's user avatar
0 votes
1 answer
221 views

In the dimension and metrics link: https://developers.google.com/adsense/management/metrics-dimensions I couldn't.find anything related to Style ID or Style name. Can someone help?
r34ctor's user avatar
0 votes
1 answer
272 views

Is it possible to get payout bank account information via Adsense API? I was not able to find that info in API documentation.
Igor Zhukovich's user avatar
0 votes
1 answer
313 views

I am in between migration from AdSense API the AdMob API (mediationReport.generate method) to generate a report. I am using python Client API following below doc https://developers.google.com/admob/...
gameuser's user avatar
0 votes
2 answers
572 views

We use the following AdSense Management API to get AdMob revenue, but the revenue we get from is 1/100 smaller than the actual value on AdMob dashboard. This makes me think that there is some setting ...
Makoto Taguchi's user avatar
2 votes
1 answer
1k views

Is it possible to get the total all-time earnings of a specific URL (say, https://example.com/page/xyz) using the AdSense Management API? (preferably the PHP library). If so, please post a code answer ...
Sayan J. Das's user avatar
1 vote
1 answer
9k views

I am using adsesne code in my angularjs application. On the first load of application ads are working fine when I switch content dynamically I get this error. Exception in queued GPT command ...
Ali Wahab's user avatar
  • 592
2 votes
1 answer
701 views

Is there any way to query data in the Google Adsense Python API by URL? For example, find the number of ad clicks on a specific page? I can find no direct method listed in the documentation. The only ...
Cerin's user avatar
  • 65.6k
1 vote
0 answers
163 views

I'm trying to use Adsense on my PHP website's main page. The content of the page (video players) is inserted from an AJAX request after the index.php has been loaded. The main page sends an Ajax ...
aman's user avatar
  • 403
0 votes
1 answer
168 views

Is it possible to add/remove Sites from AdSense via the API? We run a CMS that includes lots of domains that point to our servers. Sites seem to get automatically added to AdSense after they get ...
nratter's user avatar
  • 567
1 vote
1 answer
184 views

I've managed to get API working but it is reporting numbers which are always a bit lower than the ones reported by AdSense web (or mobile app) interface. This is the response from API explorer: "...
Dejan's user avatar
  • 21
0 votes
1 answer
1k views

I am asking for a best practice or implementation. My app's core function providing service for a long time (2 to 4 hours). The users have some active time and when they use the service, the active ...
vegafish's user avatar
  • 455
0 votes
0 answers
336 views

I'm using the Google AdSense API. "https://developers.google.com/adsense/management/v1.4/reference/adclients" When I run these codes, a list of products for my AdSense account appears. But I want to ...
Alex Deniz's user avatar
2 votes
0 answers
145 views

I want to get the sub-account tree under my current account by account id, get it according to the examples method, and respond to an empty object. In fact, the account has been bound to 7 sub ...
Mr.White's user avatar
0 votes
2 answers
3k views

I have Created Admob video rewarded ad. My admob Account is old and I have shown successfully an interstial ad in my another app. But, I have added a new app in admob just and created a admob video. ...
Noor Hossain's user avatar
  • 1,871
2 votes
0 answers
435 views

It's my first time to try adsense in a site I made from scratch I tried to add adsense to my website over 10 times and everytime it says: We found that your site is down or unavailable: And the code ...
xTrimy's user avatar
  • 823
0 votes
1 answer
251 views

I would like to get the revenue from the google bees for every single item on my website to create a control panel on my website where I can see how much each item makes
claudio marfia's user avatar
0 votes
1 answer
3k views

Can anyone help me to show ads on click on button. I want to load the video ads on click on button from html button like showing on youtube.
Charnjeet Singh's user avatar
0 votes
1 answer
783 views

I'm trying to generate AdSense reports on web app hosted on node.js. Since it's a server-to-server communication i need to use service account. I followed this guide, but i always getting error: { ...
Alexander Andryichenko's user avatar
1 vote
1 answer
499 views

I'm using google-api-php-client to get the AdmobMediation report remotely from our servers Every thing works fine, except that the response report is only related to the "Admob Network", not the "...
Karam Bowidany's user avatar
1 vote
0 answers
783 views

I have used Google Adsense management API Java client library in my web application (built using Spring Boot) in order to use Adsense report in admin dashboard. I have used following code to establish ...
Alina's user avatar
  • 56
3 votes
2 answers
2k views

I have some problems when trying to integrate Google Adsense to my Weather Website. The google banner is running but not well. Sometimes, it doesn't show anything except for a blank banner. Like in ...
Mavisss's user avatar
  • 41
0 votes
0 answers
126 views

I try to add feed ads in product thumbnails of my website There is no error and website is running fine. But No ads has been comeup in my website. How to achieve this in feed ads in WooCommerce ...
Ashik K's user avatar
  • 23