Hi,

My apologies for the confusion and allow me to update my previous response. 
Also, for the benefit of those following our thread, I will be responding 
publicly to your follow up question regarding my previous suggestion not 
working as expected.

>From the results that you will retrieve or for every iteration, you will 
also need to cast the object as a BiddableAdGroupCriterion and add the 
getUserStatus() to retrieve its Status information. It should then 
correspond to the status of the Keyword criterion which you are trying to 
retrieve. Below is the sample code (in Java) that I used to achieve this :


* for (AdGroupCriterion adGroupCriterionResult : page.getEntries()) {*
         
*         BiddableAdGroupCriterion bidCriterion = 
(BiddableAdGroupCriterion) adGroupCriterionResult;*
*         System.out.println(bidCriterion.getUserStatus());*
         
*         Keyword keyword = (Keyword) 
adGroupCriterionResult.getCriterion();*
*         System.out.printf(*
*             "Keyword with text '%s', match type '%s', criteria type '%s', 
and ID %d was found.%n",*
*             keyword.getText(), keyword.getMatchType(), keyword.getType(), 
keyword.getId());**       }*


Let me know if this already works.

Best regards,
Peter
AdWords API Team

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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 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/eda9082d-f792-4677-87b3-dd55b318b1a5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to