GAQL for Account Level IP exclusion list

259 views
Skip to first unread message

Ayush

unread,
Mar 27, 2024, 11:36:07 AM3/27/24
to Google Ads API and AdWords API Forum
Hey, 

I have an GAQL query to get all the IPs that are in exclusion list for the campaigns for my domain, but I want to get the account level IPs. This is the query I use for campaign level IPs

SELECT campaign.id, campaign.name, campaign.status, campaign.serving_status, campaign_criterion.criterion_id, campaign_criterion.type, campaign_criterion.ip_block.ip_address FROM campaign_criterion WHERE campaign_criterion.type = 'IP_BLOCK' AND campaign_criterion.status = 'ENABLED' AND campaign_criterion.status = 'ENABLED'  AND campaign.id = "something"

What can I do to get the Account Level IP exclusion list.

Google Ads API Forum Advisor

unread,
Mar 27, 2024, 11:44:49 PM3/27/24
to ayu...@navtech.io, adwor...@googlegroups.com
Hi,

Thank you for reaching out to the Google Ads API support team.

By reviewing your concern, I understand that you're seeking assistance in retrieving the IP exclusion list at the account level from the Google Ads API. I would request you to kindly provide us the uncropped UI screenshot of the Google Ads account (with visible customer ID) by highlighting the fields which you are trying to retrieve via the Google Ads API. 

You can send the details via Reply privately to the author option, or direct private reply to this email.
 
This message is in relation to case "ref:!00D1U01174p.!5004Q02s0HaN:ref" (ADR-00228946)

Thanks,
 
Google Logo Google Ads API Team


Ayush G

unread,
Apr 1, 2024, 6:27:43 PM4/1/24
to Google Ads API Forum Advisor, adwor...@googlegroups.com
Hi,

I would like the retrieve the Account level IP exclusion list for the domain. For example


From: Google Ads API Forum Advisor <ads...@forumsupport.google>
Sent: 28 March 2024 09:14
To: Ayush G <ayu...@navtech.io>
Cc: adwor...@googlegroups.com <adwor...@googlegroups.com>
Subject: RE: gaql for account level ip exclusion list
 


This email is from an external email address, please be careful while responding or clicking on any links or attachments.

Google Ads API Forum Advisor

unread,
Apr 2, 2024, 8:05:03 AM4/2/24
to ayu...@navtech.io, adwor...@googlegroups.com
Hi,

Kindly note that the "IP exclusions" at account level are not yet supported in the Google Ads API. I will raise a request to add this feature to be available in the Google Ads API. We cannot provide a scheduled timeline for the availability of this feature in the Google Ads API. I would recommend you please follow our Release Notes and Blog Post for future updates.

İbrahim Varol

unread,
Apr 19, 2024, 7:09:30 PM4/19/24
to Google Ads API and AdWords API Forum

We were also looking into this API  to programmatically block detected bot IPs instead of using the campaign criterion which can get pretty heavy if there are hundreds of campaigns. Is there any other way to achieve this? I understand you recommend us to follow the release notes and blog posts, but is it possible to make a feature request publicly? It is something very critical for our operations.

Google Ads API Forum Advisor

unread,
Apr 22, 2024, 7:22:30 AM4/22/24
to ibo...@gmail.com, adwor...@googlegroups.com
Hi,

Kindly note that feature requests created are subject to review with the engineering team. It is not possible to make feature requests public, as not all feature requests will be implemented. With this follow our Release Notes and Blog Post for announcements about new API releases and features..
Reply all
Reply to author
Forward
0 new messages