Re: Changed behavior re date fields and zero impressions

2015-07-08 Thread GD
Hi Nadine,

While this is certainly a solution, what I'm trying to point out above is 
that the behavior changed. We were using these calls to generate reports 
about the account structure and thus dont want to use metric fields. 
Before, you could request such reports with Date, now you cant?

On Tuesday, July 7, 2015 at 7:55:24 PM UTC+2, Nadine Sundquist (AdWords API 
Team) wrote:

 Hi,

 With the Keywords Performance Report, you need to have at least one field 
 with the *Behavior *of type *Metric* such as the Impressions 
 https://developers.google.com/adwords/api/docs/appendix/reports/keywords-performance-report#impressions
  field. 
 Can you please give that a try to see if things behave as expected?

 Thanks,
 Nadine, AdWords API Team 

 On Tuesday, July 7, 2015 at 1:34:01 PM UTC-4, Nadine Sundquist (AdWords 
 API Team) wrote:

 Hello,

 Thanks for pointing this out. The behavior you're showing and the 
 documentation definitely don't match. I'll talk to the engineers to see 
 what the intended behavior is, and I'll get back to you as soon as I have 
 news. 

 Best,
 Nadine, AdWords API Team

 On Tuesday, July 7, 2015 at 8:43:06 AM UTC-4, GD wrote:

 Hi!

 I think you (accidentally?) changed the behavior regarding Date field in 
 KPR visavi zero impression rows.

 See below examples:

 In [34]: report_downloader.DownloadReportAsStreamWithAwql(
 'SELECT CampaignId, AdGroupId, Id, *Date* FROM 
 KEYWORDS_PERFORMANCE_REPORT DURING 20150707,20150707', 
 file_format='CSV').readlines()[0:5]

 Out[34]: 
 ['KEYWORDS_PERFORMANCE_REPORT (Jul 7, 2015)\n',
  'Campaign ID,Ad group ID,Keyword ID,Day\n',
  'Total, --, --, --\n']

 *If we remove Date from the query, we get many lines*

 In [35]: report_downloader.DownloadReportAsStreamWithAwql(
 'SELECT CampaignId, AdGroupId, Id FROM 
 KEYWORDS_PERFORMANCE_REPORT DURING 20150707,20150707', 
 file_format='CSV').readlines()[0:5]
 Out[35]: 
 ['KEYWORDS_PERFORMANCE_REPORT (Jul 7, 2015)\n',
  'Campaign ID,Ad group ID,Keyword ID\n',
  '263993268,9713724108,50982934788\n',
  '263991948,9713602068,300864\n',
  '156554148,6752305908,50981848068\n']

 This used to produce the same answer. Is this something you could fix or 
 is this the new normal? In that case, Docs should be updated so that it 
 states Date does not support zero impression rows.



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/361abf76-8dcb-4b61-82a4-a18b4be1a51c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Unrecognized version of the AdWords API. Version given: v201502 Supported versions: ['v201402', 'v201406']

2015-07-08 Thread Stephen
Hi, just started using the latest library v201502 
https://github.com/googleads/googleads-python-lib/tree/master/examples/adwords/v201502
 
for Python and I am having issues with the following error:

Traceback (most recent call last):

  File get_report_fields.py, line 42, in module

main(adwords_client, REPORT_TYPE)

  File get_report_fields.py, line 25, in main

'ReportDefinitionService', version='v201502')

  File build/bdist.macosx-10.9-intel/egg/googleads/adwords.py, line 261, 
in GetService

googleads.errors.GoogleAdsValueError: Unrecognized version of the AdWords 
API. Version given: v201502 Supported versions: ['v201402', 'v201406']


I have tried:
   pip install googleads --upgrade 

and it appears to have successfully upgraded but still giving me the same 
error.

Anything else I am missing?

Thanks,
Stephen

-- 
MVF Global is a trading name of Marketing VF Limited (MVF), a company 
registered in England and Wales with company number 06951544, whose 
registered office address is at Ryland House, 24A Ryland Road, London NW5 
3EH, United Kingdom. VAT number: GB207713719.
This e-mail (and any attachments) is confidential and may contain personal 
views which are not the views of MVF unless specifically stated. If you 
have received it in error, please delete it from your system. Do not use, 
copy or disclose the information in any way nor act in reliance on it and 
notify the sender immediately. Please note that MVF monitors e-mails sent 
or received. Further communication will signify your consent to this.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/305bcd41-9e40-4d0e-b250-6a14936fc050%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Exclude IP Address using Adwords API

2015-07-08 Thread Dorian Kind
What about 
https://developers.google.com/adwords/api/docs/reference/v201506/CampaignCriterionService.IpBlock?

Or am I misunderstanding the question?

On Tuesday, July 7, 2015 at 5:54:28 PM UTC+2, Umesh Dengale wrote:

 Hello,

 Unfortunately *exclude IP addresses *feature 
 https://developers.google.com/adwords/api/docs/reference/v201506/LocationCriterionService.Location#type
  is 
 not supported by the AdWords API v201506.

 Regards,
 Umesh, 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 http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/665cb607-a036-4c67-bc49-9cb499c05590%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


ISP of client not found in list?

2015-07-08 Thread Balázs Harza


Dear Googlers, I have the following problem: our client is a 
telecommunications company and wants to target people who are already their 
subscribers (i.e. use their network to access the internet), but I was 
unable to find the certain company in the list of available ISPs here: 
https://developers.google.com/adwords/api/docs/appendix/mobilecarriers

Although the client has an owned (not rented) network with government 
approval, we are unable to target based off of that since they are missing 
from the list. Note that they also have a mobile GSM network as well as a 
wired internet network. I have also read that it is currently not possible 
to target specific IP ranges. I have alreay posted this at the adwords 
community forums, where I received the suggestion that I should ask here. 
Can anyone suggest me a way to deal with this within adwords? Any answers 
are greatly appreciated.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/e8aec0b2-6329-4a7b-9fc2-2eec85f5920c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Ad words

