I have hundreds of php scripts much like /examples/Adwords/v201809/BasicOperations/GetCampaignsWithAwql.php
Each time there is an API version update I need to go and manually EVERY file to use the new version, and make sure NONE are missed. Yuck!!!!! For example: namespace Google\AdsApi\Examples\AdWords\v201809\BasicOperations; require __DIR__ . '/../../../../vendor/autoload.php'; use Google\AdsApi\AdWords\AdWordsServices; use Google\AdsApi\AdWords\AdWordsSession; use Google\AdsApi\AdWords\AdWordsSessionBuilder; use Google\AdsApi\AdWords\Query\v201809\ServiceQueryBuilder; use Google\AdsApi\AdWords\v201809\cm\CampaignService; use Google\AdsApi\AdWords\v201809\cm\Page; use Google\AdsApi\Common\OAuth2TokenBuilder; What would be awesome is if I could have a file like "latestAPIVersion.php" which contained simply "$version = "v201809" and I could include that file. It doesn't seem the use or namespace command allows variables ie.. namespace Google\AdsApi\Examples\AdWords\$version\BasicOperations; What is everyone else doing out there to handle this? Thanks -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog: https://googleadsdeveloper.blogspot.com/ =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords API and Google Ads API Forum" group. To post to this group, send email to adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en --- You received this message because you are subscribed to the Google Groups "AdWords API and Google Ads API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. Visit this group at https://groups.google.com/group/adwords-api. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/55a4e3e0-d05e-4196-a2fc-e519d55a69f8%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.