def google_api_query(query_dict: dict) -> str:
    """Join given query args into one string.

    Return query string in format required by googlapis:
    https://developers.google.com/books/docs/v1/using#WorkingVolumes
    """
    if not query_dict:
        return ""

    def allowed_google_item():
        if item[1] and item[0] in ["intitle", "inauthor"]:
            return True
        return False

    query_string = f"q={query_dict.get('search', '')}"
    for i, item in enumerate(query_dict.items()):
        if allowed_google_item():
            query_string = f"{query_string}+{item[0]}:{item[1]}"
    return query_string