Refer to the below doc to insert PCM and ASM related design data. (excludes targeting)
Script for Sample Product Data Setup
Refer to the below doc to insert the Targeting data.
- Setup Steps: [User] Rules Framework Universal Configuration Data
- Setup Steps: [User] Rules Framework Decision Table Configuration Data
-
Sample Pricing Procedure which has all the steps related to Media : MediaPricingProcedure_package.zip This can be deployed from Workbench.
-
Before deploying, unzip the package and open the procedure definition.
-
Make sure the Context definition mentioned in the procedure is present in the target org. If not, update the definition with the right context definition name.
-
Make sure the lookup tables are already present in the target org and update the definition to have the correct LookUpId properly set with the ID of the lookup tables in the target org.
-
In the selected Pricing Recipe, add the Lookup table under Price Adjustment Matrix section.
-
The above pricing procedure has a reference to lookup table Priority Based Adjustments. If you do not have this in your org, use this zip to deploy the Lookup table and activate. Priority_based_adj_DM.zip
This section describes the steps and prerequisites for setting up the sample data for Advertising Inventory Management.
Before setting up the data, make sure that key administrative records and picklist values are correctly configured in your org.
To set the dimensions, make sure that these records are created in your org:
- Products
- Media Channels
- Ad Space Specifications
- Locations
- Unit of Measure
If the records aren't available in the org, you’ll see this error: No records found for the provided IDs. Skipping AdSpace insertion.
The necessary junction object records must exist in the org and be correctly linked to the corresponding dimensional records. The setup script depends on these mappings to properly relate the new Ad Space records to the provided inputs. For example, the Ad Space Spec Product junction object links Product records with Ad Space Specification records.
Make sure that the required picklist values are present in the object fields:
| Object | Field | Required Values |
|---|---|---|
| Media Channel | Media Type |
|
| Ad Space Creative Size Type | Appearance Order |
|
| Location | Location Type |
|
| Unit Of Measure | Type |
|
| Ad Space | Ineligible Industry |
|
| Media Type |
|
|
| AdQuoteLine | Pricing Model |
|
| Ad Availability View Config | Configuration Type |
|
| Ad Space Capacity | Capacity Duration Type |
|
| Ad Space Capacity Allocation | Allocation Status |
|
The procedure uses two Apex class definitions to set up the data.
Create two Apex class definitions to configure sample data in your org. Copy the contents of the InventoryManagementSetup and the AdSpaceCapacityBatch files to those Apex class definitions.
Now follow these steps: Steps for executing Inventory Management Scripts