DFA Reporting API - get data directly from API - api

I've been looking and searching for quite a while on https://developers.google.com/doubleclick-advertisers/reporting/v1.3/. What I'm trying to find is a way to directly get the data via the API. Is this possible?
As far as I can see you can create reports, run this report which generates a file and then get the download url to the file with the actual data in it. Is it not possible to directly get the data through the DFA reporting API?

No! I don't think it is. As far as I know the API is more like a programmatic recreation of the web interface. It doesn't operate like I'd expect an API to work.

Related

How to call Google NLP Api from a Google Chrome extension

My aim is to select some text from a web page, start a google chrome extension and give the text to a google cloud api (Natural Language API) in my case.
I want to do some sentimental analysis and then get back the result to mark/ highlight positive sentences in green and negative ones in red.
I am new to this and do not know how to start.
The extension consists of manifest, popup etc. How should I call an API from there that does Natural Language Processing?
Should I create a Google Cloud Application with an API_KEY to call? In that case I would have to upload my credentials right?
Sorry sounds a bit confusing I know but I just don't know how I can bring this 2 things together an would be more than happy about any help
The best way to authenticate your app will depend on the specific needs and use cases of your application. You can see an overview of all the different methods here.
If you are not planning on identifying users nor on using a back end server that handles authenticating (as I assume to be your case), the best option would indeed be to use API keys. They do not identify the user, but are enough for the Natural Language APIs.
To do this you will need to create an API key for the services you want and add the necessary restrictions to make the key as secure as possible. Detailed instructions on how to do this and how to use the key in a url can be found here.
The API call could be made from within the Chrome extension with any JavaScript method capable of performing POST requests. For example using XMLHttpRequest or the Fetch API. You can find an example of the parameters that need to be included in the request here.
You may run into CORS issues when making the request directly from the extension. I recommend reading this answer, where a couple of workarounds for these issues are suggested.

Connecting to an API using Power Bi

I am trying to connect to an API using Power BI. I am doing this by clicking on the Get Data then choosing Web, typing the URL address of the site. It comes with the list of API links created when I drill to any of them I cannot see anything. Is this the correct way of doing it? Many Thanks for your help
For querying REST APIs, that's the correct way of doing it yes. But in your case, it might be an issue with the API itself or that you need more details in the query? It's hard to troubleshoot without vieweing the API documentations.
If you then press on Advanced, you can then include further details for your request if needed.
I will include some screenshots below of how to choose the Web connector.

How to get Google Cloud Translation used Chars via API?G

how do i get information from this page 'https://console.cloud.google.com/iam-admin/quotas' programmatically, i couldn't find any API service to do this, is there a way to do it?
Currently, this is not possible to achieve, however, there's a feature request to consider having this functionality.

Up rest feed data

Having to look to all the feed data in the phone harms people's necks. A more comfortable way to see and manipulate it is needed. I would like to do a web viewer to view the up application feed in a browser.
However, I had a look at the REST API and couldn't find a way to obtain it. There is a part where generic "events" are mention. Can I obtain the feed data from there?
Regards
The developer REST APIs do not provide the ability to re-create the UP app's feed.
If you really want to, you could do a close approximation since the APIs provide most of the data that appears in the feed. However, you would have to provide all the styling and assets yourself.

Google Adwords Keyword Tool API to automatically extract data onto a website

Im looking to use Google Adwords Keyword tool data on a website. Ive been looking around in the API and I cant find much to match what I need. I noticed a lot of keyword research tool websites use google as their main source for their information. How would I go about doing this and extracting the data and have it run on a website automatically so it wouldnt need to be updated manually each month?
you can use the Traffic Estimator service in the AdWords API:
https://developers.google.com/adwords/api/docs/reference/v201409/TrafficEstimatorService
Be warned that this is notoriously inaccurate (which is odd given that you would think Google had its own data to call upon!)
I use the TargetingIdea service in the AdWords API to generate lists of keywords to use for building AdWords campaigns. (https://developers.google.com/adwords/api/docs/reference/v201409/TargetingIdeaService.TargetingIdea)
First off you need an API key - they're not that easy to get and your app needs to offer a whole lot of features to meet the required minimum functionality - take a look here https://developers.google.com/adwords/api/docs/requirements
Once you've jumped over that hurdle you get the data from Google by sending a request to the service. That request includes some targeting criteria like location and language and also a "seed" keyword. You can also specify if you want closely related results or broadly related results.
For example if you sold tractors you'd put 'tractors' in as a seed keyword and then the API would return either closely related terms like 'tractors for sale', 'used tractor spares' etc or more broadly related terms like 'agricultural machinery'.