GADDynamicHeightSearchRequest

@interface 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

    Objective-C

    @property (readwrite, copy, nonatomic, nullable) NSString *query;
  • The CSA adPage parameter.

    Declaration

    Swift

    var adPage: Int32 { get set }

    Objective-C

    @property (assign, readwrite, nonatomic) NSInteger adPage;
  • Indicates if the CSA adTest parameter is enabled.

    Declaration

    Swift

    var adTestEnabled: Int32 { get set }

    Objective-C

    @property (assign, readwrite, nonatomic) BOOL adTestEnabled;
  • The CSA channel parameter.

    Declaration

    Objective-C

    @property (readwrite, copy, nonatomic, nullable) NSString *channel;
  • The CSA hl parameter.

    Declaration

    Objective-C

    @property (readwrite, copy, nonatomic, nullable) NSString *hostLanguage;
  • The CSA colorLocation parameter.

    Declaration

    Objective-C

    @property (readwrite, copy, nonatomic, nullable)
        NSString *locationExtensionTextColor;
  • The CSA fontSizeLocation parameter.

    Declaration

    Swift

    var locationExtensionFontSize: Int32 { get set }

    Objective-C

    @property (assign, readwrite, nonatomic) CGFloat locationExtensionFontSize;
  • Indicates if the CSA clickToCall parameter is enabled.

    Declaration

    Swift

    var clickToCallExtensionEnabled: Int32 { get set }

    Objective-C

    @property (assign, readwrite, nonatomic) BOOL clickToCallExtensionEnabled;
  • Indicates if the CSA location parameter is enabled.

    Declaration

    Swift

    var locationExtensionEnabled: Int32 { get set }

    Objective-C

    @property (assign, readwrite, nonatomic) BOOL locationExtensionEnabled;
  • Indicates if the CSA plusOnes parameter is enabled.

    Declaration

    Swift

    var plusOnesExtensionEnabled: Int32 { get set }

    Objective-C

    @property (assign, readwrite, nonatomic) BOOL plusOnesExtensionEnabled;
  • Indicates if the CSA sellerRatings parameter is enabled.

    Declaration

    Swift

    var sellerRatingsExtensionEnabled: Int32 { get set }

    Objective-C

    @property (assign, readwrite, nonatomic) BOOL sellerRatingsExtensionEnabled;
  • Indicates if the CSA siteLinks parameter is enabled.

    Declaration

    Swift

    var siteLinksExtensionEnabled: Int32 { get set }

    Objective-C

    @property (assign, readwrite, nonatomic) BOOL siteLinksExtensionEnabled;
  • The CSA width parameter.

    Declaration

    Objective-C

    @property (readwrite, copy, nonatomic, nullable) NSString *CSSWidth;
  • The CSA number parameter.

    Declaration

    Swift

    var numberOfAds: Int32 { get set }

    Objective-C

    @property (assign, readwrite, nonatomic) NSInteger numberOfAds;
  • The CSA fontFamily parameter.

    Declaration

    Objective-C

    @property (readwrite, copy, nonatomic, nullable) NSString *fontFamily;
  • The CSA fontFamilyAttribution parameter.

    Declaration

    Objective-C

    @property (readwrite, copy, nonatomic, nullable) NSString *attributionFontFamily;
  • The CSA fontSizeAnnotation parameter.

    Declaration

    Swift

    var annotationFontSize: Int32 { get set }

    Objective-C

    @property (assign, readwrite, nonatomic) CGFloat annotationFontSize;
  • The CSA fontSizeAttribution parameter.

    Declaration

    Swift

    var attributionFontSize: Int32 { get set }

    Objective-C

    @property (assign, readwrite, nonatomic) CGFloat attributionFontSize;
  • The CSA fontSizeDescription parameter.

    Declaration

    Swift

    var descriptionFontSize: Int32 { get set }

    Objective-C

    @property (assign, readwrite, nonatomic) CGFloat descriptionFontSize;
  • The CSA fontSizeDomainLink parameter.

    Declaration

    Swift

    var domainLinkFontSize: Int32 { get set }

    Objective-C

    @property (assign, readwrite, nonatomic) CGFloat domainLinkFontSize;
  • The CSA fontSizeTitle parameter.

    Declaration

    Swift

    var titleFontSize: Int32 { get set }

    Objective-C

    @property (assign, readwrite, nonatomic) CGFloat titleFontSize;
  • The CSA colorAdBorder parameter.

    Declaration

    Objective-C

    @property (readwrite, copy, nonatomic, nullable) NSString *adBorderColor;
  • The CSA colorAdSeparator parameter.

    Declaration

    Objective-C

    @property (readwrite, copy, nonatomic, nullable) NSString *adSeparatorColor;
  • The CSA colorAnnotation parameter.

    Declaration

    Objective-C

    @property (readwrite, copy, nonatomic, nullable) NSString *annotationTextColor;