$environmentalVariables
$environmentalVariables :
Loads settings from *.ini files into configuration objects.
__construct(\Google\AdsApi\Common\Util\EnvironmentalVariables $environmentalVariables = null)
\Google\AdsApi\Common\Util\EnvironmentalVariables | $environmentalVariables |
fromFile(string $configIniFilePath): \Google\AdsApi\Common\Configuration
Creates a configuration from a filepath to an *.ini file. If the file isn't found in the specified path, we will try to find the file in the user's home directory.
E.g., If you specified the path "/config/ads/ads_props.ini" and it doesn't exist, we will try to find "ads_props.ini" in your home directory.
string | $configIniFilePath | the filepath to the *.ini file |
if the config file could not be found
the created configuration
fromString(string $iniString): \Google\AdsApi\Common\Configuration
Creates a configuration from an *.ini string.
string | $iniString |
the created configuration