AdWords API website criterion error

2010-01-06 Thread aBsTrAcT
Hi,
I am sending the following request:
 1505123205
  http://www.onemanga.com/recent/ 
  Website
  false
  0
  65
  http://xyz.com
  
  

And I am getting error code 82. Saying URL is inValid.
I am using apility and it return following error:
AdWords API Error(s):
  Violation #0
  Code: 82
  Detail: This website url is invalid. Valid website urls must
contain at most two path elements or else must end in a file or query.
Negative websites urls must end in one or less path elements and may
not end in a file or query.
  Is Exemptable: false
  Field: url
  Index: 0
  Text Index:
  Text Length:
  Trigger: www.onemanga.com/recent

Can any1 help me in this?

Thanks,
Hassan
-- 
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=en.




AdWords API Is there a sandbox with the v2009?

2010-01-06 Thread Alexis
Hi everybody,

I wonder if there is a sandbox and what is the URL for the v2009?


and what is the difference between

https://adwords-sandbox.google.com/api/adwords/cm/v200906/CampaignService?wsdl

and

https://adwords.google.com/api/adwords/cm/v200909/CampaignService?wsdl

regards.
-- 
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=en.




AdWords API AdParam Enhancement Request

2010-01-06 Thread joel
I was all excited to use the new AdParam service, but then I learned
that parameters are set at the Ad + Keyword level. Since our AdGroups
are already tightly-structured and contain similar keyword, I really
just want the dynamic parameters to apply to all keywords in the
AdGroup and to be able to set them by just specifying the Ad. It's
significantly more complex to query for all Keywords in the AdGroup
and construct additional parameter objects for each combination.  Can
you please relax this restriction and allow Parameters to be Ad-
specific, with an optional override at the Keyword + Ad level?

Thanks,

Joel
-- 
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=en.




AdWords API Re: error 500 when calling getAllCriteria

2010-01-06 Thread Melissa
Thanks Eric, I resend the email

On 5 jan, 18:15, AdWords API Advisor 
wrote:
> Hi Melissa,
>
> Unfortunately that mailbox doesn't keep messages for that long.  Can
> you please resend the email and update this thread after you have done
> so?
>
> Thanks,
> - Eric
>
> On Jan 5, 11:02 am, Melissa  wrote:
>
> > I sent it on 17/12/09
>
> > On 4 jan, 13:35, AdWords API Advisor 
> > wrote:
>
> > > Hi Melissa,
>
> > > I couldn't find any email from you in that inbox.  When did you send
> > > it?
>
> > > Best,
> > > - Eric
>
> > > On Jan 4, 1:07 pm, Melissa  wrote:
>
> > > > I wrote to adwords api and i'm waiting for further investigation
>
> > > > On 14 déc 2009, 10:25, AdWords API Advisor
>
> > > >  wrote:
> > > > > Hi Melissa,
>
> > > > > To further investigate I will need the ID of the ad group in
> > > > > question.  Please email it to adwordsapiadvi...@google.com and then
> > > > > update this thread afterwards.
>
> > > > > Best,
> > > > > - Eric Koleda, AdWords API Team
>
> > > > > On Dec 11, 2:51 pm, Melissa  wrote:> We're 
> > > > > currently using the v13 of the API and running a synchronization
> > > > > > process on a campaign.  For each adgroup of the campaigns we're
> > > > > > calling "getAllCriteria".  Everything works fine (as it always does)
> > > > > > except for a particular adgroup.  When we call the function on this
> > > > > > adgroup we're getting a "(500)Internal Server Error".  We waited a 
> > > > > > few
> > > > > > days to see if the problem would go away on it's own (as they always
> > > > > > do), but no luck this time, we consistently get the Internal Server
> > > > > > Error.  The same call works normally for all other adgroups (and for
> > > > > > all other adgroups of other campaigns as well).  The adgroup happens
> > > > > > to be deleted, but so are some of the other adgroups of the 
> > > > > > campaign.
>
> > > > > > Where do we go from here? What else should I post to get some help.
-- 
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=en.




