Re: Python API - KeywordText is not downloaded exactly as it is

2016-09-21 Thread 'Josh Radcliff (AdWords API Team)' via AdWords API Forum
Hi,

Rereading this, I noticed your earlier statement of:

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?
>

*No, this is not possible, but your idea below is exactly what I'd 
recommend. :)*
 

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


The complete list of prefixes and suffixes for each match type are in this 
Help Center article 
. With that 
information, I think you'll be able to achieve what you want, but let me 
know if you have further questions or I missed something.

Thanks,
Josh, AdWords API Team

On Tuesday, September 20, 2016 at 7:55:11 AM UTC-4, Pippo wrote:
>
> Hello,
> sorry again but I've some privacy issues in my company and really can't 
> provide the ids (I know, it's a really weird thing but it's not my 
> decision)... Just a question: are you able to download a KeywordText with 
> square brackets with Python API v201607 ? The issue is not only for one 
> AdGroup and one Keyword, but it always happens: I manage 100 campaigns, 
> thousands of keywords and I've never seen a KeywordText with square 
> brackets.
> I've just read this topic 
> https://groups.google.com/forum/#!topic/adwords-api/25LHtXiFjRk which is 
> from 2009, and I wonder if the situation is still the same (i.e. you don't 
> have this data stored) or, as Joyce Lava answered in this topic, with Java 
> it's actually possible to download brackets.
> Thanks again!
>
> Best regards 
>
> Il giorno martedì 13 settembre 2016 15:11:56 UTC+2, Josh Radcliff (AdWords 
> API Team) ha scritto:
>>
>> Hi,
>>
>> Could you send the IDs *only to me* by clicking *Reply privately to 
>> author* on this message?
>>
>> Thanks,
>> Josh, AdWords API Team
>>
>> On Tuesday, September 13, 2016 at 5:39:28 AM UTC-4, Pippo wrote:
>>>
>>> Unfortunately I'm not allowed to publish neither the adgroupid nor the 
>>> id in a public forum, I'm sorry... However I've even tried to use 
>>> DownloadReportAsStream function, using different download formats, and the 
>>> result is the same:
>>> I can see keywords like:
>>> "+aaa +bbb"   (and KeywordMatchType is 'Broad' in these cases)
>>> aaa bbb   (and KeywordMatchType is 'Broad', 'Exact' or 'Phrase' in 
>>> these cases)
>>>
>>> but no trace of
>>> [aaa bbb]
>>> while I've checked it exists, and it's downloaded simpy as aaa bbb  .
>>>
>>> This time I've connected to my account by simply using 
>>> the download_criteria_report_as_stream.py file contained in Python API 
>>> examples directory, therefore I'm pretty sure I've used your "default" 
>>> settings.
>>> Thanks again!
>>>
>>>
>>> Il giorno venerdì 9 settembre 2016 15:47:20 UTC+2, Josh Radcliff 
>>> (AdWords API Team) ha scritto:

 Hi,

 Could you share the *AdGroupId* and (criterion) Id 
 
  where 
 you are seeing this issue? I'd like to try to reproduce your exact report 
 output on my side.

 Thanks,
 Josh, AdWords API Team

 On Friday, September 9, 2016 at 6:37:30 AM UTC-4, Pippo wrote:
>
> 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 11:20:48 UTC+2, Joyce Lava ha 
> scritto:
>>
>> Hello,
>>
>> Please feel free to ask your concerns 

Re: Python API - KeywordText is not downloaded exactly as it is

2016-09-20 Thread Pippo
Hello,
sorry again but I've some privacy issues in my company and really can't 
provide the ids (I know, it's a really weird thing but it's not my 
decision)... Just a question: are you able to download a KeywordText with 
square brackets with Python API v201607 ? The issue is not only for one 
AdGroup and one Keyword, but it always happens: I manage 100 campaigns, 
thousands of keywords and I've never seen a KeywordText with square 
brackets.
I've just read this topic 
https://groups.google.com/forum/#!topic/adwords-api/25LHtXiFjRk which is 
from 2009, and I wonder if the situation is still the same (i.e. you don't 
have this data stored) or, as Joyce Lava answered in this topic, with Java 
it's actually possible to download brackets.
Thanks again!

