class AdMob extends Service (View source)

Service definition for AdMob (v1).

The AdMob API allows publishers to programmatically get information about their AdMob account.

For more information about this service, see the API Documentation

Constants

ADMOB_READONLY

See your AdMob data.

ADMOB_REPORT

See your AdMob data.

Properties

$accounts
$accounts_adUnits
$accounts_apps
$accounts_mediationReport
$accounts_networkReport
$rootUrlTemplate

Methods

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

Constructs the internal representation of the AdMob service.

Details

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

Constructs the internal representation of the AdMob 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.