Adwords Api get click data + keywords - google-ads-api

Is it possible to use the glcid supplied from Ad words to pull data from the AdWords API?
In particular I would be looking for cost of a click and the keywords used to search for the advert.

Generaly, you can use GCLID in API, for example when importing offline conversions after conversion happened and you somehow saved GCLID. Unfortunately, in Keywords report, passing GCLID parameter as argument is not supported.
Using Gclid for import
Keywords performance report

Related

Difference in results between google ad words API and keyword planner console

I’m trying to forecast the value of various keywords using the google Adwords API, using the traffic estimator service. So far, the clicks, costs per click, and other metrics returned through the API don’t come anywhere close to those retrieved through the Keyword Planner console. There are several adjustable forecast parameters in the console such as language, location, and search network, and I tried to match these parameters in the API.
I'm wondering if there is some other element that needs to be adjusted that I'm missing. For example, the console gives you the option to "select an ad group" for the forecast, and I'm not sure how this would be applied within the API.
If you're interested in obtaining the results that the KW planner provides in the Ads web UI, you'd need to use the TargetingIdeaService instead of the TrafficEstimatorService.
There's also a reference document with some pointers explaining how to map the web settings with the TargetingIdeaSelector values available in the API.
Note that in my experience, you'll sometimes still find discrepancies between what's shown in the web UI and the stats provided by the API. This is also a recurring theme in the Ads API forum (just search for "TargetingIdeaService Difference" or similar).

YT search API to search for Arabic speaking channels locally in Israel

How can I retrieve all Arabic speaking channels locally in Israel.
Using the API explorer, I don't see such an option.
Which fields are mandatory for search to call the search API?
Is there any way to fulfill this task?
Update:
API Explorer
I couldn't get results
There are lots of parameters in the API v3 Docs for Search that you can play around with, some in particular you might find helpful are:
location
locationRadius
regionCode
relevanceLanguage
and you'll need to set type = "channel" to return only channels.
The only mandatory parameter is part which is what data you want returned from your results. For this search call, you only have one option for part, which is "snippet".
This is the only way to do it simply within your multiple parameters, and it will take 100 quota per search, assuming you have an API key already.
If you press 'Try This API' on the right, it'll even give you code snippets you can copy in a variety of languages, since you didn't specify one in the prompt.
Depending on the language, a call could look like the following:
GET https://youtube.googleapis.com/youtube/v3/search?part=snippet&location=Israel&regionCode=IL&relevanceLanguage=ar&type=channel&key=[YOUR_API_KEY] HTTP/1.1

How to extract conversion results based on different attribution models from the Google Adwords API

I need to extract data from the adwords API to allow me to see the impact of different attribution models on conversion. I'm visualising my adwords data in the Klipfolio tool. My adwords account is set up to use the position based model but I'd also like to show last click conversions. This is essentially the data which is available in the adwords manager interface. I'm making my API calls via the supermetrics tool but can also create them directly in Klipfolio.
I'm not entirely familiar with the adwords query language but it does look like that there is a field for attribution type.
I've got as far as extracting data via this, using the Klipfolio interface:
SELECT
Date,Conversions,ConversionTypeName
FROM CAMPAIGN_PERFORMANCE_REPORT
DURING {date.add(-7).format('yyyyMMdd')},{date.today.format('yyyyMMdd')}
Exactly what I'm looking for is WHERE function where I can specify a different type of attribution model from the current.
I cannot obtain this data from our Google Analytics data as our conversion data from GA is, unfortunately, duplicated. We're using the adword's conversion tags de-duplication functions to get around this issue.
I'd be very grateful if anyone could share an example of how an API request could look with the attribution model field present or, indeed, give some feedback on whether this is even possible.
Hi you can find more information about the CAMPAIGN_PERFORMANCE_REPORT report here
You can find there the WHERE and SELECT fields like this:
SELECT CampaignName, Clicks, Impressions, Cost
FROM CAMPAIGN_PERFORMANCE_REPORT
WHERE Impressions < 10
DURING LAST_30_DAYS'
Usually the reason for the duplications it's the selection of SELECT parameters, but I cannot say this for sure without more information.

Retrieve a random resource from a server

I would like to retrieve a random image resource from a server that comply IIIF standard.
Using the IIIF search API, is it possible to retrieve a random resource instead of specifying a search query?
No unfortunately not. The IIIF Content Search API has been developed to search specifically within resources that may have a textual description. The compatible response from a IIIF Content Search API server is an annotation list, thus it does not make sense here to provide back a random resource.
Some IIIF adopters do provide search interfaces that could be used to retrieve random resources, but there are no IIIF specifications around this at the moment.
Example random search result: https://exhibits.stanford.edu/fitch/catalog?utf8=%E2%9C%93&exhibit_id=fitch&search_field=search&q=&sort=random+asc

How to import offline conversion tracking with GCLID?

I want to import offline sales tracking on the Google AdWords.
I have downloaded the sample CSV template containing the column with the name GCLID.
But I am in the confusion that from where I get the different GCLID actually?
Please help!
In order to import offline conversions into your adwords account:
1. You need to define a conversion in your adwords account.
you need to capture the gclid variable that google will send with each click and record it with each conversion happening on your system (i assume, you are an affiliate and you will have to find a way to forward the gclid to the affiliate tracking url subid). ex: affurl.com?affid=yourid&offerid=9787&aff_sub=gclidvalue
then you need to prepare the excel sheet according to the template provided by adwords
Pay attention to the timezone / timestamps
You need to be very precise as they will reject data that is not suitable
Upload the file
You need to repeat this process every day / week.
there are tools that can automate part of this process, but unfortunately the upload process is manual.
good luck
You have to setup the offline conversion tracking to be able to retrieve the GCLID in your AdWords Account.
See below for more details.
https://support.google.com/adwords/answer/7012522

Resources