Skip to main content

Extract Parent Segment Stats

Project description

td-ml-map-segment-profiles

Introduction

This Python Library allows you to extract the query syntax for each Segment built in Audience Studio and write syntax to a table in TD with Folder/Segment names and canonical_ids that belong to each Audience. This mapping table can then be joined to attribute/behavior tables, so you can calcualte KPIs across different Audiences and track performance and auience changes over time.

Input Params

config.yml: The workflow YAML file contains the params that are required by this library to extract the neded information. See below:

  • apikey = TD APIKEY
  • tdserver = TD ENDPOINT
  • sink_database = Database where outout tables will be written
  • output_table = name of output table
  • unique_id = distinct user_id in gldn database (ex. canoncial_id)
  • secondary_id_list = any secondary IDs needed for joins in Parent Segment if one main identifier is not used across all tables in PS

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

td_ml_map_segment_profiles-0.0.3.tar.gz (3.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

td_ml_map_segment_profiles-0.0.3-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

Details for the file td_ml_map_segment_profiles-0.0.3.tar.gz.

File metadata

File hashes

Hashes for td_ml_map_segment_profiles-0.0.3.tar.gz
Algorithm Hash digest
SHA256 36239271508711851671bdf1b94f05c21747ee35c88f64098e4306cb5861bf04
MD5 6046a6930355f1adfe99f94abc43ebd3
BLAKE2b-256 75604574086a6f8fb7eb80d225a5c566e33555a33ece4a5ce165ab7edf31a434

See more details on using hashes here.

File details

Details for the file td_ml_map_segment_profiles-0.0.3-py3-none-any.whl.

File metadata

File hashes

Hashes for td_ml_map_segment_profiles-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 73011ce4a6e38ebb86126f5b9c8683aeddaaa88aa7ed5c714335d5d7a7b956ec
MD5 4bdfb4e9cdea1b20910e3476e7217bae
BLAKE2b-256 fe86656e62c13f59e4a53255eea6cd850392176bab29395c1a12f8620618490f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page