Liking cljdoc? Tell your friends :D
Clojure only.

com.adgoji.cm-api.reports.files


get-by-idclj

(get-by-id client profile-id report-id file-id)
(get-by-id client profile-id report-id file-id media?)

Returns a report file by provided report-id and file-id.

By default this function returns a report file status. With additional media? argument it's possible to fetch a file as an input stream.

NOTE: Closing input stream is a caller responsibility. Usage example:

(with-open [is (get-by-id client profile-id report-id file-id true)]
  (read-from-input-stream is))
Returns a report file by provided `report-id` and `file-id`.

By default this function returns a report file status. With
additional `media?` argument it's possible to fetch a file as an
input stream.

NOTE: Closing input stream is a caller responsibility. Usage
example:

```clojure
(with-open [is (get-by-id client profile-id report-id file-id true)]
  (read-from-input-stream is))
```
raw docstring

get-listclj

(get-list client profile-id report-id opts)

Returns list of files for a report.

The result can be altered using various opts, which are described in the official documentation: [[https://developers.google.com/doubleclick-advertisers/rest/v4/reports.files/list#query-parameters]].

Options should be provided as a map with kebab-case keys.

Returns list of files for a report.

The result can be altered using various `opts`, which are described
in the official
documentation: [[https://developers.google.com/doubleclick-advertisers/rest/v4/reports.files/list#query-parameters]].

Options should be provided as a map with kebab-case keys.
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close