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/9372e6c9-b5cf-4151-98f9-af8b594e1fba%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • ... Евгений Гардыш
    • ... 'Luis Xander Talag (AdWords API Team)' via AdWords API and Google Ads API Forum

Reply via email to