Skip to main content

JOIN-Ad Brand Product Reps

Type: Clients

Brand Product Override Reps

JOIN-Ad Brand Product Reps Downloads

Brand Product Override Reps

Bundle (TGZ): JOIN-Ad Brand Product Reps
Definition JSON: join-ad-brand-product-reps.json

Summary​

Loads all the override brand reps defined for Products into a dataset so that it can be joined to other datasets.

For more information on how Brand Reps work and how to use these datasets see -> Brand Rep Assignment Docs

Notes​

This should be set up to reload via a Job every day.

Description​

Only returns the last active Product Reps on a Brand. Each Brand Product Key can have up to four default reps. We return a set of fields that return information about the array of reps that are currently active. Default Rep Ids Default Rep Names Default Rep Pct Default Rep Group We also split the fields so each rep gets its own column. Default Rep Id 1 Default Rep Name 1 Default Rep Pct 1 Default Rep Group 1 etc.

Fields​

LabelAliasTypeHiddenDescription
Brand Product Keyidkeyword_textKey composed of
ClientIdBrandIdProductID
This is the field that you will join to other queries to get product brand reps
Brand KeybrandIdkeyword_textKey composed of
ClientID*Brand ID
Brand Product Assign In OebrandProductAssignInOEkeyword_text"Y" if Assign In O.E. is set "N" if not.
Brand Product DatebrandProductDatedateThe date that this group of reps became active
Brand Product Rep IdsbrandProductRepIdskeyword_textAn array of rep ids that are currently active
Brand Product Rep PctsbrandProductRepPctsdoubleAn array of rep pcts that are currently active
Brand Product Rep GroupsbrandProductRepGroupskeyword_textAn array of rep group ids that are currently active
Brand Product Rep NamesbrandProductRepNameskeyword_textAn array of rep names that are currently active
Brand Product Rep Id 1brandProductRepId 1keyword_textCurrent active Rep 1 id
Brand Product Rep Pct 1brandProductRepPct 1doubleCurrent active Rep 1 pct
Brand Product Rep Group 1brandProductRepGroup 1keyword_textCurrent active Rep 1 group id
Brand Product Rep Name 1brandProductRepName 1keyword_textCurrent active Rep 1 name
Brand Product Rep Id 2brandProductRepId 2keyword_text
Brand Product Rep Pct 2brandProductRepPct 2double
Brand Product Rep Group 2brandProductRepGroup 2keyword_text
Brand Product Rep Name 2brandProductRepName 2keyword_text
Brand Product Rep Id 3brandProductRepId 3keyword_text
Brand Product Rep Pct 3brandProductRepPct 3double
Brand Product Rep Group 3brandProductRepGroup 3keyword_text
Brand Product Rep Name 3brandProductRepName 3keyword_text
Brand Product Rep Id 4brandProductRepId 4keyword_text
Brand Product Rep Pct 4brandProductRepPct 4double
Brand Product Rep Group 4brandProductRepGroup 4keyword_text
Brand Product Rep Name 4brandProductRepName 4keyword_text
Brand Product Inactive IndbrandProductInactiveIndkeyword_text"Y" = Inactive