Stay organized with collections
Save and categorize content based on your preferences.
Enums
WEIGHT_STRATEGY_EQUAL
The creative weights should all be equal to 1. This is the default value for all ads with a rotation type of Random.
WEIGHT_STRATEGY_CUSTOM
The creative weights can be any user provided positive integer.
WEIGHT_STRATEGY_HIGHEST_CTR
The weights will be automatically calculated giving preference to the creative that has the highest CTR. The CTR for campaigns that are optimized for clicks = clicks/impressions. The CTR for campaigns that are optimized for view-through or click through is sum(activities + floodlight weight)/impressions.
WEIGHT_STRATEGY_OPTIMIZED
The creative weights will be automatically calculated using a formula that could not possibly be explained in these comments. The value will be within some predetermined range (probably 0 - 1,000,000).
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-02 UTC."],[],[],null,["| Enums ||\n|-------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `WEIGHT_STRATEGY_EQUAL` | The creative weights should all be equal to 1. This is the default value for all ads with a rotation type of Random. |\n| `WEIGHT_STRATEGY_CUSTOM` | The creative weights can be any user provided positive integer. |\n| `WEIGHT_STRATEGY_HIGHEST_CTR` | The weights will be automatically calculated giving preference to the creative that has the highest CTR. The CTR for campaigns that are optimized for clicks = clicks/impressions. The CTR for campaigns that are optimized for view-through or click through is sum(activities + floodlight weight)/impressions. |\n| `WEIGHT_STRATEGY_OPTIMIZED` | The creative weights will be automatically calculated using a formula that could not possibly be explained in these comments. The value will be within some predetermined range (probably 0 - 1,000,000). |"]]