CreativeRotationWeightStrategy
Stay organized with collections
Save and categorize content based on your preferences.
AI-generated Key Takeaways
The creative weight strategy WEIGHT_STRATEGY_EQUAL sets all creative weights to 1 and is the default for ads with random rotation.
The WEIGHT_STRATEGY_CUSTOM strategy allows users to define creative weights using any positive integer.
WEIGHT_STRATEGY_HIGHEST_CTR automatically calculates weights based on the creative with the highest Click-Through Rate.
The WEIGHT_STRATEGY_OPTIMIZED calculates creative weights using a complex formula not detailed here, resulting in a value within a specific range.
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."],[],[]]