How to get campaign data and push it to a database

12 views
Skip to first unread message

lakshmana deepesh

unread,
Feb 7, 2018, 4:04:29 AM2/7/18
to AdWords API Forum

Hi Everyone,

I am a beginner with adwords API and I am starting to feel that the adwords API is little overwhelming, in spite of the humungous documentation, i am unable to figure out which code to use to get aggregated campaign data, here are the problems i am facing, it would be great if you can help me out with these

  1. Which code sample should I refer to get the campaign data from my account, I am looking to get the data in this format of headers
    campaign_id,campaign_name,clicks,impressions,cost,conversions
  2. I have tried to get the campaign_performance_Report, but there are couple of problems I am facing with that 
    a) I get the keyword level information for clicks, impressions and etc
    b) I get the data either in a csv or sys.stdout print on my terminal. If I have to push it to the Database, I need to get something similar to a json but the method downloadereport() gives me only two options.(I think so)
  3. How to change the date_filters I only have a string format in the selector that I am using from the sample.
  4. how to get the list of all the client customer ids from the API through an MCC account.

I am using Python 3.6 for my code base, 
please let me know which sample codes to refer to get these reports
Reply all
Reply to author
Forward
This conversation is locked
You cannot reply and perform actions on locked conversations.
0 new messages