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.2.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.2-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.2.tar.gz.

File metadata

File hashes

Hashes for td_ml_map_segment_profiles-0.0.2.tar.gz
Algorithm Hash digest
SHA256 7f54d25b716f42c0092fbc7d49376a4153f276fa3325341ea42ce6a9335f7257
MD5 be669ecd7dba42f0a5740d9428506191
BLAKE2b-256 8f0c385de241a993527bbfb6b88998393770eda37afa4f6f59f5b9ac37da43ae

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for td_ml_map_segment_profiles-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 355d3335c438237ffe50497436a3dde227eb8568d94bd1cbea62b5e501e1b351
MD5 5a49bb701a70378e215077f4c45117eb
BLAKE2b-256 3b738258f6266a733403e2c049a7f13d549d11894c0c96d05c5e6ee5d012a091

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