I use the Keywords Performance Report and the following code

        ... 
        report_downloader = self.adwords_client.GetReportDownloader(version=
'v201607')
        report = {
            'reportName': 'KEYWORDS_PERFORMANCE_REPORT',
            'dateRangeType': self.dateRangeType,  # set as today in my code
            'reportType': 'KEYWORDS_PERFORMANCE_REPORT',
            'downloadFormat': 'TSV',
            'selector': {
                'fields': ['Date', 'Id', 'Criteria', 'KeywordMatchType', 
'AdGroupId', 'AdGroupName', 'CampaignId', 'CampaignName', 'AverageCpc', 
'AveragePosition', 'Impressions', 'Clicks', 'Conversions', 'ConversionRate', 
'Ctr', 'AverageTimeOnSite', 'BounceRate', 'Cost', 'CostPerConversion', 
'QualityScore'],
            }
        }
        result = report_downloader.DownloadReportAsString(
            report, skip_column_header=True, skip_report_header=True, 
skip_report_summary=True)
        return result

and in the result list it returns aaa bbb when on adwords web page appears 
as [aaa bbb] .
Are there maybe some options which remove brackets from report download?

Thanks again!






Il giorno venerdì 9 settembre 2016 10:17:11 UTC+2, Pippo ha scritto:
>
> Sorry in advance fot this probably-naive question but I haven't been able 
> to find any discussion on internet about this issue (if it's an issue)...
>
> I'm using the v201607 API for Python and I've noticed that KeywordText 
> which on adwords web page appear as
>
> [aaa bbb]
>
> are downloaded by the API as
>
> aaa bbb   .
>
>  
> I've even seen a keyword
>
> +aaa +bbb
>
> downloaded as
>
> "+aaa +bbb"  .
>
>
> I know that the KeywordMatchType returns the exact nature of KeywordText, 
> but I'd like anyway to download the KeywordText exactly as it appears on 
> adwords. Is it possible?
> Another solution might be, after having downloaded KeywordMatchType, 
> KeywordText, to modify KeywordText string according to KeywordMatchType and 
> some rules, e.g. if KeywordMatchType is Exact, than add square brackets to 
> KeywordText; in this caseI'd need a complete list of rules to properly 
> modify the KeywordText.
>
> Thanks!
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/0ab37c56-5866-4d8d-9377-d2f6c6a10091%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • Python API - Keyw... Pippo
    • Re: Python A... 'Joyce Lava' via AdWords API Forum
      • Re: Pyth... Pippo
        • Re: ... 'Josh Radcliff (AdWords API Team)' via AdWords API Forum
          • ... Pippo
            • ... 'Josh Radcliff (AdWords API Team)' via AdWords API Forum
              • ... Pippo
                • ... 'Josh Radcliff (AdWords API Team)' via AdWords API Forum
    • Re: Python A... Pippo

Reply via email to