Wiki

Clone wiki

madvertise-gdpr-cmp-ios / cmp_configuration

MAdvertiseCMP - Configuration File

This documentation will go through all the steps required to prepare the configuration file.

The configuration files for the following languages are present in the Config Files of the demo: German, Italian, French and English.

Defining Strings

Main Page

Key Format Description
consentManagementVendorsButtonTitle String The consent settings vendor list button name
consentManagementStoredData String The personal data management button title
legitimateUses String Legitimate uses button title
consentManagementPublisherName String The PublisherName

Vendor Page

Key Format Description
vendorListHeaderTitle String The consent tool title
consentManagementAcceptAllButtonTitle String The consent settings and vendor list's accept all button name
consentManagementRejectAllButtonTitle String The consent settings and vendor list's reject all button name
consentToolPartnersIAB String The IAB Partners title
consentToolPartnersFakeIAB String The Non IAB Partners title

Vendor Detail Page

Key Format Description
vendorPurposeAccepted String The label indicating whether the purpose of the selected vendor is accepted
vendorPurposeDenied String The label indicating whether the purpose of the selected vendor is denied
vendorEmptyFields String The label indicating that the fields are empty
vendorDetailPurposes String The vendor detail screen purposes title
vendorDetailFeatures String The vendor detail screen features title
vendorDetailSPPurposes String The vendor detail screen special purposes title
vendorDetailSPFeatures String The vendor detail screen special features title
vendorListSorted Boolean Whether the vendor list will be sorted alphabetically
vendorListGoogleAdsShow String Advertising technology providers button title
vendorListGoogleAdsLabel String Advertising technology providers page title
vendorDetailPolicy String privacy policy button title

Management Page

Key Format Description
dataManagementTitle String The personal data management screen title
dataManagementSubtitle String The personal data management screen subtitle
dataManagementDataAccess String The personal data management data access title
dataManagementDataAccessDescription String The personal data management data access description
dataManagementRectifyData String The personal data management rectify data title
dataManagementRectifyDataDescriptionOne String The personal data management rectify data's first description
dataManagementRectifyDataDescriptionTwo String The personal data management rectify data's second description
dataManagementRectifyDataEmailHint String The personal data management's email hint
dataManagementRequestInformation String The personal data management request information title
dataManagementOptOut String The personal data management opt out title
dataManagementOptInDescription String The personal data management opt out description
dataManagementRequestDeletion String The personal data management request deletion button title
dataManagementRequestInformationMessage String The personal data management request information success message
dataManagementOptoutMessage String The personal data management opt out success message
dataManagementSubmissionError String The personal data management data sending error message
dataManagementNoSelectionError String The personal data management error when neither of the two switches is on

Information Dialog

Key Format Description
infoOkButtonTitle String The info popup positive button name
warningTitle String The error message title

Customize Appearance

Close Button settings :

You can adjust the size, padding and image of close button by modifying these configurations :

Key Format Description
closeSrcImage String Assets File Name
closeResizeWidht String Width of close button
closeResizeHeight String Height of close button
closeConstaintTop String Constarint top of close button
closeConstaintTrailing String Constraint bottom of close button

Note : Put icon raw file (Ex : “icon-close”) in Assets folder.

Color Palette

Key Format Description
consentToolColorPalette Object Object contains the fildes of colors
primaryBackground String Containers background
primaryText String Texts color
buttonsTextColor String Buttons text color
secondaryText String Buttons background color

Updated