The CriterionId does not exist or is of the incorrect type

43 views
Skip to first unread message

Ghufran Shahid

unread,
Jun 19, 2020, 1:36:19 PM6/19/20
to AdWords API and Google Ads API Forum
I am using Adwords Api to get status and bid modifier of a CampaignCriterion. I am passing Location in CampaignCriterion.criterion and setting 2484 as id in Location.When I call campaignCriterionService.mutate() and pass that criterion as an operand it gives error (The CriterionId does not exist or is of the incorrect type).
Am I passing wrong value for the location or using wrong method to achieve the goal? Please help me to resolve this issue.

Google Ads API Forum Advisor Prod

unread,
Jun 19, 2020, 4:49:17 PM6/19/20
to ghufran...@gmail.com, adwor...@googlegroups.com
Hi Ghufran,

Thanks for reaching out. The CriterionError.INVALID_CRITERION_ID is when the CriterionId does not exist or is of the incorrect type. If you are still having an issue please share the complete detailed request and response logs of the call via Reply privately to the author so that I can further investigate the issue. You can find information on enabling logging in the ReadMe of your client library.

Thanks,
Nirmita Patel Google Ads Team
 

ref:_00D1U1174p._5004Q217vIQ:ref
Reply all
Reply to author
Forward
0 new messages