Hi Sean, You can refer to this guide <https://developers.google.com/adwords/api/docs/guides/objects-methods#object_id_uniqueness> on how to determine the uniqueness of all AdWords entities. As for your implementation of pausing ads, we recommend that you first generate the Ad Performance Report <https://developers.google.com/adwords/api/docs/appendix/reports/ad-performance-report> so you could determine the correct (ad) Id <https://developers.google.com/adwords/api/docs/appendix/reports/ad-performance-report#id> and the CriterionId <https://developers.google.com/adwords/api/docs/appendix/reports/ad-performance-report#criterionid>. However, you may take note that the CriterionId may or may not be from a Keyword as other criteria may have also generated the performance data for that ad.
To ensure that the CriterionId belongs to a keyword, you will need to include the CriterionType <https://developers.google.com/adwords/api/docs/appendix/reports/ad-performance-report#criteriontype> field as this will allow you to determine if it is indeed of type Keyword. Let me know if this helps. Thanks and regards, Peter AdWords API Team On Saturday, August 11, 2018 at 3:48:56 AM UTC+8, sz...@mymail.mines.edu wrote: > > Hello, > > I am trying to pause certain ads by keyword id, however, there are > multiple ads that all have the same keyword_id. Is there a work around for > this? > > Thanks, > > Sean > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog: https://googleadsdeveloper.blogspot.com/ =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords API and Google Ads 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 and Google Ads 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/27027721-c088-4c2e-8c2a-7e2d4ba80ee7%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.