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. The criteria will come in the form on a
IpBlock.
Regards,
 |
| Ernie John Blanca Tacata |
| Google Ads API Team |
|
|
| |

ref:_00D1U1174p._5004Q29S0nJ:ref