package com.google.android.gms.internal.ads;

import android.util.JsonReader;
import androidx.annotation.Nullable;
import java.io.IOException;
import org.json.JSONException;
import org.json.JSONObject;

/* JADX INFO: loaded from: classes2.dex */
public final class ab1 {

    /* JADX INFO: renamed from: a, reason: collision with root package name */
    public final JSONObject f8614a;

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    public final JSONObject f8615b;

    @Nullable
    public final String zza;

    @Nullable
    public final String zzb;

    public ab1(JsonReader jsonReader) throws JSONException, IOException {
        JSONObject jSONObjectB = p7.y.b(jsonReader);
        this.f8615b = jSONObjectB;
        this.zza = jSONObjectB.optString("ad_html", null);
        this.zzb = jSONObjectB.optString("ad_base_url", null);
        this.f8614a = jSONObjectB.optJSONObject("ad_json");
    }
}
