curl --request GET \
--url https://api.apostra.com/api/v2/buyer/storefront-connections/{connectionId}/accounts/{accountId}/reporting-campaigns \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.apostra.com/api/v2/buyer/storefront-connections/{connectionId}/accounts/{accountId}/reporting-campaigns"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.apostra.com/api/v2/buyer/storefront-connections/{connectionId}/accounts/{accountId}/reporting-campaigns', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"reportingCampaigns": [
{
"upstreamCampaignId": "123456789012345",
"upstreamAccountId": "act_123456789",
"provider": "meta"
}
],
"hasMore": true,
"nextCursor": "<string>",
"provenance": {
"provider": "meta",
"population": "current_effective_status_subset"
}
}{
"data": null,
"error": {
"code": "<string>",
"message": "<string>",
"field": "<string>",
"details": {}
}
}{
"data": null,
"error": {
"code": "<string>",
"message": "<string>",
"field": "<string>",
"details": {}
}
}{
"data": null,
"error": {
"code": "<string>",
"message": "<string>",
"field": "<string>",
"details": {}
}
}{
"data": null,
"error": {
"code": "<string>",
"message": "<string>",
"field": "<string>",
"details": {}
}
}{
"data": null,
"error": {
"code": "<string>",
"message": "<string>",
"field": "<string>",
"details": {}
}
}List reporting-only Meta campaign identities
List currently enumerable Meta campaign identities for one connected account without reading a management snapshot. The collection is an effective-status subset, not a historical or deleted-campaign archive.
curl --request GET \
--url https://api.apostra.com/api/v2/buyer/storefront-connections/{connectionId}/accounts/{accountId}/reporting-campaigns \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.apostra.com/api/v2/buyer/storefront-connections/{connectionId}/accounts/{accountId}/reporting-campaigns"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.apostra.com/api/v2/buyer/storefront-connections/{connectionId}/accounts/{accountId}/reporting-campaigns', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"reportingCampaigns": [
{
"upstreamCampaignId": "123456789012345",
"upstreamAccountId": "act_123456789",
"provider": "meta"
}
],
"hasMore": true,
"nextCursor": "<string>",
"provenance": {
"provider": "meta",
"population": "current_effective_status_subset"
}
}{
"data": null,
"error": {
"code": "<string>",
"message": "<string>",
"field": "<string>",
"details": {}
}
}{
"data": null,
"error": {
"code": "<string>",
"message": "<string>",
"field": "<string>",
"details": {}
}
}{
"data": null,
"error": {
"code": "<string>",
"message": "<string>",
"field": "<string>",
"details": {}
}
}{
"data": null,
"error": {
"code": "<string>",
"message": "<string>",
"field": "<string>",
"details": {}
}
}{
"data": null,
"error": {
"code": "<string>",
"message": "<string>",
"field": "<string>",
"details": {}
}
}Authorizations
API key or access token
Path Parameters
Storefront connection ID
Storefront connection account ID
Query Parameters
Maximum reporting campaign identities to return.
1 <= x <= 10050
Opaque continuation cursor returned for this same connected account and reporting filter.
1 - 2000Response
List reporting-only Meta campaign identities
One bounded page of current reporting-only Meta campaign identities for one connected account, with their population provenance.
Show child attributes
Show child attributes
1How the reporting-only collection was read. The current Meta account edge exposes an effective-status subset and is not a historical or deleted-campaign archive.
Show child attributes
Show child attributes