AdSense Management API and AdSense Host API related questions.

learn more… | top users | synonyms

0
votes
0answers
7 views

Tracking custom fields in Adsense

I was wondering if it's possible to put a custom field onto an Ad Unit that could be used to filtering an API call, and be used to calculate that content's earnings to allow sharing revenue with the ...
0
votes
1answer
68 views

AdSense Management API (PHP) Get Payments

I'm trying to get the 'Balance' value from the API. Basically, I want to retrieve the amount that has not yet been paid. So far, I have the sample API PHP working, but I can't figure out how to get ...
0
votes
1answer
69 views

'Google AdSense API' PHP sample code is not working

Please, Help me.... I would like to use the Google AdSense API to get my Earnings through PHP. But sample code is not working. PUTTY - SSH connect Install 'Composer' php -r "if (hash_file('SHA384',...
-1
votes
1answer
29 views

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 ...
1
vote
2answers
37 views

Adsense API getting 'Error: Login Required'

I'm using the API Explorer tool to create some request urls for google adsense. Here is the request url that the explorer tool generated that gives a response of today's earnings: https://www....
0
votes
0answers
30 views

Google Adsense Management API: servingLimitExceeded with a few queries

We are receiving a servingLmitExceeded after making a few queries to the Adsense Management API for obtaining daily info about each app. We are connecting to 5 accounts. What we do is first obtain a ...
4
votes
2answers
107 views

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 ...
1
vote
0answers
76 views

How to get “AdMob Network requests” using adsense reporting api?

Been trying to build a little tools to monitor performance of ad units across different ad networks. But when I tried to extract data about my admob ad units using adsense reporting api, I found that ...
0
votes
0answers
123 views

Using a google API to get adsense links

Is there any API that I can link with my account and get just the link of the advertisement? Because I need to embed the link on a button and not on a advertisement.
1
vote
0answers
56 views

Adsense reporting API APP_ID is “0:”

