getDownloadUrl: This generates the download url for the report requested...

Description Usage Arguments Value Author(s) References See Also Examples

Description

This function generate the url using which the report can be downloaded in the csv format. Using this downloadUrl, you can the data in a dataframe using getDataFromURL.

Usage

1
getDownloadUrl(credentials, reportId)

Arguments

credentials

The credentials is a list of all the important parameters required for sending a report request. It is the list of client_id, client_secret, username, password, developer_token, customer_id, account_id, access_token.

The reportId is a unique long number generated in getReportId function.

Value

downloadUrl

This is the final url which when put in browser downloads the zipped version of the csv report.

Author(s)

Deepesh Goel

References

https://docs.microsoft.com/en-us/bingads/reporting-service/pollgeneratereport?view=bingads-12

See Also

https://docs.microsoft.com/en-us/bingads/reporting-service/pollgeneratereport?view=bingads-12

Examples

1
2
3
##Not run
downloadUrl <- getDownloadUrl(credentials, reportId)
##End(Not run)

deepeshgoeliitk/bingAdsR documentation built on May 25, 2019, 3:59 a.m.