All Downloads are FREE. Search and download functionalities are using the official Maven repository.

target.apidocs.com.google.api.services.adsense.v2.Adsense.Accounts.html Maven / Gradle / Ivy

The newest version!






Adsense.Accounts (AdSense Management API v2-rev20241211-2.0.0)












com.google.api.services.adsense.v2

Class Adsense.Accounts

  • Enclosing class:
    Adsense


    public class Adsense.Accounts
    extends Object
    The "accounts" collection of methods.
    • Constructor Detail

      • Accounts

        public Accounts()
    • Method Detail

      • get

        public Adsense.Accounts.Get get(String name)
                                 throws IOException
        Gets information about the selected AdSense account. Create a request for the method "accounts.get". This request holds the parameters needed by the adsense server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        name - Required. Account to get information about. Format: accounts/{account}
        Returns:
        the request
        Throws:
        IOException
      • getAdBlockingRecoveryTag

        public Adsense.Accounts.GetAdBlockingRecoveryTag getAdBlockingRecoveryTag(String name)
                                                                           throws IOException
        Gets the ad blocking recovery tag of an account. Create a request for the method "accounts.getAdBlockingRecoveryTag". This request holds the parameters needed by the adsense server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        name - Required. The name of the account to get the tag for. Format: accounts/{account}
        Returns:
        the request
        Throws:
        IOException
      • list

        public Adsense.Accounts.List list()
                                   throws IOException
        Lists all accounts available to this user. Create a request for the method "accounts.list". This request holds the parameters needed by the adsense server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Returns:
        the request
        Throws:
        IOException
      • listChildAccounts

        public Adsense.Accounts.ListChildAccounts listChildAccounts(String parent)
                                                             throws IOException
        Lists all accounts directly managed by the given AdSense account. Create a request for the method "accounts.listChildAccounts". This request holds the parameters needed by the adsense server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        parent - Required. The parent account, which owns the child accounts. Format: accounts/{account}
        Returns:
        the request
        Throws:
        IOException
      • adclients

        public Adsense.Accounts.Adclients adclients()
        An accessor for creating requests from the Adclients collection.

        The typical use is:

            Adsense adsense = new Adsense(...);
            Adsense.Adclients.List request = adsense.adclients().list(parameters ...)
         
        Returns:
        the resource collection
      • alerts

        public Adsense.Accounts.Alerts alerts()
        An accessor for creating requests from the Alerts collection.

        The typical use is:

            Adsense adsense = new Adsense(...);
            Adsense.Alerts.List request = adsense.alerts().list(parameters ...)
         
        Returns:
        the resource collection
      • payments

        public Adsense.Accounts.Payments payments()
        An accessor for creating requests from the Payments collection.

        The typical use is:

            Adsense adsense = new Adsense(...);
            Adsense.Payments.List request = adsense.payments().list(parameters ...)
         
        Returns:
        the resource collection
      • policyIssues

        public Adsense.Accounts.PolicyIssues policyIssues()
        An accessor for creating requests from the PolicyIssues collection.

        The typical use is:

            Adsense adsense = new Adsense(...);
            Adsense.PolicyIssues.List request = adsense.policyIssues().list(parameters ...)
         
        Returns:
        the resource collection
      • reports

        public Adsense.Accounts.Reports reports()
        An accessor for creating requests from the Reports collection.

        The typical use is:

            Adsense adsense = new Adsense(...);
            Adsense.Reports.List request = adsense.reports().list(parameters ...)
         
        Returns:
        the resource collection
      • sites

        public Adsense.Accounts.Sites sites()
        An accessor for creating requests from the Sites collection.

        The typical use is:

            Adsense adsense = new Adsense(...);
            Adsense.Sites.List request = adsense.sites().list(parameters ...)
         
        Returns:
        the resource collection

Copyright © 2011–2024 Google. All rights reserved.





© 2015 - 2025 Weber Informatics LLC | Privacy Policy