But how can we use this CampaignCriterionService.mutate. Any Example that will help me to block ip address. Thanks. Muhammad Nouman Ali
On Wednesday, December 16, 2020 at 2:49:47 PM UTC+5 adsapiforumadvisor wrote: > Hi, > > Thanks for posting your concern. > > If you are looking for sample code in PHP for excluding IP address, then I > am afraid that there is currently no sample code for this. However, you can > derive your code with what I will suggest. The way to exclude IPs through > the API is at the campaign level using the CampaignCriterionService.mutate > <https://developers.google.com/adwords/api/docs/reference/v201809/CampaignCriterionService#mutate>. > > The criteria will come in the form on a IpBlock > <https://developers.google.com/adwords/api/docs/reference/v201809/CampaignCriterionService.IpBlock> > . > > Regards, > [image: Google Logo] > Ernie John Blanca Tacata > Google Ads API Team > > > ref:_00D1U1174p._5004Q29S0nJ: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 "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. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/9e1665ce-d2e4-44e5-a09f-405b2145ffa2n%40googlegroups.com.