Earnings statistics report per asset - youtube-analytics

Is there any way to get statistics earnings per ASSET report over API ?
I'm able to get earnings per video but not per asset.

You can use the asset dimension instead of video. It's not mentioned on Youtube Analytics documentation, but it work fine.

Related

How to retrieve Performance MAX campaigns Google Ads into Google Big Query

I am using a third-party tool that use the Adwords Reporting https://developers.google.com/adwords/api/docs/appendix/reports/all-reports to retrieve data.
At the moment all the "Performance Max" campaigns are lost from the Adwords Reporting and I need to retrieve them to include their costs.
With the migration from Adwords to Ads, also, I need to find a solution before April 2022.
I only need to move that data into my Google BigQuery project.
At the moment the solution using the BigQuery Data Transfer is NOT OK because use the same v201809 reporting of Adwords ( https://cloud.google.com/bigquery-transfer/docs/adwords-transfer?hl=en-GB )
.
Also the Google Ads Script don't support Google Ads but only report name of Adwords v201809 ( https://developers.google.com/google-ads/scripts/docs/solutions/bigquery-exporter )
Do you have a suggestion to help me?
Thanks
You have several options and the solutions depends on level in which you want to report data. On campaign level you can fetch data about impressions, clicks and cost from Google Analytics API if you have connected ads and analytics accounts.
If you want more granular information you can create report in google ads and schedule downloads of this report, for example everyday. Only problem is that performance max campaigns combine multiple types of ads, so on some dimensions you can get no data, for example campaign spend 50 eur yesterday, but in report with product id this campaign spent only 25. I combine this two sources, it isn't ideal, but better than total blindness now days.
Remember: Do not select an AdGroup when querying Performance Max campaigns, as no campaigns will be returned.
https://developers.google.com/google-ads/api/docs/performance-max/reporting
Solution --> I use two different GAQL :
one FROM ad_group for the details needed with the ad_groups resource
another FROM campaign without any ad_group in the SELECT

Klipfolio not pulling all items from an app

I am trying to setup Klipfolio as a KPI dashboard for our work tracked in Podio.
I set up a Klipfolio Data Source for each Podio App we have.
It all seemed to be working until I went to verify the lead source numbers I was seeing in a Klip with numbers in Podio and there was a big discrepancy.
When I examined the Data Source in Klipfolio, I noticed it only had 1000 records, where podio shows 2523 records in the correlating app.
I can't find anything in the Podio API docs that discusses an item limit.
Any ideas on how to configure the Data Source to pull in all items within an app?
Here is the configuration of the Data Source where we know it isn't pulling in all items from Podio:
Seller Lead Data Source
Podio has a 1000 record limit per API call which is why you don't see all 2523 records. You can see this in the parameters section of the Podio API docs for Get Items: https://developers.podio.com/doc/items/get-items-27803
If you want to pull all lead records you'll need to paginate. Klipfolio has an excellent tutorial that walks through pagination with Podio here: https://support.klipfolio.com/hc/en-us/community/posts/210312977-Klipfolio-Datasource-Pagination-with-Podio-

Is there a way to get a report of Landing Pages in Google Ads via the Google Ads API, Scripts or BigQuery Data Transfer Service?

I am currently in the process of creating an overview of ad spent per landing page/destination url.
We are using several campaign types:
Shopping
(Responsive) Search Ads
Dynamic Search Ads
I am struggling to get a report per landingpage for each campaign type. We have multiple Customer Ids and I would need data for all Customer Ids. When looking at the Google Ads API documentation I think I would need these two reports to get all I need
Keywordless Query Report (for Dynamic Search Ads landing pages): https://developers.google.com/adwords/api/docs/appendix/reports/keywordless-query-report
Landing Page Report (for Shopping and (responsive) search ads landing pages): https://developers.google.com/adwords/api/docs/appendix/reports/landing-page-report
Ideally, the data would be uploaded to a BigQuery dataset.
What I have tried:
I have set up a BigQuery Data Transfer (https://cloud.google.com/bigquery-transfer/docs/adwords-transfer). This contains a lot of reports but not the two reports listed above.
I have tried a Google Ads script, but my knowledge of that is too little to write a script that woudl give the same/similar results as the two reports listed above. Next to that I would need help getting this data in my BigQuery project.
Solved it.
There is a Google Ads Script which requires minimum adjustments to fulfill my needs:
Single Account: https://developers.google.com/google-ads/scripts/docs/solutions/bigquery-exporter
Manager Account: https://developers.google.com/google-ads/scripts/docs/solutions/adsmanagerapp-bigquery-exporter
I simply had to change the:
BIGQUERY_PROJECT_ID
BIGQUERY_DATASET_ID
list of reports (I only needed "LANDING_PAGE_REPORT")

Getting issue in Amazon affiliate Product API to fetch products from amazon

We are using Amazon affiliate Product Advertising API to fetch products from amazon. The account & API KEY was working when we implemented at first time till 1 month but after that we tried again for further project development it stopped working and always displaying below error:
AWS Access Key ID: XXXXXXXXXXXXXXXX. You are submitting requests too quickly. Please retry your requests at a slower rate.
Tried again and again. then finally we decided to create one more API KEY with same account but in this case on first attempt we again got same error.
After this we go to Amazon chat support but didn't find any specific solution. but they said 
Each account used for Product Advertising API is allowed an initial usage limit up to a maximum of 1 request per second and a cumulative daily maximum of 8640 requests per day (TPD) for the first 30-day period after your account has been approved. Following that period, your PA API usage limit will solely be based on your shipped item revenue. Your account will earn a usage limit of 1 TPD for every 5 cents or 1 TPS (up to a maximum of 10 TPS) for every $4320 of shipped item revenue generated via the use of Product Advertising API for shipments in the previous 30-day period.
But now the problem is we are in the development stage and can't generate the revenue. also there is no Testing/Sandbox environment.
Looks like you have used all your usage limit for the account. So to make new requests you'll need to generate some revenue from your account.
I would advice you to test your product with a dummy API that generates the same response as PA API.
You may get some ideas from the tests written in this library: https://github.com/utekaravinash/gopaapi5
If you need more help you can go through this article to understand how API requests work: https://www.utekar.com/amazon-product-advertising-api-5-go-client-library-gopaapi/
Disclaimer: I'm the author of this open sourced library and it's written in Golang.

How to get number of Instagram followers on a specified date like minter.io does?

From the picture, you can see how followers statistics looks on minter.io
The only way how I imagine I would count the followers change: I would download the list of all he followers every day by the Instagram API to my DB. And after having this history already can calculate any change.
But on minter.io you can have such a graphics after few minutes after registration... How???
They are probably storing this information on a daily basis and hence are able to keep a historical trend.
If you go to the minter.io website, they mention at the bottom that they have collected data for close to 198 million accounts. I guess you were one of those.
You don't need to get the list of all followers just to show the absolute change in the numbers. The Instagram API gives that directly when you query any of the endpoints giving user information.
I know how it works at smartmetrics.co.
Smartmetrics collects information about all followers of tracked accounts and build history based on this data. So if you followed someone who is already tracked, you can get history for your account.
But minter makes fake linear graph according to some tests: How to Get Historical Data from Instagram API
Crowdbabble and Minter re-use Twitter tokens, which allows them to collect data on millions of accounts. This gives you the historical data that you want -- change in followers over time. As an individual, you aren't able to access the Twitter API and aggregate data like that for storage as easily. You don't have thousands of people giving you tokens that you can then scrape and store on a regular basis.
Crowdbabble has a free 14 day trial with no payment info required. If you don't want in-depth analytics, Twittercounter will give you your follower numbers over the past 30 days -- you can view each day separately.