def METHOD_NAME(product_config, task):
    publish_config = product_config["app"]
    rollout_percentage = task.get("rollout_percentage")
    google_track = task["channel"]
    google_track = _handle_legacy_google_track(google_track)
    return {
        "target_store": "google",
        "dry_run": _google_should_do_dry_run(task),
        "certificate_alias": publish_config.get("certificate_alias"),
        "username": publish_config["service_account"],
        "secret": publish_config["credentials_file"],
        "package_names": publish_config["package_names"],
        "google_track": google_track,
        "google_rollout_percentage": rollout_percentage,
    }