Dynamic Ad creation

api

#1

I’d like to create and serve dynamic ads based on some business rules I have, if I understand correctly, I need to create a Campaign, define a Schedule, Budget and Funding instrument. I then need to add Line Items (Ads) which will spend the budget as per the Campaign?

Can this be done programmatically?
Can I define the contents of the Ad?

Regards and thanks.


What is the minimum audience size when using website visitors custom audience
#2

Hi, please go ahead and check Ads API Frequently Asked Questions (FAQs) and the rest of our documentation and please confirm whether the information you need is contained within our documentation or not. Generally the Ads API exists to do the things you are mentioning.


#3

Hi, I followed the steps and my app has been granted access but I still get this error:

{
“errors”: [
{
“code”: “UNAUTHORIZED_ACCESS”,
“message”: “This request is not properly authenticated”
}
],
“request”: {
“params”: {}
}
}

I am running out of time to complete the Ad Challenge ! :slight_smile:


#4

Note: I can get this far:

{
“request”: {
“params”: {}
},
“data”: [
{
“name”: “SocialOpinion”,
“timezone”: “Europe/London”,
“timezone_switch_at”: “2016-04-21T23:00:00Z”,
“id”: “18ce549rjnj”,
“created_at”: “2016-01-10T11:55:05Z”,
“salt”: “069545fe3a5f7a26e3d4856bb1fba0d4”,
“updated_at”: “2016-04-23T10:28:22Z”,
“approval_status”: “ACCEPTED”,
“deleted”: false
}
],
“data_type”: “account”,
“total_count”: 1,
“next_cursor”: null
}


#5

Dynamic ad creation is in closed-alpha and must be whitelisted for an account management team at Twitter for use.


#6

Hi, I have been advised that its already whitelisted by Twitter support though?


#7

AppID: 9456880

Meant to add, I’m using Postman to make the requests.


#8

Ads features are whitelisted on an ads account level, not an app level. Contact the advertiser’s account manager if you have questions on access to alpha features, as these are not exposed on the features endpoint in the API.


#9