How do you obtain the click share data on Google Ads API?
https://developers.google.com/google-ads/api/fields/v8/ad_group?hl=en
When you see this Google Ads API, it states that 'There's metrics that you can't use ad_group with FROM. ' The click share falls under this and we don't know how to obtain the data. Anyone have any idea how?
You could try their query in this query builder provided by Google.
From my experience, you can't query some field together. My guess is some fields are like group by in SQL so there is no way you can query both at once. Using the query builder, you could find out which field are exclusive to each other.
Related
Firstly, I used Microsoft Graph API /me/contacts to get all contacts, and I got 6000+ contacts' info. But when I login https://outlook.office.com/owa/?path=/people and visited [Your Contacts] page to compared the contact number, there are only 5000+ contacts.
Secondly, same problem in users count, I used Microsoft Graph API /users to get all users' info, and I got 5000+. But when I go to https://outlook.office.com/owa/?path=/people and visited [Directory > All Users], the number is only 4000+
I guessed outlook had filter some contacts, but I don't know the the filtering rules.
I wanted to solve this problem, but I don't know how.
So can someone tell me the filtering rules or can I use Microsoft Graph API token to fetch datas from Outlook API directly?
So can someone tell me the filtering rules or
This answer need the guy from outlook team. Ignore now.
can I use Microsoft Graph API token to fetch data from Outlook API
directly?
No. Graph API token not the same as the pure Outlook API.
For the count issue, based on your project requirement to decide which to use. In other words, you can use your own filtering rules. In my opinion, use the data have more records, and then filter.
I am using Google API to get the place information and store it into database. Using Google API I am able to get address, opening hours, rating and reviews as shown in below image.
But, I am not able to get place description which is highlighted in below image in red circle. ("Quaint Italian mainstay for deep-dish, Chicago-style pizza, calzones, pastas & hot dogs.")
I want that information in my application. I think google is taking those information from
Freebase https://developers.google.com/freebase/guide/basic_concepts
Wikipedia https://www.mediawiki.org/wiki/How_to_contribute
But I am not sure.
Can any one help me suggest me that how I can get that information or any other API that I can use to get that information based on google place_id.
Any help would be highly appreciated.
Thank you
Accordingly to the documentation and #xomena, currently you cannot obtain this data via Places API. There is a feature request in Google issue tracker to make the detailed business type available in Places API, however Google doesn't expose any ETA (estimation time of arrival:
https://issuetracker.google.com/issues/35822953
Feel free to star this feature request to express your interest and subscribe to notification from Google.
To my knowledge it is not possible to get this information from the Google Places API. The API documentation does not display the venue description. Try to have a look here: https://developers.google.com/places/web-service/details (it might be that Google does not share all information from their platform with other developers..).
I would suggest you to do one of the following (or perhaps both):
Scrape Google the old school way; i.e. by getting the information from the HTML. There is a quite decent guide for doing that here (you would of course have to adjust the example to scraping Google instead): https://medium.freecodecamp.org/how-to-scrape-websites-with-python-and-beautifulsoup-5946935d93fe.
What I would recommend and which probably is the fastest: enrich your current data with other data. You could e.g. use Foursquare and search for the places you get from Google. It should be possible to get the description for each place on Foursquare. See here: https://developer.foursquare.com/docs/api/venues/details. If you have problems with matching the places after your query has returned, because the venue names are not exactly the same - but close, then you could use an algorithm to match strings that are close; perhaps using the levenstein distance (https://en.wikipedia.org/wiki/Levenshtein_distance).
Could you guys provide me apex code to show all contacts on google map in visualforce page.
I think this is more of a google maps/JS question, most of the work would be setting up the client side to display the items on a google map. The Salesforce part of this would be a simple SOQL query on account to get the address of contacts that you want to show. The only thing would be to decide how you would pass the list of contacts back to the client, either remote action, public property or getter.
Following code works properly,
http://releasenotes.docs.salesforce.com/en-us/spring15/release-notes/rn_vf_mapping_components.htm
in part, I'm creating a restaurant app. I'm looking to use the PLACE_ID to select the restaurant. If I want to select SPECIFIC photos using a PHOTO_ID or PHOTO_REFERENCE, is that a breach of policy? I'm just looking to use a photo string to pull some specific photos to display on my app, but I'm getting a vibe that google doesn't want you persisting Image/Photo Id's. Is this true? It seems like they want you to select all of the photos associated with the PLACE_ID. I only need specific ones though. Can I do these types of individual callings without violating their policy? Any help would be great! Thanks!
How might one be able to get the list of autosuggestions for a given search from Bing Search API like in the screen capture below? This doesn't seem to be among the results provided by choices of [Web|Image|Video|News|SpellingSuggestion|RelatedSearch]. Alternatively, does Google provide this?
As background, Bing can be queried via REST API using a query string, such as this URL (note it requires a developer key for basic auth). One can change the 'Web' keyword to get other results, but I'd really like to get the suggestions specifically:
https://api.datamarket.azure.com/Bing/Search/Web?Query=%27sushi%27&$format=JSON&$top=5
Bing Developer docs
There is an api route directly to the Bing suggestion list. Interestingly, this is separate from the developer API list. Currently the link is
api.bing.com/osjson.aspx?query=[URI encoded search term here]