I have 2 accounts.
one return data , but he other no. (both with publicity)
why?
this is the code.
-----------------------
  client = adwords.AdWordsClient.LoadFromStorage(Archivo)
  # Initialize appropriate service.
  report_downloader = client.GetReportDownloader(version='v201809')
  fecha=20181201+','+20181204
  # Create report query.
  report_query = (adwords.ReportQueryBuilder()
                  
.Select('Month','CampaignName','AdGroupName','KeywordTextMatchingQuery','SearchQuery','Clicks','AveragePosition','AverageCpc','Ctr','Impressions'
 
,'OrganicImpressions','OrganicClicks','OrganicAveragePosition','CombinedAdsOrganicClicks')
                  .From('PAID_ORGANIC_QUERY_REPORT')
                 .During(fecha)
                  #.WHERE('DATE=20181105')
                  .Build())

  var=report_downloader.DownloadReportAsStringWithAwql(report_query, 'CSV',
            skip_report_header=True, 
skip_column_header=False,skip_report_summary=True)
  

  var1=StringIO(var)
  df = pd.read_csv(var1, sep=",")

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

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads 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/6499bc25-14ae-4022-b6bb-9eeab5448794%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • ... Alejandro Brücher
    • ... 'Bharani Cherukuri (AdWords API Team)' via AdWords API and Google Ads API Forum

Reply via email to