Skip to contentSkip to navigationSkip to topbar
Page tools
Useful for sharing or LLM
Accelerate development with AI

On this page
Looking for more inspiration?Visit the

First Party Display and Video 360 (Actions) Destination


Destination Info
  • Accepts Track calls.
  • Refer to it as First Party Dv360 in the Integrations object
  • This destination is in Beta
  • This destination is only compatible with Twilio Engage.

Google's Display & Video (DV360)(link takes you to an external page) is an end-to-end campaign management tool that enables enterprise customers to plan, measure, and run display and video advertisements. Segment's integration with DV360 enables Segment customers to sync audiences created in Engage with DV360 for centralized audience management and improved retargeting.

This destination is different from the existing DV360 Actions as it allows you to upload contact info(link takes you to an external page) and the mobile device ID(link takes you to an external page).


Setup

setup page anchor

Configuring this integration requires action by both you in your Segment workspace, and Google in your Google Marketing Platform account. As a result, the time required to finish configuration and setup can vary.

Enable the destination

enable-the-destination page anchor

To enable the First Party DV360 destination:

  1. Navigate to Engage > Engage Settings > Destinations > Add Destination in your Segment workspace.

  2. Search for First Party DV360 and click Add destination.

  3. Navigate to Connections > Destinations and search for the First Party DV 360 destination you created.

  4. Select the Mappings tab and click + New Mapping.

  5. Select the action you'd like to use. You can choose from:

    OptionDetails
    Edit Customer Match Members - Contact Info ListAdd or update customer match members in Contact Info List Audience.
    Edit Customer Match Members - Mobile Device Id ListAdd or update customer match members in Mobile Device Id List Audience.
    Remove Customer Match Members - Contact Info ListRemove customer match members from the Contact Info List Audience.
    Remove Customer Match Members - Mobile Device Id ListRemove customer match members from the Mobile Device Id List Audience.
    Sync Audience [Beta]Add and remove customer match members in both Contact Info List and Mobile Device Id List audiences, using a single mapping.
    • Select either Contact Info List or Mobile Device Id List depending on what audience type you use.
    • Select Edit Customer Match Members to add or update users to an audience.
    • Select Remove Customer Match Members to remove users from an audience.
    • If you want to create actions for both Contact Info List and Mobile Device Id List, you can create all 4 mappings, or select Sync Audience [Beta] instead, which handles both audience types and both directions in a single mapping.
  6. Switch the toggle to enable the destination.

To create an audience in your destination:

  1. Navigate to Engage > Audiences and click +New audience.
  2. Fill out the audience settings.
    • If you want to use Mobile Device ID Lists, ensure to fill out your app ID.
    • Make sure you enabled track calls.
  3. Click Save.
  4. You should see an audience populate in your DV360 account. If you don't immediately see this, it can take up to a couple of hours for your audience to populate.
  5. Switch the toggle to Connect to destination.
  6. Navigate to Connections > Destinations and select the First Party DV360 destination.
  7. Select the Mappings tab.
  8. Click + New Mapping and select Remove from Audience.
  9. Click Save.
  10. Enable the mapping.

Sync Audience [Beta]

sync-audience-beta page anchor

Sync Audience adds users to, and removes users from, a DV360 Customer Match audience. A single action handles both directions, so one mapping keeps an audience in step with its source as users qualify and disqualify. It can be used with the following Segment features:

  • Engage Audiences, where audience membership is computed by Segment.
  • Journeys, where a step adds a user to, or removes a user from, an audience.

DV360 offers two kinds of Customer Match audience, and this action supports both. Each accepts a different set of identifiers, and the type is fixed when the audience is created — it can't be changed afterwards.

Audience typeIdentifiers used
CUSTOMER_MATCH_CONTACT_INFOEmail, phone number, and the postal address group (first name, last name, ZIP code, country code)
CUSTOMER_MATCH_DEVICE_IDMobile device IDs (IDFA, AAID)

Segment reads the audience type from your audience settings, and sends only the identifiers that type accepts. Fields belonging to the other type are ignored. For Mobile Device ID audiences you can also set an optional App ID when the audience is created, identifying the app the device IDs come from.

Identifiers for a Contact Info audience

identifiers-for-a-contact-info-audience page anchor

