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.