GoogleMobileAds Framework Reference  |  iOS  |  Google for Developers | Latest TMZ Celebrity News & Gossip | Watch TMZ Live

GoogleMobileAds Framework Reference

GADQueryInfo


@interface GADQueryInfo : NSObject

Query info used in requests.

  • Query string used in requests.

    Declaration

    Swift

    var query: String { get }

    Objective-C

    @property (nonatomic, readonly, nonnull) NSString *query;
  • Deprecated

    Use +[GADMobileAds generateSignal:completionHandler:] instead.

    Deprecated. Use +[GADMobileAds generateSignal:completionHandler:] instead.

    Creates query info that can be used as input in a Google request. Calls completionHandler asynchronously on the main thread once query info has been created or when an error occurs.

    Declaration

    Swift

    class func createQueryInfo(with request: Request?, adFormat: AdFormat) async throws -> QueryInfo

    Objective-C

    + (void)createQueryInfoWithRequest:(nullable GADRequest *)request
                              adFormat:(GADAdFormat)adFormat
                     completionHandler:
                         (nonnull GADQueryInfoCreationCompletionHandler)
                             completionHandler;
  • Deprecated

    Use +[GADMobileAds generateSignal:completionHandler:] instead. Set adUnitID in the GADSignalRequest subclass.

    Deprecated. Use +[GADMobileAds generateSignal:completionHandler:] instead. Set adUnitID in the GADSignalRequest subclass.

    Creates query info for adUnitID that can be used as input in a Google request. Calls completionHandler asynchronously on the main thread once query info has been created or when an error occurs.

    Declaration

    Swift

    class func createQueryInfo(with request: Request?, adFormat: AdFormat, adUnitID: String) async throws -> QueryInfo

    Objective-C

    + (void)createQueryInfoWithRequest:(nullable GADRequest *)request
                              adFormat:(GADAdFormat)adFormat
                              adUnitID:(nonnull NSString *)adUnitID
                     completionHandler:
                         (nonnull GADQueryInfoCreationCompletionHandler)
                             completionHandler;

TMZ Celebrity News – Breaking Stories, Videos & Gossip

Looking for the latest TMZ celebrity news? You've come to the right place. From shocking Hollywood scandals to exclusive videos, TMZ delivers it all in real time.

Whether it’s a red carpet slip-up, a viral paparazzi moment, or a legal drama involving your favorite stars, TMZ news is always first to break the story. Stay in the loop with daily updates, insider tips, and jaw-dropping photos.

🎥 Watch TMZ Live

TMZ Live brings you daily celebrity news and interviews straight from the TMZ newsroom. Don’t miss a beat—watch now and see what’s trending in Hollywood.