class AdSenseHost extends Service (View source)

Service definition for AdSenseHost (v4.1).

Generates performance reports, generates ad codes, and provides publisher management capabilities for AdSense Hosts.

For more information about this service, see the API Documentation

Constants

ADSENSEHOST

View and manage your AdSense host data and associated accounts.

Properties

$accounts
$accounts_adclients
$accounts_adunits
$accounts_reports
$adclients
$associationsessions
$customchannels
$reports
$urlchannels
$rootUrlTemplate

Methods

__construct(Client|array $clientOrConfig = [], string $rootUrl = null)

Constructs the internal representation of the AdSenseHost service.

Details

__construct(Client|array $clientOrConfig = [], string $rootUrl = null)

Constructs the internal representation of the AdSenseHost service.

Parameters

Client|array $clientOrConfig

The client used to deliver requests, or a config array to pass to a new Client instance.

string $rootUrl

The root URL used for requests to the service.