Map the Contact Info Details fields. The Mobile Device IDs field is ignored for this audience type.

DV360 matches a user on the following three identifiers:

  • An email address.
  • A phone number.
  • A postal address, which means all four of the following fields:
    • ZIP code
    • First name
    • Last name
    • Country code

Send whichever of the three you have. One is enough, and you can send any combination of them: email only, email and phone number, phone number and postal address, all three, and so on. The more you send, the more chances DV360 has to match the user.

(warning)

The postal address fields travel as a set

ZIP code, first name, last name, and country code only count as an identifier when all four are present. If any one of them is missing, Segment drops all four and raises no error — the event is still sent, using whatever email or phone number it carries. Map all four, or none.

Segment only fails an event when none of the three identifiers is usable — no valid email, no phone number, and an incomplete postal address. If even one is usable, the event is sent with whatever was usable, and anything that wasn't is quietly left out. So an event carrying a malformed email and a good postal address still syncs, on the postal address alone.

Formats and hashing

formats-and-hashing page anchor

The Emails, Phone Numbers and ZIP Codes fields each accept either a single value, or several separated by commas. First name, last name and country code take a single value each, matching how DV360 models them.

Segment hashes the identifiers Google requires to be hashed, using SHA-256. What Segment normalizes before hashing depends on the identifier: email addresses have all whitespace removed and are lowercased, first and last names are trimmed and lowercased, and phone numbers are trimmed and, if you turn it on, converted to E.164 — see Phone number normalization. If you send a value that's already a SHA-256 hash, Segment detects it and passes it through, so you can hash upstream if you prefer.

IdentifierHashed by SegmentValidation applied
EmailYesMust look like an email address: text, an @, a domain containing a dot, and no spaces. Values that fail are dropped before sending.
Phone numberYesOptional, and off by default — see Phone number normalization.
ZIP codeNoNone.
First nameYesNone, beyond being present.
Last nameYesNone, beyond being present.
Country codeNoMust be an upper case ISO 3166-1 alpha-2 code chosen from the list on the field, such as US or GB.
(warning)

Country Code only accepts codes from the list

Country Code is a fixed list of ISO 3166-1 alpha-2 codes, so anything else fails that event before it's sent, with a payload validation error in the Event Delivery tab. That includes lower case codes such as us, three-letter codes such as USA, full country names, and numeric codes. If you map this field from an event trait, make sure the trait holds an upper case two-letter code.

An event with nothing usable left over fails with No usable contact info identifiers found, and appears in the Event Delivery tab.

Identifiers for a Mobile Device ID audience

identifiers-for-a-mobile-device-id-audience page anchor

Map the Mobile Device IDs field with the advertising IDs of your users — IDFA on iOS, AAID on Android. It accepts either a single value, or several separated by commas. The Contact Info Details fields are ignored for this audience type.

IdentifierHashed by SegmentValidation applied
Mobile device IDNoNone.

Device IDs are sent to DV360 exactly as you supply them. An event carrying no device ID fails and appears in the Event Delivery tab.

Phone number normalization

phone-number-normalization page anchor

DV360 only matches a phone number when it receives the hash of that number in E.164 format(link takes you to an external page) — a +, the country calling code, then the national number, with no spaces, dashes, or brackets (for example, +18005550100). A number hashed in any other format is silently unmatched.

Use the Phone Number Normalization setting on the Sync Audience mapping to have Segment convert numbers to E.164 before it hashes them. The Normalization option has three modes:

ModeWhat Segment does
Do not normalize (default)Sends the number exactly as you mapped it, with only leading and trailing spaces removed. Spaces, dashes, and brackets inside the number are kept, and no check is made that the number could be real.
NormalizeConverts the number to E.164 where it can. A number it can't convert is sent unchanged, exactly as Do not normalize would have sent it.
Normalize and validateConverts the number to E.164 where it can, and drops any number it can't turn into a valid phone number instead of hashing and sending it.

Do not normalize is the default, so Segment sends numbers exactly as you map them unless you choose one of the other modes.

How Segment works out the country

how-segment-works-out-the-country page anchor