Best regards 

Il giorno martedì 13 settembre 2016 15:11:56 UTC+2, Josh Radcliff (AdWords 
API Team) ha scritto:
>
> Hi,
>
> Could you send the IDs *only to me* by clicking *Reply privately to 
> author* on this message?
>
> Thanks,
> Josh, AdWords API Team
>
> On Tuesday, September 13, 2016 at 5:39:28 AM UTC-4, Pippo wrote:
>>
>> Unfortunately I'm not allowed to publish neither the adgroupid nor the id 
>> in a public forum, I'm sorry... However I've even tried to use 
>> DownloadReportAsStream function, using different download formats, and the 
>> result is the same:
>> I can see keywords like:
>> "+aaa +bbb"   (and KeywordMatchType is 'Broad' in these cases)
>> aaa bbb   (and KeywordMatchType is 'Broad', 'Exact' or 'Phrase' in these 
>> cases)
>>
>> but no trace of
>> [aaa bbb]
>> while I've checked it exists, and it's downloaded simpy as aaa bbb  .
>>
>> This time I've connected to my account by simply using 
>> the download_criteria_report_as_stream.py file contained in Python API 
>> examples directory, therefore I'm pretty sure I've used your "default" 
>> settings.
>> Thanks again!
>>
>>
>> Il giorno venerdì 9 settembre 2016 15:47:20 UTC+2, Josh Radcliff (AdWords 
>> API Team) ha scritto:
>>>
>>> Hi,
>>>
>>> Could you share the *AdGroupId* and (criterion) Id 
>>> 
>>>  where 
>>> you are seeing this issue? I'd like to try to reproduce your exact report 
>>> output on my side.
>>>
>>> Thanks,
>>> Josh, AdWords API Team
>>>
>>> On Friday, September 9, 2016 at 6:37:30 AM UTC-4, Pippo wrote:

 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 11:20:48 UTC+2, Joyce Lava ha 
 scritto:
>
> Hello,
>
> Please feel free to ask your concerns about AdWords API and we're very 
> much happy to assist you.
>
> Regarding your question above, I am not totally sure on what report 
> type you tried to download that for the keyword = [aaa bbb], it was 
> downloaded as aaa bbb. I tried to download Keywords Performance Report 
> 
>  with 
> my test account using Java client library and the keyword that has square 
> brackets [] were downloaded as it is. Could you please provide the report 
> type where you see this behavior and I'll try that in Java client library 
> to see if this is specific to Python client library?
>
> Also, for keyword that begins with plus sign (+), they are returned in 
> the CSV reports as double quoted to avoid treating them as formula. The 
> same thing applies for text that begins with minus sign (-). 
>
> Thanks,
> Joyce, AdWords API Team
>


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

Re: Python API - KeywordText is not downloaded exactly as it is

2016-09-13 Thread 'Josh Radcliff (AdWords API Team)' via AdWords API Forum
Hi,

Could you send the IDs *only to me* by clicking *Reply privately to author* on 
this message?

Thanks,
Josh, AdWords API Team

