Hi, It seems your concern was more on the implementation of Google Ads API Beta in PHP client library. I would suggest to post your issue on this link <https://github.com/googleads/google-ads-php/issues> as the PHP client library owners are better equipped to assist you here.
Thanks and regards, Luis AdWords API Team On Thursday, December 6, 2018 at 7:04:44 AM UTC+8, Евгений Гардыш wrote: > > 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? > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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/3b44d683-ee2a-48d5-9b07-fcaae657ad96%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.