Sabre flight search - BFM. get multiple Fare Type for ticket? - sabre

I am looking for search multiple Fare Type for per ticket ? i wan't get Fare Type ex: Economy, Economy Flex, example :
enter image description here

Multiple Branded Fares is the feature in question; once is enabled, the response will include that information as well as the image you submitted.

Related

Which field show the units sold when we request to create amazon advertising report for Sponsor Brand with record type is keyword?

I request to create Amazon advertising report for Sponsor Brand campaign with record type is keywords. But unfortunately I don't know which field show the units sold by keyword. I tried to use field "unitsSold14d" in postman but it said "Unsupported field for keyword search term report: unitsSold14d". Please help me which field I should use to show units sold because I saw it on keyword report on https://vendorcentral.amazon.com
keyword and search term are not the same thing. unitsSold14d is not available for search term reports, but is available for keyword reports.
https://advertising.amazon.com/API/docs/en-us/reference/sponsored-brands/2/reports
Notice it says:
unitsSold14d Number of attributed units sold occurring within 14 days of click on an ad. Not available for search term report. Vendor only field.
So remove the segment paramter.

Google Places API: How to go from address to "good" place_id?

On the google places api site, they have an example query that returns a load of detail:
site:
https://developers.google.com/places/web-service/details
query:
https://maps.googleapis.com/maps/api/place/details/json?placeid=ChIJN1t_tDeuEmsRUsoyG83frY4&key=My-API-Key
Place_id appears to be the key here. So I'm trying to reverse-engineer this example, starting from information that a human being would actually have, to end up with this place_id.
Address from the example:
48 Pirrama Rd, Pyrmont NSW 2009, Australia
Places API query from the address:
https://maps.googleapis.com/maps/api/place/textsearch/json?query=48+Pirrama+Rd,+Pyrmont+NSW+2009,+Australia&key=My_API_Key
The result contains a different place_id:
ChIJ8UadyjeuEmsRDt5QbiDg720
And the place details with that place_id are much poorer than the original example:
https://maps.googleapis.com/maps/api/place/details/json?placeid=ChIJ8UadyjeuEmsRDt5QbiDg720&key=My-API-Key
So what am I missing here? How do I start from human-place information and get to the place_id that has the great place details?
EDIT: why the down votes? Am I trying to do something that isn't allowed?
Thanks,
sff
I think your text search is returning the office building, whereas your first search is returning the Google office within the office building. You can fix your text search by adding the name of the company and removing some of the search terms.
I'm not sure why just adding 'google' to the search term doesn't return the result you want though.

Sending multi-level categories in Product data for Google analytics

I'm implementing Google tag manager for product view on web e-Commerce.
In a document from Google, it says about category attribute.
The category to which the product belongs (e.g. Apparel). Use / as a delimiter to specify up to 5-levels of hierarchy (e.g. Apparel/Men/T-Shirts).
So we can send multi-level categories separated by forward slash. But what if category name, for example, is "3/4 inches". How can we escape it to make sure that it will be one-level category name in GA Dashboard.
In additional, if I would like to send 2-level categories:
Level1: Screws
Level2: 3/4 inches
How could we send data in category attribute ?
As I worked around so far, I've tried
In JS, categoryname.replace(/\//g,'\/')
In JS, categoryname.replace(/\//g,'-')
In JS, categoryname.replace(/\//g,'%26')
But I don't know what is the best practice for this.
Thank you in advance.
Link to Stack Exchange question

Can Bing Search API V5 search for non english news articles

I attempted the following search on Bing Search API, limiting to News articles only:
$ms_api_url = "https://api.cognitive.microsoft.com/bing/v5.0/news/search?q=حج";
and
$ms_api_url = "https://api.cognitive.microsoft.com/bing/v5.0/news/search?q=%27%D8%AD%D8%AC%27"
and the results were very limited (55 articles) and nearly all English.
Can this API return non-english results?
mkt is an optional parameter to specify where the results are coming from. From the documentation:
Typically, this is the country where the user is making the request
from; however, it could be a different country if the user is not
located in a country where Bing delivers results. The market must be
in the form {language code}-{country code}. For example, en-US.
Full list of supported markets:
es-AR,en-AU,de-AT,nl-BE,fr-BE,pt-BR,en-CA,fr-CA,es-CL,da-DK,fi-FI,fr-FR,de-DE,zh-HK,en-IN,en-ID,en-IE,it-IT,ja-JP,ko-KR,en-MY,es-MX,nl-NL,en-NZ,no-NO,zh-CN,pl-PL,pt-PT,en-PH,ru-RU,ar-SA,en-ZA,es-ES,sv-SE,fr-CH,de-CH,zh-TW,tr-TR,en-GB,en-US,es-US

How do I get a Price for Amtrak rail when using the Sabre RailShopRS

I am trying to implement AMTRAK Rail bookings using Sabre's RailShopRS.
I've been able to get a list of available journeys but now I'm struggling to figure out how I get a price for those journeys. It looks like the price should be part of the availability response but there never appears to be a price anywhere.
Is this something that should be part of the initial availability response or do I have to make a new request with details of the specific train and faretype?
Does this help?
http://files.developer.sabre.com/doc/providerdoc/rail/RailServicesDescription_v1.12.0.html#amtrak
Here are some sample request and responses:
http://files.developer.sabre.com/doc/providerdoc/rail/RS_Sample_RQ_RS_1_12_0.zip
There should be a list of 'Offers' within the response, with a reference to a JourneyId that can be used to match the fares with its corresponding journey/train option.

Resources