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
- java.lang.Object
-
- com.google.api.services.adsense.v2.Adsense.Accounts
-
-
Nested Class Summary
Nested Classes
Modifier and Type
Class and Description
class
Adsense.Accounts.Adclients
The "adclients" collection of methods.
class
Adsense.Accounts.Alerts
The "alerts" collection of methods.
class
Adsense.Accounts.Get
class
Adsense.Accounts.GetAdBlockingRecoveryTag
class
Adsense.Accounts.List
class
Adsense.Accounts.ListChildAccounts
class
Adsense.Accounts.Payments
The "payments" collection of methods.
class
Adsense.Accounts.PolicyIssues
The "policyIssues" collection of methods.
class
Adsense.Accounts.Reports
The "reports" collection of methods.
class
Adsense.Accounts.Sites
The "sites" collection of methods.
-
Constructor Summary
Constructors
Constructor and Description
Accounts()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
Adsense.Accounts.Adclients
adclients()
An accessor for creating requests from the Adclients collection.
Adsense.Accounts.Alerts
alerts()
An accessor for creating requests from the Alerts collection.
Adsense.Accounts.Get
get(String name)
Gets information about the selected AdSense account.
Adsense.Accounts.GetAdBlockingRecoveryTag
getAdBlockingRecoveryTag(String name)
Gets the ad blocking recovery tag of an account.
Adsense.Accounts.List
list()
Lists all accounts available to this user.
Adsense.Accounts.ListChildAccounts
listChildAccounts(String parent)
Lists all accounts directly managed by the given AdSense account.
Adsense.Accounts.Payments
payments()
An accessor for creating requests from the Payments collection.
Adsense.Accounts.PolicyIssues
policyIssues()
An accessor for creating requests from the PolicyIssues collection.
Adsense.Accounts.Reports
reports()
An accessor for creating requests from the Reports collection.
Adsense.Accounts.Sites
sites()
An accessor for creating requests from the Sites collection.
-
-
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