GoogleMobileAds Framework Reference

GADDynamicHeightSearchRequest

class GADDynamicHeightSearchRequest : GADRequest

Use to configure Custom Search Ad (CSA) ad requests. A dynamic height search banner can contain multiple ads and the height is set dynamically based on the ad contents. Please cross-reference the property sections and properties with the official reference document: https://developers.google.com/custom-search-ads/docs/reference

  • The CSA query parameter.

    Declaration

    Swift

    var query: String? { get set }
  • The CSA adPage parameter.

    Declaration

    Swift

    var adPage: Int { get set }
  • Indicates whether the CSA adTest parameter is enabled.

    Declaration

    Swift

    var adTestEnabled: Bool { get set }
  • The CSA channel parameter.

    Declaration

    Swift

    var channel: String? { get set }
  • The CSA hl parameter.

    Declaration

    Swift

    var hostLanguage: String? { get set }
  • The CSA colorLocation parameter.

    Declaration

    Swift

    var locationExtensionTextColor: String? { get set }
  • The CSA fontSizeLocation parameter.

    Declaration

    Swift

    var locationExtensionFontSize: CGFloat { get set }
  • Indicates whether the CSA clickToCall parameter is enabled.

    Declaration

    Swift

    var clickToCallExtensionEnabled: Bool { get set }
  • Indicates whether the CSA location parameter is enabled.

    Declaration

    Swift

    var locationExtensionEnabled: Bool { get set }
  • Indicates whether the CSA plusOnes parameter is enabled.

    Declaration

    Swift

    var plusOnesExtensionEnabled: Bool { get set }
  • Indicates whether the CSA sellerRatings parameter is enabled.

    Declaration

    Swift

    var sellerRatingsExtensionEnabled: Bool { get set }
  • Indicates whether the CSA siteLinks parameter is enabled.

    Declaration

    Swift

    var siteLinksExtensionEnabled: Bool { get set }
  • The CSA width parameter.

    Declaration

    Swift

    var cssWidth: String? { get set }
  • The CSA number parameter.

    Declaration

    Swift

    var numberOfAds: Int { get set }
  • The CSA fontFamily parameter.

    Declaration

    Swift

    var fontFamily: String? { get set }
  • The CSA fontFamilyAttribution parameter.

    Declaration

    Swift

    var attributionFontFamily: String? { get set }
  • The CSA fontSizeAnnotation parameter.

    Declaration

    Swift

    var annotationFontSize: CGFloat { get set }
  • The CSA fontSizeAttribution parameter.

    Declaration

    Swift

    var attributionFontSize: CGFloat { get set }
  • The CSA fontSizeDescription parameter.

    Declaration

    Swift

    var descriptionFontSize: CGFloat { get set }
  • The CSA fontSizeDomainLink parameter.

    Declaration

    Swift

    var domainLinkFontSize: CGFloat { get set }
  • The CSA fontSizeTitle parameter.

    Declaration

    Swift

    var titleFontSize: CGFloat { get set }
  • The CSA colorAdBorder parameter.

    Declaration

    Swift

    var adBorderColor: String? { get set }
  • The CSA colorAdSeparator parameter.

    Declaration

    Swift

    var adSeparatorColor: String? { get set }
  • The CSA colorAnnotation parameter.

    Declaration

    Swift

    var annotationTextColor: String? { get set }
  • The CSA colorAttribution parameter.

    Declaration

    Swift

    var attributionTextColor: String? { get set }
  • The CSA colorBackground parameter.

    Declaration

    Swift

    var backgroundColor: String? { get set }
  • The CSA colorBorder parameter.

    Declaration

    Swift

    var borderColor: String? { get set }
  • The CSA colorDomainLink parameter.

    Declaration

    Swift

    var domainLinkColor: String? { get set }
  • The CSA colorText parameter.

    Declaration

    Swift

    var textColor: String? { get set }
  • The CSA colorTitleLink parameter.

    Declaration

    Swift

    var titleLinkColor: String? { get set }
  • The CSA adBorderSelections parameter.

    Declaration

    Swift

    var adBorderCSSSelections: String? { get set }
  • The CSA adjustableLineHeight parameter.

    Declaration

    Swift

    var adjustableLineHeight: CGFloat { get set }
  • The CSA attributionSpacingBelow parameter.

    Declaration

    Swift

    var attributionBottomSpacing: CGFloat { get set }
  • The CSA borderSelections parameter.

    Declaration

    Swift

    var borderCSSSelections: String? { get set }
  • Indicates whether the CSA noTitleUnderline parameter is enabled.

    Declaration

    Swift

    var titleUnderlineHidden: Bool { get set }
  • Indicates whether the CSA titleBold parameter is enabled.

    Declaration

    Swift

    var boldTitleEnabled: Bool { get set }
  • The CSA verticalSpacing parameter.

    Declaration

    Swift

    var verticalSpacing: CGFloat { get set }
  • Indicates whether the CSA detailedAttribution parameter is enabled.

    Declaration

    Swift

    var detailedAttributionExtensionEnabled: Bool { get set }
  • Indicates whether the CSA longerHeadlines parameter is enabled.

    Declaration

    Swift

    var longerHeadlinesExtensionEnabled: Bool { get set }
  • Sets an advanced option value for a specified key. The value must be an NSString or NSNumber.

    Declaration

    Swift

    func setAdvancedOptionValue(_ value: Any, forKey key: String)