Hi Michael,
You can use the AdGroupCriterionService.GetAdGroupCriterion to fetch your WebPage criteria that were created purposely for triggering your Dynamic Search Ads. Let me know if this helps.
Thanks and regards,
Peter
Google Ads API Team