On Tuesday, September 13, 2016 at 5:39:28 AM UTC-4, Pippo wrote:
>
> Unfortunately I'm not allowed to publish neither the adgroupid nor the id 
> in a public forum, I'm sorry... However I've even tried to use 
> DownloadReportAsStream function, using different download formats, and the 
> result is the same:
> I can see keywords like:
> "+aaa +bbb"   (and KeywordMatchType is 'Broad' in these cases)
> aaa bbb   (and KeywordMatchType is 'Broad', 'Exact' or 'Phrase' in these 
> cases)
>
> but no trace of
> [aaa bbb]
> while I've checked it exists, and it's downloaded simpy as aaa bbb  .
>
> This time I've connected to my account by simply using 
> the download_criteria_report_as_stream.py file contained in Python API 
> examples directory, therefore I'm pretty sure I've used your "default" 
> settings.
> Thanks again!
>
>
> Il giorno venerdì 9 settembre 2016 15:47:20 UTC+2, Josh Radcliff (AdWords 
> API Team) ha scritto:
>>
>> Hi,
>>
>> Could you share the *AdGroupId* and (criterion) Id 
>> 
>>  where 
>> you are seeing this issue? I'd like to try to reproduce your exact report 
>> output on my side.
>>
>> Thanks,
>> Josh, AdWords API Team
>>
>> On Friday, September 9, 2016 at 6:37:30 AM UTC-4, Pippo wrote:
>>>
>>> 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 11:20:48 UTC+2, Joyce Lava ha scritto:

 Hello,

 Please feel free to ask your concerns about AdWords API and we're very 
 much happy to assist you.

 Regarding your question above, I am not totally sure on what report 
 type you tried to download that for the keyword = [aaa bbb], it was 
 downloaded as aaa bbb. I tried to download Keywords Performance Report 
 
  with 
 my test account using Java client library and the keyword that has square 
 brackets [] were downloaded as it is. Could you please provide the report 
 type where you see this behavior and I'll try that in Java client library 
 to see if this is specific to Python client library?

 Also, for keyword that begins with plus sign (+), they are returned in 
 the CSV reports as double quoted to avoid treating them as formula. The 
 same thing applies for text that begins with minus sign (-). 

 Thanks,
 Joyce, AdWords API Team

>>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
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 adwords-api+unsubscr...@googlegroups.com.
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/d80dc21b-f9fd-45b5-94c4-624d72f6149a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Python API - KeywordText is not downloaded exactly as it is

2016-09-13 Thread Pippo
Unfortunately I'm not allowed to publish neither the adgroupid nor the id 
in a public forum, I'm sorry... However I've even tried to use 
DownloadReportAsStream function, using different download formats, and the 
result is the same:
I can see keywords like:
"+aaa +bbb"   (and KeywordMatchType is 'Broad' in these cases)
aaa bbb   (and KeywordMatchType is 'Broad', 'Exact' or 'Phrase' in these 
cases)

but no trace of
[aaa bbb]
while I've checked it exists, and it's downloaded simpy as aaa bbb  .

This time I've connected to my account by simply using 
the download_criteria_report_as_stream.py file contained in Python API 
examples directory, therefore I'm pretty sure I've used your "default" 
settings.
Thanks again!


Il giorno venerdì 9 settembre 2016 15:47:20 UTC+2, Josh Radcliff (AdWords 
API Team) ha scritto:
>
> Hi,
>
> Could you share the *AdGroupId* and (criterion) Id 
> 
>  where 
> you are seeing this issue? I'd like to try to reproduce your exact report 
> output on my side.
>
> Thanks,
> Josh, AdWords API Team
>
> On Friday, September 9, 2016 at 6:37:30 AM UTC-4, Pippo wrote:
>>
>> 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 11:20:48 UTC+2, Joyce Lava ha scritto:
>>>
>>> Hello,
>>>
>>> Please feel free to ask your concerns about AdWords API and we're very 
>>> much happy to assist you.
>>>
>>> Regarding your question above, I am not totally sure on what report type 
>>> you tried to download that for the keyword = [aaa bbb], it was 
>>> downloaded as aaa bbb. I tried to download Keywords Performance Report 
>>> 
>>>  with 
>>> my test account using Java client library and the keyword that has square 
>>> brackets [] were downloaded as it is. Could you please provide the report 
>>> type where you see this behavior and I'll try that in Java client library 
>>> to see if this is specific to Python client library?
>>>
>>> Also, for keyword that begins with plus sign (+), they are returned in 
>>> the CSV reports as double quoted to avoid treating them as formula. The 
>>> same thing applies for text that begins with minus sign (-). 
>>>
>>> Thanks,
>>> Joyce, AdWords API Team
>>>
>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
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 adwords-api+unsubscr...@googlegroups.com.
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/555d40f6-af47-42d2-9f6f-f783e2355052%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Python API - KeywordText is not downloaded exactly as it is

