Home > Paid Traffic Sources > Facebook & Instagram

Facebook URL Tokens (4)


10-24-2014 04:38 PM #1 jamesmerr (Member)
Facebook URL Tokens

I've searched everywhere and it seems that facebook doesn't support dynamic URL params/tokens. How is this possible? The data is there - if you export raw data from power editor, they have columns for CampaignID, AdSetID, AdId that are alpha-numeric UIDs for each particular item:

CampaignID - cg:99999999999
Ad Set ID - c:99999999999
Ad ID - a:99999999999

That said, any 'URL structure' tips that aid in lining up cost/rev (especially with % of sale offers where the bounty is variable as opposed to a fixed value CPA). All revenue/tracking data on the backend gets reported by what I pass in URL params (utm_campaign=, etc.) but cost on the front-end of fb is associated with the actual campaign name. I'm a little reluctant to pass my actual campaign name through to utm_campaign= in the URL for all to see but this would certainly make cost/rev VLOOKUPS easier.


10-24-2014 06:42 PM #2 zeno (Administrator)

Nope, no dynamic tokens.

Remember dynamic implies they change based on users and ad delivery, which is something FB flat out doesn't do.

I agree though that tokens for AdIDs would be great.

This is however not a problem with PMDs for example - most employ their own static tokens that parse to real values in the URL that then gets uploaded.



Anyway, the best way is probably to rename your campaigns and ad sets in a way that makes comparisons easier.

E.g. ad something to the end of each campaign like #USM18_a6, #USF18_a3, etc where a = angle, and the other part is obvious.

Then for ad sets you could do something similar.



Lastly, in your URLs, you could pass through the campaign and ad set IDs that you have made.

You could automate this by using the power editor and spreadsheet upload - just make extra columns at the end for Custom Campaign ID, Ad Group ID, Advert ID. Then, in your various naming columns and the URL tokens part, use Excel functions to dynamically insert text from the same row but in a custom column.

To do this you need to do ="Text here followed by "&CELLREF& -- you can tell Excel to print another cell's value using &CELL& but you need to do this as a function, i.e. ="Text strings"

Example:




I have used this to make ads en masse before, the only caveat is to make sure the FB adgroup/campaign IDs are definitely empty and ensure all ads have unique names - for whatever reason I had trouble uploading when ads had identical names even if they were in different ad sets/campaigns o.O


10-24-2014 10:36 PM #3 jamesmerr (Member)

Great tip! I'll try that in a couple campaigns. I think this should work:

Fb campaign in UI - MyOffer-SomeTargeting-Feed|c3939
Passed URL Param - &utm_campaign=c3939

Then I can export my rev data, export cost data, run a MID("campaignName",FIND("|","campaignName")+1,999) on Facbook cost data which will leave me with 'c3939' and do my VLOOKUP on that (as long as it's unique). Repeat for adsets, ads, wrap everything in a macro (or I'll write something in python to open both sheets and process all the data) and boom!

Thanks.

This is however not a problem with PMDs for example - most employ their own static tokens that parse to real values in the URL that then gets uploaded.
Not to cross-thread but have you ever used a PMD? I just had a call with Ampush the other day. Interesting, but it's a proper agency model (paid on % of spend, they own the whole process, etc.) which I'm not crazy about.


10-25-2014 04:18 AM #4 zeno (Administrator)

Never heard of Ampush but they don't look like a self-service PMD.

I have used several and am currently testing quite a few of them and taking notes, an internal case study of sorts.

At the entry level (i.e. low risk high reward) I would recommend checking our AdEspresso's 30 day trial.


Home > Paid Traffic Sources > Facebook & Instagram