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.1.tar.gz (3.1 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.1-py3-none-any.whl (3.6 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for td_ml_map_segment_profiles-0.0.1.tar.gz
Algorithm Hash digest
SHA256 76dee385943cfa275527b0368831571f639d67ba961c982a65a14eead3fcfa7d
MD5 0206bd7f680ee6f61514387b576dbb19
BLAKE2b-256 19c76e144f0014dd2b700e60afc80dfdc0f0827a510a6df05102b877b040f052

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for td_ml_map_segment_profiles-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 97b5b9eb77fac2ad647c2e5debb0f9e27173f3619e46ecc27011c32977785433
MD5 b098cd842bf02f932dc55ef3890b8b72
BLAKE2b-256 a4c9eb59ebfc365e584cf8a3e5279e062afac9295c7097c746c72ed201522556

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