Accessing Campaigns report in AdMob using Adsense API - api

I use Adsense API to access my AdMob account and generate reports. This is the main API request that I use:
https://www.googleapis.com/adsense/v1.4/accounts/accountId/reports
Documentation
The API offer many options for reporting, but what I need the most is the campaigns report, mainly to know the impressions and clicks of each campaign that I have in AdMob. This can be accessed from here:
The report of the campaigns can be accessed also inside Mediation report as they are categorized as "Ad source":
I have tried all the Metrics and Dimensions in this page to access the campaigns report, but it didn't work. The API doesn't seem to return any data that is related to the campaigns or mediation report.
I also looked for the data of AdMob campaigns by using Adwords API. After creating these campaigns in AdMob, they automatically appear in my Google Ads (AdWord) account. Here is a screenshot of my Google Ads account:
The campaigns in the screenshot above that were named AdMob Campaign were created inside AdMob, and the campaign that was named Google Ads Campaign were created inside Google Ads. However, when I request the campaign data using AdWord API, it returns only the campaigns that were created inside Google Ads (AdWord) account. So, even though the account shows them, the AdWord API doesn't return their data.
It is interesting that these campaigns appear in both AdMob and Google Ads accounts, but both APIs of these services are not returning their data. It seems that there is something missing somewhere.
Does anyone know how I can get the data of the Campaigns that were created inside AdMob? I appreciate any help.

Google finally introduced a new API for AdMob:
https://developers.google.com/admob/api
The new API can access campaign data using mediationReport.generate. Just make sure your dimensions include AD_SOURCE_INSTANCE to be able to access them.
Here are more data about the new API:
https://developers.google.com/admob/api/v1/reference/rest/v1/accounts.mediationReport/generate
I tested it today, and it is working well!

Related

Is it possible to get LinkedIn "Competitors analytics" data from LinkedIn API?

As a company page admin, I can access a section on the linkedIn website called "competitor analytics" where I can see some metrics about a list of competitors (number of followers, posts etc...).
I wonder if I could get these data from a LinkedIn API? Or any other possibility to get the data in an automated way?
Thank you for your help!

Missing Google Ad Campigns in BigQuery

App Engagement Campaigns that are present in the Google Analytics Interface are not present in BigQuery.
All other campaign data gets transferred to BigQuery.
Is there a specific reason for this behavior in the transfer job?
The transfer job only uses the Google Adwords v201809 version of the API.
App Engagement Campaigns were only added in the newer Google Ads API.
You will need to set up a connection the the new API in order to pull in that type of campaign (as well as a host of other ad types).

Get media from public accounts with instagram API

I'm working for a company that displays content on big screens located on public places like GYMs or waiting rooms.
One client asked app that shows Instagram content from celebrities accounts, so I created one using the Instagram API.
The problem is that the app is in sandbox mode and it gets blank data.
It seems I can only show media from sandbox users (not Beyonce), when I submitted for review it was rejected because it doesn't meet the requirements.
Is there a way to make it work?
During tests I used a valid access token I found on internet, but I don't think that is a valid solution.
You are correct, when app is in sandbox mode you are only able to see data on Instagram from sandbox users which you have set in advance. You won't get any public data on Instagram in this mode.
According to the API, your app doesn't have the criteria required to get approved.
From the Permissions Review page:
Valid Use Cases
We will approve submissions of apps that fall into these use cases:
To help individuals share their own content with 3rd party apps
To help brands and advertisers understand and manage their audience and
digital media rights
To help broadcasters and publishers discover content, get digital > rights to media, and share media with proper attribution
They also listed use cases of applications that won't get approval and it seems like your app matches one of them:
Here are some examples of scenarios that will not be approved:
One-off projects. If you are an agency building websites or other integrations, note that we don't grant permissions to clients created
for one-off projects. If you are interested in building a product,
platform, or widget that will be used as a service across multiple
projects, then you may submit a single client_id that you can use
across multiple projects
...
To get approved you should modify your application to correspond with criteria, perhaps build multiple projects?
You can also try to pull down the data from this URL: https://www.instagram.com/<username>/media/
For Beyonce account, use: https://www.instagram.com/beyonce/media/
Lastly, the access token is unique per-app, so you can't be using a random one. Here is a tutorial on how to generate access token for your app.

Twitter and YouTube Analytics API

When we login to analytics.twitter.com via our account we could see a brief explanation about our followers like interests and occupation etc.
I have a basic portal that users could logIn via their Twitter accounts and I was wondering that, Is it possible to retrieve those data who loggedIn to my portal via using API?
Those data gathered all under audience insight, and I would like to make a meaningful inference about the people who loggedIn to my portal related the quality of their audience and etc.
All in all, I only would like to know is it possible to retrieve those data via using APIs both for Twitter and Youtube?
There is no API available (from Twitter) that provides access to the data values on analytics.twitter.com.

how can i get all review from google+ using api

i am beginner to google+ developer API and i want to grab user review from any about page for example https://plus.google.com/116018016837619707952/about
i have tried using curl call but didn't get success for all reviews.
also seen the content of document :https://developers.google.com/+/api/latest/people/get
can You just give me the idea about google api to grab review data.
Reviews are not considered part of the Google+ Platform. You have to use the Places API.