IPBlock WildCard Gives Invalid IP Address

41 views
Skip to first unread message

goingdev

unread,
Sep 22, 2016, 4:18:57 PM9/22/16
to AdWords API Forum
I am trying to upload an IPBlock with a wildcard, for example: 123.4.5.*

I am getting an invalid IP Address response:

Error: CriterionError.INVALID_IP_ADDRESS

I saw another thread from 2014 indicating they will file a bug report but this is obviously still not fixed.

When can we expect this to be fixed?

How do I get around this?

Vishal Vinayak (Adwords API Team)

unread,
Sep 22, 2016, 5:08:58 PM9/22/16
to AdWords API Forum
Hi,

Currently, IpBlock criterion only allows individual IP addresses. For exact specification, you can refer to the API documentation

Regards,
Vishal, AdWords API Team

Vishal Vinayak (Adwords API Team)

unread,
Oct 27, 2016, 5:07:10 PM10/27/16
to AdWords API Forum
Hi,

Apologies for the confusion earlier. You can specify an address range as follows:
 
IPv4: 1.2.3.0/24
IPv6: 2001:db8::/32

Please note that for a CIDR IP address block, the specified IP address portion must be properly truncated (i.e. all the host bits must be zero). Please feel free to refer to the IpBlock documentation for more details. 
Reply all
Reply to author
Forward
0 new messages