Hi Shreya, You should be able to perform an AdGroupCriterionService.get() <https://developers.google.com/adwords/api/docs/reference/v201710/AdGroupCriterionService#get> or CampaignCriterionService.get() <https://developers.google.com/adwords/api/docs/reference/v201710/CampaignCriterionService#get> to get the criterion Ids associated with ad group and campaign respectively. Please note that the criterion Id is not globally unique. The pair of AdGroupId and CriterionId will be globally unique and the pair of CampaignId and CriterionId will be globally unique. Please check this <https://developers.google.com/adwords/api/docs/guides/objects-methods#object_hierarchy_and_scope> guide for more details.
Could you share more details of where you are getting this error? If you are getting this while performing an API operation, could you please share the SOAP logs along with your client customer id? Please use reply privately to the author while sharing the logs. Thanks, Sreelakshmi, 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/ff75c748-d893-4d4a-89f5-7d5d8a43d2bd%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.