Hi,

Could you provide the following information?

1. Were you logged in under a) an MCC account or b) an AdWords account when 
you generated the refresh token in your config?
2. Is the client customer ID you are using in the code snippet below for an 
MCC account or an AdWords account?

I ask these questions because if you do not specify a client customer ID in 
your request then AdWords will infer the customer ID to use from the 
credentials on the request. Therefore, if the credentials are from an MCC 
account then you'll get back zero campaigns because an MCC account does not 
have any campaigns of its own.

Thanks,
Josh, AdWords API Team

On Tuesday, July 22, 2014 11:13:48 AM UTC-4, Chad Ruff wrote:
>
> Hi,
>
> From the below Code i have removed the ClientCustomerId from App.config
>
> *Now it works and does not give any error *
> *but i don't get any campaign  records for my clients *
>
> Now i am just assigning the clientCustomerID  as stated below
>
>           *  Dim config As AdWordsAppConfig = DirectCast(user.Config, 
> AdWordsAppConfig)*
> *            config.ClientCustomerId = 
> "987-654-4321".ToString().Replace("-", "")*
> *            config.DeveloperToken = "DeveloperToken"*
>
> *here i am just assigning the client's CustomerID but it is returning me 
> zero records*
>
> *but actually campaigns do exist for this client*
>
> *Can you tell me what i am doing wrong *
>
> *or am i missing anything*
>
>>
>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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-api@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=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to