0
0
Digital Marketingknowledge~10 mins

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

Choose your learning style9 modes available
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.