2016-09-09 Thread 'Josh Radcliff (AdWords API Team)' via AdWords API Forum
Hi,

Could you share the *AdGroupId* and (criterion) Id 

 where 
you are seeing this issue? I'd like to try to reproduce your exact report 
output on my side.

Thanks,
Josh, AdWords API Team

On Friday, September 9, 2016 at 6:37:30 AM UTC-4, Pippo wrote:
>
> 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 11:20:48 UTC+2, Joyce Lava ha scritto:
>>
>> Hello,
>>
>> Please feel free to ask your concerns about AdWords API and we're very 
>> much happy to assist you.
>>
>> Regarding your question above, I am not totally sure on what report type 
>> you tried to download that for the keyword = [aaa bbb], it was 
>> downloaded as aaa bbb. I tried to download Keywords Performance Report 
>> 
>>  with 
>> my test account using Java client library and the keyword that has square 
>> brackets [] were downloaded as it is. Could you please provide the report 
>> type where you see this behavior and I'll try that in Java client library 
>> to see if this is specific to Python client library?
>>
>> Also, for keyword that begins with plus sign (+), they are returned in 
>> the CSV reports as double quoted to avoid treating them as formula. The 
>> same thing applies for text that begins with minus sign (-). 
>>
>> Thanks,
>> Joyce, AdWords API Team
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
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 adwords-api+unsubscr...@googlegroups.com.
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/89c87b92-caa9-4c13-a8d4-03191f013220%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Python API - KeywordText is not downloaded exactly as it is

2016-09-09 Thread Pippo
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 11:20:48 UTC+2, Joyce Lava ha scritto:
>
> Hello,
>
> Please feel free to ask your concerns about AdWords API and we're very 
> much happy to assist you.
>
> Regarding your question above, I am not totally sure on what report type 
> you tried to download that for the keyword = [aaa bbb], it was downloaded 
> as aaa bbb. I tried to download Keywords Performance Report 
> 
>  with 
> my test account using Java client library and the keyword that has square 
> brackets [] were downloaded as it is. Could you please provide the report 
> type where you see this behavior and I'll try that in Java client library 
> to see if this is specific to Python client library?
>
> Also, for keyword that begins with plus sign (+), they are returned in the 
> CSV reports as double quoted to avoid treating them as formula. The same 
> thing applies for text that begins with minus sign (-). 
>
> Thanks,
> Joyce, AdWords API Team
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
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 adwords-api+unsubscr...@googlegroups.com.
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/a50bf281-d46c-4cb2-9091-32f36cd58f2f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Python API - KeywordText is not downloaded exactly as it is

2016-09-09 Thread Pippo
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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
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 adwords-api+unsubscr...@googlegroups.com.
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.


Re: Python API - KeywordText is not downloaded exactly as it is

2016-09-09 Thread 'Joyce Lava' via AdWords API Forum
Hello,

Please feel free to ask your concerns about AdWords API and we're very much 
happy to assist you.

Regarding your question above, I am not totally sure on what report type 
you tried to download that for the keyword = [aaa bbb], it was downloaded 
as aaa bbb. I tried to download Keywords Performance Report 

 with 
my test account using Java client library and the keyword that has square 
brackets [] were downloaded as it is. Could you please provide the report 
type where you see this behavior and I'll try that in Java client library 
to see if this is specific to Python client library?

Also, for keyword that begins with plus sign (+), they are returned in the 
CSV reports as double quoted to avoid treating them as formula. The same 
thing applies for text that begins with minus sign (-). 

Thanks,
Joyce, AdWords API Team

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
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 adwords-api+unsubscr...@googlegroups.com.
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/3617f5dc-0db9-4030-a322-ac38caaae48b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Python API - KeywordText is not downloaded exactly as it is

2016-09-09 Thread Pippo
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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
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 adwords-api+unsubscr...@googlegroups.com.
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/b1685fae-a4c7-4044-92fa-a65cb825e22f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.