ReportDefinitionError.CUSTOMER_SERVING_TYPE_REPORT_MISMATCH

142 views
Skip to first unread message

Globalscape Develper

unread,
Mar 4, 2014, 5:18:14 PM3/4/14
to adwor...@googlegroups.com
I keep getting the following error when trying to download reports:  ReportDefinitionError.CUSTOMER_SERVING_TYPE_REPORT_MISMATCH

My developer token and customer ID are linked to a single MCC.  I generated the OAuth2 Client ID, secret and Refresh Token with the following tutorial:  http://www.ewanheming.com/adwords-api-oauth-playground
I tried using the tutorial from the Google https://developers.google.com/adwords/api/docs/guides/authentication but I didn't know where to enter the authorization code once I got it.

I followed the examples from the .NET samples to download reports but I keep getting the same error.

Why do I keep getting that error?  What can I do to fix it?



Ray Tsang (AdWords API Team)

unread,
Mar 4, 2014, 6:31:10 PM3/4/14
to adwor...@googlegroups.com
Hi,

You may be running report against a MCC account.  Please make sure you have specified the AW account CID rather than the MCC account CID when you run the report.

This is a similar thread.

Thanks,

Ray

abbas....@purelogics.net

unread,
May 18, 2015, 9:15:21 AM5/18/15
to adwor...@googlegroups.com
please consider my attached log file.

I am using PHP libraries...

report_download.log

abbas....@purelogics.net

unread,
May 18, 2015, 9:15:21 AM5/18/15
to adwor...@googlegroups.com
Hi Adwords Team,
  I am facing following error when i tried to download Report requesting through my website.
ReportDefinitionError.CUSTOMER_SERVING_TYPE_REPORT_MISMATCH selector An error has occurred: Report download failed. 
 
I am using PHP client Libraries to get Adwords Report from my website.
I have generated Refresh token by using Installed Services Client Key,

I have also read your previous comments and fixes about this issue...
i am setting  client customer ID from both side from my auth.ini file and from $user Object from code
    $user = new AdWordsUser();
    $user->SetClientCustomerId('962-427-7620');

But i am still facing below mentioned Error please help me out.
ReportDefinitionError.CUSTOMER_SERVING_TYPE_REPORT_MISMATCH selector An error has occurred: Report download failed. 

What should i do to over come this error? I have attached my log file please consider this too. i got this log file when i run my php code from Command Prompt, it does not creates from my website.
 
waiting for you guide...
report_download.log

abbas....@purelogics.net

unread,
May 18, 2015, 9:15:21 AM5/18/15
to adwor...@googlegroups.com
Can you please guide me what is the difference B/W AW Id and MCC ID, as i am also facing the same Error. And i am using PHP libraries to get report for my website.

I am setting Client Customer ID of my test MCC from both side from auth.ini file and setting it after initializing User object  
    $user = new AdWordsUser();
    $user->SetClientCustomerId('962-427-7620');

Please help what should i do to over come it?

abbas....@purelogics.net

unread,
May 18, 2015, 9:50:21 AM5/18/15
to adwor...@googlegroups.com
FYI : I am using Test MCC Account to Download Reports Sample.
Please Guide me ASAP to fix this issue.
Thanks

Regards,
 Abbas.

Raghavendra Soudala (AdWords API Team)

unread,
May 18, 2015, 5:33:02 PM5/18/15
to adwor...@googlegroups.com, abbas....@purelogics.net
Hi Abbas,

An MCC account is a top level account which manages the AdWords accounts under it. Here is a diagram from our documentation which explains the account hierarchy.

You can use ManagedCustomerService to get the account hierarchy. As a starting point, you can use our PHP client library example which helps you in retrieving your account hierarchy.

If you want report data for all accounts under an MCC, you'll have to run the report separately for each account as mentioned in the reporting on multiple accounts section of our reporting guide. In addition, most reports can only be run with the clientCustomerId set to an AdWords account, not an MCC account.

Regards,
Raghavendra, AdWords API Team.

abbas....@purelogics.net

unread,
May 19, 2015, 9:10:05 AM5/19/15
to adwor...@googlegroups.com, abbas....@purelogics.net
Hi Raghavendra,
Thanks for your descriptions i understand the flow and now i got Report in a CSV format.
Can you please also guide me Reports for UI i don't want to download report i just want to see reports on my own UI with my own settings.
is there  is any way by which i can list down my report on my web page without downloading file to my system.

Please help me...
Thanks

Raghavendra Soudala (AdWords API Team)

unread,
May 19, 2015, 4:11:55 PM5/19/15
to adwor...@googlegroups.com, abbas....@purelogics.net
Hi Abbas,

Here is a guide that helps you to customize your reports and view them on your UI. If you have any further questions regarding the UI reports, please feel free to post them on our product forum.

Regards,
Raghavendra, AdWords API Team.


abbas....@purelogics.net

unread,
Jun 1, 2015, 5:26:44 PM6/1/15
to adwor...@googlegroups.com, abbas....@purelogics.net
Hi,
I have donloaded CSV  using APi but there is an issue with cost column of CSV.
 it's showing wrongs cost, the CSV which i download from my MCC Account has different cost.
i think this is issue with cost formatting.
my actuall cosy for Keyword Performace report is 21.11 where as CSV shows me 21110000.

Please i am waiting for your response please help me out. 


Thanet Knack Praneenararat (AdWords API Team)

unread,
Jun 3, 2015, 4:02:05 AM6/3/15
to adwor...@googlegroups.com, abbas....@purelogics.net
Hi Abbas,

This is not a wrong cost.
It's a normal format of costs shown in reports, which uses type Money.

If you need to format in different way, please do so (e.g., divide by 1 million) on your application side.

Cheers,
Thanet

abbas....@purelogics.net

unread,
Jun 3, 2015, 8:12:34 AM6/3/15
to adwor...@googlegroups.com, abbas....@purelogics.net

Thanks Thanet!

Reply all
Reply to author
Forward
0 new messages