Could someone please advise on how I can retrieve the text value of 
returned ENUM data types rather than their integer value?

For Advertising Channel Type 
( 
$stream->iterateAllElements()->current()->getCampaign()->getAdvertisingChannelType()
 
) the adwords api returned values such as 
Unknown
Search
Display
Shopping
Video
Multi Channel
Express

but only integer values are being returned in the google ads api which 
isn't useful.

Is there a function in the PHP api where i can lookup the integer to return 
the text value?

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 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/9be211c6-c916-4ee5-a955-ccfd6e7aa4b1n%40googlegroups.com.
  • Re... John
    • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum

Reply via email to