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;
  • The CSA colorAttribution parameter.

    Declaration

    Objective-C

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

    Declaration

    Objective-C

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

    Declaration

    Objective-C

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

    Declaration

    Objective-C

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

    Declaration

    Objective-C

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

    Declaration

    Objective-C

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

    Declaration

    Objective-C

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

    Declaration

    Swift

    var adjustableLineHeight: Int32 { get set }

    Objective-C

    @property (assign, readwrite, nonatomic) CGFloat adjustableLineHeight;
  • The CSA attributionSpacingBelow parameter.

    Declaration

    Swift

    var attributionBottomSpacing: Int32 { get set }

    Objective-C

    @property (assign, readwrite, nonatomic) CGFloat attributionBottomSpacing;
  • The CSA borderSelections parameter.

    Declaration

    Objective-C

    @property (readwrite, copy, nonatomic, nullable) NSString *borderCSSSelections;
  • Indicates if the CSA noTitleUnderline parameter is enabled.

    Declaration

    Swift

    var titleUnderlineHidden: Int32 { get set }

    Objective-C

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

    Declaration

    Swift

    var boldTitleEnabled: Int32 { get set }

    Objective-C

    @property (assign, readwrite, nonatomic) BOOL boldTitleEnabled;
  • The CSA verticalSpacing parameter.

    Declaration

    Swift

    var verticalSpacing: Int32 { get set }

    Objective-C

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

    Declaration

    Swift

    var detailedAttributionExtensionEnabled: Int32 { get set }

    Objective-C

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

    Declaration

    Swift

    var longerHeadlinesExtensionEnabled: Int32 { get set }

    Objective-C

    @property (assign, readwrite, nonatomic) BOOL longerHeadlinesExtensionEnabled;
  • 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: Any!)

    Objective-C

    - (void)setAdvancedOptionValue:(nonnull id)value forKey:(nonnull NSString *)key;