Search moodle.org's
Developer Documentation

See Release Notes
Long Term Support Release

  • Bug fixes for general core bugs in 4.1.x will end 13 November 2023 (12 months).
  • Bug fixes for security issues in 4.1.x will end 10 November 2025 (36 months).
  • PHP version: minimum PHP 7.4.0 Note: minimum PHP version has increased since Moodle 4.0. PHP 8.0.x is supported too.

Differences Between: [Versions 401 and 402] [Versions 401 and 403]

(no description)

File Size: 3596 lines (102 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 58 classes

Google_Service_AdSense:: (1 method):
  __construct()

Google_Service_AdSense_Accounts_Resource:: (2 methods):
  get()
  listAccounts()

Google_Service_AdSense_AccountsAdclients_Resource:: (1 method):
  listAccountsAdclients()

Google_Service_AdSense_AccountsAdunits_Resource:: (3 methods):
  get()
  getAdCode()
  listAccountsAdunits()

Google_Service_AdSense_AccountsAdunitsCustomchannels_Resource:: (1 method):
  listAccountsAdunitsCustomchannels()

Google_Service_AdSense_AccountsAlerts_Resource:: (2 methods):
  delete()
  listAccountsAlerts()

Google_Service_AdSense_AccountsCustomchannels_Resource:: (2 methods):
  get()
  listAccountsCustomchannels()

Google_Service_AdSense_AccountsCustomchannelsAdunits_Resource:: (1 method):
  listAccountsCustomchannelsAdunits()

Google_Service_AdSense_AccountsPayments_Resource:: (1 method):
  listAccountsPayments()

Google_Service_AdSense_AccountsReports_Resource:: (1 method):
  generate()

Google_Service_AdSense_AccountsReportsSaved_Resource:: (2 methods):
  generate()
  listAccountsReportsSaved()

Google_Service_AdSense_AccountsSavedadstyles_Resource:: (2 methods):
  get()
  listAccountsSavedadstyles()

Google_Service_AdSense_AccountsUrlchannels_Resource:: (1 method):
  listAccountsUrlchannels()

Google_Service_AdSense_Adclients_Resource:: (1 method):
  listAdclients()

Google_Service_AdSense_Adunits_Resource:: (3 methods):
  get()
  getAdCode()
  listAdunits()

Google_Service_AdSense_AdunitsCustomchannels_Resource:: (1 method):
  listAdunitsCustomchannels()

Google_Service_AdSense_Alerts_Resource:: (2 methods):
  delete()
  listAlerts()

Google_Service_AdSense_Customchannels_Resource:: (2 methods):
  get()
  listCustomchannels()

Google_Service_AdSense_CustomchannelsAdunits_Resource:: (1 method):
  listCustomchannelsAdunits()

Google_Service_AdSense_Metadata_Resource:: (0 methods):

Google_Service_AdSense_MetadataDimensions_Resource:: (1 method):
  listMetadataDimensions()

Google_Service_AdSense_MetadataMetrics_Resource:: (1 method):
  listMetadataMetrics()

Google_Service_AdSense_Payments_Resource:: (1 method):
  listPayments()

Google_Service_AdSense_Reports_Resource:: (1 method):
  generate()

Google_Service_AdSense_ReportsSaved_Resource:: (2 methods):
  generate()
  listReportsSaved()

Google_Service_AdSense_Savedadstyles_Resource:: (2 methods):
  get()
  listSavedadstyles()

Google_Service_AdSense_Urlchannels_Resource:: (1 method):
  listUrlchannels()

Google_Service_AdSense_Account:: (14 methods):
  setCreationTime()
  getCreationTime()
  setId()
  getId()
  setKind()
  getKind()
  setName()
  getName()
  setPremium()
  getPremium()
  setSubAccounts()
  getSubAccounts()
  setTimezone()
  getTimezone()

Google_Service_AdSense_Accounts:: (8 methods):
  setEtag()
  getEtag()
  setItems()
  getItems()
  setKind()
  getKind()
  setNextPageToken()
  getNextPageToken()

Google_Service_AdSense_AdClient:: (12 methods):
  setArcOptIn()
  getArcOptIn()
  setArcReviewMode()
  getArcReviewMode()
  setId()
  getId()
  setKind()
  getKind()
  setProductCode()
  getProductCode()
  setSupportsReporting()
  getSupportsReporting()

Google_Service_AdSense_AdClients:: (8 methods):
  setEtag()
  getEtag()
  setItems()
  getItems()
  setKind()
  getKind()
  setNextPageToken()
  getNextPageToken()

Google_Service_AdSense_AdCode:: (4 methods):
  setAdCode()
  getAdCode()
  setKind()
  getKind()

Google_Service_AdSense_AdStyle:: (8 methods):
  setColors()
  getColors()
  setCorners()
  getCorners()
  setFont()
  getFont()
  setKind()
  getKind()

Google_Service_AdSense_AdStyleColors:: (10 methods):
  setBackground()
  getBackground()
  setBorder()
  getBorder()
  setText()
  getText()
  setTitle()
  getTitle()
  setUrl()
  getUrl()

Google_Service_AdSense_AdStyleFont:: (4 methods):
  setFamily()
  getFamily()
  setSize()
  getSize()

Google_Service_AdSense_AdUnit:: (20 methods):
  setCode()
  getCode()
  setContentAdsSettings()
  getContentAdsSettings()
  setCustomStyle()
  getCustomStyle()
  setFeedAdsSettings()
  getFeedAdsSettings()
  setId()
  getId()
  setKind()
  getKind()
  setMobileContentAdsSettings()
  getMobileContentAdsSettings()
  setName()
  getName()
  setSavedStyleId()
  getSavedStyleId()
  setStatus()
  getStatus()

Google_Service_AdSense_AdUnitContentAdsSettings:: (6 methods):
  setBackupOption()
  getBackupOption()
  setSize()
  getSize()
  setType()
  getType()

Google_Service_AdSense_AdUnitContentAdsSettingsBackupOption:: (6 methods):
  setColor()
  getColor()
  setType()
  getType()
  setUrl()
  getUrl()

Google_Service_AdSense_AdUnitFeedAdsSettings:: (8 methods):
  setAdPosition()
  getAdPosition()
  setFrequency()
  getFrequency()
  setMinimumWordCount()
  getMinimumWordCount()
  setType()
  getType()

Google_Service_AdSense_AdUnitMobileContentAdsSettings:: (8 methods):
  setMarkupLanguage()
  getMarkupLanguage()
  setScriptingLanguage()
  getScriptingLanguage()
  setSize()
  getSize()
  setType()
  getType()

Google_Service_AdSense_AdUnits:: (8 methods):
  setEtag()
  getEtag()
  setItems()
  getItems()
  setKind()
  getKind()
  setNextPageToken()
  getNextPageToken()

Google_Service_AdSense_AdsenseReportsGenerateResponse:: (18 methods):
  setAverages()
  getAverages()
  setEndDate()
  getEndDate()
  setHeaders()
  getHeaders()
  setKind()
  getKind()
  setRows()
  getRows()
  setStartDate()
  getStartDate()
  setTotalMatchedRows()
  getTotalMatchedRows()
  setTotals()
  getTotals()
  setWarnings()
  getWarnings()

Google_Service_AdSense_AdsenseReportsGenerateResponseHeaders:: (6 methods):
  setCurrency()
  getCurrency()
  setName()
  getName()
  setType()
  getType()

Google_Service_AdSense_Alert:: (12 methods):
  setId()
  getId()
  setIsDismissible()
  getIsDismissible()
  setKind()
  getKind()
  setMessage()
  getMessage()
  setSeverity()
  getSeverity()
  setType()
  getType()

Google_Service_AdSense_Alerts:: (4 methods):
  setItems()
  getItems()
  setKind()
  getKind()

Google_Service_AdSense_CustomChannel:: (10 methods):
  setCode()
  getCode()
  setId()
  getId()
  setKind()
  getKind()
  setName()
  getName()
  setTargetingInfo()
  getTargetingInfo()

Google_Service_AdSense_CustomChannelTargetingInfo:: (8 methods):
  setAdsAppearOn()
  getAdsAppearOn()
  setDescription()
  getDescription()
  setLocation()
  getLocation()
  setSiteLanguage()
  getSiteLanguage()

Google_Service_AdSense_CustomChannels:: (8 methods):
  setEtag()
  getEtag()
  setItems()
  getItems()
  setKind()
  getKind()
  setNextPageToken()
  getNextPageToken()

Google_Service_AdSense_Metadata:: (4 methods):
  setItems()
  getItems()
  setKind()
  getKind()

Google_Service_AdSense_Payment:: (10 methods):
  setId()
  getId()
  setKind()
  getKind()
  setPaymentAmount()
  getPaymentAmount()
  setPaymentAmountCurrencyCode()
  getPaymentAmountCurrencyCode()
  setPaymentDate()
  getPaymentDate()

Google_Service_AdSense_Payments:: (4 methods):
  setItems()
  getItems()
  setKind()
  getKind()

Google_Service_AdSense_ReportingMetadataEntry:: (14 methods):
  setCompatibleDimensions()
  getCompatibleDimensions()
  setCompatibleMetrics()
  getCompatibleMetrics()
  setId()
  getId()
  setKind()
  getKind()
  setRequiredDimensions()
  getRequiredDimensions()
  setRequiredMetrics()
  getRequiredMetrics()
  setSupportedProducts()
  getSupportedProducts()

Google_Service_AdSense_SavedAdStyle:: (8 methods):
  setAdStyle()
  getAdStyle()
  setId()
  getId()
  setKind()
  getKind()
  setName()
  getName()

Google_Service_AdSense_SavedAdStyles:: (8 methods):
  setEtag()
  getEtag()
  setItems()
  getItems()
  setKind()
  getKind()
  setNextPageToken()
  getNextPageToken()

Google_Service_AdSense_SavedReport:: (6 methods):
  setId()
  getId()
  setKind()
  getKind()
  setName()
  getName()

Google_Service_AdSense_SavedReports:: (8 methods):
  setEtag()
  getEtag()
  setItems()
  getItems()
  setKind()
  getKind()
  setNextPageToken()
  getNextPageToken()

Google_Service_AdSense_UrlChannel:: (6 methods):
  setId()
  getId()
  setKind()
  getKind()
  setUrlPattern()
  getUrlPattern()

Google_Service_AdSense_UrlChannels:: (8 methods):
  setEtag()
  getEtag()
  setItems()
  getItems()
  setKind()
  getKind()
  setNextPageToken()
  getNextPageToken()


Class: Google_Service_AdSense  - X-Ref

Service definition for AdSense (v1.4).

<p>
Gives AdSense publishers access to their inventory and the ability to
generate reports</p>

<p>
For more information about this service, see the API
<a href="https://developers.google.com/adsense/management/" target="_blank">Documentation</a>
</p>

__construct(Google_Client $client)   X-Ref
Constructs the internal representation of the AdSense service.

param: Google_Client $client

Class: Google_Service_AdSense_Accounts_Resource  - X-Ref

The "accounts" collection of methods.
Typical usage is:
<code>
$adsenseService = new Google_Service_AdSense(...);
$accounts = $adsenseService->accounts;
</code>

get($accountId, $optParams = array()   X-Ref
Get information about the selected AdSense account. (accounts.get)

param: string $accountId Account to get information about.
param: array $optParams Optional parameters.
return: Google_Service_AdSense_Account

listAccounts($optParams = array()   X-Ref
List all accounts available to this AdSense account. (accounts.listAccounts)

param: array $optParams Optional parameters.
return: Google_Service_AdSense_Accounts

Class: Google_Service_AdSense_AccountsAdclients_Resource  - X-Ref

The "adclients" collection of methods.
Typical usage is:
<code>
$adsenseService = new Google_Service_AdSense(...);
$adclients = $adsenseService->adclients;
</code>

listAccountsAdclients($accountId, $optParams = array()   X-Ref
List all ad clients in the specified account.
(adclients.listAccountsAdclients)

param: string $accountId Account for which to list ad clients.
param: array $optParams Optional parameters.
return: Google_Service_AdSense_AdClients

Class: Google_Service_AdSense_AccountsAdunits_Resource  - X-Ref

The "adunits" collection of methods.
Typical usage is:
<code>
$adsenseService = new Google_Service_AdSense(...);
$adunits = $adsenseService->adunits;
</code>

get($accountId, $adClientId, $adUnitId, $optParams = array()   X-Ref
Gets the specified ad unit in the specified ad client for the specified
account. (adunits.get)

param: string $accountId Account to which the ad client belongs.
param: string $adClientId Ad client for which to get the ad unit.
param: string $adUnitId Ad unit to retrieve.
param: array $optParams Optional parameters.
return: Google_Service_AdSense_AdUnit

getAdCode($accountId, $adClientId, $adUnitId, $optParams = array()   X-Ref
Get ad code for the specified ad unit. (adunits.getAdCode)

param: string $accountId Account which contains the ad client.
param: string $adClientId Ad client with contains the ad unit.
param: string $adUnitId Ad unit to get the code for.
param: array $optParams Optional parameters.
return: Google_Service_AdSense_AdCode

listAccountsAdunits($accountId, $adClientId, $optParams = array()   X-Ref
List all ad units in the specified ad client for the specified account.
(adunits.listAccountsAdunits)

param: string $accountId Account to which the ad client belongs.
param: string $adClientId Ad client for which to list ad units.
param: array $optParams Optional parameters.
return: Google_Service_AdSense_AdUnits

Class: Google_Service_AdSense_AccountsAdunitsCustomchannels_Resource  - X-Ref

The "customchannels" collection of methods.
Typical usage is:
<code>
$adsenseService = new Google_Service_AdSense(...);
$customchannels = $adsenseService->customchannels;
</code>

listAccountsAdunitsCustomchannels($accountId, $adClientId, $adUnitId, $optParams = array()   X-Ref
List all custom channels which the specified ad unit belongs to.
(customchannels.listAccountsAdunitsCustomchannels)

param: string $accountId Account to which the ad client belongs.
param: string $adClientId Ad client which contains the ad unit.
param: string $adUnitId Ad unit for which to list custom channels.
param: array $optParams Optional parameters.
return: Google_Service_AdSense_CustomChannels

Class: Google_Service_AdSense_AccountsAlerts_Resource  - X-Ref

The "alerts" collection of methods.
Typical usage is:
<code>
$adsenseService = new Google_Service_AdSense(...);
$alerts = $adsenseService->alerts;
</code>

delete($accountId, $alertId, $optParams = array()   X-Ref
Dismiss (delete) the specified alert from the specified publisher AdSense
account. (alerts.delete)

param: string $accountId Account which contains the ad unit.
param: string $alertId Alert to delete.
param: array $optParams Optional parameters.

listAccountsAlerts($accountId, $optParams = array()   X-Ref
List the alerts for the specified AdSense account.
(alerts.listAccountsAlerts)

param: string $accountId Account for which to retrieve the alerts.
param: array $optParams Optional parameters.
return: Google_Service_AdSense_Alerts

Class: Google_Service_AdSense_AccountsCustomchannels_Resource  - X-Ref

The "customchannels" collection of methods.
Typical usage is:
<code>
$adsenseService = new Google_Service_AdSense(...);
$customchannels = $adsenseService->customchannels;
</code>

get($accountId, $adClientId, $customChannelId, $optParams = array()   X-Ref
Get the specified custom channel from the specified ad client for the
specified account. (customchannels.get)

param: string $accountId Account to which the ad client belongs.
param: string $adClientId Ad client which contains the custom channel.
param: string $customChannelId Custom channel to retrieve.
param: array $optParams Optional parameters.
return: Google_Service_AdSense_CustomChannel

listAccountsCustomchannels($accountId, $adClientId, $optParams = array()   X-Ref
List all custom channels in the specified ad client for the specified
account. (customchannels.listAccountsCustomchannels)

param: string $accountId Account to which the ad client belongs.
param: string $adClientId Ad client for which to list custom channels.
param: array $optParams Optional parameters.
return: Google_Service_AdSense_CustomChannels

Class: Google_Service_AdSense_AccountsCustomchannelsAdunits_Resource  - X-Ref

The "adunits" collection of methods.
Typical usage is:
<code>
$adsenseService = new Google_Service_AdSense(...);
$adunits = $adsenseService->adunits;
</code>

listAccountsCustomchannelsAdunits($accountId, $adClientId, $customChannelId, $optParams = array()   X-Ref
List all ad units in the specified custom channel.
(adunits.listAccountsCustomchannelsAdunits)

param: string $accountId Account to which the ad client belongs.
param: string $adClientId Ad client which contains the custom channel.
param: string $customChannelId Custom channel for which to list ad units.
param: array $optParams Optional parameters.
return: Google_Service_AdSense_AdUnits

Class: Google_Service_AdSense_AccountsPayments_Resource  - X-Ref

The "payments" collection of methods.
Typical usage is:
<code>
$adsenseService = new Google_Service_AdSense(...);
$payments = $adsenseService->payments;
</code>

listAccountsPayments($accountId, $optParams = array()   X-Ref
List the payments for the specified AdSense account.
(payments.listAccountsPayments)

param: string $accountId Account for which to retrieve the payments.
param: array $optParams Optional parameters.
return: Google_Service_AdSense_Payments

Class: Google_Service_AdSense_AccountsReports_Resource  - X-Ref

The "reports" collection of methods.
Typical usage is:
<code>
$adsenseService = new Google_Service_AdSense(...);
$reports = $adsenseService->reports;
</code>

generate($accountId, $startDate, $endDate, $optParams = array()   X-Ref
Generate an AdSense report based on the report request sent in the query
parameters. Returns the result as JSON; to retrieve output in CSV format
specify "alt=csv" as a query parameter. (reports.generate)

param: string $accountId Account upon which to report.
param: string $startDate Start of the date range to report on in "YYYY-MM-DD"
param: string $endDate End of the date range to report on in "YYYY-MM-DD"
param: array $optParams Optional parameters.
return: Google_Service_AdSense_AdsenseReportsGenerateResponse

Class: Google_Service_AdSense_AccountsReportsSaved_Resource  - X-Ref

The "saved" collection of methods.
Typical usage is:
<code>
$adsenseService = new Google_Service_AdSense(...);
$saved = $adsenseService->saved;
</code>

generate($accountId, $savedReportId, $optParams = array()   X-Ref
Generate an AdSense report based on the saved report ID sent in the query
parameters. (saved.generate)

param: string $accountId Account to which the saved reports belong.
param: string $savedReportId The saved report to retrieve.
param: array $optParams Optional parameters.
return: Google_Service_AdSense_AdsenseReportsGenerateResponse

listAccountsReportsSaved($accountId, $optParams = array()   X-Ref
List all saved reports in the specified AdSense account.
(saved.listAccountsReportsSaved)

param: string $accountId Account to which the saved reports belong.
param: array $optParams Optional parameters.
return: Google_Service_AdSense_SavedReports

Class: Google_Service_AdSense_AccountsSavedadstyles_Resource  - X-Ref

The "savedadstyles" collection of methods.
Typical usage is:
<code>
$adsenseService = new Google_Service_AdSense(...);
$savedadstyles = $adsenseService->savedadstyles;
</code>

get($accountId, $savedAdStyleId, $optParams = array()   X-Ref
List a specific saved ad style for the specified account. (savedadstyles.get)

param: string $accountId Account for which to get the saved ad style.
param: string $savedAdStyleId Saved ad style to retrieve.
param: array $optParams Optional parameters.
return: Google_Service_AdSense_SavedAdStyle

listAccountsSavedadstyles($accountId, $optParams = array()   X-Ref
List all saved ad styles in the specified account.
(savedadstyles.listAccountsSavedadstyles)

param: string $accountId Account for which to list saved ad styles.
param: array $optParams Optional parameters.
return: Google_Service_AdSense_SavedAdStyles

Class: Google_Service_AdSense_AccountsUrlchannels_Resource  - X-Ref

The "urlchannels" collection of methods.
Typical usage is:
<code>
$adsenseService = new Google_Service_AdSense(...);
$urlchannels = $adsenseService->urlchannels;
</code>

listAccountsUrlchannels($accountId, $adClientId, $optParams = array()   X-Ref
List all URL channels in the specified ad client for the specified account.
(urlchannels.listAccountsUrlchannels)

param: string $accountId Account to which the ad client belongs.
param: string $adClientId Ad client for which to list URL channels.
param: array $optParams Optional parameters.
return: Google_Service_AdSense_UrlChannels

Class: Google_Service_AdSense_Adclients_Resource  - X-Ref

The "adclients" collection of methods.
Typical usage is:
<code>
$adsenseService = new Google_Service_AdSense(...);
$adclients = $adsenseService->adclients;
</code>

listAdclients($optParams = array()   X-Ref
List all ad clients in this AdSense account. (adclients.listAdclients)

param: array $optParams Optional parameters.
return: Google_Service_AdSense_AdClients

Class: Google_Service_AdSense_Adunits_Resource  - X-Ref

The "adunits" collection of methods.
Typical usage is:
<code>
$adsenseService = new Google_Service_AdSense(...);
$adunits = $adsenseService->adunits;
</code>

get($adClientId, $adUnitId, $optParams = array()   X-Ref
Gets the specified ad unit in the specified ad client. (adunits.get)

param: string $adClientId Ad client for which to get the ad unit.
param: string $adUnitId Ad unit to retrieve.
param: array $optParams Optional parameters.
return: Google_Service_AdSense_AdUnit

getAdCode($adClientId, $adUnitId, $optParams = array()   X-Ref
Get ad code for the specified ad unit. (adunits.getAdCode)

param: string $adClientId Ad client with contains the ad unit.
param: string $adUnitId Ad unit to get the code for.
param: array $optParams Optional parameters.
return: Google_Service_AdSense_AdCode

listAdunits($adClientId, $optParams = array()   X-Ref
List all ad units in the specified ad client for this AdSense account.
(adunits.listAdunits)

param: string $adClientId Ad client for which to list ad units.
param: array $optParams Optional parameters.
return: Google_Service_AdSense_AdUnits

Class: Google_Service_AdSense_AdunitsCustomchannels_Resource  - X-Ref

The "customchannels" collection of methods.
Typical usage is:
<code>
$adsenseService = new Google_Service_AdSense(...);
$customchannels = $adsenseService->customchannels;
</code>

listAdunitsCustomchannels($adClientId, $adUnitId, $optParams = array()   X-Ref
List all custom channels which the specified ad unit belongs to.
(customchannels.listAdunitsCustomchannels)

param: string $adClientId Ad client which contains the ad unit.
param: string $adUnitId Ad unit for which to list custom channels.
param: array $optParams Optional parameters.
return: Google_Service_AdSense_CustomChannels

Class: Google_Service_AdSense_Alerts_Resource  - X-Ref

The "alerts" collection of methods.
Typical usage is:
<code>
$adsenseService = new Google_Service_AdSense(...);
$alerts = $adsenseService->alerts;
</code>

delete($alertId, $optParams = array()   X-Ref
Dismiss (delete) the specified alert from the publisher's AdSense account.
(alerts.delete)

param: string $alertId Alert to delete.
param: array $optParams Optional parameters.

listAlerts($optParams = array()   X-Ref
List the alerts for this AdSense account. (alerts.listAlerts)

param: array $optParams Optional parameters.
return: Google_Service_AdSense_Alerts

Class: Google_Service_AdSense_Customchannels_Resource  - X-Ref

The "customchannels" collection of methods.
Typical usage is:
<code>
$adsenseService = new Google_Service_AdSense(...);
$customchannels = $adsenseService->customchannels;
</code>

get($adClientId, $customChannelId, $optParams = array()   X-Ref
Get the specified custom channel from the specified ad client.
(customchannels.get)

param: string $adClientId Ad client which contains the custom channel.
param: string $customChannelId Custom channel to retrieve.
param: array $optParams Optional parameters.
return: Google_Service_AdSense_CustomChannel

listCustomchannels($adClientId, $optParams = array()   X-Ref
List all custom channels in the specified ad client for this AdSense account.
(customchannels.listCustomchannels)

param: string $adClientId Ad client for which to list custom channels.
param: array $optParams Optional parameters.
return: Google_Service_AdSense_CustomChannels

Class: Google_Service_AdSense_CustomchannelsAdunits_Resource  - X-Ref

The "adunits" collection of methods.
Typical usage is:
<code>
$adsenseService = new Google_Service_AdSense(...);
$adunits = $adsenseService->adunits;
</code>

listCustomchannelsAdunits($adClientId, $customChannelId, $optParams = array()   X-Ref
List all ad units in the specified custom channel.
(adunits.listCustomchannelsAdunits)

param: string $adClientId Ad client which contains the custom channel.
param: string $customChannelId Custom channel for which to list ad units.
param: array $optParams Optional parameters.
return: Google_Service_AdSense_AdUnits

Class: Google_Service_AdSense_Metadata_Resource  - X-Ref

The "metadata" collection of methods.
Typical usage is:
<code>
$adsenseService = new Google_Service_AdSense(...);
$metadata = $adsenseService->metadata;
</code>

Class: Google_Service_AdSense_MetadataDimensions_Resource  - X-Ref

The "dimensions" collection of methods.
Typical usage is:
<code>
$adsenseService = new Google_Service_AdSense(...);
$dimensions = $adsenseService->dimensions;
</code>

listMetadataDimensions($optParams = array()   X-Ref
List the metadata for the dimensions available to this AdSense account.
(dimensions.listMetadataDimensions)

param: array $optParams Optional parameters.
return: Google_Service_AdSense_Metadata

Class: Google_Service_AdSense_MetadataMetrics_Resource  - X-Ref

The "metrics" collection of methods.
Typical usage is:
<code>
$adsenseService = new Google_Service_AdSense(...);
$metrics = $adsenseService->metrics;
</code>

listMetadataMetrics($optParams = array()   X-Ref
List the metadata for the metrics available to this AdSense account.
(metrics.listMetadataMetrics)

param: array $optParams Optional parameters.
return: Google_Service_AdSense_Metadata

Class: Google_Service_AdSense_Payments_Resource  - X-Ref

The "payments" collection of methods.
Typical usage is:
<code>
$adsenseService = new Google_Service_AdSense(...);
$payments = $adsenseService->payments;
</code>

listPayments($optParams = array()   X-Ref
List the payments for this AdSense account. (payments.listPayments)

param: array $optParams Optional parameters.
return: Google_Service_AdSense_Payments

Class: Google_Service_AdSense_Reports_Resource  - X-Ref

The "reports" collection of methods.
Typical usage is:
<code>
$adsenseService = new Google_Service_AdSense(...);
$reports = $adsenseService->reports;
</code>

generate($startDate, $endDate, $optParams = array()   X-Ref
Generate an AdSense report based on the report request sent in the query
parameters. Returns the result as JSON; to retrieve output in CSV format
specify "alt=csv" as a query parameter. (reports.generate)

param: string $startDate Start of the date range to report on in "YYYY-MM-DD"
param: string $endDate End of the date range to report on in "YYYY-MM-DD"
param: array $optParams Optional parameters.
return: Google_Service_AdSense_AdsenseReportsGenerateResponse

Class: Google_Service_AdSense_ReportsSaved_Resource  - X-Ref

The "saved" collection of methods.
Typical usage is:
<code>
$adsenseService = new Google_Service_AdSense(...);
$saved = $adsenseService->saved;
</code>

generate($savedReportId, $optParams = array()   X-Ref
Generate an AdSense report based on the saved report ID sent in the query
parameters. (saved.generate)

param: string $savedReportId The saved report to retrieve.
param: array $optParams Optional parameters.
return: Google_Service_AdSense_AdsenseReportsGenerateResponse

listReportsSaved($optParams = array()   X-Ref
List all saved reports in this AdSense account. (saved.listReportsSaved)

param: array $optParams Optional parameters.
return: Google_Service_AdSense_SavedReports

Class: Google_Service_AdSense_Savedadstyles_Resource  - X-Ref

The "savedadstyles" collection of methods.
Typical usage is:
<code>
$adsenseService = new Google_Service_AdSense(...);
$savedadstyles = $adsenseService->savedadstyles;
</code>

get($savedAdStyleId, $optParams = array()   X-Ref
Get a specific saved ad style from the user's account. (savedadstyles.get)

param: string $savedAdStyleId Saved ad style to retrieve.
param: array $optParams Optional parameters.
return: Google_Service_AdSense_SavedAdStyle

listSavedadstyles($optParams = array()   X-Ref
List all saved ad styles in the user's account.
(savedadstyles.listSavedadstyles)

param: array $optParams Optional parameters.
return: Google_Service_AdSense_SavedAdStyles

Class: Google_Service_AdSense_Urlchannels_Resource  - X-Ref

The "urlchannels" collection of methods.
Typical usage is:
<code>
$adsenseService = new Google_Service_AdSense(...);
$urlchannels = $adsenseService->urlchannels;
</code>

listUrlchannels($adClientId, $optParams = array()   X-Ref
List all URL channels in the specified ad client for this AdSense account.
(urlchannels.listUrlchannels)

param: string $adClientId Ad client for which to list URL channels.
param: array $optParams Optional parameters.
return: Google_Service_AdSense_UrlChannels

Class: Google_Service_AdSense_Account  - X-Ref

setCreationTime($creationTime)   X-Ref
No description

getCreationTime()   X-Ref
No description

setId($id)   X-Ref
No description

getId()   X-Ref
No description

setKind($kind)   X-Ref
No description

getKind()   X-Ref
No description

setName($name)   X-Ref
No description

getName()   X-Ref
No description

setPremium($premium)   X-Ref
No description

getPremium()   X-Ref
No description

setSubAccounts($subAccounts)   X-Ref
No description

getSubAccounts()   X-Ref
No description

setTimezone($timezone)   X-Ref
No description

getTimezone()   X-Ref
No description

Class: Google_Service_AdSense_Accounts  - X-Ref

setEtag($etag)   X-Ref
No description

getEtag()   X-Ref
No description

setItems($items)   X-Ref
No description

getItems()   X-Ref
No description

setKind($kind)   X-Ref
No description

getKind()   X-Ref
No description

setNextPageToken($nextPageToken)   X-Ref
No description

getNextPageToken()   X-Ref
No description

Class: Google_Service_AdSense_AdClient  - X-Ref

setArcOptIn($arcOptIn)   X-Ref
No description

getArcOptIn()   X-Ref
No description

setArcReviewMode($arcReviewMode)   X-Ref
No description

getArcReviewMode()   X-Ref
No description

setId($id)   X-Ref
No description

getId()   X-Ref
No description

setKind($kind)   X-Ref
No description

getKind()   X-Ref
No description

setProductCode($productCode)   X-Ref
No description

getProductCode()   X-Ref
No description

setSupportsReporting($supportsReporting)   X-Ref
No description

getSupportsReporting()   X-Ref
No description

Class: Google_Service_AdSense_AdClients  - X-Ref

setEtag($etag)   X-Ref
No description

getEtag()   X-Ref
No description

setItems($items)   X-Ref
No description

getItems()   X-Ref
No description

setKind($kind)   X-Ref
No description

getKind()   X-Ref
No description

setNextPageToken($nextPageToken)   X-Ref
No description

getNextPageToken()   X-Ref
No description

Class: Google_Service_AdSense_AdCode  - X-Ref

setAdCode($adCode)   X-Ref
No description

getAdCode()   X-Ref
No description

setKind($kind)   X-Ref
No description

getKind()   X-Ref
No description

Class: Google_Service_AdSense_AdStyle  - X-Ref

setColors(Google_Service_AdSense_AdStyleColors $colors)   X-Ref
No description

getColors()   X-Ref
No description

setCorners($corners)   X-Ref
No description

getCorners()   X-Ref
No description

setFont(Google_Service_AdSense_AdStyleFont $font)   X-Ref
No description

getFont()   X-Ref
No description

setKind($kind)   X-Ref
No description

getKind()   X-Ref
No description

Class: Google_Service_AdSense_AdStyleColors  - X-Ref

setBackground($background)   X-Ref
No description

getBackground()   X-Ref
No description

setBorder($border)   X-Ref
No description

getBorder()   X-Ref
No description

setText($text)   X-Ref
No description

getText()   X-Ref
No description

setTitle($title)   X-Ref
No description

getTitle()   X-Ref
No description

setUrl($url)   X-Ref
No description

getUrl()   X-Ref
No description

Class: Google_Service_AdSense_AdStyleFont  - X-Ref

setFamily($family)   X-Ref
No description

getFamily()   X-Ref
No description

setSize($size)   X-Ref
No description

getSize()   X-Ref
No description

Class: Google_Service_AdSense_AdUnit  - X-Ref

setCode($code)   X-Ref
No description

getCode()   X-Ref
No description

setContentAdsSettings(Google_Service_AdSense_AdUnitContentAdsSettings $contentAdsSettings)   X-Ref
No description

getContentAdsSettings()   X-Ref
No description

setCustomStyle(Google_Service_AdSense_AdStyle $customStyle)   X-Ref
No description

getCustomStyle()   X-Ref
No description

setFeedAdsSettings(Google_Service_AdSense_AdUnitFeedAdsSettings $feedAdsSettings)   X-Ref
No description

getFeedAdsSettings()   X-Ref
No description

setId($id)   X-Ref
No description

getId()   X-Ref
No description

setKind($kind)   X-Ref
No description

getKind()   X-Ref
No description

setMobileContentAdsSettings(Google_Service_AdSense_AdUnitMobileContentAdsSettings $mobileContentAdsSettings)   X-Ref
No description

getMobileContentAdsSettings()   X-Ref
No description

setName($name)   X-Ref
No description

getName()   X-Ref
No description

setSavedStyleId($savedStyleId)   X-Ref
No description

getSavedStyleId()   X-Ref
No description

setStatus($status)   X-Ref
No description

getStatus()   X-Ref
No description

Class: Google_Service_AdSense_AdUnitContentAdsSettings  - X-Ref

setBackupOption(Google_Service_AdSense_AdUnitContentAdsSettingsBackupOption $backupOption)   X-Ref
No description

getBackupOption()   X-Ref
No description

setSize($size)   X-Ref
No description

getSize()   X-Ref
No description

setType($type)   X-Ref
No description

getType()   X-Ref
No description

Class: Google_Service_AdSense_AdUnitContentAdsSettingsBackupOption  - X-Ref

setColor($color)   X-Ref
No description

getColor()   X-Ref
No description

setType($type)   X-Ref
No description

getType()   X-Ref
No description

setUrl($url)   X-Ref
No description

getUrl()   X-Ref
No description

Class: Google_Service_AdSense_AdUnitFeedAdsSettings  - X-Ref

setAdPosition($adPosition)   X-Ref
No description

getAdPosition()   X-Ref
No description

setFrequency($frequency)   X-Ref
No description

getFrequency()   X-Ref
No description

setMinimumWordCount($minimumWordCount)   X-Ref
No description

getMinimumWordCount()   X-Ref
No description

setType($type)   X-Ref
No description

getType()   X-Ref
No description

Class: Google_Service_AdSense_AdUnitMobileContentAdsSettings  - X-Ref

setMarkupLanguage($markupLanguage)   X-Ref
No description

getMarkupLanguage()   X-Ref
No description

setScriptingLanguage($scriptingLanguage)   X-Ref
No description

getScriptingLanguage()   X-Ref
No description

setSize($size)   X-Ref
No description

getSize()   X-Ref
No description

setType($type)   X-Ref
No description

getType()   X-Ref
No description

Class: Google_Service_AdSense_AdUnits  - X-Ref

setEtag($etag)   X-Ref
No description

getEtag()   X-Ref
No description

setItems($items)   X-Ref
No description

getItems()   X-Ref
No description

setKind($kind)   X-Ref
No description

getKind()   X-Ref
No description

setNextPageToken($nextPageToken)   X-Ref
No description

getNextPageToken()   X-Ref
No description

Class: Google_Service_AdSense_AdsenseReportsGenerateResponse  - X-Ref

setAverages($averages)   X-Ref
No description

getAverages()   X-Ref
No description

setEndDate($endDate)   X-Ref
No description

getEndDate()   X-Ref
No description

setHeaders($headers)   X-Ref
No description

getHeaders()   X-Ref
No description

setKind($kind)   X-Ref
No description

getKind()   X-Ref
No description

setRows($rows)   X-Ref
No description

getRows()   X-Ref
No description

setStartDate($startDate)   X-Ref
No description

getStartDate()   X-Ref
No description

setTotalMatchedRows($totalMatchedRows)   X-Ref
No description

getTotalMatchedRows()   X-Ref
No description

setTotals($totals)   X-Ref
No description

getTotals()   X-Ref
No description

setWarnings($warnings)   X-Ref
No description

getWarnings()   X-Ref
No description

Class: Google_Service_AdSense_AdsenseReportsGenerateResponseHeaders  - X-Ref

setCurrency($currency)   X-Ref
No description

getCurrency()   X-Ref
No description

setName($name)   X-Ref
No description

getName()   X-Ref
No description

setType($type)   X-Ref
No description

getType()   X-Ref
No description

Class: Google_Service_AdSense_Alert  - X-Ref

setId($id)   X-Ref
No description

getId()   X-Ref
No description

setIsDismissible($isDismissible)   X-Ref
No description

getIsDismissible()   X-Ref
No description

setKind($kind)   X-Ref
No description

getKind()   X-Ref
No description

setMessage($message)   X-Ref
No description

getMessage()   X-Ref
No description

setSeverity($severity)   X-Ref
No description

getSeverity()   X-Ref
No description

setType($type)   X-Ref
No description

getType()   X-Ref
No description

Class: Google_Service_AdSense_Alerts  - X-Ref

setItems($items)   X-Ref
No description

getItems()   X-Ref
No description

setKind($kind)   X-Ref
No description

getKind()   X-Ref
No description

Class: Google_Service_AdSense_CustomChannel  - X-Ref

setCode($code)   X-Ref
No description

getCode()   X-Ref
No description

setId($id)   X-Ref
No description

getId()   X-Ref
No description

setKind($kind)   X-Ref
No description

getKind()   X-Ref
No description

setName($name)   X-Ref
No description

getName()   X-Ref
No description

setTargetingInfo(Google_Service_AdSense_CustomChannelTargetingInfo $targetingInfo)   X-Ref
No description

getTargetingInfo()   X-Ref
No description

Class: Google_Service_AdSense_CustomChannelTargetingInfo  - X-Ref

setAdsAppearOn($adsAppearOn)   X-Ref
No description

getAdsAppearOn()   X-Ref
No description

setDescription($description)   X-Ref
No description

getDescription()   X-Ref
No description

setLocation($location)   X-Ref
No description

getLocation()   X-Ref
No description

setSiteLanguage($siteLanguage)   X-Ref
No description

getSiteLanguage()   X-Ref
No description

Class: Google_Service_AdSense_CustomChannels  - X-Ref

setEtag($etag)   X-Ref
No description

getEtag()   X-Ref
No description

setItems($items)   X-Ref
No description

getItems()   X-Ref
No description

setKind($kind)   X-Ref
No description

getKind()   X-Ref
No description

setNextPageToken($nextPageToken)   X-Ref
No description

getNextPageToken()   X-Ref
No description

Class: Google_Service_AdSense_Metadata  - X-Ref

setItems($items)   X-Ref
No description

getItems()   X-Ref
No description

setKind($kind)   X-Ref
No description

getKind()   X-Ref
No description

Class: Google_Service_AdSense_Payment  - X-Ref

setId($id)   X-Ref
No description

getId()   X-Ref
No description

setKind($kind)   X-Ref
No description

getKind()   X-Ref
No description

setPaymentAmount($paymentAmount)   X-Ref
No description

getPaymentAmount()   X-Ref
No description

setPaymentAmountCurrencyCode($paymentAmountCurrencyCode)   X-Ref
No description

getPaymentAmountCurrencyCode()   X-Ref
No description

setPaymentDate($paymentDate)   X-Ref
No description

getPaymentDate()   X-Ref
No description

Class: Google_Service_AdSense_Payments  - X-Ref

setItems($items)   X-Ref
No description

getItems()   X-Ref
No description

setKind($kind)   X-Ref
No description

getKind()   X-Ref
No description

Class: Google_Service_AdSense_ReportingMetadataEntry  - X-Ref

setCompatibleDimensions($compatibleDimensions)   X-Ref
No description

getCompatibleDimensions()   X-Ref
No description

setCompatibleMetrics($compatibleMetrics)   X-Ref
No description

getCompatibleMetrics()   X-Ref
No description

setId($id)   X-Ref
No description

getId()   X-Ref
No description

setKind($kind)   X-Ref
No description

getKind()   X-Ref
No description

setRequiredDimensions($requiredDimensions)   X-Ref
No description

getRequiredDimensions()   X-Ref
No description

setRequiredMetrics($requiredMetrics)   X-Ref
No description

getRequiredMetrics()   X-Ref
No description

setSupportedProducts($supportedProducts)   X-Ref
No description

getSupportedProducts()   X-Ref
No description

Class: Google_Service_AdSense_SavedAdStyle  - X-Ref

setAdStyle(Google_Service_AdSense_AdStyle $adStyle)   X-Ref
No description

getAdStyle()   X-Ref
No description

setId($id)   X-Ref
No description

getId()   X-Ref
No description

setKind($kind)   X-Ref
No description

getKind()   X-Ref
No description

setName($name)   X-Ref
No description

getName()   X-Ref
No description

Class: Google_Service_AdSense_SavedAdStyles  - X-Ref

setEtag($etag)   X-Ref
No description

getEtag()   X-Ref
No description

setItems($items)   X-Ref
No description

getItems()   X-Ref
No description

setKind($kind)   X-Ref
No description

getKind()   X-Ref
No description

setNextPageToken($nextPageToken)   X-Ref
No description

getNextPageToken()   X-Ref
No description

Class: Google_Service_AdSense_SavedReport  - X-Ref

setId($id)   X-Ref
No description

getId()   X-Ref
No description

setKind($kind)   X-Ref
No description

getKind()   X-Ref
No description

setName($name)   X-Ref
No description

getName()   X-Ref
No description

Class: Google_Service_AdSense_SavedReports  - X-Ref

setEtag($etag)   X-Ref
No description

getEtag()   X-Ref
No description

setItems($items)   X-Ref
No description

getItems()   X-Ref
No description

setKind($kind)   X-Ref
No description

getKind()   X-Ref
No description

setNextPageToken($nextPageToken)   X-Ref
No description

getNextPageToken()   X-Ref
No description

Class: Google_Service_AdSense_UrlChannel  - X-Ref

setId($id)   X-Ref
No description

getId()   X-Ref
No description

setKind($kind)   X-Ref
No description

getKind()   X-Ref
No description

setUrlPattern($urlPattern)   X-Ref
No description

getUrlPattern()   X-Ref
No description

Class: Google_Service_AdSense_UrlChannels  - X-Ref

setEtag($etag)   X-Ref
No description

getEtag()   X-Ref
No description

setItems($items)   X-Ref
No description

getItems()   X-Ref
No description

setKind($kind)   X-Ref
No description

getKind()   X-Ref
No description

setNextPageToken($nextPageToken)   X-Ref
No description

getNextPageToken()   X-Ref
No description