AdWords API Re: perl TargetingIdeaService sample

2010-01-06 Thread kolok
Hi Eric and Happy new year,

I am sorry to come back to you with the same question but I am stopped
by this problem.

I use google official perl lib and in documentation, I can see that
searchParameters are implemented like this :
  searchParameters =>  { #
Google::AdWords::v200909::Types::SearchParameter
SearchParameter__Type =>  $some_value, # string
  },
I can configure SearchParameter__Type with string but I do not
understand how to configure SearchParameters like
RelatedToKeywordSearchParameter or list off inhéritance
searchParameter object. So SOAP call never work : parameters are not
correct
I try a lot of combination but it's never worked.

Finally, I use v13 siteSuggestionService but it is not durable and
complet solution.

I open Issue 5 on perl lib project : 
http://code.google.com/p/google-api-adwords-perl/issues/detail?id=5
but I do not know if this project is really active.

Thank you for your help
Nicolas

On Nov 30 2009, 4:45 pm, AdWords API Advisor
 wrote:
> Hi Nicolas,
>
> Unfortunately there is no Perl example for this service.  There is a
> similar PHP example though that you may find helpful:
>
>  http://code.google.com/p/google-api-adwords-php/source/browse/trunk/e...
>
> Best,
> - Eric Koleda, AdWords API Team
>
> On Nov 27, 4:30 am, kolok  wrote:
>
> > Hi,
>
> > I am using google perl library for v2009 version. i try to use
> > TargetingIdeaSercice for havesitesuggestion.
> > I don't understand how to initialize searchParameters in my selector.
>
> > Can you give me a complete selector sample to getsiteby topics ?
>
> > Thank you
> > Nicolas
-- 
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=en.




AdWords API Re: UNEXPECTED_INTERNAL_API_ERROR

2010-01-06 Thread Ralph Heimburger
Eric, thanks for the followup.
Another question:

How do I code to trap for and unknown Api error, is it different than
RequestError?

Here is my current code (python):

#make Api Call
try:
   ad_group_criteria=ad_group_criterion_service.Mutate
(operations)[0]
except RequestError, e:
   ad_group_criteria={}
   apiMessage=e.message
-- 
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=en.




AdWords API Various String type fields: are there constants?

2010-01-06 Thread rpj
As I migrate from v13 to v2009 (java)  I have encountered multiple
String type fields, for example,
AdGroupCriterion.adGroupCriterionType, Criterion.criterionType, to
name a few. Are there constants for these type fields anywhere? At a
minimum, is there at least a place in the doc where the values of said
type fields are listed?

In general,  the v2009 API seems a little object-happy, requiring
heavy usage of the instanceof  operator in order to figure out what
type of object one is dealing with.  I suppose one way to mitigate use
of instanceof is with type constants. In the absence of type constants
though, instanceof seems more robust.

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=en.




AdWords API Re: AdParam Enhancement Request

2010-01-06 Thread Ales Sturala
I completely agree with joel. I was disappointed when I found out how
AdParams really work. Setting adparam values on keywords instead of
ads makes the whole process very difficult and NOT useful at all. I
wish to set AdParam values per ad, that way I can use different
AdParam values for different ads, now we cannot do it.
The only advantage now is that different keywords can give different
AdParam values to an ad, but frankly, can any AdWords engineer give me
an example when this is useful?
Unfortunatelly, the whole process now is very difficult to integrate
into our system.

Ales

