Unable to fetch data in google adwords API

62 views
Skip to first unread message

Varun Kumar

unread,
Nov 30, 2017, 1:41:44 PM11/30/17
to AdWords API Forum

Hi Team,

Nicely done as per mentioned. Now I called first API without any error but it display no record. I've campaign in production mode but there is not record.

> php examples/AdWords/v201705/BasicOperations/GetExpandedTextAds.php 

> [2017-11-30 18:36:24] AW_SOAP.INFO: clientCustomerId=491-978-3346 operations=1 service=AdGroupAdService method=get responseTime=525 requestId=00055f32ed2619f00a6250c5e4012681 server=adwords.google.com isFault=0 faultMessage=  
> Number of results found: 0

I've created developer's token and refresh token from my account(MCC acount) and it connected with adword account. Please help me to rid out of this problem. Many Thanks..

Bharani Cherukuri (AdWords API Team)

unread,
Nov 30, 2017, 5:13:11 PM11/30/17
to AdWords API Forum
Hello, 

The ID provided in the logs is a MCC ID, you will have to specify the clientCustomerId of the target AdWords client account. It is required for all the API calls except CustomerService and ReportDefinitionService. Once you provide the clientCustomerId and make an API call, this will return results for the Expanded Text ads in your account. 

If you continue to have an issue with this, could you enable logging and provide us the complete SOAP request and response logs along with the clientCustomerId, so I can take a look? Please use Reply privately to author option to provide the details.

Regards,
Bharani, AdWords API Team 
Reply all
Reply to author
Forward
0 new messages