Can I track ad revenue per each unique section of an app? - flutter

To simplify, assume I've an app that's similar to Reddit and I would like to track the ad revenue for each subreddit.
In such case, what's the appropriate way to track the revenue for each unique subreddit?
I assumed that I could create an ad unit id for each subreddit but I'm not sure if that's appropriate or if it has any limitations (e.g. limit to how many ad unit ids can be generated). Please let me know If I'm misunderstanding how the ad unit ids work because all this is new to me.

e.g. limit to how many ad unit ids can be generated
-> There is no limit on number Ad units that can be used https://support.google.com/admob/answer/7356431
You can have n number of ad unit ids used on single page as long as you follow admob implementation guidelines https://support.google.com/admob/answer/2936217?hl=en&ref_topic=9756841
In such case, what's the appropriate way to track the revenue for each unique subreddit?
Not sure which programming language you are using but you can use firebase analytics to track your ad revenue https://firebase.google.com/docs/analytics/measure-ad-revenue
Use Admob API to generate required report https://developers.google.com/admob/api
Or simply use apps.admob.com (Reports->Start a new Report) and generate report manually for each unique appid

Related

Google Home - How to get Unique id for our custom analytics report

We are creating a custom analytics report. We need to check new user and returning user count. Currently Google Home provides a userId, but the problem is if user is not using it for more than 30 days it will delete the userId. so we need a unique deviceId. Is there any chance to get unique deviceId.
Short answer: no.
Longer answer:
You can't get a Device ID for a few reasons:
Multiple users can use the same device. If you actually want to track unique users, you don't want a Device ID anyway.
A user can use your action from multiple devices and will be reported as the same user between all of them.
Even if they did, it would likely have the same limitations as for the user ID, resetting it after a period of non-use.
Use the unique user ID. Even with the ability for the user to reset it and with the 30 day non-use revocation, it provides you with an accurate enough representation of the number of unique and returning users you have that parallels the unique identification that is available on the web.

Multiple adsense publisher id's mixing and matching etc

Does anyone know the adsense TOS regarding using more than one publisher ID
on a site.
can a page have 1 ad using publisher ID#1 and another ad using publisher ID#2
i.e the top banner ad is using one pubid and the bottom banner ad is using another
pubid
This is important as I have been noticing some very strange results lately, but
I want to make certain what I am doing is 'legal' before saying more..
You are allowed to have multiple Adsence id's on the same site, even the same page as long as the total number of adds per page is not exceeded (I don't think extra adds will show up if you have more than 3 anyway.)
There are a number of sites around that allow you to include your Adsence ads with your content. Take a look at these:
www.weebly.com
www.hubpages.com
www.triond.com
More...
Its 100% allowed to use more than one publisher ID on a single page or across a website provided the total number of ad units per page is not exceeded (that per page not per account.)
http://productforums.google.com/forum/#!topic/adsense/eBwPjDixtUY
The answer is that yes, we do allow this. But before you place your ad code on the same page or site as another publisher, here are a few important points to keep in mind:
The maximum number of products per page will remain the same.
If you don't own the site, you'll need to receive permission from the site owner to display your ads on their pages.
We're unable to divide earnings between accounts, so any revenue generated will be credited to the account associated with the ad unit that was clicked or viewed.
Any shared site that displays Google ads must also comply with our program policies.
You're responsible for the content of any page where your ad code appears. Before placing your ad code on another publisher's site, we recommend reviewing the site for any policy violations.
And one final tip before giving your code to another publisher -- try using our Allowed Sites feature to monitor where your ads are appearing and keep your account in good standing.
http://adsense.blogspot.com/2008/07/sharing-your-ad-space.html

Given a facebook ID, what metrics can I use to mark the profile as fake?

I am running a photo contest on my facebook page via a third party app (shortstack).
The grand prize is supposed to be given to the person with maximum number of Votes.
Each vote is mapped to a facebook ID, which is available to me via shortstack. The problem is that there are too many votes from fake profiles, I inferred this by manually looking at number of friends of the facebook profiles of people who had been voting (I have their facebook Ids).
I am also aware that I can extract out only the publicly shared information of these users via the opengraph.
In short, how should I go about marking all the votes in two categories "Genuine" and "Fake", after subjecting all the IDs to a certain logic that uses information out of the publicly shared user info for that Id?
As an example, let us assume number of friends a particular profile is the only metric that would be used to identify if a profile is fake or not. Now there would be that magical benchmark (number of friends) above which a profile can be considered genuine and below which all the profiles can be considered fake, although there could be some fake people above this benchmark and some genuine fellas below it. In our case, these metrics would also consist of other information a user shares via the opengraph, values and patterns of these parameters being different for genuine and fake users. The point is that I am sure that eliminating fake profiles is very common problem faced by people conducting contests,as they would like to choose the winner on basis of contestant's ability to spread the brand to genuine users. So, there must be people out there who have invested their time inthis, and it would be awesome to get some know-how on this.

update creative in existing ad group

We are trying to update\replace the creative of existing adgroup with no success.
According to the documentation is supported:
Updating and deleting ad groups
*Using the ad group ID, you can update the following fields in an ad group:
name
max_bid
adgroup_status
bid_type
targeting
creative*
We pass a new creative id to the adgroup using the graph api , but nothing happens.
How can we update the creative of an existing adgroup?
Found a solution, you can replace the creative but you can't edit an existing creative.
You are only able to rename the creative and/or change the creative's run status. Other elements of the creative cannot be updated.
The AdCreative object is designed to help devs reuse the same creative across multiple adgroups. They have decided to lock it down so it cannot be edited after creation so that clients do not accidentally change the creative of 1,000s of ads without directly editing those ads. The concern is that people may forget which ads a creative is used in and they may end up editing the creative of an ad they don't intend to change.
In order to update let's say the creative's link_url, you need to post to graph.facebook.com/{adgroup-id} with a parameter creative and the value {link_url:"your_new_url}. New creative will be cloned from the old one, the new link url will be set, and the new creative ID will be assigned to the ad group.
At least this works at the moment :)

How do I show information to users belonging to different groups (web) in modx

I have created a website using modx evolution v1.0.2.
The website that I have developed has 12 different types of users (categorized in groups). Each user will be shown a different price depending on the group to which he belongs.
Till now I have been able to fetch the group name of current logged in user (created a snippet for that), but how can I achieve the above mentioned functionality so that each user should be able to see only the price that I have coded according to his group.
For example:
If a user is associated with the 'ocassional' group then he should be shown the price as , say, 50 bucks
and if a user is associated with the 'regular' group then he should be shown the price as, say, 40 bucks
I can easily do this by coding a single snippet for every product's variant, but there are a lot of variants (more than 100 and growing).
I have created a resource(page) for every product and it's variant. Every variant has a price. It is this price that I want to be shown according to the logged in user group membership.
I hope I am able to explain my query clearly.
Please help me do this functionality.
Thanks
I'm not really convinced that modx (as much as i love it) is a great solution for e-commerce sites.
However, the best solution might be to use the database to store the prices of variants per user group and retrieve them yourself using a snippet.