\Google\AdsApi\CommonAdsUtilityRegistryInterface

Stores and registers usage of ads utilities.

Summary

Methods
Constants
addUtility()
popAllUtilities()
No constants found
No protected methods found
N/A
No private methods found
N/A

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