2015-07-08 Thread krishna . das
How i get the access_token?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/15d0b82e-1ed6-483d-8c6a-fa1d3add4584%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: User Permission Denied for Test MCC

2015-07-08 Thread PAULO JOSE Castro
Having an ADD_OPERATION_NOT_PERMITTED error too

On Friday, February 6, 2015 at 7:36:02 AM UTC+8, Jon Weinstock wrote:

 Hi Adwords,

 I created a production MCC with an account under email address A. I 
 requested a developer token under this account.

 I created a test MCC with multiple accounts under email address B. 

 I authorized B through the Google Developer's Console and used the client 
 id and secret to generate a refresh token. Unfortunately when I try to 
 access any API operation I'm getting a User Permission Denied. Can you 
 advise? 

 Thank You


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/81f9ffdf-705b-4428-9d79-8dc5c7298713%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Demographical report (AgeRanges + Gender)

2015-07-08 Thread Umesh Dengale
Hello,

As you mentioned above the *Gender Performance Report* does not provide 
AgeRange segmentation and the *Age Range Performance Report *does not 
provide gender segmentation in the AdWords API.
There are no other reports which combine the AgeRange and the Gender 
segmentation. However, you can use the CampaignCriterionService 
https://developers.google.com/adwords/api/docs/reference/v201506/CampaignCriterionService
 or 
the AdGroupCriterionService 
https://developers.google.com/adwords/api/docs/reference/v201506/AdGroupCriterionService
 and 
you can filter the data based on Criterion type 
https://developers.google.com/adwords/api/docs/reference/v201506/AdGroupCriterionService.Gender#type
 (AGE_RANGE, 
GENDER).

Regards,
Umesh, 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 http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/55754b4e-a2ea-4d1f-aa1e-ce7efded1123%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Changed behavior re date fields and zero impressions

2015-07-08 Thread Nadine Sundquist (AdWords API Team)
Hello,

With a bit of experimentation, I was able to figure out what was going on. 
Specify your query just as you did before. However, you will need to 
explicitly set includeZeroImpressions to true in the header of the request. 
Your data will then appear. It looks like you're using Python, so here's a 
Python example of setting those headers:

  with open 
https://www.google.com/url?sa=Dq=https%3A%2F%2Fwww.google.com%2Furl%3Fsa%3DD%26q%3Dhttp%3A%2F%2Fdocs.python.org%2Flibrary%2Ffunctions.html%26usg%3DAFQjCNHRBwpcZVIR-dfE_S0YKMDqM1iUsQ%23open(path
 
https://codesearch.corp.google.com/#piper///depot/google3/third_party/py/googleads/opensource/examples/adwords/v201506/reporting/download_criteria_report_with_awql.pyct=xref_jump_to_defcl=GROKl=41gsn=path,
 'w') as output_file 
https://codesearch.corp.google.com/#piper///depot/google3/third_party/py/googleads/opensource/examples/adwords/v201506/reporting/download_criteria_report_with_awql.pyct=xref_usagesgs=py:google3.third_party.py.googleads.opensource.examples.adwords.v201506.reporting.download_criteria_report_with_awql.mainamp;output_file:third_party/py/googleads/opensource/examples/adwords/v201506/reporting/download_criteria_report_with_awql.py%231740l=52gsn=output_file:
report_downloader 
https://codesearch.corp.google.com/#piper///depot/google3/third_party/py/googleads/opensource/examples/adwords/v201506/reporting/download_criteria_report_with_awql.pyct=xref_jump_to_defcl=GROKl=43gsn=report_downloader.DownloadReportWithAwql(
report_query 
https://codesearch.corp.google.com/#piper///depot/google3/third_party/py/googleads/opensource/examples/adwords/v201506/reporting/download_criteria_report_with_awql.pyct=xref_jump_to_defcl=GROKl=46gsn=report_query,
 'CSV', output_file 
https://codesearch.corp.google.com/#piper///depot/google3/third_party/py/googleads/opensource/examples/adwords/v201506/reporting/download_criteria_report_with_awql.pyct=xref_jump_to_defcl=GROKl=52gsn=output_file,
 skip_report_header=False 
https://www.google.com/url?sa=Dq=https%3A%2F%2Fwww.google.com%2Furl%3Fsa%3DD%26q%3Dhttp%3A%2F%2Fdocs.python.org%2Flibrary%2Fconstants.html%26usg%3DAFQjCNEWPBsS5iGj-IDGgL7KNVdYFlrzaA%23False,
skip_column_header=False 
https://www.google.com/url?sa=Dq=https%3A%2F%2Fwww.google.com%2Furl%3Fsa%3DD%26q%3Dhttp%3A%2F%2Fdocs.python.org%2Flibrary%2Fconstants.html%26usg%3DAFQjCNEWPBsS5iGj-IDGgL7KNVdYFlrzaA%23False,
 skip_report_summary=False 
https://www.google.com/url?sa=Dq=https%3A%2F%2Fwww.google.com%2Furl%3Fsa%3DD%26q%3Dhttp%3A%2F%2Fdocs.python.org%2Flibrary%2Fconstants.html%26usg%3DAFQjCNEWPBsS5iGj-IDGgL7KNVdYFlrzaA%23False,
include_zero_impressions=T 
https://www.google.com/url?sa=Dq=https%3A%2F%2Fwww.google.com%2Furl%3Fsa%3DD%26q%3Dhttp%3A%2F%2Fdocs.python.org%2Flibrary%2Fconstants.html%26usg%3DAFQjCNEWPBsS5iGj-IDGgL7KNVdYFlrzaA%23Falserue)


If you're using another language, check out our client library examples 
https://developers.google.com/adwords/api/docs/clientlibraries for 
v201506 to see how to set headers when downloading reports.

Happy coding,
Nadine, AdWords API Team

