def _geo_from_dfp(geo):
    return Geography(
        id=geo['id'],
        type=geo['type'],
        name=geo['displayName'],
    )
Convert dfp dictionary to Geography targeting model
dataset/ETHPy150Open chartbeat-labs/parselmouth/parselmouth/adapters/dfp/targeting_utils.py/_geo_from_dfp