Scope of Uniqueness for Object IDs
1

Google has a really nice document on the scope of uniqueness for object IDs here: https://developers.google.com/google-ads/api/docs/concepts/api-structure#object_ids Is there a similar document for Facebook that tells us how unique Facebook object ids are?

Tyler
Posée il y a environ 3 mois
Réponse sélectionnée
1

What type of objects your question is about? Object IDs are subject to change. They make stay the same for years, however they are subject to change.

10 août, 06:23
Lars
Tyler

For example, is a Campaign's ID globally unique across all Ad Accounts, or is it only unique within the context of a single Ad Account? https://developers.facebook.com/docs/marketing-api/reference/ad-campaign-group What about Ad Set https://developers.facebook.com/docs/marketing-api/reference/ad-campaign and Ad IDs? https://developers.facebook.com/docs/marketing-api/reference/adgroup

I'm trying to use URL Parameters to track ad performance: https://www.facebook.com/business/help/1016122818401732

If the customer has several ad accounts, I wasn't sure if adding just the Ad ID/Campaign ID is enough for me to be able to identify the activity source. If Campaign IDs are unique only within the account, I would need to add both Account ID and Campaign ID. If Ad IDs are unique only within the context of a Campaign, I would need to add both the CampaignID and the Ad ID.

Looking at this document here, it seems to suggest that Campaign IDs may be globally unique. https://www.facebook.com/business/help/2360940870872492 However, I couldn't find any document like the example from Google that explicitly states the uniqueness of these IDs.

Would be great if someone can help me here since the parameters I will be adding, as well as how we will generate IDs within our system will depend on this.

Thanks in advance

12 août, 14:09