API response contains "None" everywhere

29 views
Skip to first unread message

HM

unread,
Jun 20, 2019, 5:06:51 PM6/20/19
to AdWords API and Google Ads API Forum
Hello
I'm trying the API. I listed all the campaigns for my account using this script https://github.com/googleads/google-ads-python/blob/master/examples/basic_operations/get_campaigns.py
this is working, I get my list but without all the information, here is an example of the "Campaign" object I get from the API :

{
   'id': NUM,
   'campaignGroupId': None,
   'name': u'CAMPAIGN NAME',
   'status': 'ENABLED',
   'servingStatus': None,
   'startDate': None,
   'endDate': None,
   'budget': None,
   'conversionOptimizerEligibility': None,
   'adServingOptimizationStatus': None,
   'frequencyCap': None,
   'settings': [],
   'advertisingChannelType': None,
   'advertisingChannelSubType': None,
   'networkSetting': None,
   'labels': [],
   'biddingStrategyConfiguration': None,
   'campaignTrialType': None,
   'baseCampaignId': None,
   'forwardCompatibilityMap': [],
   'trackingUrlTemplate': None,
   'finalUrlSuffix': None,
   'urlCustomParameters': None,
   'vanityPharma': None,
   'universalAppCampaignInfo': None,
   'selectiveOptimization': None
}

As you can see, allmost the informations are set to None. I would like to know why.  I get this on Ad_groups and keywords objects too.
any help ?

Google Ads API Forum Advisor Prod

unread,
Jun 21, 2019, 1:56:54 AM6/21/19
to adwor...@googlegroups.com

Hi,

Thank you for reaching out. Could you send to me in private, using the Reply privately to author option, the complete JSON logs generated when you acquired this result?

Thanks and regards,
Peter
Google Ads API Team



ref:_00D1U1174p._5001UCYgrQ:ref
Reply all
Reply to author
Forward
0 new messages