Questions tagged [adsense-api]

AdSense Management API and AdSense Host API related questions.

136 questions
11
votes
5 answers

How to programmatically collapse space in empty div when google ad does not show

Is there any way to programmatically collapse the empty space that results when a google ad does not show? If so, I would love to see an illustrative example of the same. Searching around has led me to this official Google resource for accomplishing…
Hassan Baig
  • 15,055
  • 27
  • 102
  • 205
8
votes
1 answer

Cannot Add the AdSense API in API Manager

I'm trying to follow the AdSense API getting started guide, and I'm getting stuck on the 'Register your application' section. I have created a project, but I can't find the 'Activate' button. Instead I go to the API Manager, and then the Library…
mark_3094
  • 659
  • 4
  • 11
7
votes
1 answer

What exactly does the automaticDataCollectionEnabled flag do in Firebase web?

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 the api doesn't have granular control over it. The…
7
votes
2 answers

Google adsense responding the server responded with a status of 400 ()

I'm implementing google adsense first time on my website myPleaks . Here I'm facing below mentioned error:- Failed to load resource: the server responded with a status of 400…
Raj Bhatia
  • 1,049
  • 4
  • 18
  • 37
6
votes
2 answers

How to configure firebase for consent and data compliance on web?

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 to be simple, straightforward ways to configure…
6
votes
3 answers

Is there any way to pull earning from a specific page by adsense?

I am trying to find out a way to get revenue generated by a page of my website. For example my website have 10 pages(a,b,c,....) and they all have ads placed on them. I need to calculate revenue generated by page a,b,c and so on . Like : Page a =…
keshu_vats
  • 452
  • 6
  • 45
6
votes
1 answer

AdSense management API testing with test account

I am developing a mobile application that uses AdSense management API. I am able to test it with my personal Google account linked with AdSense. However for certification purposes I need to provide a test account that could be used by third party…
nuwanda
  • 73
  • 4
5
votes
2 answers

How to customize ads tracking of Adsense?

I know my question is relevant to Custom click tracking for adsense but I am here asking it again because I need more answers of above mentioned question. only one answer already there, But it is not what I need. can u people re answer same question…
user2503896
5
votes
1 answer

GoogleWebAuthorizationBroker.AuthorizeAsync works locally but hangs on production IIS

I have a report application that uses the adsense api. I am using GoogleWebAuthorizationBroker.AuthorizeAsync for authentication. When i wun it locally it works fine, the request for permission window opens and after I grant access everything…
Mihaii Bica
  • 51
  • 1
  • 3
5
votes
4 answers

error enabling adsense management api

I am trying to enable the adsense management api from the google developers console. I have created a project and under APIs and auth I go to APIs and try to turn on AdSense Management API, but when I click it it just shows a toast notification…
4
votes
0 answers

Using the Adsense management API how do I get the exact URL in which each ad was shown when I generate a report?

What I need to do: I want to generate adsense reports programmatically to get the earnings and the page views for each ad in my website that lets users post their own articles, so I need to know from which URL the earning comes from to be able to…
4
votes
1 answer

Google IMA SDK Overlay & Fullslot Ad Reference for JavaScript

I'm already using the Google IMA HTML5 SDK API for displaying a fullslot ad in our self-made player. Now, I'm trying to add an overlay ad within the same API, but I can't find the documentation for that. In the FAQ is a link to a technical quick…
Simon Ferndriger
  • 4,455
  • 6
  • 28
  • 53
3
votes
1 answer

Accessing Google Adsense API from a server with Python?

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 that "AdSense doesn't support Service Accounts". They say to…
Cerin
  • 60,957
  • 96
  • 316
  • 522
3
votes
2 answers

Hide Google Adsense banner when there's no advertisments on Website

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 this pic: Picture The first problem leads me to…
Mavisss
  • 41
  • 3
3
votes
0 answers

Displaying Adsense Ads in Chrome Extension

I'm Trying to Monetize a Google Chrome Extension, The Extension has a large panel that display content to the users. I want to add Small Sized Advertisement from Google Adsense into the extension panel. However as far as I know for an Adsense…
1
2 3
9 10