On Wednesday, July 8, 2015 at 7:32:53 AM UTC-4, GD wrote:

 Hi Nadine,

 While this is certainly a solution, what I'm trying to point out above is 
 that the behavior changed. We were using these calls to generate reports 
 about the account structure and thus dont want to use metric fields. 
 Before, you could request such reports with Date, now you cant?

 On Tuesday, July 7, 2015 at 7:55:24 PM UTC+2, Nadine Sundquist (AdWords 
 API Team) wrote:

 Hi,

 With the Keywords Performance Report, you need to have at least one field 
 with the *Behavior *of type *Metric* such as the Impressions 
 https://developers.google.com/adwords/api/docs/appendix/reports/keywords-performance-report#impressions
  field. 
 Can you please give that a try to see if things behave as expected?

 Thanks,
 Nadine, AdWords API Team 

 On Tuesday, July 7, 2015 at 1:34:01 PM UTC-4, Nadine Sundquist (AdWords 
 API Team) wrote:

 Hello,

 Thanks for pointing this out. The behavior you're showing and the 
 documentation definitely don't match. I'll talk to the engineers to see 
 what the intended behavior is, and I'll get back to you as soon as I have 
 news. 

 Best,
 Nadine, AdWords API Team

 On Tuesday, July 7, 2015 at 8:43:06 AM UTC-4, GD wrote:

 Hi!

 I think you (accidentally?) changed the behavior regarding Date field 
 in KPR visavi zero impression rows.

 See below examples:

 In [34]: report_downloader.DownloadReportAsStreamWithAwql(
 'SELECT CampaignId, AdGroupId, Id, *Date* FROM 
 KEYWORDS_PERFORMANCE_REPORT DURING 20150707,20150707', 
 file_format='CSV').readlines()[0:5]

 Out[34]: 
 ['KEYWORDS_PERFORMANCE_REPORT (Jul 7, 2015)\n',
  'Campaign ID,Ad group ID,Keyword ID,Day\n',
  'Total, --, --, --\n']

 *If we remove Date from the query, we get many lines*

 In [35]: report_downloader.DownloadReportAsStreamWithAwql(
 'SELECT CampaignId, 

GEO_PERFORMANCE_REPORT missing fields

2015-07-08 Thread Anton Georgiev
I'm trying to retrieve the universities of the users coming to my website 
using the GEO_PERFORMANCE_REPORT but this doesn't seem to work as expected. 
The version of the API I'm using is v201502. I'm using Awql to download the 
report in CSV format.

When I made a request using none of the required fields, I got the 
following response:

?xml version=1.0 encoding=UTF-8 
standalone=yes?reportDownloadErrorApiErrortypeSelectorError.MISSING_FIELDS/typetriggerMust
 
choose at least 1 field from the group [CountryCriteriaId, 
CustomFeatureCriteriaId, CustomOtherCriteriaId, CustomCountryCriteriaId, 
CustomRegionCriteriaId, CustomTerritoryCriteriaId, 
CustomProvinceCriteriaId, CustomStateCriteriaId, 
CustomPrefectureCriteriaId, CustomGovernorateCriteriaId, 
CustomCantonCriteriaId, CustomUnionTerritoryCriteriaId, 
CustomAutonomousCommunityCriteriaId, CustomDMARegionCriteriaId, 
CustomMetroCriteriaId, CustomCongressionalDistrictCriteriaId, 
CustomCountyCriteriaId, CustomMunicipalityCriteriaId, CustomCityCriteriaId, 
CustomPostalCodeCriteriaId, CustomDepartmentCriteriaId, 
CustomAirportCriteriaId, CustomTVRegionCriteriaId, CustomOkrugCriteriaId, 
CustomBoroughCriteriaId, CustomCityRegionCriteriaId, 
CustomArrondissementCriteriaId, CustomNeighborhoodCriteriaId, 
CustomUniversityCriteriaId, 
CustomDistrictCriteriaId]/triggerfieldPath/fieldPath/ApiError/reportDownloadError

I found that there's a field called CustomUniversityCriteriaId in this 
list but when I try to use it, I'm getting an error that this field is 
invalid:

?xml version=1.0 encoding=UTF-8 
standalone=yes?reportDownloadErrorApiErrortypeReportDefinitionError.INVALID_FIELD_NAME_FOR_REPORT/typetrigger/triggerfieldPathCustomUniversityCriteriaId/fieldPath/ApiError/reportDownloadError

When I use CountryCriteriaId, CityCriteriaId or RegionCriteriaId 
everything works fine.

I can't find information about the field CustomUniversityCriteriaId in 
the docs but having in mind the response from the API, it looks like this 
field exists.

Do you know if we can actually use this field (and the other fields except 
CountryCriteriaId, CityCriteriaId and RegionCriteriaId) or they are not yet 
implemented?

Thanks,
Anton

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/069e38b8-2240-4d66-89dc-815d87189c8f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Changed behavior re date fields and zero impressions

2015-07-08 Thread GD
Thank you, Nadine!

That does not explain what changed, but surely it is a solution :)

Also note that the source code at https://github.com/googleads hasn't been 
updated to the latest version, which creates some potential for confusion.