On Jan 6, 3:34 pm, joel  wrote:
> I was all excited to use the new AdParam service, but then I learned
> that parameters are set at the Ad + Keyword level. Since our AdGroups
> are already tightly-structured and contain similar keyword, I really
> just want the dynamic parameters to apply to all keywords in the
> AdGroup and to be able to set them by just specifying the Ad. It's
> significantly more complex to query for all Keywords in the AdGroup
> and construct additional parameter objects for each combination.  Can
> you please relax this restriction and allow Parameters to be Ad-
> specific, with an optional override at the Keyword + Ad level?
>
> Thanks,
>
> Joel
-- 
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=en.




AdWords API How to run a 3rd-party account management system?

2010-01-06 Thread badboykennedy
We are building a unique AdWords account management system that will
be used by our customers. Can anyone tell me the best way to structure
this in terms of allowing our system to access our customers Adwords
account via the AdWords API to pull reports, create new ads, etc?

Do we need each of our customers who wants to use our system to
register as a develop themselves in order to get a developer token and
application token to provide to our system to access their account?
That doesn't seem right.

Or would we just use our main MCC account and link all of our
customers to our MCC account so we would be their client manager?
(They would have to approve the request of course).

Or is there a better way to go about doing this? 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=en.




AdWords API CPC values

2010-01-06 Thread nani2404
Please help me on how to read cpc values for a given keyword using 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-...@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.




AdWords API Terms and Conditions / Required Minimum Functionality minor queries

2010-01-06 Thread djax
HI

Ive just joined so please excuse any naivity on my part

Im a bit worried about some of the API Terms and Conditions...

...and the Required Minimum Functionality for (Third Party Clients)
http://code.google.com/apis/adwords/docs/requirements.html



Basically - i run some of my own sites and i just want to make the
creation and deletion of some of the AdWords  Ad Groups, Ads, and
Keywords a little more Automated - i dont want to create a whole app
designed for multiple clients etc - i just want something small and
specific for my own purposes

However - in Required Minimum Functionality (url above) it states an
app has to have a certain amount of required functionality. and it is
enormous - am i ok to just stick to using functionality i want for
myself - i dont want to sell the service on to anyone or have
functionalaity for anyone but me and my own sites

Plus im a little concerned about the Inspection part of the T&Cond's -
being a small enterprise i cant afford to pay an Inspector some
exorbitant fee if he finds a minor problem with my use of the API,
because i may not have fully understood the complicated T&Cond's

Can anyone quell my fears - and perhaps give me any pointers to what i
need to look out for/

many thanks in advance

djax
-- 
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=en.




AdWords API Re: Retrieve data from a non-client

2010-01-06 Thread AdWords API Advisor
Hi Matt,

The AdWords API provides two ways to access data from a client
account:

1) Use the credentials of the client account to generate the
authToken.
2) Use the credentials of an MCC account to generate the authToken and
specify the client account to access in the header.

Best,
- Eric Koleda, AdWords API Team

On Jan 5, 5:06 pm, goggin13  wrote:
> I apologize if this question is an obvious one, but I am new here and
> looking for some help;
>
> I am working on a project for a professor who is building an
> application that needs to draw data from a clients account after they
> log in (to the application, not to Adwords).
>
> Is it possible to get data back from a random user's Adwords account,
> if they submit their Adwords username and password to the application,
> even though they are not one of my clients (i.e. not listed on My
> Client Center when I am logged in to my Adwords developer account)?
>
> Thanks so much for your help, just trying to figure out if this is
> even feasible.
>
> -Matt
-- 
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=en.




AdWords API Re: website criterion error

2010-01-06 Thread AdWords API Advisor
Hi Hassan,

I was able to use that exact code to add the criterion without error.
Do you have the request ID of a request that demonstrates the problem?

Best,
- Eric Koleda, AdWords API Team

