| 1 | package GDPR::IAB::TCFv2::Constants::Purpose 0.530; | ||
| 2 | 3 | ▶ | use v5.12; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 3 | 3 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | |||
| 5 | 3 | require Exporter; | |
| 6 | 3 | ▶ | use parent qw<Exporter>; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 7 | |||
| 8 | 3 | ▶ | use constant { |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 9 | |||
| 10 | # Short, established names -- supported indefinitely. Used by examples | ||
| 11 | # and tests across the distribution. | ||
| 12 | 3 | InfoStorageAccess => 1, | |
| 13 | BasicAdserving => 2, | ||
| 14 | PersonalizationProfile => 3, | ||
| 15 | PersonalizationSelection => 4, | ||
| 16 | ContentProfile => 5, | ||
| 17 | ContentSelection => 6, | ||
| 18 | AdPerformance => 7, | ||
| 19 | ContentPerformance => 8, | ||
| 20 | MarketResearch => 9, | ||
| 21 | DevelopImprove => 10, | ||
| 22 | SelectContent => 11, | ||
| 23 | |||
| 24 | # TCF v2.3 spec-aligned long-form aliases (Phase 3). Each name tracks | ||
| 25 | # the canonical wording from the IAB Global Vendor List JSON for the | ||
| 26 | # corresponding purpose.id. Both names resolve to the same integer and | ||
| 27 | # are interchangeable everywhere a Purpose constant is accepted. | ||
| 28 | StoreAndOrAccessInformationOnDevice => 1, | ||
| 29 | UseLimitedDataToSelectAdvertising => 2, | ||
| 30 | CreateProfilesForPersonalisedAdvertising => 3, | ||
| 31 | UseProfilesToSelectPersonalisedAdvertising => 4, | ||
| 32 | CreateProfilesToPersonaliseContent => 5, | ||
| 33 | UseProfilesToSelectPersonalisedContent => 6, | ||
| 34 | MeasureAdvertisingPerformance => 7, | ||
| 35 | MeasureContentPerformance => 8, | ||
| 36 | UnderstandAudiences => 9, | ||
| 37 | DevelopAndImproveServices => 10, | ||
| 38 | UseLimitedDataToSelectContent => 11, | ||
| 39 | 3 | }; | |
| 40 | |||
| 41 | 3 | ▶ | use constant PurposeDescription => { |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 42 | InfoStorageAccess => "Store and/or access information on a device", | ||
| 43 | BasicAdserving => "Use limited data to select advertising", | ||
| 44 | PersonalizationProfile => "Create profiles for personalised advertising", | ||
| 45 | PersonalizationSelection => "Use profiles to select personalised advertising", | ||
| 46 | ContentProfile => "Create profiles to personalise content", | ||
| 47 | ContentSelection => "Use profiles to select personalised content", | ||
| 48 | AdPerformance => "Measure advertising performance", | ||
| 49 | ContentPerformance => "Measure content performance", | ||
| 50 | MarketResearch => "Understand audiences through statistics or combinations of data from different sources", | ||
| 51 | DevelopImprove => "Develop and improve services", | ||
| 52 | SelectContent => "Use limited data to select content", | ||
| 53 | 3 | }; | |
| 54 | |||
| 55 | 3 | our @EXPORT_OK = qw< | |
| 56 | InfoStorageAccess | ||
| 57 | BasicAdserving | ||
| 58 | PersonalizationProfile | ||
| 59 | PersonalizationSelection | ||
| 60 | ContentProfile | ||
| 61 | ContentSelection | ||
| 62 | AdPerformance | ||
| 63 | ContentPerformance | ||
| 64 | MarketResearch | ||
| 65 | DevelopImprove | ||
| 66 | SelectContent | ||
| 67 | StoreAndOrAccessInformationOnDevice | ||
| 68 | UseLimitedDataToSelectAdvertising | ||
| 69 | CreateProfilesForPersonalisedAdvertising | ||
| 70 | UseProfilesToSelectPersonalisedAdvertising | ||
| 71 | CreateProfilesToPersonaliseContent | ||
| 72 | UseProfilesToSelectPersonalisedContent | ||
| 73 | MeasureAdvertisingPerformance | ||
| 74 | MeasureContentPerformance | ||
| 75 | UnderstandAudiences | ||
| 76 | DevelopAndImproveServices | ||
| 77 | UseLimitedDataToSelectContent | ||
| 78 | PurposeDescription | ||
| 79 | >; | ||
| 80 | 3 | our %EXPORT_TAGS = (all => \@EXPORT_OK); | |
| 81 | |||
| 82 | 3 | 1; | |
| 83 | |||
| 84 | __END__ | ||