I want to create a web page regrouping billing information from Google Cloud Platform and Amazon Web Services.
I'm looking how to retrieve billing data from GCP.
Does it exist an API to request these data ?
I have tested CloudBilling API but it seems that it just gives information about billing account and not detail on usage & cost.
Related
I would like to know if there's an existing API for Stores on Amazon.com? A way for developers to get the Insights from the Stores.
Service: https://advertising.amazon.com/en/solutions/products/stores
I wanna develop a integration with the service
From Amazon Ads API - Manage campaigns programmatically | Amazon Ads:
The Amazon Ads API provides a way to automate, scale, and optimize advertising. Campaign and performance data for Sponsored Products, Sponsored Brands, and Sponsored Display are available through the API, enabling programmatic access for campaign management and reporting. Amazon Attribution (beta) insights are also available through the Amazon Ads API. Amazon Attribution can help measure the full-funnel impact non-Amazon Ads media such as search ads, social ads, display ads, video ads, and email marketing. Insights throughout the shopping journey including clicks, detail page views, and purchases can be utilized to optimize campaign ROI.
I have an endpoint deployed in google cloud function to perform a microservice for my website. However, I noticed that our users from Iran are not seen in this microservice.
I have done some reading about US sanctions. Is it possible that Google is blocking users from Iran from access services in GCP (such as a HTTP endpoint built in Google Cloud Function)?
Or is Iran ISPs censoring Google services?
Even if this document is specific for Gsuite the restrictions of countries that cannot access Google services due US Embargoed Countries Policy that includes Iran are present for various other Google’s products. This means that restrictions in the service may affect for this country.
Is there any API for Google Cloud - that allows you to create billing payment method to be created?
I can create a billing account for Google Cloud using an API https://cloud.google.com/billing/reference/rest/v1/billingAccounts, however I can't seem to find a way to add payment method to this billing account.
Did any one ran in this problem before?
Google Cloud Billing API is designed to help you manage billing accounts, and their linkage to projects. Google Cloud does not provide an API to add payment information, such as credit card numbers.
Google Cloud's Billing API is designed to comply with PCI Data Security Standards (DSS). According to PCI DSS,
The PCI DSS applies to all entities that store, process, and/or transmit cardholder data.
That means you. If you write an application that stores cardholder data and transmits it programmatically, then you, yourself, may require a PCI DSS assessment of your CDE (cardholder data environment). This is likely not what you intend.
The Stripe API for Payment Methods offers similar guidance:
When creating with a card number, you must meet the requirements for PCI compliance. We strongly recommend using Stripe.js instead of interacting with this API directly.
I have access to my client's Amazon Publisher Services account. Now my client wants a tool that can fetch revenue reports from APS and store it into the database. But the problem is that I couldn't find any official doc regarding APS reporting API.
I have already tried https://ams.amazon.com/webpublisher/uam/docs/s3-reports.html but there are no request parameters it's just like an essay.
I currently hosting my website on a combination of Amazon S3 and Cloudfront. These services have a usage-based billing. When there are no users visiting my website, I am paying next to nothing.
Now I wanted to create a simple REST API where users can invite other users. I thought about using node.js or sinatra. But when I want to host that, I need to start at least one EC2 node, which roughly costs 120$ a year. I know both Heroku and AWS have free tier options, but I am explicitly looking for usage-based billing.
Is there a service that allows usage-based billing (eg. number of requests) for a custom REST API?
Well, AWS's API Gateway provides the REST API part, with billing ...
Low-Cost and Efficient
With Amazon API Gateway, you pay only for calls
made to your APIs and data transfer out. There are no minimum fees or
upfront commitments.
but you'll still have to point it at a back end service. EC2 would incur the costs you mention, but if your 'action' is simple, you may be able to use AWS Lambda. It to is priced based on number of requests and actual compute time.