GADSearchRequest

class GADSearchRequest : GADRequest

Specifies parameters for search ads.

  • The search ad query.

    Declaration

    Swift

    var query: String? { get set }
  • The search ad background color.

    Declaration

    Swift

    var backgroundColor: UnsafeMutablePointer<Int32>? { get }
  • The search ad gradient from color.

    Declaration

    Swift

    var gradientFrom: UnsafeMutablePointer<Int32>? { get }
  • The search ad gradient to color.

    Declaration

    Swift

    var gradientTo: UnsafeMutablePointer<Int32>? { get }
  • The search ad header color.

    Declaration

    Swift

    var headerColor: UnsafeMutablePointer<Int32>? { get set }
  • The search ad description text color.

    Declaration

    Swift

    var descriptionTextColor: UnsafeMutablePointer<Int32>? { get set }
  • The search ad anchor text color.

    Declaration

    Swift

    var anchorTextColor: UnsafeMutablePointer<Int32>? { get set }
  • The search ad text font family.

    Declaration

    Swift

    var fontFamily: String? { get set }
  • The search ad header text size.

    Declaration

    Swift

    var headerTextSize: UInt { get set }
  • The search ad border color.

    Declaration

    Swift

    var borderColor: UnsafeMutablePointer<Int32>? { get set }
  • The search ad border type.

    Declaration

    Swift

    var borderType: GADSearchBorderType { get set }
  • The search ad border thickness.

    Declaration

    Swift

    var borderThickness: UInt { get set }
  • The search ad custom channels.

    Declaration

    Swift

    var customChannels: String? { get set }
  • The search ad call button color.

    Declaration

    Swift

    var callButtonColor: GADSearchCallButtonColor { get set }
  • A solid background color for rendering the ad. The background of the ad can either be a solid color, or a gradient, which can be specified through setBackgroundGradientFrom:toColor: method. If both solid and gradient background is requested, only the latter is considered.

    Declaration

    Swift

    func setBackgroundSolid(_ color: Any!)
  • A linear gradient background color for rendering the ad. The background of the ad can either be a linear gradient, or a solid color, which can be specified through setBackgroundSolid method. If both solid and gradient background is requested, only the latter is considered.

    Declaration

    Swift

    func setBackgroundGradientFrom(_ from: Any!, toColor: Any!)