morr
morr

Reputation: 140

application_id for promoted_object for AdSet of Facebook Marketing API

Question about application_id for promoted_object of Facebook Marketing API.

I'm trying to create Ads for mobile applications published to Apple App Store or Google Play Market. These are applications of my clients, they are not mine and I don't have access to them.

I have successfully created AdCampaign object with objective=MOBILE_APP_INSTALLS.

But I can't create AdSet object for this campaign.

AdSet requires promoted_object with application_id and object_store_url fields provided. While I can provide object_store_url (it's just a link to application app store page) but I can't provide application_id for this app because this application is not mine.

At the same time business.facebook.com web interface does not require application_id. It requires application_url only. Screenshots: http://take.ms/jFQyY http://take.ms/CCBGM http://take.ms/pmNap

How can I retrieve application_id using application appstore url? Or maybe it is possible not to specify application_id field for promoted_object of AdCampaign with objective=MOBILE_APP_INSTALLS at all?

Upvotes: 6

Views: 9936

Answers (1)

sctan
sctan

Reputation: 31

According to the Marketing API documentation for "Creating Ad Sets with Promoted Object", it says "You cannot specify an object_store_url on its own without an application_id, this is something only available via our native interfaces.".

To retrieve the application_id, you may try the Connection Objects API to get the list of connected Applications to your Ad User account. Your clients need to grant you the advertiser role to their Facebook Application first before you can start listing the applications via Connection Objects API.

Connection Objects API is able to return the object_store_urls, which means you don't need to provide the app store URL manually.

Upvotes: 3

Related Questions