- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Printer Friendly Page
Search Impression Share through Script
May 2016
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Email to a Friend
- Report Abuse
Hi all,
I want to fetch Search Impression share data through Adwords Scripts. How can it be possible? Is there any method through which I can fetch it?
I am able to get clicks, impressions, cost etc but I need Search Impression Share data.
Re: Search Impression Share through Script
May 2016
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Email to a Friend
- Report Abuse
As far as I know there is no way to fetch IS numbers with scripts and last I heard there was no plan to add this (although that was awhile ago). I did have a quick look through Dev guide and IS is still not there.
Good Luck
Re: Search Impression Share through Script
May 2016
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Email to a Friend
- Report Abuse
Search Impression Share through Script
November 2016
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Email to a Friend
- Report Abuse
Try this:
https://gist.github.com/royharmon4/560ebaab757b1b3e20bf48e192119ee4
function main() { | |
var accountIterator = MccApp.accounts().get(); | |
var mccAccount = AdWordsApp.currentAccount(); | |
while (accountIterator.hasNext()) { | |
var account = accountIterator.next(); | |
MccApp.select(account); | |
var accountName = account.getName(); | |
Logger.log(accountName); | |
var report = AdWordsApp.report( | |
"SELECT CampaignName, SearchImpressionShare, SearchRankLostImpressionShare, SearchBudgetLostImpressionShare " + | |
"FROM CAMPAIGN_PERFORMANCE_REPORT " + | |
"WHERE AdvertisingChannelType IN [SEARCH] " + | |
"DURING THIS_MONTH", { | |
includeZeroImpressions: false | |
}); | |
var rows = report.rows(); | |
while (rows.hasNext()) { | |
var row = rows.next(); | |
var cName = row['CampaignName']; | |
var iShare = row['SearchImpressionShare']; | |
var iShareRank = row['SearchRankLostImpressionShare']; | |
var iShareBudget = row['SearchBudgetLostImpressionShare']; | |
} | |
} | |
} |
Search Impression Share through Script
December 2016
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Email to a Friend
- Report Abuse
That was helpful for me. Thanks Roy.
Search Impression Share through Script
November
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Email to a Friend
- Report Abuse
Hi,
You can retrieve the value as shown by Roy H with a simple AWQL request. You can test it through AWQL.me if not sure.
var report = AdWordsApp.report( | |
"SELECT CampaignName, SearchImpressionShare, SearchRankLostImpressionShare, SearchBudgetLostImpressionShare " + | |
"FROM CAMPAIGN_PERFORMANCE_REPORT " + | |
"WHERE AdvertisingChannelType IN [SEARCH] " + | |
"DURING THIS_MONTH", { | |
includeZeroImpressions: false | |
}); |
The adwords script reference can be completed by all the fields available through the Adwords API.