Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

audience-specific sidebars #438

Merged
merged 7 commits into from
Feb 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions docs/guides/advertiser-dataprovider-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ sidebar_label: Advertiser/Data Provider Integration Guide
description: Covers integration steps for organizations that collect user data and push it to other UID2 participants.
hide_table_of_contents: false
sidebar_position: 07
displayed_sidebar: sidebarAdvertisers
---

# Advertiser/Data Provider Integration Guide
Expand Down
1 change: 1 addition & 0 deletions docs/intro.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ title: UID2 Overview
description: Introduction to UID2 documentation.
hide_table_of_contents: false
sidebar_position: 01
displayed_sidebar: docs
---

# Unified ID 2.0 Overview
Expand Down
5 changes: 5 additions & 0 deletions docs/overviews/overview-advertisers.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,17 @@ sidebar_position: 04
use_banner: true
banner_title: UID2 Overview for Advertisers
banner_description: Upgrade campaign activation with Unified ID 2.0.
displayed_sidebar: sidebarAdvertisers
---

As an advertiser, you can upgrade your first-party data tactics with Unified ID 2.0 (UID2) to deliver omnichannel campaigns across devices with one identifier, for more durable identity strategies and better addressability.

Learn about benefits, workflow, documentation, and other resources for advertisers adopting UID2, as well as instructions for getting started.

:::note
If you want access in the left sidebar to the full set of UID2 documentation, see [Unified ID 2.0 Overview](../intro.md).
:::

## Benefits of UID2 for Advertisers

Here are just some of the intended benefits of using UID2 as part of your advertising strategy:
Expand Down
5 changes: 5 additions & 0 deletions docs/overviews/overview-data-providers.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ sidebar_position: 08
use_banner: true
banner_title: UID2 Overview for Data Providers
banner_description: An identity solution for the future.
displayed_sidebar: sidebarDataProviders
---

As a data and measurement provider, you can reduce identity fragmentation by adopting Unified ID 2.0 (UID2) to connect data with a more durable, omnichannel, and cross-device identifier to fulfil your customer use cases.
Expand All @@ -18,6 +19,10 @@ This solution is for you if you're offering data or related services for online

Learn about the benefits, workflow, documentation, and other resources for data providers adopting UID2, as well as instructions for getting started.

:::note
If you want access in the left sidebar to the full set of UID2 documentation, see [Unified ID 2.0 Overview](../intro.md).
:::

## Benefits of UID2 for Data Providers

Here are just some of the intended benefits available to you as a data provider using UID2. You can:
Expand Down
5 changes: 5 additions & 0 deletions docs/overviews/overview-dsps.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ sidebar_position: 06
use_banner: true
banner_title: UID2 Overview for DSPs
banner_description: Enable data strategies with a more durable identifier.
displayed_sidebar: sidebarDSPs
---

As a demand-side platform (DSP, media-buying platform), you can facilitate identity strategies that leverage Unified ID 2.0 (UID2) to facilitate the following:
Expand All @@ -15,6 +16,10 @@ As a demand-side platform (DSP, media-buying platform), you can facilitate ident

Learn about benefits, workflow, documentation, and other resources for DSPs adopting UID2, as well as instructions for getting started.

:::note
If you want access in the left sidebar to the full set of UID2 documentation, see [Unified ID 2.0 Overview](../intro.md).
:::

## Benefits of UID2 for DSPs

Here are just some of the intended benefits for DSPs using UID2. You can:
Expand Down
5 changes: 5 additions & 0 deletions docs/overviews/overview-publishers.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,17 @@ sidebar_position: 02
use_banner: true
banner_title: UID2 Overview for Publishers
banner_description: Maintain audience targeting in the ever-changing advertising industry for better impression monetization and more relevance.
displayed_sidebar: sidebarPublishers
---

As a publisher, you can benefit from the cross-device presence of Unified ID 2.0 (UID2) and take advantage of a consistent identity fabric on all your inventory.

Learn about benefits, workflow, documentation, and other resources for publishers adopting UID2, as well as instructions for getting started.

