I understand that the Uber Products Endpoint (GET /v1/products) will not return experimental or promotional products such as UberPOOL and UberFRESH.
Does the Price Estimate Endpoint (GET /v1/estimates/price) return price estimates of those experimental/promotional products?
Yes, the Price Estimate Endpoint returns price estimates including the experimental/promotional products. The uber api documentation only states that the products endpoint does not include the experimental products.
Related
When I look up products I can get the product_id that has upfront_fare_enabled as true.
I then get the fare_id.
However when I use that fare_id to book a ride, I always get the error below;
{"meta":{},"errors":[{"status":422,"code":"upfront_fare_required","title":"A
valid fare_id is required to request a trip with this product."}]}
Also, the product_id that clearly says upfront_fare_enabled is true.
If I lookup that product id it just says
"{"fare":{"breakdown":[{"type":"base_fare","name":"Base Fare","value":10.4}],"value":10.4"}"}"
Nothing about upfront_fare_enabled.
I've cross-checked; the product_id is correct.
What am I doing wrong and how can I fix it?
This is covered in the API docs https://developer.uber.com/docs/riders/ride-requests/tutorials/api/curl
The Uber API lets you Request an Uber Product for riders. Given you
know a rider’s location, where they want to go, and which Uber product
they want, you can request a ride for them with a few simple API
endpoints.
In the products endpoint GET /products, products have the
upfront_fare_enabled field set to true.
Use the request estimate
endpoint POST /requests/estimate with a product_id to get a fare_id.
The fare_id is used to set an upfront fare and arrival time for a
trip. The fare_id expires after two minutes. If the fare_id expires or
isn’t valid, a 422 error is returned.
Request a ride using the request
endpoint POST /requests with the fare_id returned in the previous
step.
See the API docs for the two APIs here
https://developer.uber.com/docs/riders/references/api/v1.2/requests-estimate-post#example-response-with-surge-pricing
https://developer.uber.com/docs/riders/references/api/v1.2/requests-post#post-parameters
I want to retrieve via API the values for cost per result and results columns of the facebook business manager. Is this possible?
Yes its possible through the Insight API.
Request insights for a campaign and the cost_per_action_type field. The cost_per_action_type field will be an array containing the cost per result of various action types.
In a traffic campaign the action type of interest is link_click. The value for link_clicks is what you would see under results in the fb ad manager.
https://developers.facebook.com/docs/marketing-api/reference/ad-campaign-group/insights/
I am using PayPal's express checkout authorisation and capture API, the documentation describes the following limits.
AMT
(Required) Amount to capture.
Character length and limitations:
Value is typically a positive number that cannot exceed 10,000.00 USD
and
An authorization enables you to capture multiple payments up to 115% of, or USD $75 more than, the amount you specify in the DoExpressCheckoutPayment request.
I've spent a great deal of time looking as to what these limits would be in other currencies (specifically GBP) with no success. Does anyone know if these are documented somewhere ?
The limit for any other currency except for JPY is any amount in that currency that equivalent to 10,000 USD.
I need to get a history of all my trips (more than 1000) in any parsable format.
For every single trip I need to know (car, distance, cost)
Unfortunatly:
Uber app dosn't have an option to export history
Uber site doesn't show a car of ride
Uber recipts doesn't have an info about car
Uber\history API also doesn't provide an info about car
Any suggestions would be appreciated
Unfortunately, it is not possible to aggregate this data today.
Maybe my ad account's pay method was set CNY.
How to set budget unit which through call API's code?
Here is my CURL code.
create ad set by CURL
Error msg:
Your budget is too low. The minimum budget for this ad set is $1.00.
Thanks!
As stated in docs related to bidding
The bid amount's unit is cent for currencies like USD, EUR, and the basic unit for currencies like JPY, KRW.
In your call you use bid_amount=1, daily_budget=3, which means 1 and 3 cents. For bid_amount that may be relevant amount (depends on used billing_event), but for budget it's too low.
You can see minimum budget values for different currencies in budget limits docs.
Also note that not all currencies use the same offset, which means not everywhere 1 means 1 cent. Those offsets are documented here.