Get Pin analytics
Get analytics for a Pin owned by the "operation user_account" - or on a group board that has been shared with this account.
- By default, the "operation user_account" is the token user_account.
Optional: Business Access: Specify an ad_account_id (obtained via List ad accounts) to use the owner of that ad_account as the "operation user_account". In order to do this, the token user_account must have one of the following Business Access roles on the ad_account:
- For Pins on public or protected boards: Admin, Analyst.
- For Pins on secret boards: Admin.
If Pin was created before 2023-03-20 lifetime metrics will only be available for Video and Idea Pin formats. Lifetime metrics are available for all Pin formats since then.
Path parameters
Unique identifier of a Pin.
Query parameters
Metric report start date (UTC). Format: YYYY-MM-DD. Cannot be more than 90 days back from today.
Metric report end date (UTC). Format: YYYY-MM-DD. Cannot be more than 90 days past start_date.
Apps or devices to get data for, default is all.
Pin metric types to get data for. VIDEO_MRC_VIEW are Video views, VIDEO_V50_WATCH_TIME is Total play time. If Pin was created before 2023-03-20, Profile visits and Follows will only be available for Idea Pins. These metrics are available for all Pin formats since then. Keep in mind this cannot have ALL if split_field is set to any value other than NO_SPLIT.
How to split the data into groups. Not including this param means data won't be split.
Unique identifier of an ad account.
Response
The request has succeeded.
Changes
Changed in 8 of the 29 revisions of this API.1438
- ○
added the non-success response with the status
401response-non-success-status-added
- ○
added the non-success response with the status
429response-non-success-status-added
This revision also has 182 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ○
the endpoint scheme security
client_credentialswas added to the APIapi-security-added
- ○
added the enum value
PROFILE_VISITto the propertyitems/oneOf[subschema #1]/of thequeryrequest parametermetric_typesrequest-parameter-property-enum-value-added
- ○
added the enum value
USER_FOLLOWto the propertyitems/oneOf[subschema #1]/of thequeryrequest parametermetric_typesrequest-parameter-property-enum-value-added
This revision also has 4 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ○
added the optional property
additionalProperties/lifetime_metricsto the response with the200statusresponse-optional-property-added
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ▲
removed the enum value
IMPRESSIONfrom the propertyitems/of thequeryrequest parametermetric_typesrequest-parameter-property-enum-value-removed
- ▲
removed the enum value
OUTBOUND_CLICKfrom the propertyitems/of thequeryrequest parametermetric_typesrequest-parameter-property-enum-value-removed
- ▲
removed the enum value
PIN_CLICKfrom the propertyitems/of thequeryrequest parametermetric_typesrequest-parameter-property-enum-value-removed
- ▲
removed the enum value
QUARTILE_95_PERCENT_VIEWfrom the propertyitems/of thequeryrequest parametermetric_typesrequest-parameter-property-enum-value-removed
- ▲
removed the enum value
SAVEfrom the propertyitems/of thequeryrequest parametermetric_typesrequest-parameter-property-enum-value-removed
- ▲
removed the enum value
VIDEO_AVG_WATCH_TIMEfrom the propertyitems/of thequeryrequest parametermetric_typesrequest-parameter-property-enum-value-removed
- ▲
removed the enum value
VIDEO_MRC_VIEWfrom the propertyitems/of thequeryrequest parametermetric_typesrequest-parameter-property-enum-value-removed
- ▲
removed the enum value
VIDEO_V50_WATCH_TIMEfrom the propertyitems/of thequeryrequest parametermetric_typesrequest-parameter-property-enum-value-removed
- ●
for the
queryrequest parametermetric_types, the type/format of propertyitems/was changed fromstring/to/request-parameter-property-type-changed
This revision also has 5 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ●
for the
queryrequest parameterad_account_id, the maxLength was set to18request-parameter-max-length-set
- ●
- ○
added the non-success response with the status
400response-non-success-status-added
- ○
- ▲
removed the enum value
ATTRIBUTION_EVENTfrom thequeryrequest parametersplit_fieldrequest-parameter-enum-value-removed
- ▲
removed the enum value
CONTENT_TYPEfrom thequeryrequest parametersplit_fieldrequest-parameter-enum-value-removed
- ▲
removed the enum value
CONVERSION_TYPEfrom thequeryrequest parametersplit_fieldrequest-parameter-enum-value-removed
- ▲
removed the enum value
OWNED_CONTENTfrom thequeryrequest parametersplit_fieldrequest-parameter-enum-value-removed
- ▲
removed the enum value
PIN_FORMATfrom thequeryrequest parametersplit_fieldrequest-parameter-enum-value-removed
- ▲
removed the enum value
SOURCEfrom thequeryrequest parametersplit_fieldrequest-parameter-enum-value-removed
- ●
removed the optional property
allfrom the response with the200statusresponse-optional-property-removed
- ▲
- ○
endpoint added
endpoint-added
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○