Adwords API report, what is AutomaticContent and Content? - google-ads-api

Pulling a report from the Adwords API. Trying to list out keywords ranked by impression.
Two 'keywords', AutomaticContent and Content appear in the list a few times. What are these? We are not running ads on those keywords so I assume Google is inserting them to mean something.
This is the AWQL we are using:
SELECT+Criteria,Impressions+FROM+KEYWORDS_PERFORMANCE_REPORT+where+Impressions>0

Related

Google Spreadsheet API Developer

I am no longer trying "to embed Google Maps so when I click on it opens Google Maps with 100 meters radius." I understand "Google Maps is not a part of the core services.
I am now trying to use a Work Around without Google Maps and am now asking for help with the "Work Around"....
I want to be able to use the method from this YouTube video to create the Search option another Google support team rep(Vienna) referred me to. In the video he did a search for shoes, shirts and dresses to find his customers. I want to do a search by zip and/or city and state to find mine...."Google Sheets - Search, QUERY function"===https://www.youtube.com/watch?v=VSGKO5gx974
I need help with this part as well with the Google Sheets function list. Which Google Sheet function or a combination of functions will allow me to do the 150-200 meters radius search within the "Google Sheets"? I am not tech savvy and need help to determine which ones can be used. Here are some of the functions that appear to be able to be used from what I think FLATTEN, FREQUENCY, LINEST, MAP, MMULT MDETERM , SUMX2PY2, DAVERAGE, DCOUNTA, DSTDEV, DVAR, DELTA, FILTER, SORT, SORTN, UNIQUE, QUERY, ISFORMULA, CELL, ect.... ===https://support.google.com/docs/table/25273?hl=en#query=
The Viennes also sent a link. https://developers.google.com/maps/documentation/routes_preferred/support#:~:text=Before%20you%20call%2C%20make%20sure,1%2D877%2D355%2D5787
As I was looking over the page, I came across the link to theMarketplace.
I was wondering which one of those databases could be used in the function to accomadate what I am trying to accomplish. Is it the Zip Code Tabulation Area, Geolocation API, CARTO, Roads, API, Routes API. Maps JavaScriprt API, ect....
With those three things listed above, I am sure something can come close to doing a radius/range search in Google Sheets.
If any, at least by the City and/or State search.
I am in need of a Developer, can you suggest one?

Trying to import wallet balances from bscscan into Google Sheets

I am trying to pull the balances of my various tokens into a Google Sheet so I can live track as prices move.
I will use an old wallet as an example.
The list of token holdings is https://bscscan.com/tokenholdings?a=0x44B9D154c86975E1FBF66Ae30eE265F58e7d958A
There is only one token in the wallet, so in order to pull the balance I'm using
importXML("https://bscscan.com/tokenholdings?a=0x44B9D154c86975E1FBF66Ae30eE265F58e7d958A","//*[#id='tb1']/tr/td[4]")
But i get a response "#N/A" with an error "Imported content is empty".
Am I using this function wrong?
that is actually an expcted outcome. JS elements are not possible to scrape into google sheets. you can always test it by disabling JS for given site:

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).

Reports that were in Adwords API no longer present in Ads API

I have always referred to to Adwords API (https://developers.google.com/adwords/api/docs/appendix/reports) as a guide for exporting reports from Google Ads. When moving to new Ads API (https://developers.google.com/google-ads/api/fields/v6/overview) I was confused with the new feature "resources" which is the alternative for "old" reports.
Some reports in Adwords API match these resources in Ads API (Ad Group Performance) but I am unable to find matches for Account Performance Report and Criteria Performance Report. I'm not also sure that Audience Performance Report is similar to Campaign Audience View.
Can someone please explain how I can export these unmatched reports using Ads API? Thanks!
There's an overview page showing which Google Adwords API report maps to which Google Ads resource.
The Account Performance Report can be recreated by querying the customer resource as indicated by the documentation.
The Criteria Performance Report on the other hand is not listed at all. I think you'll have to use the different *_view resources such as keyword_view in combination with fields from the ad_group_criterion resource in order to get metrics for different criteria types. From the query cookbook page, here's an example how to recreate the age demographics screen in the UI:
SELECT ad_group_criterion.age_range.type,
campaign.name,
ad_group.name,
ad_group_criterion.system_serving_status,
ad_group_criterion.bid_modifier,
metrics.clicks,
metrics.impressions,
metrics.ctr,
metrics.average_cpc,
metrics.cost_micros,
campaign.advertising_channel_type
FROM age_range_view
WHERE segments.date DURING LAST_7_DAYS

Get Google Reviews with IMPORTXML function in G Sheets

I'm trying to import to a Google Sheet the number of reviews and average rating of a certain venue on Google Maps.
Taking as an example this page:
https://www.google.com/maps?cid=8807257593070771217
From Chrome's inspector, the XPath for the average should be:
//*[#id='pane']/div/div[1]/div/div/div[1]/div[3]/div[2]/div/div[1]/span[1]/span/span
However it always returns empty.
Any idea why?
PS - This URL redirects to another, but that shouldn't be the problem as the same thing happens with Facebook and it returns the correct values.
Thanks in advance for any help
Per the comments here, you can't. If you want to scrape Google Maps, use Google's officially supported way to do that: their APIs.
You're probably interested in the Place Details, in particular.
If you have access to a businesses Google My Business page you can leverage the API to pull in reviews that way: https://developers.google.com/my-business/content/review-data
Otherwise, https://serpapi.com can scrape Google reviews for you.

Resources