On Jan 6, 4:51 am, aBsTrAcT  wrote:
> Hi,
> I am sending the following request:
>      1505123205
>       http://www.onemanga.com/recent/
>       Website
>       false
>       0
>       65
>       http://xyz.com
>       
>       
>
> And I am getting error code 82. Saying URL is inValid.
> I am using apility and it return following error:
> AdWords API Error(s):
>   Violation #0
>       Code: 82
>       Detail: This website url is invalid. Valid website urls must
> contain at most two path elements or else must end in a file or query.
> Negative websites urls must end in one or less path elements and may
> not end in a file or query.
>       Is Exemptable: false
>       Field: url
>       Index: 0
>       Text Index:
>       Text Length:
>       Trigger:www.onemanga.com/recent
>
> Can any1 help me in this?
>
> Thanks,
> Hassan
-- 
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=en.




AdWords API Re: Is there a sandbox with the v2009?

2010-01-06 Thread AdWords API Advisor
Hi Alexis,

There is a sandbox for v2009, which is located at:

  https://adwords-sandbox.google.com/...

The WSDLs in production and sandbox are basically the same, but the
endpoints operate against different environments.  If you are new to
the AdWords API sandbox you may want to watch this video:

  http://www.youtube.com/watch?v=cqVtUdB975M

Best,
- Eric Koleda, AdWords API Team

On Jan 6, 5:52 am, Alexis  wrote:
> Hi everybody,
>
> I wonder if there is a sandbox and what is the URL for the v2009?
>
> and what is the difference between
>
> https://adwords-sandbox.google.com/api/adwords/cm/v200906/CampaignSer...
>
> and
>
> https://adwords.google.com/api/adwords/cm/v200909/CampaignService?wsdl
>
> regards.
-- 
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=en.




AdWords API Re: AdParam Enhancement Request

2010-01-06 Thread AdWords API Advisor
Hi,

Thank you for the feedback, we always appreciate hearing how
developers are using the API.  I will pass along your concerns to the
AdParamService team.  If you haven't already, I would encourage you to
read the following blog posts for more information about this service:

  
http://adwordsapi.blogspot.com/2009/11/more-dynamic-ads-with-ad-parameters.html

  
http://adwordsapi.blogspot.com/2009/11/discover-v2009-setting-ad-parameters.html

Best,
- Eric Koleda, AdWords API Team

On Jan 6, 9:10 am, Ales Sturala  wrote:
> I completely agree with joel. I was disappointed when I found out how
> AdParams really work. Setting adparam values on keywords instead of
> ads makes the whole process very difficult and NOT useful at all. I
> wish to set AdParam values per ad, that way I can use different
> AdParam values for different ads, now we cannot do it.
> The only advantage now is that different keywords can give different
> AdParam values to an ad, but frankly, can any AdWords engineer give me
> an example when this is useful?
> Unfortunatelly, the whole process now is very difficult to integrate
> into our system.
>
> Ales
>
> On Jan 6, 3:34 pm, joel  wrote:
>
>
>
> > I was all excited to use the new AdParam service, but then I learned
> > that parameters are set at the Ad + Keyword level. Since our AdGroups
> > are already tightly-structured and contain similar keyword, I really
> > just want the dynamic parameters to apply to all keywords in the
> > AdGroup and to be able to set them by just specifying the Ad. It's
> > significantly more complex to query for all Keywords in the AdGroup
> > and construct additional parameter objects for each combination.  Can
> > you please relax this restriction and allow Parameters to be Ad-
> > specific, with an optional override at the Keyword + Ad level?
>
> > Thanks,
>
> > Joel
-- 
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=en.




AdWords API Re: error 500 when calling getAllCriteria

2010-01-06 Thread AdWords API Advisor
Hi Melissa,

I received the email and looked at the ad group, and everything
appears to be normal.  I don't see any records in the logs of requests
made against this ad group in the last 10 days.  Are you still seeing
this issue?

Best,
- Eric

