Obtendo o ID da chave para o nome 'utm_campaign'
Fatal error: Uncaught Google\AdsApi\AdManager\v202308\ApiException: [ApiVersionError.UPDATE_TO_NEWER_VERSION @ version; trigger:'Version v202308 was deprecated and is now disabled. Please check the DoubleClick for Publishers blog for more information or contact us via the support forum.'] in /www/wwwroot/api.dudabasic.com/gam/vendor/googleads/googleads-php-lib/src/Google/AdsApi/Common/Util/Reflection.php:43
Stack trace:
#0 /www/wwwroot/api.dudabasic.com/gam/vendor/googleads/googleads-php-lib/src/Google/AdsApi/Common/Util/Reflection.php(43): ReflectionClass->newInstanceArgs()
#1 /www/wwwroot/api.dudabasic.com/gam/vendor/googleads/googleads-php-lib/src/Google/AdsApi/Common/AdsSoapClient.php(203): Google\AdsApi\Common\Util\Reflection->createInstance()
#2 /www/wwwroot/api.dudabasic.com/gam/vendor/googleads/googleads-php-lib/src/Google/AdsApi/Common/AdsSoapClient.php(167): Google\AdsApi\Common\AdsSoapClient->parseApiExceptionFromSoapFault()
#3 /www/wwwroot/api.dudabasic.com/gam/vendor/googleads/googleads-php-lib/src/Google/AdsApi/AdManager/v202308/CustomTargetingService.php(168): Google\AdsApi\Common\AdsSoapClient->__soapCall()
#4 /www/wwwroot/api.dudabasic.com/gam/gam.class.php(102): Google\AdsApi\AdManager\v202308\CustomTargetingService->getCustomTargetingKeysByStatement()
#5 /www/wwwroot/api.dudabasic.com/gam/gam.api.php(12): GAM->getCustomTargetingKeyByName()
#6 /www/wwwroot/api.dudabasic.com/index.php(35): get_custom_targeting_key_by_name()
#7 {main}
thrown in /www/wwwroot/api.dudabasic.com/gam/vendor/googleads/googleads-php-lib/src/Google/AdsApi/Common/Util/Reflection.php on line 43