Thank you , The error I'm getting now is Google Ads failure details: mutate_error: Resource was not found. I couldn't understand what it means exactly, the codes I used are examples to try
25 Mayıs 2022 Çarşamba tarihinde saat 10:03:02 UTC+3 itibarıyla adsapi şunları yazdı: > Hi there, > > Thanks for reaching out to the Google Ads API Forum. > > Since you are looking to add negative keywords using this *code* > <https://github.com/googleads/google-ads-php/blob/d603048b9070a435ba50247b9dfe77f208809437/examples/BasicOperations/AddKeywords.php>, > > you can refer to this *documentation* > <https://developers.google.com/google-ads/api/docs/targeting/criteria> on > the different criteria that you can target/exclude in either the campaign > or ad group level. At the campaign level, you can only exclude keywords and > you will need to specify negative = true on a keyword's > *CampaignCriterion* > <https://developers.google.com/google-ads/api/reference/rpc/v10/CampaignCriterion>, > > and create it using the *CampaignCriterionService* > <https://developers.google.com/google-ads/api/reference/rpc/v10/CampaignCriterionService> > . > > For the ad group level, you can either target or exclude keywords. For > excluding the keywords, you will then need to specify negative = true in > the *AdGroupCriterion* > <https://developers.google.com/google-ads/api/reference/rpc/v10/AdGroupCriterion>, > > using the *AdGroupCriterionService* > <https://developers.google.com/google-ads/api/reference/rpc/v10/AdGroupCriterionService> > . > > Let us know if you have any further questions. > > Regards, > [image: Google Logo] > Yasar > Google Ads API Team > > > ref:_00D1U1174p._5004Q2bD0uO:ref > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 "Google Ads API and AdWords API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/73b4e1fd-f696-44ce-ae99-d6dbd542bd2dn%40googlegroups.com.