Reference documentation and code samples for the Google Ads Ad Manager V1 Client class NonRuleBasedFirstPartyAudienceSegment.
An AudienceSegment owned by the publisher network that does not contain
a rule. Cookies are usually added to these segments through cookie upload.
Generated from protobuf message google.ads.admanager.v1.AudienceSegment.NonRuleBasedFirstPartyAudienceSegment
Namespace
Google \ Ads \ AdManager \ V1 \ AudienceSegmentMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ membership_expiration_days |
int|string
Required. Number of days after which a user's cookie will be removed from the |
getMembershipExpirationDays
Required. Number of days after which a user's cookie will be removed from
the AudienceSegment due to inactivity. The field can be between 1 and
540.
| Returns | |
|---|---|
| Type | Description |
int|string |
|
hasMembershipExpirationDays
clearMembershipExpirationDays
setMembershipExpirationDays
Required. Number of days after which a user's cookie will be removed from
the AudienceSegment due to inactivity. The field can be between 1 and
540.
| Parameter | |
|---|---|
| Name | Description |
var |
int|string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|