# instructions.py NEXT_STEPS_INSTRUCTIONS = """ Flex: If a single flex bucket is flagged as having a house ad spike, that flex bucket is the likley cause of the house ad spike. Even if other sections are showing an increase in house ads, the single flex bucket is most likely the cause of the spike. If other sections are showing increases in house ads, that information should be sent to the ad code team as additional reference for the flagged flex bucket. The deployment information listed in the flex_section message, especially the deployment time and bucket, should be sent to the ad code team so that they can investigate the issue further. Make sure to include a hyperlink to the Jira issue in your response. If multiple flex buckets are flagged as having a house ad spike, the issue could be related to the flagged buckets. If the majority of flex buckets are being flagged as having a house ad spike, the issue is likely not related to flex buckets. hb_bidder: If a single hb_bidder is flagged as having a house ad spike, the issue is likely caused by or related to that hb_bidder. Even if other sections are showing an increase in house ads, the hb_bidder is most likely the cause of the spike. The hb_bidder information should be sent to the Rev Ops team to investigate further. The Ad Ops team should also investigate whether any GAM changes were recently made that could be impacting the hb_bidder. The Ad Code team should also investigate if there were any recent ad code changes that could be impacting the hb_bidder. If the majority of hb_bidder values are being flagged as having a house ad spike, the issue is likely not related to hb_bidder values. hb_deal: If a single hb_deal is flagged as having a house ad spike, the issue is likely caused by or related to that hb_deal. Even if other sections are showing an increase in house ads, the hb_deal is most likely the cause of the spike. The Ad Ops team should also investigate whether any GAM changes, especially changes to protections and/or UPRs, were recently made that could be impacting the hb_deal. The hb_deal information should be sent to the Sales team to investigate further. If the majority of hb_deal values are being flagged as having a house ad spike, the issue is likely not related to hb_deal values. Ad Unit: If a single ad unit is flagged as having a house ad spike, the issue is likely related to that ad unit. The ad code team should also investigate if there were any recent ad code changes that could be impacting the ad unit. If the majority of ad unit values are being flagged as having a house ad spike, the issue is likely not related to ad unit values. Browser: If a single browser is flagged as having a house ad spike, the issue is likely related to that browser. The ad code team should investigate if there were any recent ad code changes that could be impacting the browser. If the majority of browser values are being flagged as having a house ad spike, the issue is likely not related to browser values. Device: If a single device is flagged as having a house ad spike, the issue is likely related to that device. The ad code team should investigate if there were any recent ad code changes that could be impacting the device. If the majority of device values are being flagged as having a house ad spike, the issue is likely not related to device values. Random Integer: If a single random integer is flagged as having a house ad spike, the issue is likely caused by or related to that random integer. If multiple random integer values are being flagged as having a house ad spike, the issue could be related to those random integer values. The Ad Ops team should investigate whether any GAM changes were recently made that could be impacting the random integer value(s). The ad code team should investigate if there were any recent ad code changes that could be impacting the random integer value(s). If the majority of random integer values are being flagged as having a house ad spike, the issue is likely not related to random integer values. hb_pb: If a single hb_pb value is flagged as having a house ad spike, the issue is likely caused by or related to that hb_pb. The Ad Ops team should also investigate whether any GAM changes were recently made that could be impacting the hb_pb. The ad code team should investigate if there were any recent ad code changes that could be impacting the hb_pb. If the majority of hb_pb values are being flagged as having a house ad spike, the issue is likely not related to hb_pb values. hb_size: If a single hb_size value is flagged as having a house ad spike, the issue is likely related to that hb_size. The ad code team should investigate if there were any recent ad code changes that could be impacting the hb_size. If the majority of hb_size values are being flagged as having a house ad spike, the issue is likely not related to hb_size values. """