Re: Use existed developer token to access test account( with OAuth2)

2013-09-03 Thread techstyled
Read the guide on ClientLogin API and 
OAuth.
 
In particular, read the section under the heading "Making Adwords API 
calls". That section makes it clear that you need 2 things, a Developer 
Token _and_ authorized credentials to access the specific Adwords account. 
It sounds like you have the first part, the Developer Token. To learn more 
about the second part, I suggest you click on the link to OAuth2 that is in 
that section that will take you to the section on using 
OAuth
.

Hope this helps,
~Brett

On Tuesday, September 3, 2013 1:59:28 AM UTC-5, Brandon wrote:
>
> Hi,
>
> I've already have a reviewed developer token. And use OAuth2 for 
> authentication.
>
> Did I need a whole new service account of the Google API Console to access 
> my test account?
>
> Or is it possible to use the same service account to access it?
>
> I've tried but I got failed when it returns me "access denied".
>
> I think it's because the MCC account does not know the test account.
>
> Then how should I do to make my MCC account to link with it?
>
> Thanks,
>
> Brandon
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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/groups/opt_out.


Best practice for making sure your local API data is up to date with live Adwords data

2013-09-03 Thread techstyled
I'm just getting started with accessing our Adwords account information via 
the API. One of the most basic functions I'm trying to get right is making 
sure my local data I'm basing my API updates on is current. Therefore, the 
very first thing I do before I change anything is use CampaignService to 
get the list of all Active Campaigns and then use the 
CAMPAIGN_PERFORMANCE_REPORT to get all the basic Campaign info to make sure 
I'm basing my changes on current information. For example, I don't want to 
try to adjust the Budget up by 10% if the Budget information I'm using is 
out-of-date and is already 10% greater. However, the CampaignService 
doesn't allow Budget to be accessed ("selectable") so I use the 
CAMPAIGN_PERFORMANCE_REPORT to get that information (after I've use the 
CampaignService API to make sure my list of Active Campaigns is correct).

Is this kind of workflow reasonable? Is it what you do? Any other ideas?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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/groups/opt_out.


Re: Adwords content retrieval

2013-09-03 Thread techstyled
The 
AdGroupAdService"get"
 operation will return "ad content" such as Headline, Description1, 
Description2, and so forth. The "id" field of Ad (and the various 
subclasses such as Text Ad, Mobile Ad, etc.) is a "selectable" field so 
pass in a 
Selectorwith
 a Predicate of "id EQUALS ".

Now, the above is just my best guess but since the id field of "Ad" says 
it's selectable, and there's a different field called AdGroupId that is 
also selectable, I think that the above will work to return an ad based on 
it's id (as opposed to returning it based on AdGroupId).

Hope this helps.

On Sunday, September 1, 2013 1:55:42 AM UTC-5, Joan Elaydi wrote:
>
> What is the function and class used in Adwords API that retrieves the ad 
> Content by ID not by adGroup?
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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/groups/opt_out.


Re: Using Visual Studio 2010 to run examples in Client Library v201101 causes TargetInvocationException

2011-04-18 Thread techstyled
Opened issue #56:

http://code.google.com/p/google-api-adwords-dotnet/issues/detail?id=56

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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


Re: Using Visual Studio 2010 to run examples in Client Library v201101 causes TargetInvocationException

2011-04-13 Thread techstyled
I think this post on StackOverflow is relevant to this issue:

http://stackoverflow.com/questions/1278730/net-configurationmanager-app-config-confusion

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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


Using Visual Studio 2010 to run examples in Client Library v201101 causes TargetInvocationException

2011-04-12 Thread techstyled
I just downloaded the v12.1.0 Source Code Release of the .NET Client Library 
and followed the directions in the README which included opening the 2008 
solution (which caused 2010 to do a conversion). Then, as per the README, I 
changed the App.Config file and added the appropriate 
v201101.GetAllCampaigns into the parameters on the Debug tab.

Running the code throws a TargetInvocationException (on ServiceFactory for 
GetAllCampaigns but _where_ seems to change depending on the example called, 
though the error is still the same one).

The only thing I could find was a vague reference to changing the AdWordApi 
section definition because apparently mono requires a different 
specification than VS does, however, the example link in that thread doesn't 
work.

So, on a hunch, I fired up VS 2008 and followed the exact same process and 
it worked. Therefore, it seems this is a VS 2010 problem but I see others 
are using VS 2010 without issue so I'm stumped.

Any ideas?

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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