Skip to main content
The 2024 Developer Survey results are live! See the results

Questions tagged [adsense-api]

AdSense Management API and AdSense Host API related questions.

adsense-api
1 vote
0 answers
40 views

App Script error when using Google Adsense API

I wrote an Apps Script (Google Sheets) to retrieve information from Google Adsense using its service. It's enabled from the Cloud console and authorized through OAuth2 Code is: var accountId = '...
Gabriel Weitz's user avatar
0 votes
0 answers
20 views

Adsense: keeping webpage URL private, changing referrer

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.1k
0 votes
0 answers
71 views

Creating a Google Adsense AdUnit with the Python API?

How do you use the Python Adsense Management API to create adunits? Based on documentation and some examples I've found, it should be something like: #!/usr/bin/env python """ pip ...
Cerin's user avatar
  • 63.8k
0 votes
1 answer
256 views

How do I find my Google Adsense API "parent" account?

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
103 views

Google App Script: modify array before setting values in Google Sheet

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
200 views

Import AdSense in Google Sheets

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
146 views

How can I get the complete list of sites with the Adsense Management API v2?

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
165 views

Error 403 when trying to generate adsense earnings report using API in Node

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
464 views

Adsense API returning Error 403 - "The caller does not have permission"

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
269 views

How can i filter data from google adsense api using page url?

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
333 views

remove adsense ads on subscription in website

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
118 views

Customize Google AdSense Embedded Connect widget in ReactJs

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
165 views

Swift, couldn't get earning details from AdMob and AdSense

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
392 views

How to Enable Google Adsense Host API for Testing

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
  • 4,943
1 vote
1 answer
1k views

How to integrate google AdSense in NextJS project?

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

15 30 50 per page
1
2 3 4 5
10