Content API for Shopping (content:v2.1)

2023-06-06

1 new method

Additions

    Methods
  • content.promotions.list

      Scopes : https://www.googleapis.com/auth/content

      Parameters :

        merchantId

          Format : int64

          Required : Yes

          Type : string

          Description : Required. The ID of the account that contains the collection.

          Location : path

        pageToken

          Location : query

          Description : A page token, received from a previous `ListPromotion` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListPromotion` must match the call that provided the page token.

          Type : string

        pageSize

          Description : The maximum number of promotions to return. The service may return fewer than this value. If unspecified, at most 50 labels will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.

          Format : int32

          Type : integer

          Location : query

        languageCode

          Description : The two-letter ISO 639-1 language code associated with the promotions, used as a filter.

          Type : string

          Location : query

        countryCode

          Description : [CLDR country code](http://www.unicode.org/repos/cldr/tags/latest/common/main/en.xml) (for example, "US"), used as a filter on promotions target country.

          Type : string

          Location : query

      Description : List all promotions from your Merchant Center account.

      Path : {merchantId}/promotions

      HTTP Method : GET

      Parameter Order : merchantId

      Flat Path : {merchantId}/promotions