On Wednesday, July 8, 2015 at 4:30:11 PM UTC+2, Nadine Sundquist (AdWords 
API Team) wrote:

 Hello,

 With a bit of experimentation, I was able to figure out what was going on. 
 Specify your query just as you did before. However, you will need to 
 explicitly set includeZeroImpressions to true in the header of the request. 
 Your data will then appear. It looks like you're using Python, so here's a 
 Python example of setting those headers:

   with open 
 https://www.google.com/url?sa=Dq=https%3A%2F%2Fwww.google.com%2Furl%3Fsa%3DD%26q%3Dhttp%3A%2F%2Fdocs.python.org%2Flibrary%2Ffunctions.html%26usg%3DAFQjCNHRBwpcZVIR-dfE_S0YKMDqM1iUsQ%23open(path
  
 https://codesearch.corp.google.com/#piper///depot/google3/third_party/py/googleads/opensource/examples/adwords/v201506/reporting/download_criteria_report_with_awql.pyct=xref_jump_to_defcl=GROKl=41gsn=path,
  'w') as output_file 
 https://codesearch.corp.google.com/#piper///depot/google3/third_party/py/googleads/opensource/examples/adwords/v201506/reporting/download_criteria_report_with_awql.pyct=xref_usagesgs=py:google3.third_party.py.googleads.opensource.examples.adwords.v201506.reporting.download_criteria_report_with_awql.mainamp;output_file:third_party/py/googleads/opensource/examples/adwords/v201506/reporting/download_criteria_report_with_awql.py%231740l=52gsn=output_file:
 report_downloader 
 https://codesearch.corp.google.com/#piper///depot/google3/third_party/py/googleads/opensource/examples/adwords/v201506/reporting/download_criteria_report_with_awql.pyct=xref_jump_to_defcl=GROKl=43gsn=report_downloader.DownloadReportWithAwql(
 report_query 
 https://codesearch.corp.google.com/#piper///depot/google3/third_party/py/googleads/opensource/examples/adwords/v201506/reporting/download_criteria_report_with_awql.pyct=xref_jump_to_defcl=GROKl=46gsn=report_query,
  'CSV', output_file 
 https://codesearch.corp.google.com/#piper///depot/google3/third_party/py/googleads/opensource/examples/adwords/v201506/reporting/download_criteria_report_with_awql.pyct=xref_jump_to_defcl=GROKl=52gsn=output_file,
  skip_report_header=False 
 https://www.google.com/url?sa=Dq=https%3A%2F%2Fwww.google.com%2Furl%3Fsa%3DD%26q%3Dhttp%3A%2F%2Fdocs.python.org%2Flibrary%2Fconstants.html%26usg%3DAFQjCNEWPBsS5iGj-IDGgL7KNVdYFlrzaA%23False,
 skip_column_header=False 
 https://www.google.com/url?sa=Dq=https%3A%2F%2Fwww.google.com%2Furl%3Fsa%3DD%26q%3Dhttp%3A%2F%2Fdocs.python.org%2Flibrary%2Fconstants.html%26usg%3DAFQjCNEWPBsS5iGj-IDGgL7KNVdYFlrzaA%23False,
  skip_report_summary=False 
 https://www.google.com/url?sa=Dq=https%3A%2F%2Fwww.google.com%2Furl%3Fsa%3DD%26q%3Dhttp%3A%2F%2Fdocs.python.org%2Flibrary%2Fconstants.html%26usg%3DAFQjCNEWPBsS5iGj-IDGgL7KNVdYFlrzaA%23False,
 include_zero_impressions=T 
 https://www.google.com/url?sa=Dq=https%3A%2F%2Fwww.google.com%2Furl%3Fsa%3DD%26q%3Dhttp%3A%2F%2Fdocs.python.org%2Flibrary%2Fconstants.html%26usg%3DAFQjCNEWPBsS5iGj-IDGgL7KNVdYFlrzaA%23Falserue)


 If you're using another language, check out our client library examples 
 https://developers.google.com/adwords/api/docs/clientlibraries for 
 v201506 to see how to set headers when downloading reports.

 Happy coding,
 Nadine, AdWords API Team

 On Wednesday, July 8, 2015 at 7:32:53 AM UTC-4, GD wrote:

 Hi Nadine,

 While this is certainly a solution, what I'm trying to point out above is 
 that the behavior changed. We were using these calls to generate reports 
 about the account structure and thus dont want to use metric fields. 
 Before, you could request such reports with Date, now you cant?

 On Tuesday, July 7, 2015 at 7:55:24 PM UTC+2, Nadine Sundquist (AdWords 
 API Team) wrote:

 Hi,

 With the Keywords Performance Report, you need to have at least one 
 field with the *Behavior *of type *Metric* such as the Impressions 
 https://developers.google.com/adwords/api/docs/appendix/reports/keywords-performance-report#impressions
  field. 
 Can you please give that a try to see if things behave as expected?

 Thanks,
 Nadine, AdWords API Team 

 On Tuesday, July 7, 2015 at 1:34:01 PM UTC-4, Nadine Sundquist (AdWords 
 API Team) wrote:

 Hello,

 Thanks for pointing this out. The behavior you're showing and the 
 documentation definitely don't match. I'll talk to the engineers to see 
 what the intended behavior is, and I'll get back to you as soon as I have 
 news. 

 Best,
 Nadine, AdWords API Team

 On Tuesday, July 7, 2015 at 8:43:06 AM UTC-4, GD wrote:

 Hi!

 I think you (accidentally?) changed the behavior regarding Date field 
 in KPR visavi zero impression rows.

 See below examples:

 In [34]: report_downloader.DownloadReportAsStreamWithAwql(
 'SELECT CampaignId, AdGroupId, Id, *Date* FROM 
 

Re: Changed behavior re date fields and zero impressions

2015-07-08 Thread GD
Thank you, Nadine!

That does not explain what changed, but surely it is a solution :)

Also note that the source code at https://github.com/googleads hasn't been 
updated to the latest version, which creates some potential for confusion.

