From 57a03d6f3f77a6e19421e8f47fde18c9f1f6cc83 Mon Sep 17 00:00:00 2001 From: Abhinna Date: Fri, 17 Aug 2018 12:41:24 +0530 Subject: [PATCH 1/9] Issue-476 XDM schema definition for AdCloud Search surfer profiles --- .../adcloud-search-profile.example.1.json | 110 ++++++++++++++++++ .../adcloud-search-profile.schema.json | 39 +++++++ ...d-search-retargeting-entity.example.1.json | 7 ++ ...ized-search-retargeting-entity.schema.json | 51 ++++++++ 4 files changed, 207 insertions(+) create mode 100644 extensions/adobe/experience/adcloud/adcloud-search-profile.example.1.json create mode 100644 extensions/adobe/experience/adcloud/adcloud-search-profile.schema.json create mode 100644 extensions/adobe/experience/adcloud/synchronized-search-retargeting-entity.example.1.json create mode 100644 extensions/adobe/experience/adcloud/synchronized-search-retargeting-entity.schema.json diff --git a/extensions/adobe/experience/adcloud/adcloud-search-profile.example.1.json b/extensions/adobe/experience/adcloud/adcloud-search-profile.example.1.json new file mode 100644 index 000000000..267fedc70 --- /dev/null +++ b/extensions/adobe/experience/adcloud/adcloud-search-profile.example.1.json @@ -0,0 +1,110 @@ +{ + "xdm:identities": [ + { + "xdm:id": "someone@example.com", + "xdm:namespace": { + "xdm:code": "Email" + } + }, + { + "xdm:id": "123-456", + "xdm:namespace": { + "xdm:code": "BB111" + } + } + ], + "xdm:person": { + "xdm:name": { + "xdm:givenName": "Jane", + "xdm:middleName": "F", + "xdm:surname": "Doe" + }, + "xdm:birthMonth": 1, + "xdm:birthDay": 3, + "xdm:birthYear": 1996, + "xdm:gender": "female" + }, + "xdm:workAddress": { + "@id": "https://data.adobe.io/entities/address/123", + "xdm:primary": false, + "xdm:street1": "345 Park Ave", + "xdm:city": "San Jose", + "xdm:stateProvince": "US-CA", + "xdm:postalCode": "95110", + "xdm:country": "United States", + "xdm:countryCode": "US", + "schema:latitude": 37.3382, + "schema:longitude": 121.8863, + "xdm:status": "active", + "xdm:lastVerifiedDate": "2018-01-02" + }, + "xdm:workEmail": { + "xdm:primary": false, + "xdm:address": "jsmith@xyzinc.com", + "xdm:label": "John Smith", + "xdm:type": "work", + "xdm:status": "active" + }, + "xdm:mobilePhone": { + "xdm:primary": true, + "xdm:number": "1-408-888-8888", + "xdm:status": "active" + }, + "xdm:optInOut": { + "https://ns.adobe.com/xdm/channels/email": "pending", + "https://ns.adobe.com/xdm/channels/phone": "out", + "https://ns.adobe.com/xdm/channels/sms": "in", + "https://ns.adobe.com/xdm/channels/fax": "not_provided", + "https://ns.adobe.com/xdm/channels/direct-mail": "not_provided", + "https://ns.adobe.com/xdm/channels/apns": "not_provided", + "xdm:globalOptout": false + }, + "xdm:orgUnit": { + "@id": "https://data.adobe.io/org-apparals-men" + }, + "xdm:geoUnit": { + "@id": "https://data.adobe.io/geo-france" + }, + "xdm:segments": [ + { + "xdm:segmentID": { + "@id": "https://data.adobe.io/entities/segmentidentity/04a81716-43d6-4e7a-a49c-f1d8b3129ba9", + "xdm:namespace": { + "xdm:code": "AAM" + } + }, + "xdm:version": "15", + "xdm:timestamp": "2018-04-26T15:52:25+00:00", + "xdm:validUntil": "2019-04-26T15:52:25+00:00", + "xdm:status": "existing" + }, + { + "xdm:segmentID": { + "@id": "https://data.adobe.io/entities/identity/53cba6b2-a23b-454a-8069-fc41308f1c0f", + "xdm:namespace": { + "xdm:code": "AAM" + } + }, + "xdm:version": "3", + "xdm:lastQualificationTime": "2018-04-26T15:52:25+00:00", + "xdm:validUntil": "2018-04-27T15:52:25+00:00", + "xdm:status": "realized" + } + ], + "xdm:synchronized-search-retargeting-entities": [ + { + "xdm:retargeting-entity-id": "https://data.adobe.io/entities/segmentidentity/04a81716-43d6-4e7a-a49c-f1d8b3129ba9", + "xdm:retargeting-entity-type": 3, + "xdm:timestamp": "2018-08-07T08:06:34.672Z", + "xdm:search-engine-id": 2, + "xdm:search-engine-data": "sample-conversion-id-123" + }, + { + "xdm:retargeting-entity-id": "https://data.adobe.io/entities/identity/53cba6b2-a23b-454a-8069-fc41308f1c0f", + "xdm:retargeting-entity-type": 2, + "xdm:timestamp": "2018-08-09T08:06:34.672Z", + "xdm:search-engine-id": 1, + "xdm:search-engine-data": "sample-conversion-id-345" + } + ] +} diff --git a/extensions/adobe/experience/adcloud/adcloud-search-profile.schema.json b/extensions/adobe/experience/adcloud/adcloud-search-profile.schema.json new file mode 100644 index 000000000..54aa64b26 --- /dev/null +++ b/extensions/adobe/experience/adcloud/adcloud-search-profile.schema.json @@ -0,0 +1,39 @@ +{ + "meta:license": [ + "Copyright 2018 Adobe Systems Incorporated. All rights reserved.", + "This work is licensed under a Creative Commons Attribution 4.0 International (CC BY 4.0) license", + "you may not use this file except in compliance with the License. You may obtain a copy", + "of the License at https://creativecommons.org/licenses/by/4.0/" + ], + "$schema": "http://json-schema.org/draft-06/schema#", + "$id": "https://ns.adobe.com/experience/adcloud/adcloud-search-profile", + "title": "Adobe AdCloud Search Profile Extension", + "type": "object", + "meta:extends": [ + "https://ns.adobe.com/xdm/context/profile" + ], + "description": "Adobe AdCloud Search extension to Profile", + "definitions": { + "adcloud-search-profile": { + "properties": { + "synchronized-search-retargeting-entities": { + "title": "Search retargeting entities", + "type": "array", + "items": { + "$ref": "https://ns.adobe.com/experience/adcloud/synchronized-search-retargeting-entity" + }, + "description": "List of Search retargeting entities" + } + } + } + }, + "allOf": [ + { + "$ref": "https://ns.adobe.com/xdm/context/profile#/definitions/profile" + }, + { + "$ref": "#/definitions/adcloud-search-profile" + } + ], + "meta:status": "experimental" +} diff --git a/extensions/adobe/experience/adcloud/synchronized-search-retargeting-entity.example.1.json b/extensions/adobe/experience/adcloud/synchronized-search-retargeting-entity.example.1.json new file mode 100644 index 000000000..1d2cc3eef --- /dev/null +++ b/extensions/adobe/experience/adcloud/synchronized-search-retargeting-entity.example.1.json @@ -0,0 +1,7 @@ +{ + "xdm:retargeting-entity-id": "https://data.adobe.io/entities/aam-segment/4238827", + "xdm:retargeting-entity-type": 3, + "xdm:timestamp": "2018-08-07T08:06:34.672Z", + "xdm:search-engine-id": 2, + "xdm:search-engine-data": "sample-conversion-id-123" +} diff --git a/extensions/adobe/experience/adcloud/synchronized-search-retargeting-entity.schema.json b/extensions/adobe/experience/adcloud/synchronized-search-retargeting-entity.schema.json new file mode 100644 index 000000000..bb4acba90 --- /dev/null +++ b/extensions/adobe/experience/adcloud/synchronized-search-retargeting-entity.schema.json @@ -0,0 +1,51 @@ +{ + "meta:license": [ + "Copyright 2018 Adobe Systems Incorporated. All rights reserved.", + "This work is licensed under a Creative Commons Attribution 4.0 International (CC BY 4.0) license", + "you may not use this file except in compliance with the License. You may obtain a copy", + "of the License at https://creativecommons.org/licenses/by/4.0/" + ], + "$id": "https://ns.adobe.com/experience/adcloud/synchronized-search-retargeting-entity", + "$schema": "http://json-schema.org/draft-06/schema#", + "title": "Synchronized Search Retargeting Entity", + "type": "object", + "description": "Details about AdCloud Search Retargeting Entity used for retargeting surfers on the Search channel.", + "definitions": { + "synchronized-search-retargeting-entity": { + "properties": { + "xdm:retargeting-entity-id": { + "title": "Retargeting entity ID", + "type": "string", + "description": "Id for the retargeting entity that would used to retarget the surfer." + }, + "xdm:retargeting-entity-type": { + "title": "Retargeting entity type", + "type": "int", + "description": "Type of retargeting entity." + }, + "xdm:timestamp": { + "title": "Timestamp", + "type": "string", + "format": "date-time", + "description": "The timestamp when the retargeting entity, e.g. aam-segment, was sycned to the search engine." + }, + "xdm:search-engine-id": { + "title": "Search Engine ID", + "type": "int", + "description": "Internal mapping of search engines to IDs for Adcloud Search." + }, + "xdm:search-engine-data": { + "title": "Search Engine Data", + "type": "string", + "description": "Conversion Id of the retargeting entity synced to search engine." + } + } + } + }, + "allOf": [ + { + "$ref": "#/definitions/synchronized-search-retargeting-entity" + } + ], + "meta:status": "experimental" +} From 217b49ea75efbeda07b08b3ba62a83f4d6e33a5b Mon Sep 17 00:00:00 2001 From: Abhinna Date: Thu, 6 Sep 2018 17:03:35 +0530 Subject: [PATCH 2/9] Issue-476 XDM schema definition for AdCloud Search surfer profiles, implement review comments, follow camelCase for naming fields, refactor names --- ... adcloudremarketingprofile.example.1.json} | 46 ++++++++++++----- ... => adcloudremarketingprofile.schema.json} | 16 +++--- .../adcloud/partnerdata.example.1.json | 4 ++ .../adcloud/partnerdata.schema.json | 38 ++++++++++++++ .../syncedremarketingaudiences.example.1.json | 16 ++++++ .../syncedremarketingaudiences.schema.json | 51 +++++++++++++++++++ ...d-search-retargeting-entity.example.1.json | 7 --- ...ized-search-retargeting-entity.schema.json | 51 ------------------- 8 files changed, 150 insertions(+), 79 deletions(-) rename extensions/adobe/experience/adcloud/{adcloud-search-profile.example.1.json => adcloudremarketingprofile.example.1.json} (70%) rename extensions/adobe/experience/adcloud/{adcloud-search-profile.schema.json => adcloudremarketingprofile.schema.json} (72%) create mode 100644 extensions/adobe/experience/adcloud/partnerdata.example.1.json create mode 100644 extensions/adobe/experience/adcloud/partnerdata.schema.json create mode 100644 extensions/adobe/experience/adcloud/syncedremarketingaudiences.example.1.json create mode 100644 extensions/adobe/experience/adcloud/syncedremarketingaudiences.schema.json delete mode 100644 extensions/adobe/experience/adcloud/synchronized-search-retargeting-entity.example.1.json delete mode 100644 extensions/adobe/experience/adcloud/synchronized-search-retargeting-entity.schema.json diff --git a/extensions/adobe/experience/adcloud/adcloud-search-profile.example.1.json b/extensions/adobe/experience/adcloud/adcloudremarketingprofile.example.1.json similarity index 70% rename from extensions/adobe/experience/adcloud/adcloud-search-profile.example.1.json rename to extensions/adobe/experience/adcloud/adcloudremarketingprofile.example.1.json index 267fedc70..927175da5 100644 --- a/extensions/adobe/experience/adcloud/adcloud-search-profile.example.1.json +++ b/extensions/adobe/experience/adcloud/adcloudremarketingprofile.example.1.json @@ -68,7 +68,8 @@ "xdm:segments": [ { "xdm:segmentID": { - "@id": "https://data.adobe.io/entities/segmentidentity/04a81716-43d6-4e7a-a49c-f1d8b3129ba9", + "@id": + "https://data.adobe.io/entities/segmentidentity/04a81716-43d6-4e7a-a49c-f1d8b3129ba9", "xdm:namespace": { "xdm:code": "AAM" } @@ -80,7 +81,8 @@ }, { "xdm:segmentID": { - "@id": "https://data.adobe.io/entities/identity/53cba6b2-a23b-454a-8069-fc41308f1c0f", + "@id": + "https://data.adobe.io/entities/identity/53cba6b2-a23b-454a-8069-fc41308f1c0f", "xdm:namespace": { "xdm:code": "AAM" } @@ -91,20 +93,40 @@ "xdm:status": "realized" } ], - "xdm:synchronized-search-retargeting-entities": [ + "xdm:syncedremarketingaudiences": [ { - "xdm:retargeting-entity-id": "https://data.adobe.io/entities/segmentidentity/04a81716-43d6-4e7a-a49c-f1d8b3129ba9", - "xdm:retargeting-entity-type": 3, + "xdm:segmentId": + "https://data.adobe.io/entities/segmentidentity/04a81716-43d6-4e7a-a49c-f1d8b3129ba9", + "xdm:segmentType": 3, "xdm:timestamp": "2018-08-07T08:06:34.672Z", - "xdm:search-engine-id": 2, - "xdm:search-engine-data": "sample-conversion-id-123" + "xdm:partnerDetails": [ + { + "xdm:id": 2, + "xdm:data": "sample-conversion-id-123" + }, + + { + "xdm:id": 1, + "xdm:data": "sample-conversion-id-124" + } + ] }, { - "xdm:retargeting-entity-id": "https://data.adobe.io/entities/identity/53cba6b2-a23b-454a-8069-fc41308f1c0f", - "xdm:retargeting-entity-type": 2, - "xdm:timestamp": "2018-08-09T08:06:34.672Z", - "xdm:search-engine-id": 1, - "xdm:search-engine-data": "sample-conversion-id-345" + "xdm:segmentId": + "https://data.adobe.io/entities/segmentidentity/53cba6b2-a23b-454a-8069-fc41308f1c0f", + "xdm:segmentType": 3, + "xdm:timestamp": "2018-08-07T08:06:34.672Z", + "xdm:partnerDetails": [ + { + "xdm:id": 2, + "xdm:data": "sample-conversion-id-125" + }, + + { + "xdm:id": 1, + "xdm:data": "sample-conversion-id-126" + } + ] } ] } diff --git a/extensions/adobe/experience/adcloud/adcloud-search-profile.schema.json b/extensions/adobe/experience/adcloud/adcloudremarketingprofile.schema.json similarity index 72% rename from extensions/adobe/experience/adcloud/adcloud-search-profile.schema.json rename to extensions/adobe/experience/adcloud/adcloudremarketingprofile.schema.json index 54aa64b26..bfafd39e9 100644 --- a/extensions/adobe/experience/adcloud/adcloud-search-profile.schema.json +++ b/extensions/adobe/experience/adcloud/adcloudremarketingprofile.schema.json @@ -6,21 +6,19 @@ "of the License at https://creativecommons.org/licenses/by/4.0/" ], "$schema": "http://json-schema.org/draft-06/schema#", - "$id": "https://ns.adobe.com/experience/adcloud/adcloud-search-profile", + "$id": "https://ns.adobe.com/experience/adcloud/adcloudsearchprofile", "title": "Adobe AdCloud Search Profile Extension", "type": "object", - "meta:extends": [ - "https://ns.adobe.com/xdm/context/profile" - ], + "meta:extends": ["https://ns.adobe.com/xdm/context/profile"], "description": "Adobe AdCloud Search extension to Profile", "definitions": { - "adcloud-search-profile": { + "adcloudsearchprofile": { "properties": { - "synchronized-search-retargeting-entities": { - "title": "Search retargeting entities", + "syncedSegments": { + "title": "Synchronized segments", "type": "array", "items": { - "$ref": "https://ns.adobe.com/experience/adcloud/synchronized-search-retargeting-entity" + "$ref": "https://ns.adobe.com/experience/adcloud/syncedsegment" }, "description": "List of Search retargeting entities" } @@ -32,7 +30,7 @@ "$ref": "https://ns.adobe.com/xdm/context/profile#/definitions/profile" }, { - "$ref": "#/definitions/adcloud-search-profile" + "$ref": "#/definitions/adcloudsearchprofile" } ], "meta:status": "experimental" diff --git a/extensions/adobe/experience/adcloud/partnerdata.example.1.json b/extensions/adobe/experience/adcloud/partnerdata.example.1.json new file mode 100644 index 000000000..48d75ce12 --- /dev/null +++ b/extensions/adobe/experience/adcloud/partnerdata.example.1.json @@ -0,0 +1,4 @@ +{ + "xdm:id": 2, + "xdm:data": "sample-conversion-id-123" +} diff --git a/extensions/adobe/experience/adcloud/partnerdata.schema.json b/extensions/adobe/experience/adcloud/partnerdata.schema.json new file mode 100644 index 000000000..1b6610009 --- /dev/null +++ b/extensions/adobe/experience/adcloud/partnerdata.schema.json @@ -0,0 +1,38 @@ +{ + "meta:license": [ + "Copyright 2018 Adobe Systems Incorporated. All rights reserved.", + "This work is licensed under a Creative Commons Attribution 4.0 International (CC BY 4.0) license", + "you may not use this file except in compliance with the License. You may obtain a copy", + "of the License at https://creativecommons.org/licenses/by/4.0/" + ], + "$id": "https://ns.adobe.com/experience/adcloud/partnerdata", + "$schema": "http://json-schema.org/draft-06/schema#", + "title": "Synchronized Remarketing Audiences", + "type": "object", + "description": + "Details about AdCloud Search segments used for retargeting surfers on a Search/Marketing platform.", + "definitions": { + "partnerdata": { + "properties": { + "xdm:id": { + "title": "Search/Marketing partner ID", + "type": "int", + "description": + "Internal mapping of search/marketing platforms/partners to IDs for Adcloud Search." + }, + "xdm:data": { + "title": "Search/Marketing partner data associated with a segment", + "type": "string", + "description": + "Unique identifiers such conversion id (in case of Google) associated with the synced segment." + } + } + } + }, + "allOf": [ + { + "$ref": "#/definitions/partnerdata" + } + ], + "meta:status": "experimental" +} diff --git a/extensions/adobe/experience/adcloud/syncedremarketingaudiences.example.1.json b/extensions/adobe/experience/adcloud/syncedremarketingaudiences.example.1.json new file mode 100644 index 000000000..a802ac937 --- /dev/null +++ b/extensions/adobe/experience/adcloud/syncedremarketingaudiences.example.1.json @@ -0,0 +1,16 @@ +{ + "xdm:segmentId": "https://data.adobe.io/entities/aam-segment/4238827", + "xdm:segmentType": 3, + "xdm:timestamp": "2018-08-07T08:06:34.672Z", + "xdm:partnerDetails": [ + { + "xdm:id": 2, + "xdm:data": "sample-conversion-id-123" + }, + + { + "xdm:id": 1, + "xdm:data": "sample-conversion-id-124" + } + ] +} diff --git a/extensions/adobe/experience/adcloud/syncedremarketingaudiences.schema.json b/extensions/adobe/experience/adcloud/syncedremarketingaudiences.schema.json new file mode 100644 index 000000000..f0ddc4d1f --- /dev/null +++ b/extensions/adobe/experience/adcloud/syncedremarketingaudiences.schema.json @@ -0,0 +1,51 @@ +{ + "meta:license": [ + "Copyright 2018 Adobe Systems Incorporated. All rights reserved.", + "This work is licensed under a Creative Commons Attribution 4.0 International (CC BY 4.0) license", + "you may not use this file except in compliance with the License. You may obtain a copy", + "of the License at https://creativecommons.org/licenses/by/4.0/" + ], + "$id": "https://ns.adobe.com/experience/adcloud/syncedremarketingaudience", + "$schema": "http://json-schema.org/draft-06/schema#", + "title": "Synchronized Remarketing Audiences", + "type": "object", + "description": + "Details about AdCloud Search segments used for retargeting surfers on a Search/Marketing platform.", + "definitions": { + "syncedremarketingaudience": { + "properties": { + "xdm:id": { + "title": "Segment ID", + "type": "string", + "description": + "Id for the segment that would be used to retarget the surfer." + }, + "xdm:type": { + "title": "Segment/Audience type", + "type": "int", + "description": "Type of segment, eg. AAM." + }, + "xdm:timestamp": { + "title": "Timestamp", + "type": "string", + "format": "date-time", + "description": + "The timestamp when the retargeting entity, e.g. aam-segment, was sycned to the marketing platform." + }, + "xdm:partnerDetails": { + "title": "Marketing Partner Details", + "type": "array", + "items": { + "$ref": "https://ns.adobe.com/xdm/experience/adcloud/partnerdata" + } + } + } + } + }, + "allOf": [ + { + "$ref": "#/definitions/syncedremarketingaudience" + } + ], + "meta:status": "experimental" +} diff --git a/extensions/adobe/experience/adcloud/synchronized-search-retargeting-entity.example.1.json b/extensions/adobe/experience/adcloud/synchronized-search-retargeting-entity.example.1.json deleted file mode 100644 index 1d2cc3eef..000000000 --- a/extensions/adobe/experience/adcloud/synchronized-search-retargeting-entity.example.1.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "xdm:retargeting-entity-id": "https://data.adobe.io/entities/aam-segment/4238827", - "xdm:retargeting-entity-type": 3, - "xdm:timestamp": "2018-08-07T08:06:34.672Z", - "xdm:search-engine-id": 2, - "xdm:search-engine-data": "sample-conversion-id-123" -} diff --git a/extensions/adobe/experience/adcloud/synchronized-search-retargeting-entity.schema.json b/extensions/adobe/experience/adcloud/synchronized-search-retargeting-entity.schema.json deleted file mode 100644 index bb4acba90..000000000 --- a/extensions/adobe/experience/adcloud/synchronized-search-retargeting-entity.schema.json +++ /dev/null @@ -1,51 +0,0 @@ -{ - "meta:license": [ - "Copyright 2018 Adobe Systems Incorporated. All rights reserved.", - "This work is licensed under a Creative Commons Attribution 4.0 International (CC BY 4.0) license", - "you may not use this file except in compliance with the License. You may obtain a copy", - "of the License at https://creativecommons.org/licenses/by/4.0/" - ], - "$id": "https://ns.adobe.com/experience/adcloud/synchronized-search-retargeting-entity", - "$schema": "http://json-schema.org/draft-06/schema#", - "title": "Synchronized Search Retargeting Entity", - "type": "object", - "description": "Details about AdCloud Search Retargeting Entity used for retargeting surfers on the Search channel.", - "definitions": { - "synchronized-search-retargeting-entity": { - "properties": { - "xdm:retargeting-entity-id": { - "title": "Retargeting entity ID", - "type": "string", - "description": "Id for the retargeting entity that would used to retarget the surfer." - }, - "xdm:retargeting-entity-type": { - "title": "Retargeting entity type", - "type": "int", - "description": "Type of retargeting entity." - }, - "xdm:timestamp": { - "title": "Timestamp", - "type": "string", - "format": "date-time", - "description": "The timestamp when the retargeting entity, e.g. aam-segment, was sycned to the search engine." - }, - "xdm:search-engine-id": { - "title": "Search Engine ID", - "type": "int", - "description": "Internal mapping of search engines to IDs for Adcloud Search." - }, - "xdm:search-engine-data": { - "title": "Search Engine Data", - "type": "string", - "description": "Conversion Id of the retargeting entity synced to search engine." - } - } - } - }, - "allOf": [ - { - "$ref": "#/definitions/synchronized-search-retargeting-entity" - } - ], - "meta:status": "experimental" -} From 51c86254f9f5c038cd5e3a54ded851a62ec9712e Mon Sep 17 00:00:00 2001 From: Abhinna Date: Fri, 21 Sep 2018 09:38:46 +0530 Subject: [PATCH 3/9] Issue-476 XDM schema definition for AdCloud Search surfer profiles, implement review comments-2, fix missing field for syncedRemarketingList in adcloud profile, update field description for partner data --- .../adcloud/adcloudremarketingprofile.example.1.json | 2 +- .../adcloud/adcloudremarketingprofile.schema.json | 10 +++++----- .../adobe/experience/adcloud/partnerdata.schema.json | 4 ++-- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/extensions/adobe/experience/adcloud/adcloudremarketingprofile.example.1.json b/extensions/adobe/experience/adcloud/adcloudremarketingprofile.example.1.json index 927175da5..be2e07668 100644 --- a/extensions/adobe/experience/adcloud/adcloudremarketingprofile.example.1.json +++ b/extensions/adobe/experience/adcloud/adcloudremarketingprofile.example.1.json @@ -93,7 +93,7 @@ "xdm:status": "realized" } ], - "xdm:syncedremarketingaudiences": [ + "xdm:syncedRemarketingAudiences": [ { "xdm:segmentId": "https://data.adobe.io/entities/segmentidentity/04a81716-43d6-4e7a-a49c-f1d8b3129ba9", diff --git a/extensions/adobe/experience/adcloud/adcloudremarketingprofile.schema.json b/extensions/adobe/experience/adcloud/adcloudremarketingprofile.schema.json index bfafd39e9..b645c6298 100644 --- a/extensions/adobe/experience/adcloud/adcloudremarketingprofile.schema.json +++ b/extensions/adobe/experience/adcloud/adcloudremarketingprofile.schema.json @@ -6,19 +6,19 @@ "of the License at https://creativecommons.org/licenses/by/4.0/" ], "$schema": "http://json-schema.org/draft-06/schema#", - "$id": "https://ns.adobe.com/experience/adcloud/adcloudsearchprofile", + "$id": "https://ns.adobe.com/experience/adcloud/adcloudremarketingprofile", "title": "Adobe AdCloud Search Profile Extension", "type": "object", "meta:extends": ["https://ns.adobe.com/xdm/context/profile"], "description": "Adobe AdCloud Search extension to Profile", "definitions": { - "adcloudsearchprofile": { + "adcloudremarketingprofile": { "properties": { - "syncedSegments": { + "xdm:syncedRemarketingAudiences": { "title": "Synchronized segments", "type": "array", "items": { - "$ref": "https://ns.adobe.com/experience/adcloud/syncedsegment" + "$ref": "https://ns.adobe.com/experience/adcloud/syncedremarketingaudience" }, "description": "List of Search retargeting entities" } @@ -30,7 +30,7 @@ "$ref": "https://ns.adobe.com/xdm/context/profile#/definitions/profile" }, { - "$ref": "#/definitions/adcloudsearchprofile" + "$ref": "#/definitions/adcloudremarketingprofile" } ], "meta:status": "experimental" diff --git a/extensions/adobe/experience/adcloud/partnerdata.schema.json b/extensions/adobe/experience/adcloud/partnerdata.schema.json index 1b6610009..e37016313 100644 --- a/extensions/adobe/experience/adcloud/partnerdata.schema.json +++ b/extensions/adobe/experience/adcloud/partnerdata.schema.json @@ -7,10 +7,10 @@ ], "$id": "https://ns.adobe.com/experience/adcloud/partnerdata", "$schema": "http://json-schema.org/draft-06/schema#", - "title": "Synchronized Remarketing Audiences", + "title": "Adcloud partner data", "type": "object", "description": - "Details about AdCloud Search segments used for retargeting surfers on a Search/Marketing platform.", + "Details about AdCloud partners.", "definitions": { "partnerdata": { "properties": { From b29bee2aaf383f1d97b9cf7902123963e71681ed Mon Sep 17 00:00:00 2001 From: Kevin Streeter Date: Mon, 24 Sep 2018 13:36:18 -0700 Subject: [PATCH 4/9] Update syncedremarketingaudiences.schema.json Updated field "xdm:id" to "xdm:segmentID" to match the example and make it consistent with the same field in the segment schema --- .../experience/adcloud/syncedremarketingaudiences.schema.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/adobe/experience/adcloud/syncedremarketingaudiences.schema.json b/extensions/adobe/experience/adcloud/syncedremarketingaudiences.schema.json index f0ddc4d1f..4c424da12 100644 --- a/extensions/adobe/experience/adcloud/syncedremarketingaudiences.schema.json +++ b/extensions/adobe/experience/adcloud/syncedremarketingaudiences.schema.json @@ -14,7 +14,7 @@ "definitions": { "syncedremarketingaudience": { "properties": { - "xdm:id": { + "xdm:segmentID": { "title": "Segment ID", "type": "string", "description": From 31a9acd5be84492de9ed4fa4b55dace1f9a170dc Mon Sep 17 00:00:00 2001 From: Kevin Streeter Date: Mon, 24 Sep 2018 13:37:44 -0700 Subject: [PATCH 5/9] Update adcloudremarketingprofile.example.1.json Updated field "xdm:id" to "xdm:segmentID" to match the example and make it consistent with the same field in the segment schema --- .../adcloud/adcloudremarketingprofile.example.1.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/extensions/adobe/experience/adcloud/adcloudremarketingprofile.example.1.json b/extensions/adobe/experience/adcloud/adcloudremarketingprofile.example.1.json index be2e07668..6b83cc411 100644 --- a/extensions/adobe/experience/adcloud/adcloudremarketingprofile.example.1.json +++ b/extensions/adobe/experience/adcloud/adcloudremarketingprofile.example.1.json @@ -95,7 +95,7 @@ ], "xdm:syncedRemarketingAudiences": [ { - "xdm:segmentId": + "xdm:segmentID": "https://data.adobe.io/entities/segmentidentity/04a81716-43d6-4e7a-a49c-f1d8b3129ba9", "xdm:segmentType": 3, "xdm:timestamp": "2018-08-07T08:06:34.672Z", @@ -112,7 +112,7 @@ ] }, { - "xdm:segmentId": + "xdm:segmentID": "https://data.adobe.io/entities/segmentidentity/53cba6b2-a23b-454a-8069-fc41308f1c0f", "xdm:segmentType": 3, "xdm:timestamp": "2018-08-07T08:06:34.672Z", From d9aa109fd4530f4a4cc695d6859fec03345ba8fc Mon Sep 17 00:00:00 2001 From: Kevin Streeter Date: Mon, 24 Sep 2018 13:40:28 -0700 Subject: [PATCH 6/9] Update partnerdata.schema.json make linter happy --- extensions/adobe/experience/adcloud/partnerdata.schema.json | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/extensions/adobe/experience/adcloud/partnerdata.schema.json b/extensions/adobe/experience/adcloud/partnerdata.schema.json index e37016313..6cc6df4cb 100644 --- a/extensions/adobe/experience/adcloud/partnerdata.schema.json +++ b/extensions/adobe/experience/adcloud/partnerdata.schema.json @@ -9,8 +9,7 @@ "$schema": "http://json-schema.org/draft-06/schema#", "title": "Adcloud partner data", "type": "object", - "description": - "Details about AdCloud partners.", + "description": "Details about AdCloud partners.", "definitions": { "partnerdata": { "properties": { From 9431db0f06d671f32fa01a94d399dfefdd93bc3e Mon Sep 17 00:00:00 2001 From: Kevin Streeter Date: Mon, 24 Sep 2018 13:42:34 -0700 Subject: [PATCH 7/9] Update adcloudremarketingprofile.schema.json make linter happy --- .../experience/adcloud/adcloudremarketingprofile.schema.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/extensions/adobe/experience/adcloud/adcloudremarketingprofile.schema.json b/extensions/adobe/experience/adcloud/adcloudremarketingprofile.schema.json index b645c6298..093602581 100644 --- a/extensions/adobe/experience/adcloud/adcloudremarketingprofile.schema.json +++ b/extensions/adobe/experience/adcloud/adcloudremarketingprofile.schema.json @@ -18,7 +18,8 @@ "title": "Synchronized segments", "type": "array", "items": { - "$ref": "https://ns.adobe.com/experience/adcloud/syncedremarketingaudience" + "$ref": + "https://ns.adobe.com/experience/adcloud/syncedremarketingaudience" }, "description": "List of Search retargeting entities" } From 0d517127df053b43f53a1a708d836bc001edf746 Mon Sep 17 00:00:00 2001 From: Kevin Streeter Date: Mon, 24 Sep 2018 13:44:14 -0700 Subject: [PATCH 8/9] Update adcloudremarketingprofile.schema.json --- .../experience/adcloud/adcloudremarketingprofile.schema.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/adobe/experience/adcloud/adcloudremarketingprofile.schema.json b/extensions/adobe/experience/adcloud/adcloudremarketingprofile.schema.json index 093602581..8a764bbd2 100644 --- a/extensions/adobe/experience/adcloud/adcloudremarketingprofile.schema.json +++ b/extensions/adobe/experience/adcloud/adcloudremarketingprofile.schema.json @@ -18,7 +18,7 @@ "title": "Synchronized segments", "type": "array", "items": { - "$ref": + "$ref": "https://ns.adobe.com/experience/adcloud/syncedremarketingaudience" }, "description": "List of Search retargeting entities" From 1bea625b1181d6aca57b40411eb60effa08405b2 Mon Sep 17 00:00:00 2001 From: Abhinna Date: Wed, 26 Sep 2018 11:05:06 +0530 Subject: [PATCH 9/9] Issue-476 XDM schema definition for AdCloud Search surfer profiles, implement review comments-3, Make partner id as string --- .../adcloud/adcloudremarketingprofile.example.1.json | 8 ++++---- .../adcloud/adcloudremarketingprofile.schema.json | 3 ++- .../adobe/experience/adcloud/partnerdata.example.1.json | 2 +- .../adobe/experience/adcloud/partnerdata.schema.json | 2 +- .../adcloud/syncedremarketingaudiences.example.1.json | 4 ++-- 5 files changed, 10 insertions(+), 9 deletions(-) diff --git a/extensions/adobe/experience/adcloud/adcloudremarketingprofile.example.1.json b/extensions/adobe/experience/adcloud/adcloudremarketingprofile.example.1.json index 6b83cc411..80a8aca42 100644 --- a/extensions/adobe/experience/adcloud/adcloudremarketingprofile.example.1.json +++ b/extensions/adobe/experience/adcloud/adcloudremarketingprofile.example.1.json @@ -101,12 +101,12 @@ "xdm:timestamp": "2018-08-07T08:06:34.672Z", "xdm:partnerDetails": [ { - "xdm:id": 2, + "xdm:id": "2", "xdm:data": "sample-conversion-id-123" }, { - "xdm:id": 1, + "xdm:id": "1", "xdm:data": "sample-conversion-id-124" } ] @@ -118,12 +118,12 @@ "xdm:timestamp": "2018-08-07T08:06:34.672Z", "xdm:partnerDetails": [ { - "xdm:id": 2, + "xdm:id": "2", "xdm:data": "sample-conversion-id-125" }, { - "xdm:id": 1, + "xdm:id": "1", "xdm:data": "sample-conversion-id-126" } ] diff --git a/extensions/adobe/experience/adcloud/adcloudremarketingprofile.schema.json b/extensions/adobe/experience/adcloud/adcloudremarketingprofile.schema.json index 8a764bbd2..f91684e4b 100644 --- a/extensions/adobe/experience/adcloud/adcloudremarketingprofile.schema.json +++ b/extensions/adobe/experience/adcloud/adcloudremarketingprofile.schema.json @@ -21,7 +21,8 @@ "$ref": "https://ns.adobe.com/experience/adcloud/syncedremarketingaudience" }, - "description": "List of Search retargeting entities" + "description": + "List of Search retargeting entities that have been synced with the adCloud partner to build audiences on the platform, e.g. RLSA for Google, WCA for Facebook" } } } diff --git a/extensions/adobe/experience/adcloud/partnerdata.example.1.json b/extensions/adobe/experience/adcloud/partnerdata.example.1.json index 48d75ce12..bd03c6400 100644 --- a/extensions/adobe/experience/adcloud/partnerdata.example.1.json +++ b/extensions/adobe/experience/adcloud/partnerdata.example.1.json @@ -1,4 +1,4 @@ { - "xdm:id": 2, + "xdm:id": "2", "xdm:data": "sample-conversion-id-123" } diff --git a/extensions/adobe/experience/adcloud/partnerdata.schema.json b/extensions/adobe/experience/adcloud/partnerdata.schema.json index 6cc6df4cb..a0e4ef567 100644 --- a/extensions/adobe/experience/adcloud/partnerdata.schema.json +++ b/extensions/adobe/experience/adcloud/partnerdata.schema.json @@ -15,7 +15,7 @@ "properties": { "xdm:id": { "title": "Search/Marketing partner ID", - "type": "int", + "type": "string", "description": "Internal mapping of search/marketing platforms/partners to IDs for Adcloud Search." }, diff --git a/extensions/adobe/experience/adcloud/syncedremarketingaudiences.example.1.json b/extensions/adobe/experience/adcloud/syncedremarketingaudiences.example.1.json index a802ac937..ecdacf6fc 100644 --- a/extensions/adobe/experience/adcloud/syncedremarketingaudiences.example.1.json +++ b/extensions/adobe/experience/adcloud/syncedremarketingaudiences.example.1.json @@ -4,12 +4,12 @@ "xdm:timestamp": "2018-08-07T08:06:34.672Z", "xdm:partnerDetails": [ { - "xdm:id": 2, + "xdm:id": "2", "xdm:data": "sample-conversion-id-123" }, { - "xdm:id": 1, + "xdm:id": "1", "xdm:data": "sample-conversion-id-124" } ]