I am upgrading from an old version of the Ads API to the latest. We have a different environment for each stage of our development process (Development, Stage, Production), and there are configuration differences between them. Pertinent to the AdsApi, the OAUTH2 information (client secret, etc).
I would like to keep these inside our current config file structure, where we have a different config file (different name) for each environment. The simplest way to do this would be to put the sections from adsapi_php.ini into our 'dev.ini', 'stage.ini', and production.ini files. The code almost seems to support this, but is hardcoded to use the adsapi_php.ini name, and looks in the "home" directory for that file. Any suggestions on how to handle this? Or should I just be hacking into the library code?
(also, please note that using generic terms like "LOGGING", "SOAP", and "OAUTH2" is not the best path to being used in a real-world environment, where those values could easily be overloaded).
Thanks