On Wednesday, July 8, 2015 at 4:30:11 PM UTC+2, Nadine Sundquist (AdWords 
API Team) wrote:

 Hello,

 With a bit of experimentation, I was able to figure out what was going on. 
 Specify your query just as you did before. However, you will need to 
 explicitly set includeZeroImpressions to true in the header of the request. 
 Your data will then appear. It looks like you're using Python, so here's a 
 Python example of setting those headers:

   with open 
 https://www.google.com/url?sa=Dq=https%3A%2F%2Fwww.google.com%2Furl%3Fsa%3DD%26q%3Dhttp%3A%2F%2Fdocs.python.org%2Flibrary%2Ffunctions.html%26usg%3DAFQjCNHRBwpcZVIR-dfE_S0YKMDqM1iUsQ%23open(path
  
 https://codesearch.corp.google.com/#piper///depot/google3/third_party/py/googleads/opensource/examples/adwords/v201506/reporting/download_criteria_report_with_awql.pyct=xref_jump_to_defcl=GROKl=41gsn=path,
  'w') as output_file 
 https://codesearch.corp.google.com/#piper///depot/google3/third_party/py/googleads/opensource/examples/adwords/v201506/reporting/download_criteria_report_with_awql.pyct=xref_usagesgs=py:google3.third_party.py.googleads.opensource.examples.adwords.v201506.reporting.download_criteria_report_with_awql.mainamp;output_file:third_party/py/googleads/opensource/examples/adwords/v201506/reporting/download_criteria_report_with_awql.py%231740l=52gsn=output_file:
 report_downloader 
 https://codesearch.corp.google.com/#piper///depot/google3/third_party/py/googleads/opensource/examples/adwords/v201506/reporting/download_criteria_report_with_awql.pyct=xref_jump_to_defcl=GROKl=43gsn=report_downloader.DownloadReportWithAwql(
 report_query 
 https://codesearch.corp.google.com/#piper///depot/google3/third_party/py/googleads/opensource/examples/adwords/v201506/reporting/download_criteria_report_with_awql.pyct=xref_jump_to_defcl=GROKl=46gsn=report_query,
  'CSV', output_file 
 https://codesearch.corp.google.com/#piper///depot/google3/third_party/py/googleads/opensource/examples/adwords/v201506/reporting/download_criteria_report_with_awql.pyct=xref_jump_to_defcl=GROKl=52gsn=output_file,
  skip_report_header=False 
 https://www.google.com/url?sa=Dq=https%3A%2F%2Fwww.google.com%2Furl%3Fsa%3DD%26q%3Dhttp%3A%2F%2Fdocs.python.org%2Flibrary%2Fconstants.html%26usg%3DAFQjCNEWPBsS5iGj-IDGgL7KNVdYFlrzaA%23False,
 skip_column_header=False 
 https://www.google.com/url?sa=Dq=https%3A%2F%2Fwww.google.com%2Furl%3Fsa%3DD%26q%3Dhttp%3A%2F%2Fdocs.python.org%2Flibrary%2Fconstants.html%26usg%3DAFQjCNEWPBsS5iGj-IDGgL7KNVdYFlrzaA%23False,
  skip_report_summary=False 
 https://www.google.com/url?sa=Dq=https%3A%2F%2Fwww.google.com%2Furl%3Fsa%3DD%26q%3Dhttp%3A%2F%2Fdocs.python.org%2Flibrary%2Fconstants.html%26usg%3DAFQjCNEWPBsS5iGj-IDGgL7KNVdYFlrzaA%23False,
 include_zero_impressions=T 
 https://www.google.com/url?sa=Dq=https%3A%2F%2Fwww.google.com%2Furl%3Fsa%3DD%26q%3Dhttp%3A%2F%2Fdocs.python.org%2Flibrary%2Fconstants.html%26usg%3DAFQjCNEWPBsS5iGj-IDGgL7KNVdYFlrzaA%23Falserue)


 If you're using another language, check out our client library examples 
 https://developers.google.com/adwords/api/docs/clientlibraries for 
 v201506 to see how to set headers when downloading reports.

 Happy coding,
 Nadine, AdWords API Team

 On Wednesday, July 8, 2015 at 7:32:53 AM UTC-4, GD wrote:

 Hi Nadine,

 While this is certainly a solution, what I'm trying to point out above is 
 that the behavior changed. We were using these calls to generate reports 
 about the account structure and thus dont want to use metric fields. 
 Before, you could request such reports with Date, now you cant?

 On Tuesday, July 7, 2015 at 7:55:24 PM UTC+2, Nadine Sundquist (AdWords 
 API Team) wrote:

 Hi,

 With the Keywords Performance Report, you need to have at least one 
 field with the *Behavior *of type *Metric* such as the Impressions 
 https://developers.google.com/adwords/api/docs/appendix/reports/keywords-performance-report#impressions
  field. 
 Can you please give that a try to see if things behave as expected?

 Thanks,
 Nadine, AdWords API Team 

 On Tuesday, July 7, 2015 at 1:34:01 PM UTC-4, Nadine Sundquist (AdWords 
 API Team) wrote:

 Hello,

 Thanks for pointing this out. The behavior you're showing and the 
 documentation definitely don't match. I'll talk to the engineers to see 
 what the intended behavior is, and I'll get back to you as soon as I have 
 news. 

 Best,
 Nadine, AdWords API Team

 On Tuesday, July 7, 2015 at 8:43:06 AM UTC-4, GD wrote:

 Hi!

 I think you (accidentally?) changed the behavior regarding Date field 
 in KPR visavi zero impression rows.

 See below examples:

 In [34]: report_downloader.DownloadReportAsStreamWithAwql(
 'SELECT CampaignId, AdGroupId, Id, *Date* FROM 
 

Re: Placement Performance Report - ID field null

2015-07-08 Thread Mark R
Hey Thanet,

I'm using a very similar implementation of the googleads-java-lib example, 
but that is still not grabbing all the placements.

At a high level, does an Automatic Placements even get a Criterion ID?

Thanks,
Mark

On Tuesday, July 7, 2015 at 10:30:37 PM UTC-7, Thanet Knack Praneenararat 
(AdWords API Team) wrote:

 Hello Mark,

 You can use a Selector of AdGroupCriterionService 
 https://developers.google.com/adwords/api/docs/appendix/selectorfields#v201506-AdGroupCriterionService
  
 to get placement URLs by the field *PlacementUrl*.

 This code example 
 https://www.google.com/url?q=https%3A%2F%2Fgithub.com%2Fgoogleads%2Fgoogleads-php-lib%2Fblob%2Fmaster%2Fexamples%2FAdWords%2Fv201506%2FBasicOperations%2FGetKeywords.php%23L56sa=Dsntz=1usg=AFQjCNEtH5D8f6pnYDfkm86mWkdOLxMFVA
  
 might be similar to what you would like to do.
 Just change the code from using the type *KEYWORD *to *PLACEMENT *instead.

 Cheers,
 Thanet, AdWords API Team

 On Wednesday, July 8, 2015 at 3:25:03 AM UTC+9, Mark R wrote:

 Hey Thanet,

 Can you point me towards an API call that uses the Placement description 
 as suggested?

 Thanks,
 Mark

 On Tuesday, July 7, 2015 at 7:18:52 AM UTC-7, Mark R wrote:

 Hey Thanet,

 Thanks for the info.  We'll look into alternative methods for updating 
 the Automatic placements.

 Regards,
 Mark

 On Tuesday, July 7, 2015 at 1:48:39 AM UTC-7, Thanet Knack Praneenararat 
 (AdWords API Team) wrote:

 Hello Mark,

 Thanks for your clarification.

 I still think that you should ignore those placements without IDs or 
 not offer them to your users.
 Originally, they are *automatic* placements (i.e., you or your user 
 haven't created them), not the *managed* placements that you can add 
 or delete.

 If you still would like to tweak around them, the best possible way 
 might be using their descriptions instead of IDs.

 Cheers,
 Thanet, AdWords API Team

 On Tuesday, July 7, 2015 at 2:28:33 AM UTC+9, Mark R wrote:

 Hey Thanet,

  

 We use an internal tool for managing some of our Criterion, and our 
 team would like the capability to bid/pause/remove Placements through 
 this 
 tool.

  

 Without an ID they would need to individually select each Placement 
 through the AdWords webpage they wish to manipulate, rather than use API 
 calls.

  

 Thanks,
 Mark

 On Monday, July 6, 2015 at 4:16:46 AM UTC-7, Thanet Knack 
 Praneenararat (AdWords API Team) wrote:

 Hi Mark,

 I'm not sure I understand your use case correctly.
 Why would this mechanism (returning null when the placement is 
 automatic one) is problematic to you?

 That is just one of other possible ways (e.g., returning an arbitrary 
 constant value) to show that a certain row is of automatic, not the one 
 you 
 have manually specified.
 Could you please tell me what you are trying to achieve so I can help 
 you appropriately?

 Cheers,
 Thanet, AdWords API Team

 On Saturday, July 4, 2015 at 6:06:13 AM UTC+9, Mark R wrote:

 Hey Thanet,

 That agrees with what we've observed, but is there a technical 
 reason?  It seems to also be the case when I pull the Placement through 
 the 
 AdGroupCriterionService.

 Can you suggest an alternative method for getting the ID?

 Regards,
 Mark

 On Friday, July 3, 2015 at 2:24:32 AM UTC-7, Thanet Knack 
 Praneenararat (AdWords API Team) wrote:

 Hi Mark,

 That means the placement is an automatic one 
 https://support.google.com/adwords/answer/99463?hl=en (as 
 compared to managed placements 
 https://support.google.com/adwords/answer/99502?hl=en). In AWFE, 
 it will have value of 0.
 For managed placements you specified, the placement performance 
 report shows the ID field as usual.

 Cheers,
 Thanet, AdWords API Team

 On Thursday, July 2, 2015 at 8:36:48 AM UTC+9, Mark R wrote:

 Hey Folks,

 In the Placement Performance Report, I'm observing a large 
 quantity of Placements where the ID field is coming in as null (--) 
 and 
 I'm not seeing in the documentation why that would be.  Is there a 
 segmentation that could cause this result?

 Thanks,
 Mark



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 

Re: Generating developer token issues - Value is required

2015-07-08 Thread Umesh Dengale
Hello,

Please contact the AdWords API Compliance Team 
https://services.google.com/fb/forms/apicontact/ regarding your Developer 
Token access rejection.

Regards,
Umesh, 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 http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/4bc0ebb6-d8e1-49e2-9f63-125684f3ff78%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Generating developer token issues - Value is required

2015-07-08 Thread Andy Wallace
Thanks Umesh. I was in Chat with SarahP yesterday,  we couldn't shake my 
account loose - I can't edit anything on the API settings page, including 
properly setting the email address (the account was partially set up a 
couple of years ago by someone no longer with the company. She was taking 
the problem to the technical team, waiting for an answer.
andy



On Wednesday, July 8, 2015 at 9:35:35 AM UTC-7, Umesh Dengale wrote:

 Hello,

 Please contact the AdWords API Compliance Team 
 https://services.google.com/fb/forms/apicontact/ regarding your 
 Developer Token access rejection.

 Regards,
 Umesh, 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 http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/678a368d-50e2-4c58-a16e-111bcf3a07ee%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Create campaign with Remarketing

2015-07-08 Thread Giovanni Cortes
Hello I am having some serious trouble figuring out on how to create a 
campaign with subtype remarketing instead of all features.

I have read the documentation and I do not find any clue.

In AdvertisingChannelSubType I got just  SEARCH_MOBILE_APP, 
DISPLAY_MOBILE_APP, SEARCH_EXPRESS, DISPLAY_EXPRESS

How could do this?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/596750e0-eb59-4d47-af8d-f867b120caea%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Changed behavior re date fields and zero impressions

2015-07-08 Thread Nadine Sundquist (AdWords API Team)
Hello,

I'm happy to hear that the solution gets you going again! 

The source code on Github (except for Python) was updated in the first week 
of July for the v201506 release. Be on the lookout for the new Python code 
on Github within the next week. In the meantime, you can download the newest 
version https://pypi.python.org/pypi/googleads (for v201506) of the 
Python client library on PyPI. 

Regards,
Nadine, AdWords API Team

On Wednesday, July 8, 2015 at 11:24:15 AM UTC-4, GD wrote:

 Thank you, Nadine!

 That does not explain what changed, but surely it is a solution :)

 Also note that the source code at https://github.com/googleads hasn't 
 been updated to the latest version, which creates some potential for 
 confusion.

 On Wednesday, July 8, 2015 at 4:30:11 PM UTC+2, Nadine Sundquist (AdWords 
 API Team) wrote:

 Hello,

 With a bit of experimentation, I was able to figure out what was going 
 on. Specify your query just as you did before. However, you will need to 
 explicitly set includeZeroImpressions to true in the header of the request. 
 Your data will then appear. It looks like you're using Python, so here's a 
 Python example of setting those headers:

   with open 
 https://www.google.com/url?sa=Dq=https%3A%2F%2Fwww.google.com%2Furl%3Fsa%3DD%26q%3Dhttp%3A%2F%2Fdocs.python.org%2Flibrary%2Ffunctions.html%26usg%3DAFQjCNHRBwpcZVIR-dfE_S0YKMDqM1iUsQ%23open(path
  
 https://codesearch.corp.google.com/#piper///depot/google3/third_party/py/googleads/opensource/examples/adwords/v201506/reporting/download_criteria_report_with_awql.pyct=xref_jump_to_defcl=GROKl=41gsn=path,
  'w') as output_file 
 https://codesearch.corp.google.com/#piper///depot/google3/third_party/py/googleads/opensource/examples/adwords/v201506/reporting/download_criteria_report_with_awql.pyct=xref_usagesgs=py:google3.third_party.py.googleads.opensource.examples.adwords.v201506.reporting.download_criteria_report_with_awql.mainamp;output_file:third_party/py/googleads/opensource/examples/adwords/v201506/reporting/download_criteria_report_with_awql.py%231740l=52gsn=output_file:
 report_downloader 
 https://codesearch.corp.google.com/#piper///depot/google3/third_party/py/googleads/opensource/examples/adwords/v201506/reporting/download_criteria_report_with_awql.pyct=xref_jump_to_defcl=GROKl=43gsn=report_downloader.DownloadReportWithAwql(
 report_query 
 https://codesearch.corp.google.com/#piper///depot/google3/third_party/py/googleads/opensource/examples/adwords/v201506/reporting/download_criteria_report_with_awql.pyct=xref_jump_to_defcl=GROKl=46gsn=report_query,
  'CSV', output_file 
 https://codesearch.corp.google.com/#piper///depot/google3/third_party/py/googleads/opensource/examples/adwords/v201506/reporting/download_criteria_report_with_awql.pyct=xref_jump_to_defcl=GROKl=52gsn=output_file,
  skip_report_header=False 
 https://www.google.com/url?sa=Dq=https%3A%2F%2Fwww.google.com%2Furl%3Fsa%3DD%26q%3Dhttp%3A%2F%2Fdocs.python.org%2Flibrary%2Fconstants.html%26usg%3DAFQjCNEWPBsS5iGj-IDGgL7KNVdYFlrzaA%23False,
 skip_column_header=False 
 https://www.google.com/url?sa=Dq=https%3A%2F%2Fwww.google.com%2Furl%3Fsa%3DD%26q%3Dhttp%3A%2F%2Fdocs.python.org%2Flibrary%2Fconstants.html%26usg%3DAFQjCNEWPBsS5iGj-IDGgL7KNVdYFlrzaA%23False,
  skip_report_summary=False 
 https://www.google.com/url?sa=Dq=https%3A%2F%2Fwww.google.com%2Furl%3Fsa%3DD%26q%3Dhttp%3A%2F%2Fdocs.python.org%2Flibrary%2Fconstants.html%26usg%3DAFQjCNEWPBsS5iGj-IDGgL7KNVdYFlrzaA%23False,
 include_zero_impressions=T 
 https://www.google.com/url?sa=Dq=https%3A%2F%2Fwww.google.com%2Furl%3Fsa%3DD%26q%3Dhttp%3A%2F%2Fdocs.python.org%2Flibrary%2Fconstants.html%26usg%3DAFQjCNEWPBsS5iGj-IDGgL7KNVdYFlrzaA%23Falserue)


 If you're using another language, check out our client library examples 
 https://developers.google.com/adwords/api/docs/clientlibraries for 
 v201506 to see how to set headers when downloading reports.

 Happy coding,
 Nadine, AdWords API Team

 On Wednesday, July 8, 2015 at 7:32:53 AM UTC-4, GD wrote:

 Hi Nadine,

 While this is certainly a solution, what I'm trying to point out above 
 is that the behavior changed. We were using these calls to generate reports 
 about the account structure and thus dont want to use metric fields. 
 Before, you could request such reports with Date, now you cant?

 On Tuesday, July 7, 2015 at 7:55:24 PM UTC+2, Nadine Sundquist (AdWords 
 API Team) wrote:

 Hi,

 With the Keywords Performance Report, you need to have at least one 
 field with the *Behavior *of type *Metric* such as the Impressions 
 https://developers.google.com/adwords/api/docs/appendix/reports/keywords-performance-report#impressions
  field. 
 Can you please give that a try to see if things behave as expected?

 Thanks,
 Nadine, AdWords API Team 

 On Tuesday, July 7, 2015 at 1:34:01 PM UTC-4, Nadine Sundquist (AdWords 
 API Team) wrote:

 Hello,

 Thanks for pointing this out. The behavior you're showing and the 
 documentation definitely 

Re: User Permission Denied for Test MCC

2015-07-08 Thread Danial Klimkin
Hello Paulo,


This error means you are trying to add a campaign under an MCC account. 
Please make sure you send an advertiser account ID in the clientCustomerId 
field.

The OAuth token can be of an MCC account.


-Danial, AdWords API Team.


On Wednesday, July 8, 2015 at 3:00:42 PM UTC+2, PAULO JOSE Castro wrote:

 Having an ADD_OPERATION_NOT_PERMITTED error too

 On Friday, February 6, 2015 at 7:36:02 AM UTC+8, Jon Weinstock wrote:

 Hi Adwords,

 I created a production MCC with an account under email address A. I 
 requested a developer token under this account.

 I created a test MCC with multiple accounts under email address B. 

 I authorized B through the Google Developer's Console and used the client 
 id and secret to generate a refresh token. Unfortunately when I try to 
 access any API operation I'm getting a User Permission Denied. Can you 
 advise? 

 Thank You



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/1461fb7b-f4fc-48a4-a230-ce680f70a979%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Ad words

2015-07-08 Thread Umesh Dengale
Hi Krishna,

Please check out our the OAuth 2.0 Authentication 
https://developers.google.com/adwords/api/docs/guides/authentication and 
the OAuth 2.0 authorization 
https://developers.google.com/identity/protocols/OAuth2 guide.

Regards,
Umesh, 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 http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/114f70cf-2007-4872-a765-d0acb8871010%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Rails Adwords API - cannot load such file -- adwords_api

2015-07-08 Thread Richard Henry
Hi,

I am new to the AdWords API and I am using rails and will use the Client 
Library provided. I am trying to integrate it with the Rails framework and 
I've setup my adwords_api.yml in the config file and tried to require this 
in my controller but I keep getting:

cannot load such file -- 
/Users/Richard/Desktop/wdi_13/projects/final_project/clean_project/adwords_app/config/adwords_api

my controller code is:

require #{Rails.root}/config/adwords_api

class ReportsController  ApplicationController
  
  def index
adwords = AdwordsApi::Api.new
token = adwords.authorize()
  end


end

I've looked into it and i thought it may be something to do with the path, 
which is why I have the Rails.root there but the path with this is 
definitely correct.

Any help would be greatly appreciated!

Thanks,
Rick
 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/c4dad5ce-4a6a-44ca-8bc2-e4dc6e94aeb9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Exclude IP Address using Adwords API

2015-07-08 Thread Umesh Dengale
Hi Dorian,

Thanks for the link. Excluding IP addresses is supported in v201502 and 
v201506 with IpBlock 
https://developers.google.com/adwords/api/docs/reference/v201506/CampaignCriterionService.IpBlock.
 Once 
you set the ipAddress 
https://developers.google.com/adwords/api/docs/reference/v201502/CampaignCriterionService.IpBlock#ipAddress
 field 
with the address you want to block in IpBlock, you'll be good to go. 

Thanks,
Umesh, 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 http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/3a767067-1244-456b-9578-e919e5572dfe%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: ISP of client not found in list?

2015-07-08 Thread Umesh Dengale
Hello,

In the AdWords product side (In Campaigns tab, select one of your “Display 
Network only - All features” campaigns,  Advanced Setting  Device: target 
selected mobile devices and tablets Carriers and Wi-Fi) are you able to 
locate you mobile carrier name (your client) listed under country they 
providing service ?

Thanks,
Umesh, 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 http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/2e002b05-b216-40a6-a8ea-af5b64f37498%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Multiple operations with CampaignExtensionSetting Srevice

2015-07-08 Thread រតនា ជួន
Hi Sundquist 

As I didn't found any solutions so currently I send request one by one.

Regard,
Rothana

On Friday, June 12, 2015 at 8:37:04 PM UTC+7, Nadine Sundquist (AdWords API 
Team) wrote:

 Hi Rothana,

 Were you able to get this figured out?

 Best,
 Nadine, AdWords API Team

 On Thursday, May 28, 2015 at 4:27:22 PM UTC-4, Nadine Sundquist (AdWords 
 API Team) wrote:

 Hello Rothana,

 There shouldn't be any issues with sending in multiple operations. Could 
 you please send me your privately your customer ID? If you also have the 
 full SOAP response, that would be helpful as well. That way, I can try to 
 find the root cause of the error. 

 Thanks,
 Nadine, AdWords API Team

 On Tuesday, May 26, 2015 at 11:05:27 PM UTC-7, រតនា ជួន wrote:

 I've updated awords api to v201502 and there's a new way to create ad 
 extensions by using CampaignExtensionSetting service.
 My problem is getting an error while i'm trying to send a request with 
 multiple operations.

  AdwordsApi::V201502::CampaignExtensionSettingService::ApiException: [
 InternalApiError.UNEXPECTED_INTERNAL_API_ERROR @ com.google.ads.api.
 services.common.error.InternalApiError.init(InternalApiErro]

 Here are my request: 
  [{:operator=SET,
   :operand=
{:campaign_id=284821869,
 :extension_type=CALLOUT,
 :extension_setting=
  {:platform_restrictions=NONE,
   :extensions=[{:feed_item_id=1438498066, :xsi_type=
 CalloutFeedItem}, {:feed_item_id=1438490401,:xsi_type=
 CalloutFeedItem}]}}},
  {:operator=SET,
   :operand=
{:campaign_id=285081789,
 :extension_type=CALLOUT,
 :extension_setting=
  {:platform_restrictions=NONE,
   :extensions=
[{:feed_item_id=1434107755, :xsi_type=CalloutFeedItem},
 {:feed_item_id=1434268424, :xsi_type=CalloutFeedItem},
 {:feed_item_id=1434138058, :xsi_type=CalloutFeedItem},
 {:feed_item_id=1438425491, :xsi_type=CalloutFeedItem},
 {:feed_item_id=1438498066, :xsi_type=CalloutFeedItem},
 {:feed_item_id=1438490401, :xsi_type=CalloutFeedItem}]}}}]

 How can I fix this? Or CampaignEtension doesn't support multiple 
 operations?

 Regard,
 Rothana



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/06d0160c-8997-4c4d-a51c-0ea01613a12a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: can't see Adwords API center in left sidebar

2015-07-08 Thread Brijesh parmar
My account is already activated you can see here 
-http://screencast.com/t/ukd7y1wRfFW1
and you can see i can't get the link of Adwords Api cener
check-http://screencast.com/t/D6D6oirXn4
Please help me i am stuck at this point.


On Tuesday, July 7, 2015 at 10:10:43 PM UTC+5:30, Umesh Dengale wrote:

 Hi Brijesh,

 You are not able to see the *AdWords API Center *as you have canceled 
 your account. You can reactivate 
 https://support.google.com/adwords/answer/2375392?hl=en your account.

 Regards,
 Umesh, 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 http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/0d04fbeb-1062-4d0a-a096-6fefdf2a0eef%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Invalid Grant Error

2015-07-08 Thread sempageonce
Hi,

i am struggling with downloading csv reports. Currently using 
ReportUtilities class in order to Getresponse request  and download the 
file.
attached the exception
{Failed to refresh access token.\n{\n  \error\ : 
\invalid_grant\\n}}System.Exception 
{Google.Api.Ads.Common.Lib.AdsOAuthException}

Some background,

I received an Authorization code and granted permissions to Adwords 
campaigns ( Is this the right permissions for downloading reports?) 
successfully.

made some oauth calls and generated an Access Token and Refresh Token as 
well.

I Migrated to V201506 from an older version.

Please advice.

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 http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/a1f43b8e-738a-4219-85a2-21ad05c156f1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.