def METHOD_NAME(
    db: Session,
    adobe_campaign_connection_config: ConnectionConfig,
    adobe_campaign_dataset: Dict[str, Any],
) -> Generator:
    fides_key = adobe_campaign_dataset["fides_key"]
    adobe_campaign_connection_config.name = fides_key
    adobe_campaign_connection_config.key = fides_key
    adobe_campaign_connection_config.save(db=db)
    ctl_dataset = CtlDataset.create_from_dataset_dict(db, adobe_campaign_dataset)
    dataset = DatasetConfig.create(
        db=db,
        data={
            "connection_config_id": adobe_campaign_connection_config.id,
            "fides_key": fides_key,
            "ctl_dataset_id": ctl_dataset.id,
        },
    )
    yield dataset
    dataset.delete(db=db)
    ctl_dataset.delete(db=db)