Google Ads API getting Customer ID - google-api

I want to create a ads video reporting tool. So I used Google Ads API. For that I need to get customer ID. There are some programming examples. But I want to use an HTTP request endpoint. I cannot find any method for getting customer ID's with HTTP request. Is there any method for getting customer_id with HTTP request?

Related

Fetch Public App Details Using Shopify Storefront API

I have one scenario where I want to access third-party apps/public apps(shopthru) data using Shopify storefront API.
In my case, I am using shopthru app and I want to fetch data about the created campaign, campaign conditions (like discount for specific walletaddress, or POAP NFT).
I want to know if is it possible to get third party app / public app details using shopify storefront API.
This is not possible. Shopify Apps doesn't integrate and extend Shopify Storefront API. You can try to find out what URL of app is by inspecting iframe, pull out accesstoken from your request and using curl try to extract data but this is very hackish and unstable way.
Other option would be to contact App Developer and ask him to expose some endpoints.
If App is changing your store behavior, you can try to fetch data using GraphQL Admin API and find desired details in discounts object:
https://shopify.dev/apps/discounts/existing
https://shopify.dev/api/admin-graphql/2022-10/queries/codeDiscountNode

Error fetching Trustpilot reviews using api

I intend to fetch the reviews using the trustilot api as documented in the api link below:
API: https://developers.trustpilot.com/business-units-api#business-unit-private-reviews
However, I have been getting the following error.
{"message":"Access to resource is forbidden","errorCode":1014,"correlationId":"4e77ga75-5fb7-62ab-a71b-0d01acd5cf29"}
I couldn't find much help in google.
What am I missing?
this API endpoint is only available to the paid customers and you have to have the appropriate API key for your account. In case you are a paying Trustpilot customer, pleas

Do I need to get API Key for Google Book search

I am little bit confused interpreting the Google Book API terms. In this page it is written that
Note: Performing a search does not require authentication, so you do
not have to provide the Authorization HTTP header with the GET
request. However, if the call is made with authentication, each Volume
will include user-specific information, such as purchased status.
Does that mean I don't need to use an API key for searching book info or linking cover from google books (to be used in Android App)?
Thanks
For searching only the informations about books (author, title, etc..) you can write code without have any API key. But probably for the payment service or other (write a book and insert that in google book api) you should have an API Key (with sign up).
Bye bye
For searching only the informations about books (author, title, etc..) you can write code without have any API key. But sometimes google books API gives back HTTP 403. HTTP Status Code 403: The server understood the request but refuses to authorize it. So it is advisable you use the API key generated and also try to mention your country code in it. As sometimes it fails to recognize where the request is coming from so it gives you access denied (403) error.
https://www.googleapis.com/books/v1/volumes?q=intitle:${bookTitle}&key=${googleKey}&country=${countryName}
This query was used by me in a React application as sometimes without key or country name i got HTTP 403 error. countryName is of the form US or UK, etc.

Google Places API not displaying website (URL)

I am looking for business name, addy, phone number and business URL within the Google Places API. My test url string is https://maps.googleapis.com/maps/api/place/textsearch/xml?query=restaurants+in+Grand+Rapids+Michigan&url=true&sensor=true&key=MYKEY I'm not receiving phone number or Business website (URL). However the businesses that are being returned have that info in the google listing. I'm new to this and just trying to get a handle on how to do the search query.
Any help is appreciated!
I believe phone number and website URL are only available in Place Details requests. You would take the reference from the results of the textsearch and send it in the details request.

How to get all the plusones using the google+ api

It seems the the google+ api is quite limited. I am simply trying to get the list of all the plusones of a user. does anyone know how to get that information?
Currently, there is no way to fetch a list of the URLs and posts that a user has +1ed. To see what information is returned by the Google+ API for a user, check the Person resource. Only some of these fields are guaranteed, but the rest may be returned if they are publicly visible on the user's profile.
You can see who +1ed a particular Google+ post through an Activity resource, specifically, the object.plusoners field. The activities.get API call can fetch the Activity resource for a specified public post.

Resources