Give me an example URL to get a facebooks summary of spend for a specific campaign under the marketing api?
user
to get a facebook campaign's spending summary using the marketing api, you'll need to make a get request to the api endpoint. first, you'll need to have an access token with the necessary permissions.

here's an example of a url to get the spending summary for a specific campaign:
```bash
https://graph.facebook.com/v13.0/{account_id}/act_{campaign_id}/insights?fields=cost_data,time_data&access_token={access_token}
```
replace the following placeholders with your own information:

* `{account_id}`: your facebook marketing api account id.
* `{campaign_id}`: your facebook campaign id.
* `{access_token}`: your facebook access token with the "ads\_management" and "pages\_read\_engagement" permissions.

the response will include the spending data in the "cost\_data" and "time\_data" fields.

please note that this url is meant as an example, and you may need to adjust it to fit your specific use case or to use a library like 'graph-api' in power automate.
assistant
To get a Facebook campaign's spending summary using the Marketing API, you'll need to make a GET request to the API endpoint. First, you'll need to have an access token with the necessary permissions.

Here's an example of a URL to get the spending summary for a specific campaign:
```bash
https://graph.facebook.com/v13.0/{account_id}/act_{campaign_id}/insights?fields=cost_data,time_data&access_token={access_token}
```
Replace the following placeholders with your own information:

* `{account_id}`: Your Facebook Marketing API account ID.
* `{campaign_id}`: Your Facebook campaign ID.
* `{access_token}`: Your Facebook access token with the "ads\_management" and "pages\_read\_engagement" permissions.

The response will include the spending data in the "cost\_data" and "time\_data" fields.

Please note that this URL is meant as an example, and you may need to adjust it to fit your specific use case or to use a library like 'graph-api' in Power Automate.
assistant