# SearchInAppsSDK Framework Reference

# GetTrendingSearchesOptions


    @interface GetTrendingSearchesOptions : NSObject

This class contains all the options necessary to request trending searches.
- `


  ### [clientId](https://developers.google.com/search-in-apps/ios/reference/api/objc_reference/Classes/GetTrendingSearchesOptions#/c:@M@SearchInAppsSDK@objc(cs)GetTrendingSearchesOptions(py)clientId)


  ` The client ID used to request trends if it is different from the
  client ID specified in Info.plist.

  #### Declaration

  Objective-C

      @property (nonatomic, copy) NSString *_Nullable clientId;

- `


  ### [maxNumTrends](https://developers.google.com/search-in-apps/ios/reference/api/objc_reference/Classes/GetTrendingSearchesOptions#/c:@M@SearchInAppsSDK@objc(cs)GetTrendingSearchesOptions(py)maxNumTrends)


  ` The max number of trends returned. If not set, the api server will return all the trends
  returned from the hot trends server.

  #### Declaration

  Objective-C

      @property (nonatomic, strong) NSNumber *_Nullable maxNumTrends;

- `


  ### [-init](https://developers.google.com/search-in-apps/ios/reference/api/objc_reference/Classes/GetTrendingSearchesOptions#/c:@M@SearchInAppsSDK@objc(cs)GetTrendingSearchesOptions(im)init)


  ` Undocumented

  #### Declaration

  Objective-C

      - (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;