Hi,

Thank you for reaching out.

For the keyword text, you can use: 
googleAdsRow.getSegments().getKeyword().getInfo().getText().getValue()

For the ad group criterion ID, you have to get the resource name by using the 
following: 
googleAdsRow.getSegments().getKeyword().getAdGroupCriterion().getValue()

As a tip for getting these values, you can print the whole GoogleAdsRow to the 
console and follow the printed hierarchy.

Regards,
Mitchell
Google Ads API Team
ref:_00D1U1174p._5004Q219gK4:ref

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/VQXOw000000000000000000000000000000000000000000000QCJVOO00bdyI6_JbQ0G0R0Dx69_SLw%40sfdc.net.

Reply via email to