Google Ads Data Manager V1 Client - Class IpData (0.5.0)

Reference documentation and code samples for the Google Ads Data Manager V1 Client class IpData.

IP address information for a user.

We recommend including observe_start_time and observe_end_time to help improve Customer Match match rates.

Generated from protobuf message google.ads.datamanager.v1.IpData

Namespace

Google \ Ads \ DataManager \ V1

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ ip_address
string

Required. IP address captured at the time of customer interaction. Accepts standard string formats for both IPv4 and IPv6.

↳ observe_start_time
Google\Protobuf\Timestamp

Optional. First recorded interaction time from this IP address in a session.

↳ observe_end_time
Google\Protobuf\Timestamp

Optional. Last recorded interaction time from this IP address in a session.

getIpAddress

Required. IP address captured at the time of customer interaction.

Accepts standard string formats for both IPv4 and IPv6.

Returns
Type
Description
string

setIpAddress

Required. IP address captured at the time of customer interaction.

Accepts standard string formats for both IPv4 and IPv6.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getObserveStartTime

Optional. First recorded interaction time from this IP address in a session.

Returns
Type
Description

hasObserveStartTime

clearObserveStartTime

setObserveStartTime

Optional. First recorded interaction time from this IP address in a session.

Parameter
Name
Description
Returns
Type
Description
$this

getObserveEndTime

Optional. Last recorded interaction time from this IP address in a session.

Returns
Type
Description

hasObserveEndTime

clearObserveEndTime

setObserveEndTime

Optional. Last recorded interaction time from this IP address in a session.

Parameter
Name
Description
Returns
Type
Description
$this
Design a Mobile Site
View Site in Mobile | Classic
Share by: