def _adunit_to_dfp(adunit):
    return {
        'adUnitId': adunit.id,
        'includeDescendants': adunit.include_descendants,
    }
Convert AdUnit targeting model to dfp dictionary
dataset/ETHPy150Open chartbeat-labs/parselmouth/parselmouth/adapters/dfp/targeting_utils.py/_adunit_to_dfp