Segment can only convert a number to E.164 if it knows which country the number belongs to:

  • A number starting with +, such as +1 800 555 0100, already states its own country. Segment converts it without needing any country setting.
  • A number starting with 00, such as 0018005550100, is read the same way: Segment replaces the 00 with +.
  • Anything else is a local number, such as (800) 555-0100, and Segment needs to be told which country it belongs to.

For local numbers, Segment takes the country from the following, in order:

  1. The Country Code in Contact Info Details, when Use Country Code From Contact Info Details is turned on and that user has the field populated. This lets the country vary from user to user.
  2. The Default Country setting, whenever the per-user country isn't being used or isn't populated.

If neither is available, Segment can't convert the number: it's sent unchanged under Normalize, and dropped under Normalize and validate.

Under Normalize and validate, a number Segment can't validate is left out of the request, in the same way a malformed email address is. The user is still synced on whatever other identifiers the event carries — a bad phone number alongside a good email address still syncs, on the email address alone. The event only fails if it's left with no usable identifiers at all, reported as No usable contact info identifiers found in the Event Delivery tab.

Numbers you hash yourself

numbers-you-hash-yourself page anchor

A value that's already a SHA-256 hash is passed straight through and is never normalized, whichever mode you choose. Segment can't read a hashed number, so it has to already be the hash of the E.164 form for DV360 to match it.

(warning)

Badly formatted phone numbers fail silently

Google doesn't return an error for a badly formatted phone number. Because the value is hashed before it's sent, Google can't tell a malformed number from one that simply doesn't match any user in its graph — it accepts the request, reports success, and the member silently fails to match. A low match rate, rather than an error, is the only symptom.

The same is true of any identifier that's well-formed but wrong: hashed identifiers are opaque to Google, so unmatched members are never reported individually.

Build your own Mappings. Combine supported triggers with the following First Party Dv360-supported actions:

(information)

Mapping limits per destination

Individual destination instances support a maximum of 5 mappings.

Remove Customer Match Members - Mobile Device Id List

remove-customer-match-members---mobile-device-id-list page anchor

Remove customer match members in Google Display & Video 360 Mobile Device Id List Audience.

Remove Customer Match Members - Mobile Device Id List is a Cloud action. The default Trigger is event = "Audience Entered"

Property nameTypeRequiredDescription
Mobile Device IDsSTRING
required

A list of mobile device IDs defining Customer Match audience members. The size of mobileDeviceIds mustn't be greater than 500,000.

Edit Customer Match Members - Mobile Device Id List

edit-customer-match-members---mobile-device-id-list page anchor

Add or update customer match members in Google Display & Video 360 Mobile Device Id List Audience.

Edit Customer Match Members - Mobile Device Id List is a Cloud action. The default Trigger is event = "Audience Entered"

Property nameTypeRequiredDescription
Mobile Device IDsSTRING
required

A list of mobile device IDs defining Customer Match audience members. The size of mobileDeviceIds mustn't be greater than 500,000.

Edit Customer Match Members - Contact Info List

edit-customer-match-members---contact-info-list page anchor

Add or update customer match members in Google Display & Video 360 Contact Info List Audience.

Edit Customer Match Members - Contact Info List is a Cloud action. The default Trigger is event = "Audience Entered"

Property nameTypeRequiredDescription
EmailsSTRING

Optional

A list of the user's emails. If not already hashed, the system will hash them before use. If not hashed, Segment will hash this value.


Phone NumbersSTRING

Optional

A list of the user's phone numbers. If not already hashed, the system will hash them before use. If not hashed, Segment will hash this value.


ZIP CodesSTRING

Optional

A list of the user's zip codes.


First NameSTRING

Optional

The user's first name. If not already hashed, the system will hash it before use. If not hashed, Segment will hash this value.


Last NameSTRING

Optional

The user's last name. If not already hashed, the system will hash it before use. If not hashed, Segment will hash this value.


Country CodeSTRING

Optional

The country code of the user.

Remove Customer Match Members - Contact Info List

remove-customer-match-members---contact-info-list page anchor

Remove customer match members in Google Display & Video 360 Contact Info List Audience.

Remove Customer Match Members - Contact Info List is a Cloud action. The default Trigger is event = "Audience Exited"

Property nameTypeRequiredDescription
EmailsSTRING

Optional

A list of the user's emails. If not already hashed, the system will hash them before use. If not hashed, Segment will hash this value.


