facebook ads insights - adding day dimension breakdown - facebook-ads-api

We are using the
https://developers.facebook.com/docs/marketing-api/reference/ad-account/insights/ endpoint to get insights for a Facebook ad-account.
To get data for a few days with a day breakdown (for analytical purposes) we are creating a report per day and by doing so increasing our calls and reaching limits.
Is it possible to create a single report with a day breakdown?
Thanks!

What you're looking for is parameter time_increment, as documented here.
To get insights broken down to single days, use time_increment=1

Related

Get list of Conversations / Threads based on Date Filter?

We are using Yammer Feed on our SharePoint Site. I would like to get the list of all Conversations / Threads that falls within a specific date. For example, threads that fall within the last 7 days / last 30 days.
I am browsing the Yammer API, but can't see method to call. Is it possible? If so, can help point me in the right direction which REST endpoint to call?
Thank you
It isn't possible to do this with the REST APIs due to how feeds operate in Yammer. This isn't something that's done in the product and the APIs operate based on cursors. If you want to query for messages in this way you'd need to use the Data Export API to main your own repository of the data which would permit queries like this.

Generate number of search requests over a given year

Does anyone know if there is a way to generate a report that details how many search requests the GSA has handled over a given timeframe?
On the admin console: Reports > Search Logs.
Select the appropriate collection or All Collections.
Select the desired date range for the Report Timeframe.
From memory this only has access to a max 90 days historical data though so if you haven't been regularly exporting this data than you'll need to extrapolate the values from what is available.
As pointed by #BigMikeW Logs only retain data for 90 days. Unless you download every 90 days, you wont get it.
Other way is integration with Google Analytics and pass all search data to GA search behavior. That way you can use GA to play around and export for a year or even more. This is what I use.

What will be the wait time before big query executes a query?

Every time I execute a query in Google bigquery in the Explanation tab, I can see that their involves an average waiting time. Is it possible to know the percentage or seconds of wait time?
Since BigQuery is a managed service, around the glob a lot of customers are using it. It has an internal scheduling system based on the billingTier (explained here https://cloud.google.com/bigquery/pricing#high-compute) and other internals of your project. Based on this the query is scheduled to be executed based on the cluster availability. So there will be a minimum time until it finds a cluster of machines to execute your job.
I never seen there significant times. In case you have this issue then contact google support to see your project. If you edit your original question and add a job ID, a google enginner may check it out if there is an issue orn ot.
It's currently not exposed in the UI.
But you can find a similar concept from API (search "wait" from following page):
https://cloud.google.com/bigquery/docs/reference/v2/jobs#resource
Is it possible to reduce the big query execution wait time to the minimum?
Purchase more BigQuery Slots.
Contact your sales representative or support for more information.

API User Usage Report: Inconsistent Reporting

I'm using a JVM to perform API calls to the Google Apps Administrator API.
I've noticed with the User Usage Reports, I'm not getting complete data when it comes to a field I'm interested in (num_docs_externally_visible) and the fields which form that fields calculation. I generally request a single day's usage report at a time, across my entire user base (~40k users).
According to the documentation on the developer's, I should be able to see that in a report 2-6 days after; however after running a report for the first 3 weeks of February, I've only gotten it for 60% of the days. The pattern appears to be random (in that I have up to 4 day in a row streaks of the item appearing and 3 days in a row streaks of it not, but there is no consistency to this).
Has anyone else experienced this issue? And if so, were you able to resolve it? Or should I expect this behavior to continue if this is an issue with what the API is returning outside of my control?
I think it's only natural that the data you get is not yet complete, it takes a certain day to receive the complete data.
This SO question is not exactly the same of your question, but i think it will help you. Especially the part that you need to use your account time zone.

Google Analytics Date/Hour/Time Stamp

I'm new to Google Analytics. I have a goal and I would like to see the date/hour/minute the goal occurred. Is this possible? Sorry if this is a stupid question, I could not find an answer after hours of googling...
Thanks!
You cant actually see the Date , hour and minute the goal in one request.
Using a custom Report
I added Hour, minute and Goal1. Hour returned information minute returns nothing. I tried to add date as a secondary dimension to the hour one and that also returned no information.
Remember not all of the dimensions and metrics can be combined to give information. Hour and minute are two of them.
using a dashboard also didn't reveal any decent data.

Resources