Management > QUESTIONS & ANSWERS > University of Louisville - MGT 6203HW3_MGT 6203 (All)
- kag[(kag$Spent == 0),] #### Find the ad with the most impressions: max(zeroCPC$Impressions) ## [1] 24362 #### Use that max impressions to find the ad_id: zeroCPC[match(max(zeroCPC$Impressions),... zeroCPC$Impressions),] ## ad_id xyz_campaign_id fb_campaign_id age gender interest Impressions ## 521 1121094 1178 144531 30-34 M 10 24362 ## Clicks Spent Total_Conversion Approved_Conversion ## 521 0 0 1 1 The ad_id 1121094 has the lowest CPC of [undefined, because we’re dividing by 0] and has 24,362 impressions. ________________________________________ Q.1.B: What campaign (provide campaign_id as the answer) had spent least efficiently on brand awareness on an average? #### Determine cpm: cpm <- kag$Spent / kag$Impressions * 1000 #### Split data into different groups based on xyz_campaign_id: id_916 <- kag[1:54,] id_936 <- kag[55:518,] id_1178 <- kag[519:1143, [Show More]
Last updated: 2 years ago
Preview 1 out of 11 pages
Buy this document to get the full access instantly
Instant Download Access after purchase
Buy NowInstant download
We Accept:
Can't find what you want? Try our AI powered Search
Connected school, study & course
About the document
Uploaded On
Mar 28, 2021
Number of pages
11
Written in
This document has been written for:
Uploaded
Mar 28, 2021
Downloads
0
Views
48
In Scholarfriends, a student can earn by offering help to other student. Students can help other students with materials by upploading their notes and earn money.
We're available through e-mail, Twitter, Facebook, and live chat.
FAQ
Questions? Leave a message!
Copyright © Scholarfriends · High quality services·