Hi.
Trying to use PHP lib google-ads-php.
I`m making call
getAdGroupCriterion()->getKeyword()->getMatchType()
and get results as int. For example: 2 .
I found a class Google\Ads\GoogleAds\V0\Enums\KeywordMatchTypeEnum\KeywordMatchType with defined constants which are representing int answer.
But how to get that constants names by their value?
For example calling of KeywordMatchType::EXACT will return me int(2) . How to get call with int(2) to get 'EXACT' as a result?