Marketing API Version

Ad Account Activities

Reading

The activities of this ad account

Parameters

NameDescription
add_children
boolean

Include activities for child objects, please use with extra_oids.

business_id
numeric string or integer

This parameter is a required parameter once the ad account is associated with any business account.

category
enum {ACCOUNT, AD, AD_SET, AUDIENCE, BID, BUDGET, CAMPAIGN, DATE, STATUS, TARGETING}

Filter events by category.

extra_oids
list<numeric string or integer>

Array of extra object ids.

oid
numeric string or integer

Filter events by object ids.

since
datetime

The start time to query account history. Default is 7 days prior.

uid
int

Filter events by the user id.

until
datetime

The end time to query account history. Default is now.

Fields

Reading from this edge will return a JSON formatted result:

{ "data": [], "paging": {} }

data

A list of AdActivity nodes.

paging

For more details about pagination, see the Graph API guide.

Validation Rules

ErrorDescription
100Invalid parameter
200Permissions error
272This Ads API call requires the user to be admin of the application

Creating

You can't perform this operation on this endpoint.

Updating

You can't perform this operation on this endpoint.

Deleting

You can't perform this operation on this endpoint.