:::note
If you want access in the left sidebar to the full set of UID2 documentation, see [Unified ID 2.0 Overview](../intro.md).
:::

<!-- Learn about what the UID2 framework offers to publishers, including benefits, workflow, documentation and other resources, and how to get started. -->

## Benefits of UID2 for Publishers
Expand Down
215 changes: 190 additions & 25 deletions sidebars.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,22 @@
const sidebars = {
docs: [
function removeItems(sidebar, ...remove) {
const result = [];
for (let item of sidebar) {
if (typeof item === 'string')
{
if (!remove.includes(item)) result.push(item);
}
else {
if (!remove.includes(item.label)) {
const {items, ...rest} = item;
const keepItems = removeItems(items, ...remove);
if (keepItems?.length > 0) result.push({...rest, items: keepItems});
}
}
}
return result;
}

const fullSidebar = [
{
type: 'category',
label: 'UID2 Overview',
Expand Down Expand Up @@ -55,31 +71,14 @@ const sidebars = {
],
},

{
type: 'category',
label: 'SDKs',
link: {
type: 'doc',
id: 'sdks/summary-sdks',
},
items: [
'sdks/client-side-identity',
'sdks/uid2-sdk-ref-java',
'sdks/uid2-sdk-ref-python',
'sdks/uid2-sdk-ref-csharp-dotnet',
'sdks/uid2-sdk-ref-cplusplus',
'sdks/uid2-sdk-ref-android',
'sdks/uid2-sdk-ref-ios',
],
},

{
type: 'category',
label: 'Integration Guides',
link: {
type: 'doc',
id: 'guides/summary-guides',
},
collapsed: false,

items: [

Expand All @@ -89,7 +88,7 @@ const sidebars = {
link: {
type: 'generated-index',
},
collapsed: true,
collapsed: false,

items: [
{
Expand Down Expand Up @@ -119,8 +118,7 @@ const sidebars = {
type: 'category',
label: 'JavaScript',
link: {
type: 'doc',
id: 'guides/integration-javascript',
type: 'generated-index',
},
collapsed: true,
items: [
Expand Down Expand Up @@ -205,7 +203,26 @@ const sidebars = {
'guides/operator-guide-azure-enclave',
],
},
],
],
},

{
type: 'category',
label: 'SDKs',
link: {
type: 'doc',
id: 'sdks/summary-sdks',
},
collapsed: true,
items: [
'sdks/client-side-identity',
'sdks/uid2-sdk-ref-java',
'sdks/uid2-sdk-ref-python',
'sdks/uid2-sdk-ref-csharp-dotnet',
'sdks/uid2-sdk-ref-cplusplus',
'sdks/uid2-sdk-ref-android',
'sdks/uid2-sdk-ref-ios',
],
},

{
Expand All @@ -215,6 +232,7 @@ const sidebars = {
type: 'doc',
id: 'endpoints/summary-endpoints',
},
collapsed: true,
items: [
'endpoints/post-token-generate',
'endpoints/post-token-validate',
Expand All @@ -231,6 +249,7 @@ const sidebars = {
type: 'doc',
id: 'sharing/sharing-overview',
},
collapsed: true,
items: [
'sharing/sharing-use-cases',
'sharing/sharing-implementing',
Expand All @@ -254,6 +273,152 @@ const sidebars = {

'ref-info/glossary-uid',
'ref-info/updates-doc',
],
];


const sidebars = {
docs: fullSidebar,

sidebarPublishers: removeItems(fullSidebar,
'overviews/overview-advertisers',
'overviews/overview-dsps',
'overviews/overview-data-providers',
'overviews/overview-operators-private',
'guides/advertiser-dataprovider-guide',
'guides/snowflake_integration',
'guides/integration-aws-entity-resolution',
'guides/dsp-guide',
'endpoints/post-identity-buckets',
'endpoints/post-identity-map'
),

sidebarAdvertisers: removeItems(fullSidebar,
'overviews/overview-publishers',
'overviews/overview-dsps',
'overviews/overview-data-providers',
'overviews/overview-operators-private',
'Publisher Integrations',
'Web',
'guides/integration-options-publisher-web',
'Prebid',
'guides/integration-prebid',
'guides/integration-prebid-client-side',
'guides/integration-prebid-server-side',
'JavaScript',
'guides/integration-javascript',
'guides/publisher-client-side',
'guides/integration-javascript-server-side',
'Server-Only',
'guides/custom-publisher-integration',
'GAM Secure Signals',
'guides/google-ss-integration',
'Mobile',
'guides/uid2-sdk-ref-android',
'guides/uid2-sdk-ref-ios',
'Prebid',
'guides/integration-prebid',
'guides/integration-prebid-client-side',
'guides/integration-prebid-server-side',
'Google Ad Manager',
'guides/google-ss-integration',
'guides/mobile-plugin-gma-android',
'guides/mobile-plugin-gma-ios',
'guides/mobile-plugin-ima-android',
'guides/mobile-plugin-ima-ios',
'guides/dsp-guide',
'sdks/client-side-identity',
'sdks/uid2-sdk-ref-android',
'sdks/uid2-sdk-ref-ios',
'endpoints/post-token-generate',
'endpoints/post-token-validate',
'endpoints/post-token-refresh',
'sharing/sharing-bid-stream'
),

sidebarDSPs: removeItems(fullSidebar,
'overviews/overview-publishers',
'overviews/overview-advertisers',
'overviews/overview-data-providers',
'overviews/overview-operators-private',
'Publisher Integrations',
'Web',
'guides/integration-options-publisher-web',
'Prebid',
'guides/integration-prebid',
'guides/integration-prebid-client-side',
'guides/integration-prebid-server-side',
'JavaScript',
'guides/integration-javascript',
'guides/publisher-client-side',
'guides/integration-javascript-server-side',
'Server-Only',
'guides/custom-publisher-integration',
'GAM Secure Signals',
'guides/google-ss-integration',
'Mobile',
'guides/uid2-sdk-ref-android',
'guides/uid2-sdk-ref-ios',
'Prebid',
'guides/integration-prebid',
'guides/integration-prebid-client-side',
'guides/integration-prebid-server-side',
'Google Ad Manager',
'guides/google-ss-integration',
'guides/mobile-plugin-gma-android',
'guides/mobile-plugin-gma-ios',
'guides/mobile-plugin-ima-android',
'guides/mobile-plugin-ima-ios',
'guides/advertiser-dataprovider-guide',
'guides/snowflake_integration',
'guides/integration-aws-entity-resolution',
'sdks/client-side-identity',
'sdks/uid2-sdk-ref-android',
'sdks/uid2-sdk-ref-ios',
'sharing/sharing-bid-stream'
),

sidebarDataProviders: removeItems(fullSidebar,
'overviews/overview-publishers',
'overviews/overview-advertisers',
'overviews/overview-dsps',
'overviews/overview-operators-private',
'Publisher Integrations',
'Web',
'guides/integration-options-publisher-web',
'Prebid',
'guides/integration-prebid',
'guides/integration-prebid-client-side',
'guides/integration-prebid-server-side',
'JavaScript',
'guides/integration-javascript',
'guides/publisher-client-side',
'guides/integration-javascript-server-side',
'Server-Only',
'guides/custom-publisher-integration',
'GAM Secure Signals',
'guides/google-ss-integration',
'Mobile',
'guides/uid2-sdk-ref-android',
'guides/uid2-sdk-ref-ios',
'Prebid',
'guides/integration-prebid',
'guides/integration-prebid-client-side',
'guides/integration-prebid-server-side',
'Google Ad Manager',
'guides/google-ss-integration',
'guides/mobile-plugin-gma-android',
'guides/mobile-plugin-gma-ios',
'guides/mobile-plugin-ima-android',
'guides/mobile-plugin-ima-ios',
'guides/dsp-guide',
'sdks/client-side-identity',
'sdks/uid2-sdk-ref-android',
'sdks/uid2-sdk-ref-ios',
'endpoints/post-token-generate',
'endpoints/post-token-validate',
'endpoints/post-token-refresh',
'sharing/sharing-bid-stream'
),

};
module.exports = sidebars;
Loading