On Jan 6, 6:53 am, Melissa  wrote:
> Thanks Eric, I resend the email
>
> On 5 jan, 18:15, AdWords API Advisor 
> wrote:
>
>
>
> > Hi Melissa,
>
> > Unfortunately that mailbox doesn't keep messages for that long.  Can
> > you please resend the email and update this thread after you have done
> > so?
>
> > Thanks,
> > - Eric
>
> > On Jan 5, 11:02 am, Melissa  wrote:
>
> > > I sent it on 17/12/09
>
> > > On 4 jan, 13:35, AdWords API Advisor 
> > > wrote:
>
> > > > Hi Melissa,
>
> > > > I couldn't find any email from you in that inbox.  When did you send
> > > > it?
>
> > > > Best,
> > > > - Eric
>
> > > > On Jan 4, 1:07 pm, Melissa  wrote:
>
> > > > > I wrote to adwords api and i'm waiting for further investigation
>
> > > > > On 14 déc 2009, 10:25, AdWords API Advisor
>
> > > > >  wrote:
> > > > > > Hi Melissa,
>
> > > > > > To further investigate I will need the ID of the ad group in
> > > > > > question.  Please email it to adwordsapiadvi...@google.com and then
> > > > > > update this thread afterwards.
>
> > > > > > Best,
> > > > > > - Eric Koleda, AdWords API Team
>
> > > > > > On Dec 11, 2:51 pm, Melissa  wrote:> We're 
> > > > > > currently using the v13 of the API and running a synchronization
> > > > > > > process on a campaign.  For each adgroup of the campaigns we're
> > > > > > > calling "getAllCriteria".  Everything works fine (as it always 
> > > > > > > does)
> > > > > > > except for a particular adgroup.  When we call the function on 
> > > > > > > this
> > > > > > > adgroup we're getting a "(500)Internal Server Error".  We waited 
> > > > > > > a few
> > > > > > > days to see if the problem would go away on it's own (as they 
> > > > > > > always
> > > > > > > do), but no luck this time, we consistently get the Internal 
> > > > > > > Server
> > > > > > > Error.  The same call works normally for all other adgroups (and 
> > > > > > > for
> > > > > > > all other adgroups of other campaigns as well).  The adgroup 
> > > > > > > happens
> > > > > > > to be deleted, but so are some of the other adgroups of the 
> > > > > > > campaign.
>
> > > > > > > Where do we go from here? What else should I post to get some 
> > > > > > > help.
-- 
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=en.




AdWords API Re: perl TargetingIdeaService sample

2010-01-06 Thread AdWords API Advisor
Hi Nicolas,

I don't know if or when a perl example will be available for that
service.  In the mean time I recommend you look at the existing perl
examples:

  
http://code.google.com/p/google-api-adwords-perl/source/browse/trunk/example/add_all.pl

and the Python example for the TargetingIdeaService:

  
http://code.google.com/p/google-api-adwords-python-lib/source/browse/trunk/examples/v200909/get_related_keywords.py

The Python example may be more familiar than the PHP one I recommended
earlier.

Best,
- Eric

On Jan 6, 7:11 am, kolok  wrote:
> Hi Eric and Happy new year,
>
> I am sorry to come back to you with the same question but I am stopped
> by this problem.
>
> I use google official perl lib and in documentation, I can see that
> searchParameters are implemented like this :
>       searchParameters =>  { #
> Google::AdWords::v200909::Types::SearchParameter
>         SearchParameter__Type =>  $some_value, # string
>       },
> I can configure SearchParameter__Type with string but I do not
> understand how to configure SearchParameters like
> RelatedToKeywordSearchParameter or list off inhéritance
> searchParameter object. So SOAP call never work : parameters are not
> correct
> I try a lot of combination but it's never worked.
>
> Finally, I use v13 siteSuggestionService but it is not durable and
> complet solution.
>
> I open Issue 5 on perl lib project 
> :http://code.google.com/p/google-api-adwords-perl/issues/detail?id=5
> but I do not know if this project is really active.
>
> Thank you for your help
> Nicolas
>
> On Nov 30 2009, 4:45 pm, AdWords API Advisor
>
>
>
>  wrote:
> > Hi Nicolas,
>
> > Unfortunately there is no Perl example for this service.  There is a
> > similar PHP example though that you may find helpful:
>
> >  http://code.google.com/p/google-api-adwords-php/source/browse/trunk/e...
>
> > Best,
> > - Eric Koleda, AdWords API Team
>
> > On Nov 27, 4:30 am, kolok  wrote:
>
> > > Hi,
>
> > > I am using google perl library for v2009 version. i try to use
> > > TargetingIdeaSercice for havesitesuggestion.
> > > I don't understand how to initialize searchParameters in my selector.
>
> > > Can you give me a complete selector sample to getsiteby topics ?
>
> > > Thank you
> > > Nicolas
-- 
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=en.