I'm trying to get all of my applications' Ids using the adsense management API. My dimension field is: dimension = ['APP_ID', 'APP_NAME'] In the report I get a lot of rows in the format [ "0:", "...
0
votes
1answer
133 views

Adsense API Reporting — Timely Updates

Google Analytics provides adsense data after 24 hours. I assume that is to process atomic events into reports. It appears Google Adsense Website updates their reports every hour, but numbers can ...
0
votes
1answer
139 views

AdSense (AdMob) Reporting Revenue Reporting

About the AdSense reporting api - GET /accounts/accountId/reports Does it retrieve AdMob only data (as an ad network) or can it include data from other mediated Ad Networks as well?
-1
votes
1answer
203 views

Unknown adsense issue. Google AdSense: Action required to comply with AdSense program policies

I got this message from google Adsense. I can not understand what is the issue with the adds on this URL. This URL has been working since years and I do not know what is wrong now. www.deepak.com.np/...
0
votes
0answers
90 views

AdSense API get report for money spent on Ads

I am building reporting tool. I was able to figure out how to access report on EARNINGS. However struggling find any information how to pull data about money I've spent on ads. Link below shows all ...
0
votes
0answers
217 views

How to fetch google adsense data through php using google adsense api

I have a Google ad sense account and I have created project under it. I got all my keys (client_id, client_secret, api_key), but while accessing data through Google ad sense api I am getting a blank ...
1
vote
1answer
1k views

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 () https://googleads.g....
1
vote
1answer
224 views

“User does not have an AdSense account” message when using a service account to access the AdSense Management API

I really looked it up and found no suitable answer. I have both an AdSense and AdMob accounts sharing the same publisher ID. They're active and when I try the API in https://developers.google.com/...
0
votes
0answers
44 views

Discrepancies in Google AdSense

I've connected to google's API for AdSense so I could pull out my reports - but It seems to have data discrepancies between what I'm seeing in the console and what is printed from the system - in the ...
2
votes
0answers
85 views

Is it possible to add Google AdSense in ebooks?

I know that google adsense is available for website but is there any way to add google adsense in ebooks or pdf of a file.Suppose i want to sell an ebooks to peoples and i wanted to put adsense in ...
0
votes
0answers
103 views

Empty Access Token - AdSense API

I'm trying to connect to Google AdSense using the API. I'm writing my code in PHP, this is the code: <?php define ("API_Key","API_Key"); define ("oAuth_Key","oAuth_Key (Client ID for Web ...
0
votes
1answer
263 views

Connect to Google AdSense API via PHP

I'm trying to connect to AdSense API using a PHP script. I started using this tutorial by google: https://developers.google.com/api-client-library/php/start/get_started#build-the-client-object ...
0
votes
0answers
58 views

Auto Update Google Spreadsheet cells with Adsense Earnings

Let's say I have a Google Spreadsheet that I update daily with month-to-date Adsense earnings for my co-workers. I navigate (in Adsense) to: Performance Reports > report type:sites > This Month. I ...
1
vote
0answers
178 views

Google Sign In and Google API Client Authorisation iOS Issue (401)

I am trying to use the Objective-C Google API Client with the Google Sign In service so that I can authorise my requests. I've setup my Google Sign In login view controller so that a user can login ...
1
vote
0answers
23 views

Enabling Adsense Management API [duplicate]

When I try to enable the adsense management api from the developer console api manager I get "The API doesn't exist or you don't have permission to access it" Why am I unable to enable the API? I ...
0
votes
0answers
103 views

How to display my adsense earnings on my site using adsense management API to every visitors of my website?

I was looking at adsense management api documentation with a hope to find a way to display my adsense account earnings on my website to every visitors ( ie, once I grant access to my adsense account ...
1
vote
1answer
404 views

ASP.NET MVC5 Google APIs GoogleWebAuthorizationBroker.AuthorizeAsync not work in server

ASP.NET MVC5 Google APIs GoogleWebAuthorizationBroker.AuthorizeAsync AdSense Management API, works locally but not in server,, GoogleWebAuthorizationBroker.Folder = "Google.Apis.Auth"; ...
0
votes
0answers
101 views

Control end of ad jwplayer

I have the following code : <p id="paragraphe" class="not-display">Video finished</p> <div id='myContainer'></div> <script type="text/javascript"> // Variables var ...
0
votes
2answers
241 views

Google Adsense Ads vs AdMob [closed]

I am developing an android application. It's a free application, so advertisement revenue is only the earning for me. I want to display ad on my app. I think i have two choice in Google. Google ...
1
vote
0answers
106 views

AdSense live revenue per viewer

I'm trying to track how much revenue a viewer does when he comes on my page as fast as possible. Someone clicks on a link that directs him to my webpage article "xyz" and now this viewer generates ...
0
votes
1answer
54 views

Accessing AdSense API from a ruby script

I'm trying to run a ruby script that does some analysis via the AdSense API. It seems like the AdSense API is written in the context of a web app and then a user that logs in. My use case is different;...
0
votes
1answer
134 views

google Api adsense (401) Invalid Credentials

I have AdSense account with custom channels on it I make every thing but there are two problems: I get reports for all account i need to get reports for one channel based on channel id I need to get ...
0
votes
2answers
415 views

Trigger an ad for the first click on ANY part of the website

There are some websites where no matter where I click (background, random words, existing links, anything) an ad pops up. For example: first time I click Contact I get the Spam, but if I click Contact ...
1
vote
1answer
98 views

Is there a way to pull the Earnings metric with more than two decimal places precision?

Right now, when querying the Adsense Management API for Ad earnings over a date range, I get a JSON array which contains an 'Earnings' metric for each day, rounded to two decimal places. There is ...
0
votes
1answer
86 views

Adsense Host Api start associated Session redirect to main page

I try to make authorization with adsesnse Host Api and I have working code to generate url to authorization which redirect to login/register in adsense but after login/register i am redirecting to ...
0
votes
1answer
239 views

Get Oauth 2.0 access token to adsense

I'm trying to get Access_token which I need to use in adsense host api to authorization my request and I have code like this $curlHandle = curl_init(); $data = array( 'code' => 'AFC', ...
1
vote
1answer
1k views

Google ads iframe being blocked for home page

I am working on my local website page for google ads Here... Ads are displayed on almost every page but problem occurs when we visit home/default/index page... When working on localhost: ads ...
0
votes
1answer
48 views

Are there any lightweight third-party implementations for working with Google Adsense in .NET?

I don't want my application to have any unneeded dependencies, log4net being one such dependency. As such, are there any thin third-party libraries or will I need to write my own? Also, for those of ...
0
votes
1answer
972 views

Adsense API live reporting

I want to integrate my Adsense Reporting into my own admin portal. My admin portal is a simple php based website with lists of other websites that I own. My goal is to fill this list of websites ...
0
votes
1answer
179 views

How to get the lifetime adsense earnings report using AdSense Management API?

I am currently trying to use the Adsense Management API to get earnings reports for today, yesterday, last 7 days, last 30 days, this month, last month and all time. I was able to get all reports but ...
0
votes
1answer
125 views

How to use multiple dimension and metric values in google adsense version api 1.4

When generating reports from google adsense management api v 1.4 can how listed here : https://developers.google.com/adsense/management/v1.4/reference/accounts/reports/generate I checked out the ...
0
votes
1answer
272 views

Developing with Google Adsense/DFP

I'm developing a web app that will use Google Adsense or DFP as a method of monetisation. I've tried searching for some reliable info but I can't find any. How do I run a development environment with ...
0
votes
1answer
62 views

Include google pub on the website

I have a question, I tried to include a pub in my website. I look in console and I have no errors but the pub is not displayed. My code : <div class="right-bloc-pub-1"> <...
1
vote
1answer
262 views

AdSense Management API - Missing required parameter: redirect_uri With Service Account

I am getting the following Error when trying to connect with the AdSense Management API Example: Missing required parameter: redirect_uri I am using a service Account, because my Server handles ...
0
votes
1answer
72 views

Ad Sense Management API Generate Report without OAuth?

I am creating an Application that displays the info of a Single Adsense account for all users. Do I still need to use OAuth for this? Because I do not need any user information, I simply want to show ...
1
vote
0answers
423 views

Google Ad-Sense Api - Get Earnings with PHP?

I would like to use the Google Ad-Sense API to get my Earnings through PHP. I have downloaded the sample: https://github.com/googleads/googleads-adsense-examples/tree/master/php-clientlib-1.x/v1.x ...
6
votes
2answers
174 views

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 ...
1
vote
1answer
133 views

Using BigQuery for AdSense data - 403 Access Denied

I've been successfully using BigQuery to pull AdSense data, but recently all queries have started failing, with this error: (403) Access Denied: Table google.com:adsense-reports:Reports....
0
votes
2answers
401 views

How to determine the ad rendered by google publisher tags

Essentially I would like to add some classes to parent elements of a rendered slot depending on the size of ad returned. Is this possible? I see that there is a googletag.events.SlotRenderEndedEvent ...
4
votes
1answer
739 views

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 ...
0
votes
1answer
262 views

I want to adsense code right side js base embed player in blogger template

I have tried but the script code looks like <script>// <![CDATA[ $(function() { if($("#bigframe").length>0){ vartitle=$(".single-post-title").text(); $("#titlevid"...