My Application has both ads_management and ads_read permissions. I need to get campaigns, adssets & ads under an ad account, and I don't have any permission on.
My question is, if user with admin privilege on ad account/page granted my app to read page ads using read_ads permission, I will be able to get ads under this specific ad account? And if no, how I can get ad set insights for ads on pages their owners grants my app permission to read their ads?
Related
If my application has the ads_read permission I can query by user with the access token for my app and I can see all the ad accounts a user has.
I can then also query any of the ad accounts, although some of them should not be accessible to the app that has the ads_read permission
I can see no granular scope permission that would enable me to set specific ad accounts for an app.
Is there something I am missing when I can specify what ad accounts my application can query and get insights for?
am I missing another granular scope permission that would enable this?
Regards
Mark
I am trying to view my Instagram account after logging in to Facebook.
Currently, the business Instagram account linked to Facebook cannot be viewed.
Do I need to verify my business on Facebook > App to get Instagram Basic permission?
I created a facebook app (which is currently in dev stage, hence not approved by FB yet).
I need to get the daily ads insights reports for all my customers, so I need them to grant access for my app (ads_read).
I do not understand and cannot find it in the documentation, how do I get my customers to grant me (my app) access to their ads accounts.
Do I need to setup a Business Manager?
thanks
I tried using app token but it only accesses my accounts
There are two options:
Add them to your App as Test Users, so they can use the permissions without review
Go through review with the neccessary permissions
An App Token does not have any relation to a User, so you cannot even get access to your own Ads with that one. You are probably talking about a User or Page Token.
More information about Tokens: https://developers.facebook.com/docs/facebook-login/access-tokens/
I am building an app for fetching facebook user_photos.
I logged into facebook developer's account and created my app. Iam being the admin of the facebook app Iam able to fetch the photos only for my login and not for other login.
I submitted my application for review and permissions.Got user_photo permissions which is highlighted in green.
I changed my app from Developer mode to LIVE mode.
I am able to login through any user successfully and fetch their name and profile pic, as the public profile requires no permission but not able to fetch their user_photos and emailid.
My question is in my code Iam passing publish permission to facebook during login.
self.FBLoginButton.publishPermissions = #[#"public_profile", #"email", #"user_friends", #"user_photos"];
But, when I login through other aoccount oAuth page asks only for public_profile permission and does not provoke to ask user_photos or email permission even if the app permission for user_photos and email is approved and the app is live.
As i am the admin, for my login I am able to fetch the user_photos and emailid.
I did the login process once again and it started to work. All that i observed here is call AppEvents in app delegate and call read permission in viewDidLoad. Thank you .
I'm working on a application that post messages on facebook pages using the manage_pages, publish_pages roles.
Now we need to boost some of those post using ads. For that reason, we also ask for the ads_management, read_ads roles.
With these roles and the marketing api, we thought that we will be available to create an ad for the page post (with the access token of the page) and using an ad account linked to the app, not to the page (the ad is a reward for posting, so it will be payed by the app).
In our first POC, we get authorization errors when using the access token of the page and the ad account of the app. And this is logic for me: an app cannot allow a page token to use the money on an ad account that does not belong to him/them!
Ok. We changed of approach. Now we use a user token from someone of our organization that have access to the the ad account. Now the marketing api is allowing us to manipulate the account, but this user cannot create ads for the posts of the managed pages because it does not have the Advertiser role on each of those pages!
I think that the problem is that the marketing api does not use application level roles but user roles only ... I'm right?
I'm saying this because our application has all the roles that we need, but of course, our staff don't (facebook users authorize apps, not people from the app's organization).
So, there is a way to use the facebook marketing api using an app that can post and manage ads for that page but that use an ad account that is not related to the page?
The page, for which you want to run ads, will have to add the Ad Account (or respective User account that has access to the Ad Account) as an advertiser to the page. That way, you app will be able to create ads for those pages. Can you confirm that works?