Ad Accounts

Ad account change / audit log

Changed on

Shows who changed what in an ad account and when, as an audit log of edits to campaigns, ad sets and ads.

Google: reads the customer's change_event history, newest first. Google keeps 30 days of it, so since defaults to 29 days ago and an older since returns 400; until defaults to today. Each change is mapped onto the Meta row shape: event_type = resource_change_operation (CREATE, UPDATE, REMOVE), event_time = change_date_time, actor_name = user_email, object_type = change_resource_type, object_id = the last numeric id of object_resource_name, application_name = client_type, changed_fields (array), and extra_data = a JSON string { old, new } with Google's old and new resource. Pass paging.after back as after for the next page; it is null when nothing older is left. A page never splits a change batch (the changes of one request share an event_time), so a page can hold fewer rows than limit while more follow, or more when one batch is larger than limit. adAccountId is the numeric customer id.

Meta: Account-level audit log from Meta's /act_X/activities: who changed what and when (creates, edits, status flips, budget changes...) with Meta's translated event names and the structured before/after in extra_data. Rows are returned verbatim. Meta has no server-side per-object filter on this edge, so objectId filters the returned page client-side (combine with paging to walk history for one campaign/ad set/ad).

get/v1/ads/activity

Request

  • Base URL: https://zernio.com/api
  • URL: https://zernio.com/api/v1/ads/activity
  • Auth: HTTP bearer

Query parameters

accountIdstring required

Zernio SocialAccount id (posting or ads variant) used to resolve the Meta token.

adAccountIdstring required

Meta ad account id (act_<n>), or the Google customer id (digits only).

sincestring date

Start of range (YYYY-MM-DD). Google: at most 29 days ago, the default.

untilstring date

End of range (YYYY-MM-DD).

objectIdstring

Client-side filter to one object id (campaign, ad set / ad group or ad).

limitinteger

Rows per page

afterstring

Cursor from paging.after of the previous page.

Response

Activity rows (raw Meta shape; Google changes mapped onto it)

adAccountIdstring
dataobject[]

Changes

    • info

      added the non-success response with the status

    • warning

      added the new account enum value to the / response property for the response status

    • warning

      added the new account enum value to the / response property for the response status

    • warning

      added the new account enum value to the / response property for the response status