Question
What Are _PushAddress and _PushTag Attributes?
Answer

The _PushAddress
and _PushTag
Data Views in Salesforce Marketing Cloud store information about device-specific push notification details and tagging information for personalization and targeting, respectively. You can retrieve their attributes by using the DataExtensionField retrieve request in the SOAP API or querying them in SQL.
Here are the detailed fields for each Data View:
Attributes in _PushAddress
:
| Field Name | Data Type (Length) | Required (Y/N) | Data Default |
|------------------|--------------------|----------------|--------------|
| _ContactID | Text | Y | |
| _DeviceID | Text(200) | Y | |
| _APID | Text(38) | Y | |
| _Status | Text | N | |
| _Source | Text | N | |
| _SourceObjectId | Text(200) | N | |
| _Platform | Text(100) | N | |
| _PlatformVersion | Text(100) | N | |
| _Alias | Text(100) | N | |
| _OptOutStatusID | Text | N | |
| _OptOutMethodID | Text | N | |
| _OptOutDate | Date | N | |
| _OptInStatusID | Text | Y | 0 |
| _OptInMethodID | Text | N | |
| _OptInDate | Date | N | |
| _Channel | Text(20) | N | |
| _CreatedDate | Date | Y | GETDATE() |
| _CreatedBy | Text | N | |
| _ModifiedDate | Date | Y | GETDATE() |
| _ModifiedBy | Text | N | |
| _City | Text(200) | N | |
| _State | Text(200) | N | |
| _ZipCode | Text(20) | N | |
| _FirstName | Text(100) | N | |
| _LastName | Text(100) | N | |
| _UTCOffset | Decimal(4,2) | N | 0 |
| _IsHonorDST | Boolean | N | false |
| _SystemToken | Text(4000) | N | |
| _ProviderToken | Text(200) | N | |
| _Badge | Number | N | |
| _LocationEnabled | Boolean | N | |
| _TimeZone | Text(50) | N | |
| _Device | Text(100) | N | |
| _HardwareId | Text(100) | N | |
| _DeviceType | Text(20) | N | |
Attributes in _PushTag
:
| Field Name | Data Type (Length) | Required (Y/N) | Data Default |
|---------------|--------------------|----------------|--------------|
| _DeviceID | Text(200) | Y | |
| _APID | Text(38) | Y | |
| _Value | Text(128) | N | |
| _CreatedDate | Date | Y | GETDATE() |
| _CreatedBy | Text | N | |
| _ModifiedDate | Date | Y | GETDATE() |
| _ModifiedBy | Text | N | |
To retrieve this information programmatically, you can use the SOAP API with a DataExtensionField
retrieve request. Below is a sample request for fetching fields for the _PushAddress
Data View.
Sample SOAP API Request:
<Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/">
<Header>
<fueloauth>{{Access_Token}}</fueloauth>
</Header>
<Body>
<RetrieveRequestMsg xmlns="http://exacttarget.com/wsdl/partnerAPI">
<RetrieveRequest>
<ObjectType>DataExtensionField</ObjectType>
<Properties>Name</Properties>
<Properties>FieldType</Properties>
<Properties>MaxLength</Properties>
<Properties>IsRequired</Properties>
<Filter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="SimpleFilterPart">
<Property>DataExtension.CustomerKey</Property>
<SimpleOperator>equals</SimpleOperator>
<Value>_PushAddress</Value>
</Filter>
</RetrieveRequest>
</RetrieveRequestMsg>
</Body>
</Envelope>
SQL Query for _PushAddress
:
If you have access to Query Studio or Automation Studio in Marketing Cloud, you can also query this Data View directly using SQL:
SELECT *
FROM _PushAddress
WHERE _ContactID = 'YOUR_CONTACT_ID'
These fields can be used for managing and analyzing device and push notification data effectively. Make sure your user has the necessary permissions to access and query these Data Views. Let me know if you need further clarification!
Summing Up
The _PushAddress
and _PushTag
Data Views in Salesforce Marketing Cloud store push notification and tagging data, respectively. Attributes such as _DeviceID
, _APID
, _OptInStatusID
, _CreatedDate
, and more provide detailed device-specific and tagging information. These fields can be retrieved using a DataExtensionField
SOAP API request or queried directly using SQL. For example, _PushAddress
includes fields like _ContactID
, _Platform
, _TimeZone
, while _PushTag
focuses on device IDs and tag values. Ensure necessary permissions for access and querying.
Job-Oriented Salesforce Course: Enroll for Free Demo
Our Salesforce Course delivers an all-encompassing learning experience, crafted to help you gain mastery over the Salesforce platform and pave the way for a successful career. Whether you aspire to become a Salesforce Administrator, Developer, or work on AI integrations, our courses delve into every essential aspect of the platform. With an emphasis on practical application through real-world projects, our training ensures you build hands-on expertise and can address real business challenges effectively. Guided by experienced industry professionals, our program equips you with the knowledge and confidence to thrive in the Salesforce ecosystem.
In addition to comprehensive technical training, our Salesforce training in India provides exceptional career development support. This includes personalized mentorship and expert advice to help you prepare for certifications. From in-depth learning materials to real-time project work and targeted interview coaching, we ensure you’re fully prepared for the job market. Our ultimate goal is to not only strengthen your Salesforce proficiency but also to position you for success in your next role. By completing the program, you’ll acquire the skills, experience, and confidence needed to excel in Salesforce and advance your career.
The post What Are _PushAddress and _PushTag Attributes? appeared first on Salesforce Online Training.