Hi Eugene,

To tell if your account owns the developer token, log in to the
AdWords web interface with your MCC credentials and navigate to "My
Account" -> "AdWords API Center".  If there is no AdWords API Center
option than that is not the account that owns the developer token.

I have tried running these requests for my own accounts and everything
works fine if I use the MCC user that owns the token.  I'm only able
to get the EntityNotFound.INVALID_ID error if I use an AdWords account
for the request.  Because of this I think that you are either using
the wrong accounts or there is a problem with you accounts.

Best,
- Eric

On Nov 18, 12:20 pm, Eugene <popov...@aheadworks.com> wrote:
> Hi Eric,
>
> As for MCC account... how can I check if it owns my developer token?
>
> Results are the same when I use TOTAL_USAGE_API_UNITS_PER_MONTH.
>
> Why don't you run the code below on your server?
>
> require_once '/var/www/adwords/src/Google/Api/Ads/AdWords/Lib/
> AdWordsUser.php';
> $user = new AdWordsUser(
>         NULL,
>         'xxxxxxx',
>         'xxxxxxx',
>         'xxxxxxxxxxxxxxxxxxxx',
>         'xxxxxxxxxxxxxxxxxxxx',
>         '',
>         NULL
> );
> $infoService = $user->GetInfoService();
> $is = new InfoSelector();
> $is->apiUsageType = TOTAL_USAGE_API_UNITS_PER_MONTH;
> $infoPage = $infoService->get($is);
>
> thanks

--

You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To post to this group, send email to adwords-...@googlegroups.com.
To unsubscribe from this group, send email to 
adwords-api+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/adwords-api?hl=.


Reply via email to