AdWords API Re: Various String type fields: are there constants?

2010-01-06 Thread AdWords API Advisor
Hi,

These type contain the same values as the xsi:type attribute on the
element, which are the type/class names.  For example a criterion
looks like:

 
10001496
Keyword
AdWords API
BROAD
 

I understand that in certain circumstances it would be convenient if
there was an enum for these values, but since they are identical to
the type/class names it may be a little redundant.

Best,
- Eric Koleda, AdWords API Team

On Jan 6, 8:53 am, rpj  wrote:
> As I migrate from v13 to v2009 (java)  I have encountered multiple
> String type fields, for example,
> AdGroupCriterion.adGroupCriterionType, Criterion.criterionType, to
> name a few. Are there constants for these type fields anywhere? At a
> minimum, is there at least a place in the doc where the values of said
> type fields are listed?
>
> In general,  the v2009 API seems a little object-happy, requiring
> heavy usage of the instanceof  operator in order to figure out what
> type of object one is dealing with.  I suppose one way to mitigate use
> of instanceof is with type constants. In the absence of type constants
> though, instanceof seems more robust.
>
> 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=en.




AdWords API Re: UNEXPECTED_INTERNAL_API_ERROR

2010-01-06 Thread AdWords API Advisor
Hi Ralph,

The UNEXPECTED_INTERNAL_API_ERROR would come back as
aw_api.Errors.GoogleInternalError.  To trap and handle it you would do
something like,

try:
  # api call
except RequestError, e:
  # logic to handle request errors
except GoogleInternalError, e:
  # logic to handle unknown api error

The full mapping of error codes (v13) and types (v200909) can be found
in 
http://code.google.com/p/google-api-adwords-python-lib/source/browse/trunk/aw_api/Errors.py#316.

--Stan


On Jan 6, 8:29 am, Ralph Heimburger <1stpo...@gmail.com> wrote:
> Eric, thanks for the followup.
> Another question:
>
> How do I code to trap for and unknown Api error, is it different than
> RequestError?
>
> Here is my current code (python):
>
>         #make Api Call
>         try:
>            ad_group_criteria=ad_group_criterion_service.Mutate
> (operations)[0]
>         except RequestError, e:
>            ad_group_criteria={}
>            apiMessage=e.message
-- 
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=en.




AdWords API Re: How to run a 3rd-party account management system?

2010-01-06 Thread AdWords API Advisor
Hi,

While I can't give you any specific advice, I would urge you to read
the AdWords API Terms and Conditions carefully to make sure your
application complies:

  http://code.google.com/apis/adwords/docs/terms.html

Third party applications must also comply with the Required Minimum
Functionality (RMF) terms:

  http://code.google.com/apis/adwords/docs/requirements.html

You may wish to consult with a lawyer familiar with your business if
you need guidance beyond our help materials.

Best,
- Eric Koleda, AdWords API Team

