in this tutorial i'm going to give you a,practical introduction to the tick tock,ads api,so at first we're going to learn how to,get access to the ticktack ads api then,we'll examine your account campaigns ad,groups and ads,then you'll learn how you can report on,your ads and lastly how you can find the,best performing ad by ad spend,so this tutorial is targeted,at marketers,who,run some type of tick tock ads and,should be ideally comfortable in a,somewhat technical environment so,maybe you're a spreadsheet pro or you've,dabbled with some,some sort of apis before,maybe you have some programming,experience um,yeah but you must feel somewhat,comfortable,with these terms and,with accessing your tick tock ad account,programmatically,but this introduction will guide you,step by step through how you can do this,yourself,so before we get started,we need to get access to the tiktok ads,api and,if you watched one of our other,tutorials on the facebook ads api it was,very straightforward to get an access,token by creating an application and,then working with a facebook graph api,explorer,on ticktop on ticktalk it's not so easy,so,in order to,make your first api call through the,ticktalk ads api what you need to do,first is register as a developer,then get approved which usually takes a,few days,and then,use your credentials to create an access,token but let's get started,so first of all um you can go to,ads.ticktalk.com,marketing api,and you could should get to a page that,look uh looks some something like this,um this is the home page uh over here,and if you have not created a tick tock,account before there should be a button,here saying register as a developer,and once you've registered as a,developer so you go through a few,different steps here,once you've registered as a developer,you can go and create an app so i'm,going to go to my apps over here,and as you can see i previously already,created,two apps one that we actually use in our,business the kitchen io app and then we,have the kitchen i o demo app which i,specifically created,for this tutorial,i will just run you through how you can,create your own app as well,so first of all let's go over here,create new so,first we need to give it a name so i'm,just going to call this the kitchen,aisle demo at,number two,and yeah,we need to provide a short description,um,we want to,pull some reporting data,all right that did not work,kitchen io demo app number two,pull some reporting data,so these two things are fairly,straightforward now we have two more,points that may,are not so straightforward for you,so we have the advertiser redirect url,and we have the scope of permissions,the advertiser redirect url,is the place where ticktalk will send,advertisers after connecting their ad,account to your app,of course in our case we just want to,create an app that we use ourselves so,there is no advertiser connecting their,ad account this is just us,connected on our own account so you can,just put your home page here i'm just,going to put hours as well,and then we need to select some scope of,permission so in order to protect,advertisers which again in our case is,not so relevant but technically in order,to predict advertisers from accidentally,sharing crucial information with a third,party app like the kitchen io app,the api access is broken up in different,scopes that means if you want to build,an app for other people to use that can,create ads or that can report on ads or,upload assets or something like that,then you can specify what type of,permission is relevant in our case,we can ignore the ad account management,part this would only be relevant if you,were building an app that was about,sharing access to your accounts or,something like that in our case we just,want to do ad management so we want to,read out campaign information etc,we want to be able to report so all of,the reporting levels are relevant and,then,if you,also want to create an ad we also need,creative management in order to upload,videos or images,and that's it so as you can see there,are a bunch of different,scopes of permissions here as well so,for example things like automated rules,things like add comments etc and those,are not really relevant right now,for us for this intro tutorial but feel,free to select anything or everything,as you please and then,once you hit confirm i'm not going to do,this now but once you hit confirm um you,will see that your app will be pending,and this usually takes two to three days,um so,if you're hitting confirm now,stop the video right now and get back to,us in uh two to three days,hopefully you're back and,watching again after two to three days,after being approved so this is what,this should look like for you you'll see,an app id over here,a verification status and a secret and,let's,now,go through the steps of,generating an access token,from our credentials,so i'm going to go open up the this app,over here and what we can see now is,that we have an app id we have a sec
Let's move on to the first section of tiktok ads marketing api
TikTok Ads API Tutorial: Ad groups, Ads and creating a report
TikTok Ads API Tutorial: Ad groups, Ads and creating a report
so now that we have,successfully,gotten our access token and we were able,to get some campaign data for one of our,ad accounts let's actually move through,the other steps a little bit more,quickly and if we look over here,at my,blog article what we can see is that the,next step in our list is to get all ad,groups belonging to a tick tock campaign,and what we want to do after is once we,have,the ad group we want to get the ad or,get ad level data,for this particular,ad set or number of ads and we just want,to take a look at what does the data,look like what does the reporting data,look like can we,spot some similarities to something like,facebook for example,so i'm just going to,start over here so as before let's,revisit what we did,in our other in our previous video so we,were pulling data from,the,campaign,from our ad account on campaign level so,the structure that we used here was this,business api businessapi.tech.com,we have version 1.2 and then we have,campaign get and then we use this,advertiser id,over here and we have a page size as,well and let's duplicate this request,over here,and do this call so let's just try this,i think it's called ad group so i'm just,going to try that same structure it was,a campaign before let's just see if that,works,looks like it does um so that's great,let's see,if we can figure out how we can get,data,just belonging to our just just ad,groups belonging to our particular,campaign that we set up,so let's go over here i'm going to go,over to the official documentation and i,can see there is some campaign ids,filter that we can apply and let's take,a look at the official documentation so,we're here at the get ad groups part um,so if you need a refresher we were in,the api reference ad groups get ad,groups before we looked at the campaigns,and let's take a look at what of the,what are the fields that are available,so we can see that we have the,advertiser id this one we already,supplied and then we can,define what fields we want to get,by default all fields are returned,that's good for us and then we can use,filtering so,and filtering is an object so we need to,supply an object and then we need to,supply campaign ids as a list of as a,list of numbers so let's see if we can,do that over here,i'm going to add the,filtering parameter and then we need an,object,and this object should use campaign ids,and then now this is always the tricky,part uh do we now need just a list,um do we just need a list of ids or,is it,comma separated values so let's try out,a few things i'm just going to take,this campaign id over here,from our other request,and send that through,and now it says not a valid list which,is fair,so i'm going to try,just a list of integers,okay so that's where that that worked so,what we can see is that we supplied this,campaign id not in quotation marks but,just as is let's see if we could have,supplied quotation marks,that also works,let's see what is the difference here,i think there is no difference but maybe,we get these in a different slightly,different order,unsure about it um,so yeah but that works um i'm gonna use,the quotation marks because i think it's,a terrible idea to have,ids,um,formed as integers,so i want to keep these as strings so,this works fine uh looks like this is,how we can get some ad groups so let's,try um,the same i'm going to duplicate this one,and say get all ads,belonging to an ad group,and this really is also doing that so,i'm just going to rename this,belonging to a campaign okay,cool so now this should be pretty,straightforward now so we should just,pick an ad group that we uh got over,here so i'm just going to choose one,so this is the idea world copy over,let's try that so we should just change,the structure here so now we want to get,ad level data so we want to get the add,and instead of a campaign id filter i,want to supply an add group ids filter,and the ad group id i'm supplying is,this one,and it looks like that worked because we,only got back one uh ad so that looks,good,cool um so we have now successfully been,able to get,campaigns ad groups ads,belonging to different,different objects and if i wanted to you,know add a different filter here of,course i could,i choose not to and let's look over the,last step that we want to do so we got,ad groups belonging to a ticker campaign,and we got,all ads belonging to a tick tock app,group,so now let's take a look at the,reporting part so,let's say we,in this case we're now saying let's,create a report that gets ad level data,but we just saw actually that this,particular ad group just has one ad so i,don't really,need to get the reporting broken down by,add if there's just one there,so maybe we can actually get ad level,data,or asset level data entire across the,entire campaign because it looked like,there were a few more that we could,choose from,um so what we need is something called a,basic report and i'm not going to go,through our own blog article but i'm,just going to go through the
After seeing the first section, I believe you have a general understanding of tiktok ads marketing api
Continue the next second section about tiktok ads marketing api
TikTok Ads API Tutorial: Fetching campaigns data
TikTok Ads API Tutorial: Fetching campaigns data
so in the next step let's take a look at,examining our account campaigns ad,groups etc basically look at our tick,tock ad account via the api,and in order to make our first api call,what we need to do is make sure that,we're using the access token that we,created in the previous video and use,that to make our api call so i'm just,going to bring up insomnia over here so,we had our first,call over here where we,requested our access token with our auth,code secret and app id and we got back,the access token so i'm just going to,copy,this over here,and let's,prepare a new request,over here,so in order to make an api request to,tick talk we need to pass in,the,access token as a header argument,so it needs to say access token and then,our access token and then we need to,specify the content type as well as,we're passing in json,and that's it this is what our every,request will look like so all we need to,do now is figure out what type of,requests we want to make,um so let's go over to the official,tiktok,documentation,and i am now in the campaign management,part of the documentation you can see,here where there is an overview and,there's some api reference as well let's,start with the overview,and let's start with the campaign,structure so this is something you may,already be familiar with if you're,running ads on take talk yourself but as,we know this from facebook or google we,have a three-tiered structure so we have,a campaign an ad group sometimes this,will be called ad set on other platforms,and then we have an ad and we can see,the different parameters or attributes,that are being defined on each level so,we have objective and budget and,campaign level,we have,also budget on ad group level so there,seems to be a possibility to set this on,either level the promoted object right,what are we advertising the placement um,the audience,and then of course bidding and,optimization and then on ad level we,have add format the actual creatives,that we're using text call to action etc,so it looks like creatives here in this,case are referring to videos and images,because text and call to action is,mentioned separately on facebook for,example when facebook refers to,something to uh to,as an ad creative uh that,technically means the entire user facing,part of the ad so the video image but,also any text the url etc,cool,so,um,let's,dive into the api reference over here,and let's take a look at some sample,sample request so we can we can actually,get all campaigns i think this may be a,good starting point,to get all campaigns belonging to an,account,all right and what we can see here is,that in order to get the campaigns we,have this request address over here,which is what we can simply copy,and use in our request i'm just going to,copy that over here,this is now my,request and i'm going to rename it to,get all campaigns,cool so of course right now there's no,way for the api to know what,ad account i actually want to use this,for,so,in order to,find out what your,what your,ad account,might look like i've prepared something,over here,so as we can see if you are in your,tiktok ads manager,you can see,maybe you see some data here maybe not,if you haven't run any ads recently,but what you can do is you can simply,head over to the,top of the,url and let me bring this into view,so in the url we can see that there is a,parameter called aadv,and this is actually the advertiser id,or also called account id and so in the,interface this may be called account id,via the api it's usually called,advertise id so i'm just going to copy,this over,move this back,into place,and let's figure out,how we are supposed to make this api,call so,as you can see here,in our request header we need to add the,access token which is what we already,did before i'm not going to,reuse this or show you how to do this,every single time,because this is always the same,but what is important is what are the,request parameters and in particular,what are the required request parameters,so as you can see,next to advertiser id it says required,we can scroll down a little bit seems to,be that that is the only,uh the only required field so let's just,add it over here,on insomnia,and,do that over here,advertiser,id equal to this,so let's see if that works,and yeah indeed it does seem to work so,we added the field advertiser id as a,url parameter over here let's see if we,can also pass it through as the body,adjacent body,sometimes this makes it a little bit,easier to,to add multiple,fields and attributes,okay so that doesn't work so it seems,like this we need to use this as a url,parameter so that's what i'm going to do,advertiser,with a question mark,id equal to,this and we have no body,alright fantastic so as we can see,we can now get we are now getting back a,response and it looks like we got,a code saying,zero which means there's no error we got,a message saying okay we have a request,id for this request that we just made,and then the actual output lives in this,da
After seeing the second section, I believe you have a general understanding of tiktok ads marketing api
Continue the next third section about tiktok ads marketing api
TikTok Ads API Tutorial: Creating Campaigns, Ad Groups and Ads
TikTok Ads API Tutorial: Creating Campaigns, Ad Groups and Ads
in this video i'm going to show you how,you can create campaigns ad groups and,ads,via the tick tock ads api,in this video i'm going to be following,the blog article that you can find on,the kitchen i o page,and in this case we'll be going through,multiple different examples to upload a,video,and image creative to tick-tock then,create a campaign,and add group via the tiktok ads api and,then lastly use all of that information,to create the tick tock ad we will be,needing a campaign and ad group in order,to create an ad and we'll need to have a,video and a thumbnail image in order to,create the creative part of the ad,um so we'll go through this and,you don't have to read all of the text,here in my case i'm going to be using a,sandbox account if you don't have an,account on tiktok that's quite a good,idea,to get one because you can actually get,started playing around with the api,without needing to run any real ads,so in our case what we need to do is we,need to make an api call to this,endpoint,so it is the file endpoint file video,add upload endpoint,and we need to,submit four different parameters so,we need to define the upload type in our,case we're going to be uploading by url,so this is going to be an a video that,is stored on dropbox,then we need to submit a unique file,name and an advertise id of course,that's the account id that we need uh to,specify so the tick tock or the tick,tock ads api knows uh where the video,should be uploaded to,so let's just copy this over here,um and go to my insomnia so we can see,that on insomnia i've already entered,this uh particular information here so,we have our endpoint up above then we,have the advertiser id upload type and,you can see that the file name and the,video urls will show up as these,variables so let's make sure to replace,them,for the video i'm going to be using a,dropbox link and if you've ever shared a,dropbox link what you can do is,you can change the dl equal to zero at,the end to dl equal to 1 and then use,that as a media file link so this is,what i'm going to do,instead here i'm just going to replace,my variable,and then i need to supply a name so in,this case i'm just gonna call it my,youtube demo video,one two three,cool so we need to make sure that this,is a unique name otherwise tick tock,will throw an error,but let's try this out,so we can see it takes a second,this is to be expected because it is a,quite large file of 20 megabytes or so,and as we can see we get a response here,so we get a video id at back and this,video id we will now,use to create an image so i'm just going,to duplicate my request over here i'm,just going to say upload image creative,and ultimately the request is going to,be pretty much the same right now we,don't need to supply a video but instead,an image,and of course we need to,uh give it a specific name,and,the url so in this case we want to,supply an image url and,i'm just going to give it a name,cool,so now let's make sure that we can,actually use this image url over here so,how do we do that well it looks like we,need to use this video id to get a,thumbnail,or what ticktar calls a poster,in order to use that to,get an image id and let's take a look at,the tutorial the written tutorial to see,how we do that,so we're done with the video over here,and yeah we got a response that look,very similar so what we need to do now,is we need to get,uh the video id information so we need,to get some more information about this,particular video um and supply it here,so you can see that the end point that,we're asking for is still file video ad,and then we have info,so let's compare that to the one here so,we had file video ad upload now we need,file video ad info and then you can see,that we need to supply the advertiser id,once more and the video id so the video,id now needs to be put into the url so,i'm just going to copy the entire,part over here,maybe without the get,so copy that part and let's go back to,insomnia and create one more request so,what we want to do is we want to get the,video creative,get video creative information maybe,and what we need to do here is we need,to do a get request,just going to duplicate the request here,and of course we don't need to supply a,body at all because we're passing with,the get request we're passing all of the,uh,information all of the parameters via ul,parameters and not via the body so i'm,just going to remove the body here,and what we need to know make sure is,that we actually supply the correct,video id um and also the correct,advertise id so i'm just going to do,that right now,click the advertiser id from here,and then,from the uploaded video let's copy our,video id,over here,and paste that,and that should be it so we should be,now making a request to the video ad,info endpoint,and as we can see we have our youtube,demo video that we uploaded previously,and we could see that it was just,uploaded we have an id,there is something about height and,width and here is the the part th
After seeing the third section, I believe you have a general understanding of tiktok ads marketing api
Continue the next fourth section about tiktok ads marketing api
Create & update Facebook Ads with an API: Tutorial
Create & update Facebook Ads with an API: Tutorial
one today i want to show you how you can,uh create an ad through the facebook api,and we'll start by taking an existing,ad and reading out all the information,that we can get from it and then we'll,kind of,you know wiggle our way towards making a,change to that ad and then eventually,creating one of our own before we get,started,quickly wanted to introduce our company,to you,so i'm one of the founders of kitchen i,o we build,technology for b2c companies that are,driven by performance marketing,so if you know this topic of this video,and,others more technical solutions are,interesting to you um,we can help you you know do what we do,in this video but a lot faster and,a lot easier without needing to dive,very deep into the code of it all but um,let's get started so as i said the,the best place to um you know to create,an ad,is usually by taking an existing ad and,you know trying to extract all of the,parameters that this ad has,and um and and trying to figure out,what's going on,uh so this is what i'm going to do now,i'm going to go over to ads manager i,already selected this,i have a simple image ad so on the,we'll see this in a second on the api,it's called link add so the type,of ad that has static,images only it's called link ad and,um so in this case we have a photo here,or like an image here we have a headline,we have the primary text which sometimes,is called body text,we'll see as well that on the user,interface in ads manager we always call,this primary text and headline,and description but on the api it can be,called,varied very differently and depending on,what,ad format we have the the places where,we'll find this information,changes so it's a bit tricky um but what,we do have is we have the,website url as well and then we have a,call to action button below,and even a url parameter so very simple,but what we'll try to do is uh you know,kind of figure out how we can get all,this information from this ad,make sure that we'll have it all there,and then maybe make one or two changes,to it,and then eventually kind of create a,second version of this,so um the way to to to do this best is,um if you go to your uh the url and have,this ad selected,uh and i'm gonna press uh end,i guess uh so i went to all the way to,the to the right of this url and at the,end it says selected add ids equal to,and then this is the add id of this,particular ad there's another way to get,this so if you're here,and click on view setup if you go all,the way to the right,you also get the add id so i'm just,going to copy this over,and place it here and this is all i'm,going to do so this is the graph api,explorer,in order to use this you will need to,create a facebook app i think we have,another video on that,but if you if you already have an,application so i'm using the kitchen i o,app here,and you have access to or like the,permission to access your own ad,accounts,then you can do this so i'm going to,press submit see what happens so right,now we got a response from the facebook,api and it said,hey yep i kind of have this object that,you're asking me about,doesn't really tell me anything else,about it so in order,to get more information from the,facebook api we need to ask it for some,fields,there are two ways to do this now either,i can start typing fields,if i know exactly what i'm looking for,for example the name,and then what we'll see is oh yeah we,actually got the name back so and we,can confirm it says my new image ad this,is exactly the ad that we had selected,previously,there's an easier way though on the,graph api explorer this is why i always,recommend using the graph api explorer,when when you know,figuring out or learning about a new ad,object or experimenting with it,we can just kind of go here and um you,know kind of go through all of the,different,fields that are available and so we can,choose for example the ad set,i'm just going to choose adset id,actually um,we can ask it for a bid amount i don't,know if you know this but you can,actually have a specific bid amount on,an individual ad,even though the bit normally lives on,asset level so this is an api only,feature,you will only learn about this when you,kind of you know go through something,like this,um and then the what we can go through,as well we can see,i didn't select id but the id always,comes back to me i can go into create a,time,uh we can get the campaign id if we want,the effective status,maybe any issues that we have ad has,tracking specs are super interesting,and then add creatives so add creative,so you can also see here creative,it's basically the place where we have,all of the creative or,customer facing um or user facing,elements so the image etc will be part,of this creative,field and we can also ask it for leads,so if you have a lead ad,you can do this here um we can even get,some previews so for example if you want,to have and,you know embed the preview of an ad into,a report something like that you know,you can do this we're not going to go
After seeing the fourth section, I believe you have a general understanding of tiktok ads marketing api
Continue the next fifth section about tiktok ads marketing api
How to set up TikTok events API
How to set up TikTok events API
hi guys this is ira from stape and uh in,this video i want to show how to set up,tiktok events api,ticktalk events api is a server-side,tracking from tiktok it's uh it is very,similar to facebook conversion api,um the main difference is that um tick,tock uh does not support,event the duplication for now,it means that if you already have tik,tok browser tracking setup and want to,implement server side tracking you need,to,pause,browser tracking,before you publish your server side,tracking,you need to do it because,if you do not pause browser tracking,your events will be duplicated uh what,does uh facebook conversion api and,ticktalk events api have in common,tick tock has their,click id,that,they use to,match,users and their interactions with your,ads,tick tock also use a user parameter to,match people who visit your website with,people in their database,all the information user information,that you send to tick-tock should be,hashed,and you can send user agent email,external id and,click id,okay,let's get started with setting up,tick-tock events api,to set up tick-tock events api you need,to have a tick-tock developer's account,it is easy,to,apply for a tick-tock developer's,account and from my experience they,usually approve your application within,one or two business days,you should start setting up,tick-tock events api inside the tiktok,ads manager,click assets and then events,you should click create a pixel and,add the name for this pixel,then select here manually install pixel,code,click next,uh then,here you need to like you must to select,developers mode,on the,on this second screen you need to enable,this advanced matching it's basically,you need it because,we will send user parameters from the,server to,increase the match quality of ticktock,events api,so,enable advanced margin and make sure,that these two are enabled and click,confirm,here,you will need to go to settings and,inside the settings you will see events,api settings,here you will need to have a,tick tock developer,app id,so,you,if you already have a tick-tock app,account you just need to pass your,app id here,if you do not have a developer account,here you have instructions how to create,it,okay i already have this account and i,will need to,add my app id let me find it,okay,this is my app id and,then once you added the app id you need,to click generate a,token,so,uh copy this one,and passed it somewhere we will need it,uh,for uh setting up tick tock events api,okay,so this part is done let's go to the,to the,server,gtm,so,all the setup of the for the ticktock,events api is done inside the google tag,manager server container,i already have it ready,and,if you do not have a gtm server,container we already have some videos,and,blog post on how to set it up,so once you set up a,server gtm,you will need to,send start sending data to the server,gtm,we also have a blog post on how to send,data through from web to the server gtm,and um,most of the time we're using two methods,uh the first method is uh using google,analytics for and the second method is,using,data tag and data client,okay,i will start with setting up a,tick tock,uh pixel inside the dictionary tiktok,events api inside the server container,um here you will need to,add a,a new tag,we created a tag for tik tok events api,you can find it inside the server gtm,template gallery so we just click here,search gallery,and,here we will have yeah tick tock events,api this one,and,click edit to your workspace,and then you should go to tags and,create this tag,in this example i want to show how to,set up a purchase event,oops there's the wrong one,so select tag type purchase,the event name,select event name so yeah um tick tock,has some standard event names and they,do not have a purchase event they have,an event place order,uh here you will need to add your access,token that we've generated inside the,tick tock events manager this one,i will use a variable,and then you need to add the pixel id,cd,i will add it as a variable as well,for setting up,a tiktok events api so,i will create a new trigger,um,j4,purchase,and,it will,be a custom trigger uh it should trigger,every time when client name x equals j4,and,event name,equals,purchase so how to,find um,like how to understand what,trigger you should add here,let me show you my web google tag,manager,inside the web gtm i have a ga4,server side,you see here that i have three tags,the first tag is a configuration tag so,basically it's a must if you are setting,up ga4,and they have two other tags,the first tag is sending a page view,event and the second tag is,like enhance the comments tag,it,sends,it uses a data layer inside the web,google tag manager container,and,it sends data to the server container so,you see here that,i'm sending,all the,items,to,uh server container and i also have this,uh here a variable event id i'm using,this the same tag for setting up,facebook conversion api and,if you want to use,like browser and server tracking inside,
After seeing the fifth section, I believe you have a general understanding of tiktok ads marketing api
Continue the next sixth section about tiktok ads marketing api
How to Use Facebook Ads' FREE Marketing Insights Data API
How to Use Facebook Ads' FREE Marketing Insights Data API
how are your facebook ads doing I mean,how are they really doing which,headlines images videos cost actions and,descriptions are driving results if,you're like me you're using Facebook,dynamic creatives on your ads which,basically lets you give Facebook a set,of potential creatives from videos to,images with little text images with,moderate text and it allows Facebook,dynamically pick the ad for each,individual user it thinks will perform,best the only problem with this is if I,look at their advertising platform it's,a little bit difficult to see which of,these images and videos are performing,best so I can optimize the creatives for,later use for example this ad got me 12,signups but I can't see which of the ads,was responsible for most of the signups,and more importantly I care about the,cost per sign up so I can optimize the,creative to attract the right people who,are going to sign up so I've tried,fiddling with more of these breakdowns,and clicking this more menu and even,these reports but I can't seem to figure,this out for the particular type of,conversion the website trial so it's,time to bring out the big guns and look,at the official Facebook marketing API,this is an API that lets me go and query,my own advertising account and pull out,all these metrics programmatically and,while a lot of large advertising shops,and ad agencies may use is to handle,multiple accounts there's nothing,stopping you from using this on your own,ad account no matter how small it is you,can check out the reporting API,specifically just to get back basic,insights from Facebook about how your,ads are doing and you can look at all,these advanced options on how to slice,and dice the ads on how you want to look,at them based on your specific use case,I'm going to show you right now how to,pull down your own advertising metrics,from the Facebook insights API so we can,answer this question which of these,dynamic creative assets are performing,best I'll put a link to this page below,and it'll just follow along I'll show,you how to get started so first you need,to create your own little Facebook app,and what's good is you don't have to,worry about it being approved just to,look at your own data which makes sense,so I created my app here and you go to,the marketing API you can see my app is,still in development which means I don't,have to submit it for review I'm just,using it to look at my own,which Facebook is cool with so to,actually get your API token you're going,to need to use this you go to the tools,section and you can generate a new token,here so for our use case I just want to,do read insight so it can read for the,marketing API and then click here to get,a token now you'll have a token below it,should be blacked out on my screen copy,this and put it somewhere safe it should,last for maybe 30 to 60 days you always,come back here and regenerate a new,token anytime you need now let's do a,little test drive so I don't feel like,using an SDK I just want to use a raw,curl command to access the API so let's,just copy their template here and where,it says API version you have to replace,this with V the current version has a,relief 6.0 you have to put a little v,here which is I don't document anywhere,I figure that out on my own and then,here you put in your ad campaign ID so,if you scroll down if I want to get them,from the entire account I can put in a,CT underscore and then go back to my,Facebook account and I look in the URL,I'll see this thing where it says AC t,equals and then a number you could just,copy that and then put it over here and,that's your account you can also if you,look at their Doc's you can substitute,this with a campaign ID ad set ID your,ad ID we'll get those back in the,response or if you go and fiddle around,with the different campaigns and ad sets,and look at the URL you can get those,IDs there now in my terminal I put in my,access token and I'm gonna run this to,do a simple test so you can see it work,Facebook give you back my account,there's my account and here's my,performance for looks like the past week,I spent 32 dollars on ads and I got,about almost three grand impressions,it's not a lot of information right to,get more data back you need to specify,in your request more fields you want,back from Facebook so it's not exactly,clear from its documentation but if you,click on this little link here called,fields and scroll down a bit until we,get to this fuels table you'll see all,these fields that you can get back for,your account so for example I can get,back the ad name the ad set name and get,back a lot of performance metrics it's,what I'm really interested in like the,clicks the conversions and what I care,about are the cost for actions and then,get granular actions like the cost per,like the cost per comment the cost per,link and most importantly the cost for,starting a trial on my site now as much,as I'd love to fiddle around with curl,or write some,see code to just understand how the API,works
After seeing the sixth section, I believe you have a general understanding of tiktok ads marketing api
Continue the next seventh section about tiktok ads marketing api
How To Use Facebook Marketing API
How To Use Facebook Marketing API
all right today i'm going to show you,guys how to use the facebook marketing,api,um,to get interests find a little bit more,be able to dial in a bit,kind of find hidden interests this is,something i've been doing for i think,about a year and a half now,um,it's really helped out,and they've actually added a few new,things to,their facebook marketing api which makes,it really easy,to set this up,also we're going to go through this,because,um,when we do,get into a little bit more about using,different apis we're also going to talk,about different,different web hooks that we can use so,i'm actually going to go,to,this first one here,and let me uh,head back to the main point now if,you've never made,an app before,you're going to have,a different screen but it's going to,basically tell you,to add a new app okay,you're going to click that button on,your screen and i said i've made,a few different ones just to continue,testing different things but,uh we'll call this,the test marker okay,we'll complete the security check go,through,and,you're going to want to,implement the marketing api,okay but as you can see,um there's different things,that we can convert in the future that,we can talk about in the future,some of them involve some coding there's,gonna be a few uh,web hook things that we can kind of,show we can kind of bring to a crm,but for right now,we're going to work with implementing uh,marketing api okay,and confirm,all right,so,again don't worry really,about any of this other stuff yet,but in the future,i'll be showing you you know,web payments,messenger,audience network account kit there's a,lot of stuff that we can work on,not only from the marketing side but,from a development standpoint okay and,how those can connect,quite a few,uh different things in the future and,how they can connect to quite a few,things in the future too,okay,so,next thing you want to go to is tools,and,access token tool,okay and then you want to copy and paste,that,now i'm going to give you a generic link,that i've used,find it,so,take out,this portion here,and this one,okay,and i'm gonna show you,over here,this,okay,so this is like going to be kind of the,main,main group and you're going to see in,brackets over here,i have the search term i'm going for,okay,so i'm going to type in,say,lawyer,the whole reason why i access this app,token,is so i can,simply copy and paste it okay,and,put through,at the end okay and like i said i'll,send this to you,um as i'm sending this video so you guys,can have access to this pretty like i,said it's really,really simple okay,and i'm going to click,enter,now you're going to see,a few of these pop up but not that many,the reason why,is because they limit,take out,this percent limit or percent 20 they're,only showing 20 percent now the reason,why,is facebook wants you to be in constant,competition right they want more ads,going out there they don't want to show,you all the interests,even though they're all there okay,and,once i was able to look at this api and,i'll talk more on in another video,about linkedin api because i found that,as well,and how to,you know really dial in even more there,because you already have,their profession and everything but,there's a few other things you can pull,from that,now for this again they're trying to,limit it,and you'll see how many more,uh results popped up okay the whole,point,is to have us all,pull up those interests right,and then not be able to truly,completely dial in,because if we're completely dialed in,as you've seen on many of your ads that,you've really scaled down to a point,your click-through rates are fantastic,right,so,they're really good,so anyways you get to see,let's say you're going you want to,make a sales page an ad copy,um for a lawyer you want to bring them,in and say hey,this is what i do,and,i want to give you adwords i want to do,this this and this,um,in a previous,discussion i talked about,how to write ad copy how to write,landing page copy,and how you guys can automate that so in,most cases they're just going to pay,right there and you're going to receive,an email,stating they paid and then obviously,our outsourced team for the marketing,side from google there's going to handle,everything and keep you up to date,it's all done for you right,now,as i'm going through this,over here,why this matters is you're able to look,through,and think of things or look for,different interests that,i mean only,a lawyer is going to want to be a part,of right,and if i scroll to the bottom,like new york county lawyers association,right,what i do is i take this name,okay,i'm gonna put it into google which i did,here,when i click on this link i went here,i always look for this icon,because it'll bring me here,okay,when it brings me here,i know,that these individuals,are all gonna be lawyers,okay,if you want to really crack down on,things,see what they're talking about,look at different associations,look for law journals,right,and over here,new york state bar
Congratulation! You bave finally finished reading tiktok ads marketing api and believe you bave enougb understending tiktok ads marketing api