Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonIpBlockInfo
- Inherits:
-
Object
- Object
- Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonIpBlockInfo
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/searchads360_v23/classes.rb,
lib/google/apis/searchads360_v23/representations.rb,
lib/google/apis/searchads360_v23/representations.rb
Overview
An IpBlock criterion used for excluding IP addresses. We support excluding individual IP addresses or CIDR blocks. Create one IpBlockInfo criterion for each individual IP address or CIDR block you want to exclude. You can exclude up to 500 IP addresses per campaign. For more details, see Exclude IP addresses. IPv4 examples: * Individual address: 192.168.0.1 * Individual address as CIDR block: 192.168.0. 1/32 * CIDR block: 192.168.0.0/24 IPv6 examples: * Individual address: 2001: db8:a0b:12f0::1 * Individual address as CIDR block: 2001:db8:a0b:12f0::1/128 * CIDR block: 2001:db8::/48
Instance Attribute Summary collapse
-
#ip_address ⇒ String
The IP address or the CIDR block to be excluded.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAdsSearchads360V23CommonIpBlockInfo
constructor
A new instance of GoogleAdsSearchads360V23CommonIpBlockInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAdsSearchads360V23CommonIpBlockInfo
Returns a new instance of GoogleAdsSearchads360V23CommonIpBlockInfo.
5817 5818 5819 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 5817 def initialize(**args) update!(**args) end |
Instance Attribute Details
#ip_address ⇒ String
The IP address or the CIDR block to be excluded.
Corresponds to the JSON property ipAddress
5815 5816 5817 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 5815 def ip_address @ip_address end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5822 5823 5824 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 5822 def update!(**args) @ip_address = args[:ip_address] if args.key?(:ip_address) end |