DataboxDatabox Databox
Connect AdSense and Track your Profits in Real-Time

Google AdSense
Dashboard and Reporting Software

Connect now

Google AdSense is an advertising program that allows website owners to earn money by displaying targeted ads on their sites. It offers publishers a way to monetize their content and advertisers a platform to reach their target audience.

Discover where the right tweaks can increase profits and help you get the most out of AdSense.

AdSense is an advertising placement service by Google for website publishers who want to display targeted text, video or image advertisements on website pages and earn money when site visitors view or click the ads.

Databox will give you the power to combine data from multiple sources into a single report, to help you make the right decisions for your business.

  • Metrics & Templates
  • Technical Details
  • Handling Errors
  • Help Articles

metrics

    Show more...

    dashboard templates

      Show more...

      report templates

        Show more...

        General

        • Description
          Google AdSense is an advertising program that allows website owners to earn money by displaying targeted ads on their sites. It offers publishers a way to monetize their content and advertisers a platform to reach their target audience.
        • Categories
          Paid Advertising
        • Status
          stable
        • Date Added
          2016-06-15

        Specification

        • Interpreting and Resolving the “Invalid Grant” error

          The ‘Invalid grant’ error may be returned for the following reasons

          1. The user has revoked your access.

          Interpretation
          This happens when the user who connected the Google data source in Databox has their permissions changed or revoked to the Google account. Since Databox gains access to your Google data through this user, it is imperative that they have the necessary permissions.

          Resolution
          Contact an Admin in your Google account to restore your original user permissions. Once that’s complete, navigate to the Data manager section in Databox and click the Reconnect button to reconnect your Google data source.

          2. The refresh token has not been used for six months

          Interpretation
          This happens when your refresh token is inactive. It is rare that this will be the reason for the error in Databox. However, if your account expires or you have no Google metrics used anywhere in your account, this could be the case.

          Resolution
          Navigate to the Data manager section in Databox and click the Reconnect button to reconnect your Google data source and establish an active refresh token.

          3. The user changed passwords, and the refresh token contains Gmail scopes

          Interpretation
          This happens when the user that connected the Google data source in Databox changes their Google password. Since Databox gains access to your Google data through this user’s credentials, it is imperative that they are up-to-date.

          Resolution
          Navigate to the Data manager section in Databox and click the Reconnect button to reconnect your Google data source with your updated credentials.

          4. The user has exceeded the maximum number of granted (live) refresh tokens

          This is the most common reason why the ‘Invalid Grant’ error is returned from the Google data sources.

          Interpretation
          A user can have a maximum of 100 active Google connections at once. Once the 101st connection is initiated, the user’s connection limit is exceeded. When this happens, the oldest Google connection (i.e., the 1st connection made by the user) is automatically disconnected. If the same user connects a 102nd Google account, the 2nd connection they made will automatically become disconnected as well. This will continue in order to ensure that a single Google user only has a maximum of 100 active Google connections at any given time.

          Resolution
          In order to resolve this error and prevent future occurrences, you’ll need to limit the number of connections that each Google user makes. If needed, you can create additional users in Google and use those to add more Google connections. For example, you may make it part of your process to create a new Google user for every 85 connections. (this will give you some margin for error). Once you’ve established 85 connections with that Google user, you can create a new user and continue adding connections.

        Track all of your key business metrics from one screen

        GET STARTED
        Databox app preview