Facebook Attribution tracking template in Google Ads - facebook

I'm trying to setup Google Ads Click Tag tracking for Facebook Attribution and I have some difficulties to finish it.
I copied the Click Tag from[enter image description here:
But when I paste it to Google Ads Tracking Settings and I test it I see this "Final URL Mismatch" error:
Is there anything wrong with tracking template? Or is it okay to save it and ignore the error?

Did you consider that cross-domain redirects are not allowed in case of Google Ads? I think it's not meant to use it with Google Ads.
So my take is that if you use the Final URL for situations when parallel tracking is not allowed, it should work.

Related

How to Use Firebase Dynamic Link in Facebook App Install Ad?

I'm trying to create app install ads on Facebook for an App. I would like to track installs via Dynamic Links so I can see the effectiveness of each ad/campaign for user retention & various conversion events down the funnel.
With Facebook Ads, the only option for tracking is to add a dynamic link to the ad. However, the Firebase link is not a dynamic link, but a web link, so it isn't accepted by Facebook Ads.
I'm curious if others have had this problem and if there is a solution.
I believe this may not currently be possible.
At Branch.io, we have a workaround for this by inputting a backup URI scheme link into the Facebook ad. But it appears the Firebase dynamic link does not have the required App Links tags set to support this method.
You may either need to rely on the Facebook console to track these, or use a different deep link provider.

Removing ads in facebook canvas app/ page

I am creating a facebook canvas app and I was wondering if its possible to manage the ads displayed to the right of the app.
Maybe remove the ads, or choosing which one can be displayed.
I am using the facebook php sdk and js sdk. I can not find within the documentation any usefull function to do this.
Any help would be appreciated.
Facebook doesn't offers control on their ads on any area to anyone directly or indirectly through apps. They manage their ads their own.
Currently it's not possible to remove the ads, or choosing which one can be displayed. And I don't think in future they will be giving permissions for other users. Canvas page is loaded on Facebook hence we can't remove it. Facebook earning lot of money through ads. They won't allow anyone to manage their ads.

ui.methods permissions.request in share url

Earlier today I noticed a friend shared a Viddy video which made me curious. When I clicked on the share link I immediately got an authorization request dialog with custom text on the "next/login" button (Watch the movie). The URL for this share which triggered the behavior was this:
http://www.facebook.com/
connect/
uiserver.php?
app_id=125119214225766
method=permissions.request
redirect_uri=http%3A%2F%2Fwww.viddy.com%2Fvideo%2F2f44f934-bc2f-419f-b462-c46f261744ee
response_type=code
display=async
perms=email%2Cpublish_actions
auth_referral=1
fb_private_mode_enc=ASJbi0_rc8L9GhOWGzXF1eZQgqGW6WhIquDadvKiRi8uZRozkFn937vhtfsR_Krg8iM
I've looked around trying to find this feature documented. How am I suppose to generate such share URLs? I found some documentation on fbdevwiki.com, but that does not cover most of the arguments. If anyone could guide me to some documents I'd be very grateful.
That's an app using Authenticated Referrals so that users are prompted to grant permission directly on Facebook's chrome instead of landing on your app unauthenticated, and then bounced to an auth dialog and back to the app again.
The 'watch video' text in the auth dialog is because this app is publishing 'watch' actions in the Open Graph API
{edit} it appears the 'watch video' link is only shown for preselected partners and isn't available for all video apps
{/edit}
The generated url you see is generated by the app, you can achieve this by creating your own app and giving it the permission.
You can start by going to Facebook Developer

"The post's links must direct to the application's connect or canvas URL" - error

I am trying to post to user wall but I am receiving this error when when share window pops up:
The post's links must direct to the application's connect or canvas URL
Now, I made a proper Google search in hopes to find a solution, but the only one given was that I need to disable "Stream post URL security". I checked the advanced settings for my app and it is already set to disabled.
So, by having a few years of experience with development on Facebook, and by knowing how incredibly bad the communication between us developers and FB has been in the past, I'm highly doubtful that they will assist me on this. Although I have heard that feedback is better here on SO than the good old FB platform forums. Well, lets see if my only option is to set my hair on fire or that there might be a kind soul out there that can assist.
This answer from the WordPress forums via user Samuel Wood (Otto) worked for me:
Go to the Facebook App. Edit its settings. On the Advanced settings page, disable the "Stream post URL security" option.
Did you generate the access token using the Graph explorer app on FB?
Make sure you select your app from the select box on the top-right.
It will be selected as Graph Explorer by default.
This error happens as the selected app would be Graph explorer and its canvas/site url is not pointing to your site.
Doing this fixed my problem; it may fix yours as well.
With the new app interface, issue is solved by turning off the "Stream post URL security" in the "migration tab"
you always have to use the same domain for linking as specified on the app's developer settings. Now you can have several tlds, and custom prefixes as well.
For others experiencing this problem, I was able to resolve this by configuring the Facebook > App > Settings > App on Facebook > Canvas URL

how to track traffic source for a Facebook iframe application

I have a facebook iframe application - let's call it apps.facebook.com/my-app.
We currently use Google Analytics for our tracking, and I correctly have Google Analytics installed on my application (that is included via iframe to the FB app) & it is tracking any use of the application mentioned above.
However, I would like to find out what the traffic source is to my-app PRIOR to facebook; ie, if a user goes to domain1.com, and follows a link from there to apps.facebook.com/my-app, it appears that the "traffic source" gets tracked as "apps.facebook.com" rather than "domain1.com", b/c the GA is installed within my code of the page included via the iframe, so its http referer is apps.facebook.com
Is there any way to retrieve "domain1.com" as my traffic source, in this case? Or any suggestions to try? (whether using Google Analytics, or another source? I see that the facebook insights does give some information on referrers, but it's not very extensive at all; no date ranges, etc)
Thanks so much!
- ali
Just using Google Analytics in Facebook, there isn't much you can do here. However, what we've done in the past (to general success) is to create a redirect link outside of Facebook with the analytics on it, and push all traffic there first.
In other words, create a page at www.myapp.com/redirect, and put the google tracker there (or, alternately, just append the referrer url to the query string manually). Then, redirect with javascript out to the Facebook canvas app URL. That way, the user ends up in the right place, and you get your referrer info as well.