campaignService.get() returns NULL entries

47 views
Skip to first unread message

Marion Paras

unread,
Sep 26, 2018, 5:11:22 AM9/26/18
to AdWords API and Google Ads API Forum
Hi,

I am new in using the API, and I am trying to retrieve all the campaign id, name, and status using CampaignService in C#. However, it keeps on returning "NULL" entries. 


I have also attached my sample code along with the returned "entries" value.

What seems to be wrong here? 
adwords.JPG

Milind Sankeshware (AdWords API Team)

unread,
Sep 26, 2018, 12:11:06 PM9/26/18
to AdWords API and Google Ads API Forum
Hi Marion,

Your code looks good to me. Could you please share the client customer id for which you were trying to fetch the campaigns? Also, please enable the logging and share the complete SOAP request and response logs so that I can troubleshoot the issue. Please note that the API call is made against the client account and not against the MCC account. If you are making the call against the MCC account, please use the client (non-manger) account. You can use 'Reply privately to the author' option while responding.

Thanks,
Milind, AdWords API Team
Reply all
Reply to author
Forward
0 new messages