On Jan 6, 3:25 am, badboykennedy  wrote:
> We are building a unique AdWords account management system that will
> be used by our customers. Can anyone tell me the best way to structure
> this in terms of allowing our system to access our customers Adwords
> account via the AdWords API to pull reports, create new ads, etc?
>
> Do we need each of our customers who wants to use our system to
> register as a develop themselves in order to get a developer token and
> application token to provide to our system to access their account?
> That doesn't seem right.
>
> Or would we just use our main MCC account and link all of our
> customers to our MCC account so we would be their client manager?
> (They would have to approve the request of course).
>
> Or is there a better way to go about doing this? 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=en.




AdWords API Re: CPC values

2010-01-06 Thread AdWords API Advisor
Hi,

Can you give me more information about the problem you are having?
Which service are you using?  Do you have any sample code or XML SOAP
logs that demonstrate the problem?

Best,
- Eric Koleda, AdWords API Team

On Jan 6, 3:41 am, nani2404  wrote:
> Please help me on how to read cpc values for a given keyword using 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-...@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.




AdWords API Re: How to run a 3rd-party account management system?

2010-01-06 Thread badboykennedy
Thanks for the reply. What if our application would only be creating
and deleting ads and pulling reports, and that's it? Our system would
do nothing in regards to keywords or bids. Our tool is an ad
management tool - not a keyword or bid management tool. Would we still
need to implement all of the minimum functionality described in the
RMF? That wouldn't make much sense.
-- 
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=en.




AdWords API Re: Terms and Conditions / Required Minimum Functionality minor queries

2010-01-06 Thread AdWords API Advisor
Hi Djax,

Unfortunately we cannot provide you with legal advice.  Although we
strive to make our terms accessible to all users, you may wish to
consult with a lawyer familiar with your business if you need guidance
beyond our help materials.  You may also want to re-read the sections
of the terms and conditions regarding "End-Advertiser-Only AdWords API
Client".

Best,
- Eric Koleda, AdWords API Team

On Jan 6, 5:50 am, djax  wrote:
> HI
>
> Ive just joined so please excuse any naivity on my part
>
> Im a bit worried about some of the API Terms and Conditions...
>
> ...and the Required Minimum Functionality for (Third Party 
> Clients)http://code.google.com/apis/adwords/docs/requirements.html
>
> Basically - i run some of my own sites and i just want to make the
> creation and deletion of some of the AdWords  Ad Groups, Ads, and
> Keywords a little more Automated - i dont want to create a whole app
> designed for multiple clients etc - i just want something small and
> specific for my own purposes
>
> However - in Required Minimum Functionality (url above) it states an
> app has to have a certain amount of required functionality. and it is
> enormous - am i ok to just stick to using functionality i want for
> myself - i dont want to sell the service on to anyone or have
> functionalaity for anyone but me and my own sites
>
> Plus im a little concerned about the Inspection part of the T&Cond's -
> being a small enterprise i cant afford to pay an Inspector some
> exorbitant fee if he finds a minor problem with my use of the API,
> because i may not have fully understood the complicated T&Cond's
>
> Can anyone quell my fears - and perhaps give me any pointers to what i
> need to look out for/
>
> many thanks in advance
>
> djax
-- 
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=en.




AdWords API fee?

2010-01-06 Thread Matt
 I can't make heads or tails of the spreadsheet. What's this cost me?
I'm a lamen, please make it simple.
-- 
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=en.




AdWords API Campaign LocationExtension adding icon and business image

2010-01-06 Thread Lan
Hi,

I am trying to implement the Campaign Location Extension for version
V200909, but i dont know how to upload images for the icon and the
business image. In the LocationExtension object, there are two fields,
iconMediaId and imageMediaId. Does this mean that we have to upload
images into some library first then use the mediaIds to add the
LocationExtension? If so does anyone know what service call can be use
to upload the images?
-- 
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=en.




AdWords API Re: How to run a 3rd-party account management system?

2010-01-06 Thread AdWords API Advisor
Hi,

Unfortunately we cannot provide you with legal advice.  Although we
strive to make our terms accessible to all users, you may wish to
consult with a lawyer familiar with your business if you need guidance
beyond our help materials.

