AI-generated Key Takeaways
-
Google sends a SegmentRequest based on ad requests matching your targeted inventory to your Real-time Curation integration.
-
The SegmentRequest object provides either contextual signals or secure signals that you can use to identify which of your segments apply to the given inventory in the SegmentResponse.
-
Real-time Curation supports SegmentRequest and SegmentResponse objects sent in JSON format.
-
This guide serves as a reference for the Real-time Curation protocol to assist in building your integration.
Google sends a SegmentRequest
based on ad requests matching your targeted inventory to your Real-time Curation integration. The
SegmentRequest
object provides either contextual signals or secure signals that you
can use to identify which of your segments apply to the given inventory in the
SegmentResponse.
Real-time Curation supports SegmentRequest
and SegmentResponse
objects
sent in JSON format.
This guide is a reference for the Real-time Curation protocol that can help you build your integration.
SegmentRequest
Attribute | Type | Description |
---|---|---|
site |
Site | Only supported for contextual curation partners. A descriptor of the website. The |
app |
App | Only supported for contextual curation partners. A descriptor of the app. The |
pub |
Publisher | Only supported for contextual curation partners. A descriptor of the publisher. |
user |
User | A descriptor of the user browsing publisher content that initiated the segment request. |
device |
Device | Only supported for contextual curation partners. A descriptor of the user's device. |
segment_ |
string | A unique identifier used to identify the segment request independently from all other segment requests. |
Site
Attribute | Type | Description |
---|---|---|
page |
string | Only supported for contextual curation partners. URL of the page showing the impression. |
App
Attribute | Type | Description |
---|---|---|
bundle |
string | Only supported for contextual curation partners. A platform-specific application identifier intended to be unique to the app. On Android,
the |
Publisher
Attribute | Type | Description |
---|---|---|
id |
string | Only supported for contextual curation partners. A publisher ID defined by the publisher code suffix of the web property code. For example,
a publisher having a web property code of |
User
Attribute | Type | Description |
---|---|---|
consent |
string | A web-safe based64-encoded IAB Transparency and Consent Framework (TCF) v2 consent string fetched from the publisher's IAB Consent Management Platform (CMP). The See the IAB Global Vendor List at vendor-list.consensu.org/v2/vendor-list.json for details about the vendors listed in the consent string. |
eids |
EID array | Only supported for secure signals curation partners. Extended ID instances. In Curation, the |
EID
Attribute | Type | Description |
---|---|---|
source |
string | Only supported for secure signals curation partners. Source or technology provider responsible for the set of included data. Expressed as a top-level domain. |
uids |
UID array | Only supported for secure signals curation partners. Array of UID objects from the given source. |
UID
Attribute | Type | Description |
---|---|---|
id |
string | Only supported for secure signals curation partners. The identifier. In curation, the |
Device
Attribute | Type | Description |
---|---|---|
geo |
Geo | Only supported for contextual curation partners. Location of the user's device. |
Geo
Attribute | Type | Description |
---|---|---|
country |
string | Only supported for contextual curation partners. Country using the ISO-3166-1 Alpha-3 standard. |
region |
string | Only supported for contextual curation partners. Region code using the ISO-3166-2 standard; 2-letter state code if USA. |
metro |
string | Only supported for contextual curation partners. Google metro code found in geo-table.csv file. |
SegmentResponse
Attribute | Type | Description |
---|---|---|
segment |
Segment array | A descriptor for a segment. |
Segment
Attribute | Type | Description |
---|---|---|
segment_id |
string | The ID for the segment. The ID should match the curatorDataSegmentId found in
the name of the segment in Marketplace API's
curators.dataSegments
resource. |