Skip to content

Commit 324764f

Browse files
authored
update amxIdSystem (#9508)
1 parent 58d79e5 commit 324764f

File tree

9 files changed

+12
-20
lines changed

9 files changed

+12
-20
lines changed

modules/amxIdSystem.md

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# AMX RTB ID
1+
# AMX ID
22

3-
For help adding this module, please contact [[email protected]]([email protected]).
3+
For help adding this module, please contact [[email protected]]([email protected]).
44

55
### Prebid Configuration
66

@@ -41,11 +41,3 @@ The following settings are available for the `storage` property in the `userSync
4141
| name | Required | String | Where the ID will be stored | `"amxId"` |
4242
| type | Required | String | This must be `"html5"` | `"html5"` |
4343
| expires | Required | Number <= 30 | number of days until the stored ID expires. **Must be less than or equal to 30** | `14` |
44-
45-
### Params
46-
47-
The following options are available in the `params` property in `userSync.userIds[]`:
48-
49-
| Param under `params` | Scope | Type | Description | Example |
50-
| -------------------- | -------- | ------ | ------------------------------------------------------------------------- | ---------------- |
51-
| tagId | Optional | String | Your AMX tagId (optional) | `cHJlYmlkLm9yZw` |

modules/aolBidAdapter.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ const SUPPORTED_USER_ID_SOURCES = [
3535
'adserver.org',
3636
'adtelligent.com',
3737
'akamai.com',
38-
'amxrtb.com',
38+
'amxdt.net',
3939
'audigent.com',
4040
'britepool.com',
4141
'criteo.com',

modules/userId/eids.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ export const USER_IDS_CONFIG = {
282282
},
283283

284284
amxId: {
285-
source: 'amxrtb.com',
285+
source: 'amxdt.net',
286286
atype: 1,
287287
},
288288

modules/yahoosspBidAdapter.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ const SUPPORTED_USER_ID_SOURCES = [
2424
'adserver.org',
2525
'adtelligent.com',
2626
'akamai.com',
27-
'amxrtb.com',
27+
'amxdt.net',
2828
'audigent.com',
2929
'britepool.com',
3030
'criteo.com',

test/spec/modules/aolBidAdapter_spec.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ describe('AolAdapter', function () {
8484
'admixer.net': '100',
8585
'adserver.org': '200',
8686
'adtelligent.com': '300',
87-
'amxrtb.com': '500',
87+
'amxdt.net': '500',
8888
'audigent.com': '600',
8989
'britepool.com': '700',
9090
'criteo.com': '800',
@@ -110,7 +110,7 @@ describe('AolAdapter', function () {
110110
const USER_ID_DATA = {
111111
admixerId: SUPPORTED_USER_ID_SOURCES['admixer.net'],
112112
adtelligentId: SUPPORTED_USER_ID_SOURCES['adtelligent.com'],
113-
amxId: SUPPORTED_USER_ID_SOURCES['amxrtb.com'],
113+
amxId: SUPPORTED_USER_ID_SOURCES['amxdt.net'],
114114
britepoolid: SUPPORTED_USER_ID_SOURCES['britepool.com'],
115115
criteoId: SUPPORTED_USER_ID_SOURCES['criteo.com'],
116116
connectid: SUPPORTED_USER_ID_SOURCES['verizonmedia.com'],

test/spec/modules/eids_spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,7 @@ describe('eids array generation for known sub-modules', function() {
392392

393393
const [eid] = createEidsArray(userId);
394394
expect(eid).to.deep.equal({
395-
source: 'amxrtb.com',
395+
source: 'amxdt.net',
396396
uids: [{
397397
atype: 1,
398398
id,

test/spec/modules/tripleliftBidAdapter_spec.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -725,11 +725,11 @@ describe('triplelift adapter', function () {
725725

726726
it('should add amxRtbId to the payload if included', function () {
727727
const id = 'Ok9JQkBM-UFlAXEZQ-UUNBQlZOQzgrUFhW-UUNBQkRQTUBPQVpVWVxNXlZUUF9AUFhAUF9PXFY/';
728-
bidRequests[0].userIdAsEids = [{ source: 'amxrtb.com', uids: [{ id }] }];
728+
bidRequests[0].userIdAsEids = [{ source: 'amxdt.net', uids: [{ id }] }];
729729
const request = tripleliftAdapterSpec.buildRequests(bidRequests, bidderRequest);
730730
const payload = request.data;
731731
expect(payload).to.exist;
732-
expect(payload.user).to.deep.equal({ext: {eids: [{source: 'amxrtb.com', uids: [{id, ext: {rtiPartner: 'amxrtb.com'}}]}]}});
732+
expect(payload.user).to.deep.equal({ext: {eids: [{source: 'amxdt.net', uids: [{id, ext: {rtiPartner: 'amxdt.net'}}]}]}});
733733
});
734734

735735
it('should add tdid, idl_env and criteoId to the payload if both are included', function () {

test/spec/modules/userId_spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1298,7 +1298,7 @@ describe('User ID', function () {
12981298
expect(bid).to.have.deep.nested.property('userId.amxId');
12991299
expect(bid.userId.amxId).to.equal('test_amxid_id');
13001300
expect(bid.userIdAsEids[0]).to.deep.equal({
1301-
source: 'amxrtb.com',
1301+
source: 'amxdt.net',
13021302
uids: [{
13031303
id: 'test_amxid_id',
13041304
atype: 1,

test/spec/modules/yahoosspBidAdapter_spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -872,7 +872,7 @@ describe('YahooSSP Bid Adapter:', () => {
872872
expect(data.user.ext.eids).to.deep.equal([
873873
{source: 'admixer.net', uids: [{id: 'admixerId_FROM_USER_ID_MODULE', atype: 3}]},
874874
{source: 'adtelligent.com', uids: [{id: 'adtelligentId_FROM_USER_ID_MODULE', atype: 3}]},
875-
{source: 'amxrtb.com', uids: [{id: 'amxId_FROM_USER_ID_MODULE', atype: 1}]},
875+
{source: 'amxdt.net', uids: [{id: 'amxId_FROM_USER_ID_MODULE', atype: 1}]},
876876
{source: 'britepool.com', uids: [{id: 'britepoolid_FROM_USER_ID_MODULE', atype: 3}]},
877877
{source: 'deepintent.com', uids: [{id: 'deepintentId_FROM_USER_ID_MODULE', atype: 3}]},
878878
{source: 'epsilon.com', uids: [{id: 'publinkId_FROM_USER_ID_MODULE', atype: 3}]},

0 commit comments

Comments
 (0)