Hi,
How can I add new ads account to the current AUTH?
Currently, we are using consumer and token key & secret for getting ads account, and fetch twitter spend data for one game. Now we’d like to do API Integration for another game. How can I add the ads account related to the new game to the current AUTH?
Thanks!
The recommended approach is for the secondary account to authorize your Twitter application via Sign-in with Twitter (3-legged OAuth) then use the access tokens for that account. More information in the docs here.
If you have OAuth questions, you can use this developer form.
Alternatively, the owner of the ads account can grant your app access via ads.twitter.com. More info on both of these approaches in the docs here.
Hi,
Sorry not make myself clear.
We have two games A and B advertising in twitter, on two twitter applications. Currently we have API integration for game A, using auth to get access to accounts and fetch data. now we’d like to do API Integration on game B.
For the current AUTH, we cannot get access to game B ads accounts. What should I do now?
Create a new AUTH for game B or just add account of game B to the current auth on game A application? Is there a dashboard for us to configure the account access ?
Thanks!
Couple things to keep in mind:
- You should only have one application that integrates with the Ads API. That single app can make requests for multiple ads accounts.
- Your app can’t make Ads API requests for an ad account unless the owner of that ad account authorizes your app using the approaches previously mentioned.
I Assume both game A and game B have their own Twitter account and ad account. If you can’t access game B’s account or ask the owner of game B to authorize your app, you will not be able access that account.
Is there a dashboard for us to configure the account access ?
If you log into ads.twitter.com with Game B’s account, go to the top-right menu and select “edit access to account”. You can then add the user account for Game A which will allow Game A to manage Game B’s ad account. Again, you will still need access to Game B’s account to do this.