Phone NumbersSTRING

Optional

A list of the user's phone numbers. If not already hashed, the system will hash them before use. If not hashed, Segment will hash this value.


ZIP CodesSTRING

Optional

A list of the user's zip codes.


First NameSTRING

Optional

The user's first name. If not already hashed, the system will hash it before use. If not hashed, Segment will hash this value.


Last NameSTRING

Optional

The user's last name. If not already hashed, the system will hash it before use. If not hashed, Segment will hash this value.


Country CodeSTRING

Optional

The country code of the user.

Add users to, and remove users from, a Display & Video 360 Customer Match audience. Supports both Contact Info and Mobile Device ID audiences. This action is currently in beta.

Sync Audience [Beta] is a Cloud action. The default Trigger is type = "track"

Property nameTypeRequiredDescription
Contact Info DetailsOBJECT

Optional

The contact details used to match the user in Display & Video 360. This field is only used when syncing to a Customer Match Contact Info audience. It is ignored when syncing to a Mobile Device ID audience.


Mobile Device IDsSTRING

Optional

A mobile device ID defining a Customer Match audience member. A single value, or several separated by commas. This field is only used when syncing to a Customer Match Mobile Device ID audience. It is ignored when syncing to a Contact Info audience.


Phone Number NormalizationOBJECT

Optional

How Segment should treat phone numbers before hashing them. Display & Video 360 only matches a phone number hashed from its E.164 form, so a number sent in any other format is silently unmatched. This field is only used when syncing to a Customer Match Contact Info audience. It is ignored when syncing to a Mobile Device ID audience.


ConsentOBJECT

Optional

Consent signals for this audience sync. A signal left unset is sent as not specified. Events with consent denied are not sent, as Display & Video 360 rejects any request containing denied consent.


Create a new audience or connect to an existing one?STRING

Optional

Choose to either create a new Customer Match audience in Display & Video 360, or connect to an audience which already exists there.


Advertiser IDSTRING

Optional

The ID of your advertiser, used throughout Display & Video 360. Use this ID when you contact Display & Video 360 support to help our teams locate your specific account.


Audience NameSTRING

Optional

The display name of the audience to create in Display & Video 360.


Audience TypeSTRING

Optional

The type of the audience to create.


Membership Duration DaysNUMBER

Optional

The duration in days that an entry remains in the audience after the qualifying event. The set value must be greater than 0 and less than or equal to 540.


DescriptionSTRING

Optional

The description of the audience.


App IDSTRING

Optional

The appId matches with the type of the mobileDeviceIds being uploaded. Required for CUSTOMER_MATCH_DEVICE_ID audiences.


Existing Audience IDSTRING

Optional

The ID of the audience in Display & Video 360 to connect this mapping to.


Select or create an audience in Display & Video 360OBJECT

Optional

When saving this mapping, Segment will either create a new Customer Match audience in Display & Video 360 or connect to an existing one.


Based on Google's documentation, make sure you send the correct required identifiers:


When will my data appear in DV360?

when-will-my-data-appear-in-dv360 page anchor

When you complete the connection between Segment and DV360, it can take from 24 to 48 hours for Google to create the user list. This must complete before Segment can begin to sync users into that list.

What is membershipDurationDays and its limit?

what-is-membershipdurationdays-and-its-limit page anchor

The duration in days that an entry remains in the audience after the qualifying event. The set value must be greater than 0 and less than or equal to 540.


You can send computed traits and audiences generated using Engage to this destination as a user property. To learn more about Engage, schedule a demo(link takes you to an external page).

For user-property destinations, an identify call is sent to the destination for each user being added and removed. The property name is the snake_cased version of the audience name, with a true/false value to indicate membership. For example, when a user first completes an order in the last 30 days, Engage sends an Identify call with the property order_completed_last_30days: true. When the user no longer satisfies this condition (for example, it's been more than 30 days since their last order), Engage sets that value to false.

When you first create an audience, Engage sends an Identify call for every user in that audience. Later audience syncs only send updates for users whose membership has changed since the last sync.

(information)

Real-time to batch destination sync frequency

Real-time audience syncs to First Party Display and Video 360 (Actions) may take six or more hours for the initial sync to complete. Upon completion, a sync frequency of two to three hours is expected.