Bird
Raised Fist0
Digital Marketingknowledge~10 mins

Audience targeting (demographics, interests, lookalike) in Digital Marketing - Interactive Code Practice

Choose your learning style10 modes available

Start learning this pattern below

Jump into concepts and practice - no test required

or
Recommended
Test this pattern10 questions across easy, medium, and hard to know if this pattern is strong
Practice - 5 Tasks
Answer the questions below
1fill in blank
easy

Complete the code to select the audience based on age group.

Digital Marketing
target_audience = audience.filter(age [1] 25 to 34)
Drag options to blanks, or click blank then click option'
Abetween
Bequals
Cexcludes
Dincludes
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'equals' selects only one age, not a range.
Using 'includes' is not a valid filter keyword here.
2fill in blank
medium

Complete the code to target users interested in sports.

Digital Marketing
target_audience = audience.filter(interest == '[1]')
Drag options to blanks, or click blank then click option'
Atravel
Bcooking
Csports
Dmusic
Attempts:
3 left
💡 Hint
Common Mistakes
Selecting unrelated interests like music or cooking.
Leaving the interest blank.
3fill in blank
hard

Fix the error in the code to create a lookalike audience.

Digital Marketing
lookalike_audience = create_lookalike(source_audience, [1]=1)
Drag options to blanks, or click blank then click option'
Ascale
Bweight
Cpercentage
Dsize
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'scale' or 'percentage' which are not valid parameters here.
Using 'weight' which is unrelated.
4fill in blank
hard

Fill both blanks to filter audience by gender and location.

Digital Marketing
filtered_audience = audience.filter(gender == '[1]' and location == '[2]')
Drag options to blanks, or click blank then click option'
Afemale
Bmale
CUSA
DCanada
Attempts:
3 left
💡 Hint
Common Mistakes
Mixing gender and location values.
Using invalid country names.
5fill in blank
hard

Fill all three blanks to create a dictionary for audience segments with age, interest, and lookalike score.

Digital Marketing
audience_segments = { [1]: '[2]', 'interest': '[3]'}
Drag options to blanks, or click blank then click option'
A'age'
B30-40
Cfitness
D'score'
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'score' as a key instead of 'age'.
Mixing keys and values incorrectly.

Practice

(1/5)
1. What does demographic targeting focus on when showing ads?
easy
A. Websites people visit
B. People's favorite movies
C. People who look like your customers
D. Basic facts like age and location

Solution

  1. Step 1: Understand demographic targeting

    Demographic targeting uses basic personal information such as age, gender, and location to show ads.
  2. Step 2: Compare options

    Websites people visit relates to behavioral targeting, favorite movies to interests, and people who look like customers to lookalike targeting.
  3. Final Answer:

    Basic facts like age and location -> Option D
  4. Quick Check:

    Demographics = age, location [OK]
Hint: Demographics = basic personal facts like age [OK]
Common Mistakes:
  • Confusing interests with demographics
  • Thinking lookalike means demographics
  • Mixing online behavior with basic facts
2. Which of the following is the correct way to describe lookalike audience targeting?
easy
A. Finding new people similar to your best customers
B. Targeting people based on their exact location
C. Showing ads only to people who visited your website
D. Targeting users by their favorite hobbies

Solution

  1. Step 1: Define lookalike targeting

    Lookalike targeting finds new people who share similar traits with your best existing customers.
  2. Step 2: Eliminate other options

    Targeting people based on their exact location is about location, C is retargeting website visitors, and D is interest targeting.
  3. Final Answer:

    Finding new people similar to your best customers -> Option A
  4. Quick Check:

    Lookalike = similar new people [OK]
Hint: Lookalike = find new similar people [OK]
Common Mistakes:
  • Confusing lookalike with location targeting
  • Mixing retargeting with lookalike
  • Thinking lookalike targets hobbies
3. If an advertiser wants to show ads to people who like hiking and outdoor activities, which audience targeting should they use?
medium
A. Demographic targeting
B. Lookalike targeting
C. Interest targeting
D. Location targeting

Solution

  1. Step 1: Identify the targeting type for hobbies

    Interest targeting focuses on what people enjoy or do online, like hiking and outdoor activities.
  2. Step 2: Exclude other targeting types

    Demographics target basic facts, lookalike finds similar people, and location targets places.
  3. Final Answer:

    Interest targeting -> Option C
  4. Quick Check:

    Hobbies = Interest targeting [OK]
Hint: Hobbies and likes = interest targeting [OK]
Common Mistakes:
  • Choosing demographics for hobbies
  • Confusing lookalike with interests
  • Mixing location with interests
4. An advertiser tries to create a lookalike audience but accidentally selects demographic targeting instead. What is the main issue?
medium
A. The ads will target basic facts, not similar new customers
B. The ads will only show to people with similar interests
C. The ads will reach people who visited the website
D. The ads will not run at all

Solution

  1. Step 1: Understand lookalike vs demographic targeting

    Lookalike finds new similar customers; demographic targets basic facts like age and location.
  2. Step 2: Identify the mistake impact

    Choosing demographic means ads target basic facts, missing the goal of finding similar new customers.
  3. Final Answer:

    The ads will target basic facts, not similar new customers -> Option A
  4. Quick Check:

    Wrong targeting type = wrong audience [OK]
Hint: Lookalike ≠ demographics; check targeting type carefully [OK]
Common Mistakes:
  • Assuming demographic targeting finds similar customers
  • Thinking ads won't run if targeting is wrong
  • Confusing website visitors with lookalike
5. A company wants to increase sales by targeting new customers similar to their top buyers who are mostly women aged 25-35 interested in fitness. Which combined audience targeting strategy should they use?
hard
A. Use demographic targeting for age and gender only
B. Create a lookalike audience based on top buyers including demographics and interests
C. Target random users in the same location
D. Use interest targeting for fitness only

Solution

  1. Step 1: Analyze the target customer profile

    The top buyers are women aged 25-35 interested in fitness, combining demographics and interests.
  2. Step 2: Choose the best targeting strategy

    Lookalike audience based on this combined profile finds new similar customers effectively.
  3. Step 3: Exclude less effective options

    Demographics or interests alone miss part of the profile; random location targeting is too broad.
  4. Final Answer:

    Create a lookalike audience based on top buyers including demographics and interests -> Option B
  5. Quick Check:

    Lookalike + combined data = best new customers [OK]
Hint: Combine lookalike with demographics and interests for best match [OK]
Common Mistakes:
  • Using only demographics or interests separately
  • Ignoring lookalike for new customer growth
  • Targeting random users without data