Best,
- Eric Koleda, AdWords API Team

On Jan 6, 2:54 pm, badboykennedy  wrote:
> Thanks for the reply. What if our application would only be creating
> and deleting ads and pulling reports, and that's it? Our system would
> do nothing in regards to keywords or bids. Our tool is an ad
> management tool - not a keyword or bid management tool. Would we still
> need to implement all of the minimum functionality described in the
> RMF? That wouldn't make much sense.
-- 
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=en.




AdWords API Re: How to run a 3rd-party account management system?

2010-01-06 Thread badboykennedy
I understand, but is there no way to submit a proposal of our
application to Google to either accept or reject, before we go ahead
and fully develop the entire system? Our legal counsel may say it's OK
based on your terms and conditions, but of course Google could shut it
down at any time if they wanted to. It would be nice to get some kind
of "approval" before we actually fully develop the system...
-- 
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=en.




AdWords API Re: website criterion error

2010-01-06 Thread aBsTrAcT
Hi Eric,
Thanks for reply.
I tried it again by removing the error handlers and it worked by
adding the criteria. I think error is because of apility.
Another thing, about sunset of v13, do you mean that we will not be
able to use v13 anymore or just you won;t provide it's support?

Thanks,
Hassan

On Jan 7, 1:46 am, AdWords API Advisor 
wrote:
> Hi Hassan,
>
> I was able to use that exact code to add the criterion without error.
> Do you have the request ID of a request that demonstrates the problem?
>
> Best,
> - Eric Koleda, AdWords API Team
>
> On Jan 6, 4:51 am, aBsTrAcT  wrote:
>
> > Hi,
> > I am sending the following request:
> >      1505123205
> >       http://www.onemanga.com/recent/
> >       Website
> >       false
> >       0
> >       65
> >       http://xyz.com
> >       
> >       
>
> > And I am getting error code 82. Saying URL is inValid.
> > I am using apility and it return following error:
> > AdWords API Error(s):
> >   Violation #0
> >       Code: 82
> >       Detail: This website url is invalid. Valid website urls must
> > contain at most two path elements or else must end in a file or query.
> > Negative websites urls must end in one or less path elements and may
> > not end in a file or query.
> >       Is Exemptable: false
> >       Field: url
> >       Index: 0
> >       Text Index:
> >       Text Length:
> >       Trigger:www.onemanga.com/recent
>
> > Can any1 help me in this?
>
> > Thanks,
> > Hassan
-- 
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=en.




AdWords API Re: How to run a 3rd-party account management system?

2010-01-06 Thread badboykennedy
So I'm really confused. We just want to develop an ad optimization
tool that has nothing to do with creating campaigns, adding keywords,
changing bids, etc. But based on the RMF stuff it seems that this is
impossible without building out all of these dozens of other functions
that our customers have no interest in.

This seems counter-productive to the whole idea of 3rd-party apps, so
I just want to make sure I'm understanding this correctly.

The way I read it, Google basically doesn't want us to help people
create better ads because by forcing us to also implement all this
other totally irrelevant functionality it makes the project almost
pointless and not worth doing.

How are people like us supposed to innovate and create cool, unique
and specific tools to help advertisers if every API client needs to
provide all the same "full functionality" that every other tool
already provides? That's like saying "OK you can build a racecar using
our technology but your racecar has to have windshield wipers, air
conditioning, power windows, a radio and a navigation system."
-- 
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=en.




AdWords API Re: How to run a 3rd-party account management system?

2010-01-06 Thread badboykennedy
Sorry I also forgot to ask one other question. The RMF page starts out
by saying:

"Third-party clients (as defined in the Terms & Conditions) are
required to fully implement the AdWords API features shown in the
chart below."

However, the Terms & Conditions does not define what a third-party
client is.

Really confused ...
-- 
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=en.