GoogleMobileAds Framework Reference

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

    Objective-C

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

    Declaration

    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

    Objective-C

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

    Declaration

    Objective-C

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

    Declaration

    Objective-C

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

    Declaration

    Objective-C

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

    Declaration

    Objective-C

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

    Declaration

    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

    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

    Objective-C

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

    Declaration

    Objective-C

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

    Declaration

    Objective-C

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

    Declaration

    Objective-C

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

    Declaration

    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

    Objective-C

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

    Declaration

    Objective-C

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

    Declaration

    Objective-C

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

    Declaration

    Objective-C

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

    Declaration

    Objective-C

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

    Declaration

    Objective-C

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

    Declaration

    Objective-C

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

    Declaration

    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

    Objective-C

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