Thanks for the reply, but I'm still not perfectly clear on this. I used an MCC account to create the OAuth2RefreshToken, so I'm not sure what the account "under that MCC account" would be. When I'm logged in as the MCC account that created the OAuth2RefreshToken, in the MCC environment (in the Client column of the Performance tab), I see a list of 30 clients, each with an account ID. In the Budget tab, I see these same 30 clients with the account IDs, and more account IDs in the Budget account column. None of the IDs I've tried from any of these sources seem to work. Are all of these IDs the wrong thing to try, and is there somewhere else I should look for an account ID?
On Thursday, February 5, 2015 at 7:18:00 AM UTC-5, Anash P. Oommen (AdWords API Team) wrote: > > Hi Mike, > > The value you give for ClientCustomerId depends on what value you have > the OAuth2RefreshToken for. If OAuth2RefreshToken is for an MCC account, > then you can provide ClientCustomerId for any account under that MCC > account. If it is for an individual Advertiser account, > then ClientCustomerId should be the customer id for that account. > > Cheers, > Anash P. Oommen, > AdWords API Advisor. > > On Thursday, February 5, 2015 at 9:18:27 AM UTC+5:30, [email protected] > wrote: >> >> Hi, >> >> I'm new to the API and AdWords in general. I'm trying to get all of the >> campaign data for a number of advertisers. When I'm in the MCC site, I can >> see all of these advertisers and their IDs. I see my ID in the top of the >> screen. I created a test account with another ID. The App.config file >> asks for ClientCustomerId, but none of the IDs I send it seem to work. I >> talked to the MCC help hotline, and they said the developer token looked >> good, and the MCC was linked to the API app. My gmail account which I use >> for the MCC was used to create the OAuth data. Do I somehow need to create >> another ID with which to create OAuth data, and how would I give this >> account access to the adwords data if not in MCC? >> >> I have also tried some of the IDs I got from a downloaded report in the >> MCC ui. When I rolled back to the v201406 client library, I was able to >> find 2 campaigns if I didn't set ClientCustomerId, but I couldn't figure >> out where these came from. >> >> <add key="DeveloperToken" value="xxxxxxxxxxxxxxxxxxxxxx"/> >> <add key="ClientCustomerId" value="xxx-xxx-xxxx"/>--> >> >> <!-- OAuth2 configuration --> >> <add key='AuthorizationMethod' value='OAuth2' /> >> <add key='OAuth2ClientId' value=' >> xxxxxxxxxxxx-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.apps.googleusercontent.com' >> /> >> <add key='OAuth2ClientSecret' value='xxxxxxxxx-xxxxxxxxxxxxxx' /> >> <add key='OAuth2RefreshToken' >> value='1/xxxxxxxxx_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx_xxxxxxxxxx' >> /> >> >> >> Thanks, >> Mike >> > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 [email protected] To unsubscribe from this group, send email to [email protected] 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 [email protected]. Visit this group at http://groups.google.com/group/adwords-api. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/46c8df58-1e0f-48c0-a1c2-0cd1c4a62241%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
