\Google\AdsApi\CommonAdsUtilityRegistry

Stores and registers usage of ads utilities.

Summary

Methods
Properties
Constants
getInstance()
addUtility()
popAllUtilities()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
__construct()
$adsUtilities
$INSTANCE
N/A

Properties

$adsUtilities

$adsUtilities :

Type

$INSTANCE

$INSTANCE :

Type

Methods

addUtility()

addUtility(string  $adsUtility)

Adds a new ads utility to the ads utilities list.

Parameters

string $adsUtility

the name of ads utility that has been used

popAllUtilities()

popAllUtilities(): array<mixed,string>

Gets all utilities in the registry and clear the registry.

Returns

array<mixed,string> —

the list of registered ads utilities

__construct()

__construct()