Help Regarding Block IP Adress

126 views
Skip to first unread message

Nouman ali

unread,
Dec 15, 2020, 5:40:20 AM12/15/20
to AdWords API and Google Ads API Forum
Hi,
Can someone please tell me how we add an IP Address to exclude list (IP Exclusion Using Google AdWards API) With PHP Library. 
Thanks,
Regard: Muhammad Nouman Ali

Google Ads API Forum Advisor Prod

unread,
Dec 16, 2020, 4:49:47 AM12/16/20
to bzumu...@gmail.com, adwor...@googlegroups.com
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,
Google Logo
Ernie John Blanca Tacata
Google Ads API Team
 


ref:_00D1U1174p._5004Q29S0nJ:ref

Nouman ali

unread,
Feb 25, 2021, 6:48:09 AM2/25/21
to AdWords API and Google Ads API Forum
But how can we use this CampaignCriterionService.mutate. Any Example that will help me to block ip address.
Thanks.
Muhammad Nouman Ali

Google Ads API Forum Advisor Prod

unread,
Feb 25, 2021, 2:38:55 PM2/25/21
to bzumu...@gmail.com, adwor...@googlegroups.com
Hello,

My name is Matt and I work alongside Ernie. Although we do not have a specific example using IP block in our libraries and examples section, we do have examples using the campaign criterion service. Please see this example that uses sets campaign bid modifiers that makes use of the campaign criterion service. 

Thanks,
Matt
Google Ads API Team

Google Logo
Matt
Google Ads API Team
 


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