Cost of using the AdWords API to manage ads and keywords

2011-08-11 Thread Peter Lind
I'm trying to find out what using the AdWords API costs before digging
into it - as I don't see the fun in blowing a budget on getting code
to set up only to find it's too expensive to run.

The scenario:

 - List item
 - we've got a number of campaigns with a total of about 50,000
keywords
 - we want to manage these keywords as automatic as possible (which
essentially means getting current info about the keywords, settings
status for keywords - pausing them if needed - and managing bids)

Basically, this means querying the API service for info on all
adgroups, updating specific ads or keywords as needed.

Am I correct in reading the 
http://code.google.com/apis/adwords/docs/ratesheet.html
to mean that getting info for keywords is 1 unit per keyword, meaning
a minimum spend of 50,000 units to get the info? Is there an option
that doesn't suck up units like there's no tomorrow?

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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


dotnet api and sitelinks

2011-08-11 Thread Paigey
Hi all,

I've seen a few examples of how you can add/remove sitelinks for a
campaign using the CampaignAdExtensionService but it seems to only
allow the removal or adding of all sitelinks at one time.

If a campaign has say 4 sitelinks, is it possible to just delete one
and add a new one via the api or do all sitelinks have to be removed
then re added? Looking at the info you can pull out of the api for
sitelinks it only contains the sitelink name and url but no sitelink
id to query against!

Thanks

Si

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: Intermittent NOT_ADS_USER error message

2011-08-11 Thread Yaron Elkayem
Hi Eric,

for the pas 2 days (since the 09/08/2011 20:54 GMT) we received lots
of messages like theses:

AuthenticationError.NOT_ADS_USER @ ; trigger:'127170012635'
Service[AdGroupService.mutate]
AuthenticationError.NOT_ADS_USER @ ; trigger:'127170012635'
Service[AdGroupAdService.mutate]
AuthenticationError.NOT_ADS_USER @ ; trigger:'127170012635'
Service[AdGroupCriterionService.mutate]

do you have any information about the issue's going on?

Cheers
Yaron

On Jul 13, 5:18 pm, Eric Koleda eric.kol...@google.com wrote:
 Hi Yaron,

 Although it's the same error message, the problem appeared in the production
 environment for different reasons, and that wouldn't work.

 Best,
 - Eric

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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


UNEXPECTED_INTERNAL_API_ERROR in sandbox mode

2011-08-11 Thread Yaron Elkayem
Hi Anash,

we are still experiencing UNEXPECTED_INTERNAL_API_ERROR upon get
campaign method.

here is a fresh soap request and API internal error:

soap:Envelope xmlns:soap=http://schemas.xmlsoap.org/soap/envelope/;
  soap:Header
RequestHeader xmlns=https://adwords.google.com/api/adwords/cm/
v200909
  authToken/authToken
  clientEmailclient_3*/clientEmail
  developerTokensynchro_team***/developerToken
  userAgent/userAgent
/RequestHeader
  /soap:Header
  soap:Body
get xmlns=https://adwords.google.com/api/adwords/cm/v200909;
  selector
ids316452/ids
  /selector
/get
  /soap:Body
/soap:Envelope

soap:Envelope xmlns:soap=http://schemas.xmlsoap.org/soap/envelope/;
  soap:Body
soap:Fault
  faultcodesoap:Server/faultcode
  faultstringInternalApiError.UNEXPECTED_INTERNAL_API_ERROR @
com.google.ads.api.services.common.error.InternalApiError.lt;initgt;
(InternalApiErro/faultstring
  detail
ApiExceptionFault xmlns=https://adwords.google.com/api/
adwords/cm/v200909
  messageInternalApiError.UNEXPECTED_INTERNAL_API_ERROR @
com.google.ads.api.services.common.error.InternalApiError.lt;initgt;
(InternalApiErro/message
  ApplicationException.TypeApiException/
ApplicationException.Type
  errors
fieldPath /
trigger /
ApiError.TypeInternalApiError/ApiError.Type
reasonUNEXPECTED_INTERNAL_API_ERROR/reason
  /errors
/ApiExceptionFault
  /detail
/soap:Fault
  /soap:Body
/soap:Envelope

could you let us know is there is a need of a sandbox refresh or give
us an alternate solution?
cheers
Yaron

On Jul 27, 4:50 pm, Yaron Elkayem yaron...@gmail.com wrote:
 Hi Anash,

 It works a wonder now!

 Should have been a temporary error.

 Cheers
 y

 On Jul 27, 9:49 am, AdWords API Advisor adwordsapiadvi...@google.com
 wrote:







  Hi Yaron,

  My guess is that the sandbox is throwing a valid error, but may be it is an
  error that is not available in v200909. Could you try making the API call in
  v201101 instead and see if the call works for you?

  Cheers,
  Anash P. Oommen,
  AdWords API Advisor.

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: UNEXPECTED_INTERNAL_API_ERROR in sandbox mode

2011-08-11 Thread Yaron Elkayem
looks like it is working again.
thx

On Aug 11, 11:44 am, Yaron Elkayem yaron...@gmail.com wrote:
 Hi Anash,

 we are still experiencingUNEXPECTED_INTERNAL_API_ERRORupon get
 campaign method.

 here is a fresh soap request and API internal error:

 soap:Envelope xmlns:soap=http://schemas.xmlsoap.org/soap/envelope/;
   soap:Header
     RequestHeader xmlns=https://adwords.google.com/api/adwords/cm/
 v200909
       authToken/authToken
       clientEmailclient_3*/clientEmail
       developerTokensynchro_team***/developerToken
       userAgent/userAgent
     /RequestHeader
   /soap:Header
   soap:Body
     get xmlns=https://adwords.google.com/api/adwords/cm/v200909;
       selector
         ids316452/ids
       /selector
     /get
   /soap:Body
 /soap:Envelope

 soap:Envelope xmlns:soap=http://schemas.xmlsoap.org/soap/envelope/;
   soap:Body
     soap:Fault
       faultcodesoap:Server/faultcode
       faultstringInternalApiError.UNEXPECTED_INTERNAL_API_ERROR@
 com.google.ads.api.services.common.error.InternalApiError.lt;initgt;
 (InternalApiErro/faultstring
       detail
         ApiExceptionFault xmlns=https://adwords.google.com/api/
 adwords/cm/v200909
           messageInternalApiError.UNEXPECTED_INTERNAL_API_ERROR@
 com.google.ads.api.services.common.error.InternalApiError.lt;initgt;
 (InternalApiErro/message
           ApplicationException.TypeApiException/
 ApplicationException.Type
           errors
             fieldPath /
             trigger /
             ApiError.TypeInternalApiError/ApiError.Type
             reasonUNEXPECTED_INTERNAL_API_ERROR/reason
           /errors
         /ApiExceptionFault
       /detail
     /soap:Fault
   /soap:Body
 /soap:Envelope

 could you let us know is there is a need of a sandbox refresh or give
 us an alternate solution?
 cheers
 Yaron

 On Jul 27, 4:50 pm, Yaron Elkayem yaron...@gmail.com wrote:







  Hi Anash,

  It works a wonder now!

  Should have been a temporary error.

  Cheers
  y

  On Jul 27, 9:49 am, AdWords API Advisor adwordsapiadvi...@google.com
  wrote:

   Hi Yaron,

   My guess is that the sandbox is throwing a valid error, but may be it is 
   an
   error that is not available in v200909. Could you try making the API call 
   in
   v201101 instead and see if the call works for you?

   Cheers,
   Anash P. Oommen,
   AdWords API Advisor.

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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


AdGroupAdService not retrieving all the ads

2011-08-11 Thread Brilliant Media
I'm trying to figure out how I can map ads which are displayed Third-
party ad in the console to the external ad.


To this end, I'm trying to retrieve the Ads from the AdGroupAdService.
However, none of the Ads displayed as Third-party ad in the console
are available through the API.

I'm getting the campaign from the CampaignService and the adgroups
from the AdGroupService.

The ads appear in reports I retrieve, but even if I try to get them by
the CreativeId in the reports they don't appear.

I'm using v201101 of the API (and v13 for the reports because I still
need MCC support)

(Ad words advisor:
the client id is 430-126-9287,
campaign id: 94295629,
ad groups: 3378827749, 3658600549, 3658605109, 3658605709, 3658607029,
3658607509, 3658607749, 3658609309, 3658609669, 3658620949,
3658624669, 3658624789, 3658624909, 3658625989, 3658626109,
3658626349, 3820095469)

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: Problems with authentication: Could not get Client Login token for user ...

2011-08-11 Thread Daniel
Hi Kevin,

Could you provide a little more detail about the exact error you are receiving?

sure, but i don't know what more i can say ...

I work with the Java Client Library. Every night, i want to download a
Keyword Performance Report for several Accounts.
While doing this, i sometimes get the error mentioned above.

Here you can see my code for generating the AdwordsUser Obect:
mAdwordsUser = new AdWordsUser(pAccount.getUserName(),
pAccount.getUserPass(), pAccount.getClientId(), Application Token,
Developer Token);

This works fine over the last years (with small changes from version
to version)

 Have you tried caching them and see if reusing them prevents this type of 
 problem from occurring?
Not yet. What is the best way to do that and how can i check, if my
AuthToken is still valid or needs to be renewed?

Thanks for the help!

Regards,
Daniel



On Aug 10, 4:19 pm, Kevin Winter kevin.win...@google.com wrote:
 Hi Daniel,
   Could you provide a little more detail about the exact error you are
 receiving?

 It sounds like the script requests a new Client Login token each time it
 runs.  These authtokens are valid for 2 weeks.  Have you tried caching them
 and see if reusing them prevents this type of problem from occurring?

 - Kevin Winter
 AdWords API Team

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: Cost of using the AdWords API to manage ads and keywords

2011-08-11 Thread AdWords API Advisor
Hi Peter,

Retrieving 5 keywords using AdGroupCriterionService will cost you 5 
API units as per the rate sheet. Instead, you can use a keyword performance 
report to pull your keywords and their stats. You can create one report 
definition for 400 units and download the report daily; report download 
won't cost you any API units. Updating the status and budgets will cost you 
API units, but chances are that those costs are lesser since you may not 
update 5 keywords every day.

AdWords API also provides some free units to Advertisers; see 
http://adwords.google.com/support/aw/bin/answer.py?hl=enanswer=45891 for 
details. If you are an Agency, you can apply for AdWords API preferred 
pricing to receive free units. See 
http://www.google.com/adwords/api/preferredpricing/ for details.

Hope this helps. Let me know if you have more questions.

Cheers,
Anash P. Oommen,
AdWords API Advisor.

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: Daily reporting - Best time to execute.

2011-08-11 Thread AdWords API Advisor
Hi Rob,

I believe this is the link you are looking for: 
http://adwordsapi.blogspot.com/2011/06/statistics-in-reports.html. Check our 
blog site at http://adwordsapi.blogspot.com/ for more AdWords API technical 
blogs.

Cheers,
Anash P. Oommen,
AdWords API Advisor.

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: Authentication problems with .Net Library

2011-08-11 Thread AdWords API Advisor
Hi Nariz,

You have to initialize the sandbox by running the GetAllCampaigns example, 
and after that your configuration would work just fine. As for using OAuth, 
you should add a Global.asax and add some initialization code in your 
Global::Init(). See 
http://code.google.com/p/google-api-adwords-dotnet/source/browse/trunk/examples/csharp/oauth/Global.asax.cs
 for 
details. 

Hope this helps, let me know if you have more questions.

Cheers,
Anash P. Oommen,
AdWords API Advisor.

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: assigning Adwords customer ID dynamically

2011-08-11 Thread AdWords API Advisor
Hi,

AdWordsUser exposes a parameterized constructor that allows you to provide a 
clientId without using ini file. See 
http://code.google.com/p/google-api-adwords-php/source/browse/trunk/src/Google/Api/Ads/AdWords/Lib/AdWordsUser.php#101
 for 
details.

Let me know if you have more questions.

Cheers,
Anash P. Oommen,
AdWords API Advisor.

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: V201101 AdGroup bids is Nothing

2011-08-11 Thread AdWords API Advisor
Hi,

AdGroup bids is still available, see 
http://code.google.com/apis/adwords/docs/reference/latest/AdGroupService.AdGroup.html#bids
 for 
details. You just have to use the right selectors to get the fields. The 
rule is that if you don't see a selector for a field, that's probably 
because it is a complex type, so you have to refer to that type's 
documentation to see what its selectors are. For instance, AdGroup.bid is 
not selectable, but 
http://code.google.com/apis/adwords/docs/reference/latest/AdGroupService.ManualCPCAdGroupBids.html
 lists KeywordMaxCpc as a selector field name. So if you were to request 
KeywordMaxCpc in addition to Id, Name, Status, then you will start 
getting all 
ManualCPCAdGroupBidshttp://code.google.com/apis/adwords/docs/reference/latest/AdGroupService.ManualCPCAdGroupBids.html,
 
with its keywordMaxCpc field populated. Same goes for other types of 
AdGroup.bids.

You can also refer to 
http://code.google.com/apis/adwords/docs/appendix/selectorfields.html#v201101-AdGroupService,
 
it shows the list of all the available selectors by service, and the object 
field it maps to.

Hope this helps. Let me know if you have more questions.

Cheers,
Anash P. Oommen,
AdWords API Advisor.

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: V201101 CampaignCriterion and Keyword.text missing

2011-08-11 Thread AdWords API Advisor
Hi,

You need to add KeywordText as a selector field to get the criterion text. 
See 
http://code.google.com/apis/adwords/docs/appendix/selectorfields.html#v201101-CampaignCriterionService
 for 
the list of all possible selector names for CampaignCriterionService.

Cheers,
Anash P. Oommen,
AdWords API Advisor.

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: Can I get all ads by campaign at once?

2011-08-11 Thread AdWords API Advisor
Hi Eric,

Yes, you will get all ads if you don't specify paging.

Cheers,
Anash P. Oommen,
AdWords API Advisor.

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: dotnet api and sitelinks

2011-08-11 Thread Pete Lavetsky (AdWords API Guru)
Hi,

Whatever array of Sitelinks you set on the SitelinksExtension is what
gets set.  So, you don't add / remove Sitelinks, you just set what
should be active.

If you initially set your Sitelinks as an array [ 1, 2, 3 ] but
want to remove the 3, you just send a new array to the service as
[ 1, 2 ]

Pete

On Aug 11, 4:47 am, Paigey chiswicki...@googlemail.com wrote:
 Hi all,

 I've seen a few examples of how you can add/remove sitelinks for a
 campaign using the CampaignAdExtensionService but it seems to only
 allow the removal or adding of all sitelinks at one time.

 If a campaign has say 4 sitelinks, is it possible to just delete one
 and add a new one via the api or do all sitelinks have to be removed
 then re added? Looking at the info you can pull out of the api for
 sitelinks it only contains the sitelink name and url but no sitelink
 id to query against!

 Thanks

 Si

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: Update text and match_type of keyword in AdGroupCriterionService

2011-08-11 Thread AdWords API Advisor
Hi,

AdWords doesn't allow keyword text and matchtype to be updated once you 
create a keyword. You have to delete the existing keyword and create a new 
one to achieve this. Same goes for ads too.

Let me know if you have more questions.

Cheers,
Anash P. Oommen,
AdWords API Advisor.

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: Client Authentication, What would you suggest?

2011-08-11 Thread AdWords API Advisor
Hi Yagmur,

OAuth for downloading reports is a widely requested feature. The AdWords 
team knows about it and it is in the roadmap. I don't have a date by which 
this feature will be available, but we will definitely announce on the forum 
and our blog (adwordsapi.blogspot.com) when this feature becomes available 
in AdWords API.

Cheers,
Anash P. Oommen,
AdWords API Advisor.

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: V201101 AdGroup bids is Nothing

2011-08-11 Thread okiebug1...@gmail.com
Thanks much!  Your last link is invaluable for exposing the proper
field names per service and am busy with my new slector.fields logic
updates.  This should allow me to make the migration ahead of the end
of life.  A huge sigh of relief, even though I knew I was making a
silly error, and knew you all had the solution/map ready to come to my
aid.  I tried using bids on the AdGroup object and rcv'd the
infamous invalid fields error, I should have tried a few more fields
and I may have had an ahh moment.

This will also address my other post concerning KeywordText w/n the
CampaignCriterionService.

Off to the migration, and thanks again for your thorough and quick
response.

David

On Aug 11, 8:45 am, AdWords API Advisor adwordsapiadvi...@google.com
wrote:
 Hi,

 AdGroup bids is still available, 
 seehttp://code.google.com/apis/adwords/docs/reference/latest/AdGroupServ...for
 details. You just have to use the right selectors to get the fields. The
 rule is that if you don't see a selector for a field, that's probably
 because it is a complex type, so you have to refer to that type's
 documentation to see what its selectors are. For instance, AdGroup.bid is
 not selectable, 
 buthttp://code.google.com/apis/adwords/docs/reference/latest/AdGroupServ...
  lists KeywordMaxCpc as a selector field name. So if you were to request 
 KeywordMaxCpc in addition to Id, Name, Status, then you will start
 getting all 
 ManualCPCAdGroupBidshttp://code.google.com/apis/adwords/docs/reference/latest/AdGroupServ...,
 with its keywordMaxCpc field populated. Same goes for other types of
 AdGroup.bids.

 You can also refer 
 tohttp://code.google.com/apis/adwords/docs/appendix/selectorfields.html...,
 it shows the list of all the available selectors by service, and the object
 field it maps to.

 Hope this helps. Let me know if you have more questions.

 Cheers,
 Anash P. Oommen,
 AdWords API Advisor.

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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


Fatal error: Cannot redeclare non static AdWordsSoapClient::$endpoint as static TargetingIdeaService::$endpoint ???

2011-08-11 Thread AmateurMetheus
Howdy!

Well, I'm at my wit's end.

My server hates Google Adwords API, or vice-versa. NuSoap doesn't work. Pear 
SOAP doesn't work. Webhost (iPower) doesn't allow other versions of SOAP. 
It's been one thing after another trying to get this library to interact 
correctly. Hopefully SOMEone can help me figure this one out...I'm about to 
lose (more) hair.

I get this error whilst using the sample webapp via 
/aw_api_php_lib/aw_api_php_webapp/public/index.html for php adwords api lib 
on my server:
*Fatal error*: Cannot redeclare non static AdWordsSoapClient::$endpoint as 
static TargetingIdeaService::$endpoint in*
/hermes/directories/go/here/public_html/caffeinemarketinggroup/aw_api_php_lib/src/Google/Api/Ads/AdWords/v201008/TargetingIdeaService.php
* on line *7495*
*
*
*Of the file it references:*
Line 7495 of TargetingIdeaService reads:
*class TargetingIdeaService extends AdWordsSoapClient {
*
*
*
then a few lines down, after defining the class array values, it shows this:
*public static $endpoint = 
https://adwords.google.com/api/adwords/o/v201008/TargetingIdeaService;;
*
*
*
it would appear the endpoint is already set at the time it gets to it on 
TargetingIdeaService, but I'm not sure.

I've tried renaming the class (and class references) from 
TargetingIdeaService to x_TargetingIdeaService, and updating the calls 
inside the other related filesand it either throws a token error using 
this change (not surprising), or unchanged it gives the error message shown 
at the top of this thread.

Any ideas?

Thanks in advance!

:::a

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: Problems with authentication: Could not get Client Login token for user ...

2011-08-11 Thread Kevin Winter
Hi,
  Pete's answer is spot-on.  You can reuse an AuthToken by caching it using 
Pete's suggestion and then using the setAuthToken setter on the AdWordsUser 
to tell it to reuse the existing AuthToken.  The library first checks that 
it has an authToken before generating a new one.  Here's the setter I'm 
talking about:

http://code.google.com/p/google-api-adwords-java/source/browse/trunk/src/com/google/api/adwords/lib/AdWordsUser.java#540

- Kevin Winter

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: ReportDefinitionError.INVALID_FIELD_NAME_FOR_REPORT@PrimaryDisplayStatus

2011-08-11 Thread Kevin Winter
Hi All,
  I just wanted to let everyone know we are aware of the problem.  This only 
seems to affect reports that were created in the UI and are being downloaded 
via the API.  We're still researching the best solution given that some of 
the fields in the reports are not allowed in API reports.  In the meantime, 
redefining the report via the API and using that moving forward permanently 
fixes the issue for an individual report (since it will not longer have the 
fields that only the UI can add).

We'll be sure to let you know when we have a fix.

- Kevin Winter
AdWords API Team

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: ReportDefinitionError - Simple Campaign Report

2011-08-11 Thread Kevin Winter
Hi,
  Just wanted to chime in and let everyone know we're aware of the issue. 
 I've posted an update on the thread linked by opalepatrick.

- Kevin Winter
AdWords API Team

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: Cost of using the AdWords API to manage ads and keywords

2011-08-11 Thread Peter Lind
Thanks for the answer Anash - that does make more sense than the
solution I had arrived at.

We're looking at handling adwords for clients we have, so I assume
we'd fit into the agency category. Given that, I read the
http://code.google.com/apis/adwords/docs/requirements.html page and I
wonder if our use false under Internal-Only AdWords API. The tool
we're looking at creating will automatically manage a clients adwords
(per the scenario above). The client would be allowed to configure
some settings and monitor status, but there would be no actual
interaction with the client. Given this, do we have fully implement
the required minimum functionality or would that not apply to our
scenario?

TIA
Peter

On Aug 11, 2:26 pm, AdWords API Advisor adwordsapiadvi...@google.com
wrote:
 Hi Peter,

 Retrieving 5 keywords using AdGroupCriterionService will cost you 5
 API units as per the rate sheet. Instead, you can use a keyword performance
 report to pull your keywords and their stats. You can create one report
 definition for 400 units and download the report daily; report download
 won't cost you any API units. Updating the status and budgets will cost you
 API units, but chances are that those costs are lesser since you may not
 update 5 keywords every day.

 AdWords API also provides some free units to Advertisers; 
 seehttp://adwords.google.com/support/aw/bin/answer.py?hl=enanswer=45891for
 details. If you are an Agency, you can apply for AdWords API preferred
 pricing to receive free units. 
 Seehttp://www.google.com/adwords/api/preferredpricing/for details.

 Hope this helps. Let me know if you have more questions.

 Cheers,
 Anash P. Oommen,
 AdWords API Advisor.

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: AdGroupAdService not retrieving all the ads

2011-08-11 Thread Brilliant Media
OK, so I tried it on the sandbox by setting up my down ad, and it
seems to work as expected

Can someone tell me what's wrong with the specified adgroups?

Thanks

On 11 Aug, 12:15, Brilliant Media
technologyt...@brilliantmedia.co.uk wrote:
 I'm trying to figure out how I can map ads which are displayed Third-
 party ad in the console to the external ad.

 To this end, I'm trying to retrieve the Ads from the AdGroupAdService.
 However, none of the Ads displayed as Third-party ad in the console
 are available through the API.

 I'm getting the campaign from the CampaignService and the adgroups
 from the AdGroupService.

 The ads appear in reports I retrieve, but even if I try to get them by
 the CreativeId in the reports they don't appear.

 I'm using v201101 of the API (and v13 for the reports because I still
 need MCC support)

 (Ad words advisor:
 the client id is 430-126-9287,
 campaign id: 94295629,
 ad groups: 3378827749, 3658600549, 3658605109, 3658605709, 3658607029,
 3658607509, 3658607749, 3658609309, 3658609669, 3658620949,
 3658624669, 3658624789, 3658624909, 3658625989, 3658626109,
 3658626349, 3820095469)

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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


Connection to the SandBox

2011-08-11 Thread Mouloud Zennadi
Hi,

I install and configure autho.ini et server.ini followinng the movie
of Eric Koleda, but i encounter a problem when i try to use the cmd
command to test the file.

In fact, when i try to open a file for as exemple the command : php
GetAllCampaigns.php

My cmd respon to me that php is not recognise as internal or external
command 

However i already install php with wampserver on my computer, so i
don't understand where is the probleme.

if you have any solution, thank you in advance.

Best regards.

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: Connection to the SandBox

2011-08-11 Thread Brilliant Media
Looks like php is not on your path.
You need to add the directory you installed php.exe to your path.
http://banagale.com/changing-your-system-path-in-windows-vista.htm
shows you how to change your path on windows

On 11 Aug, 16:38, Mouloud Zennadi mouloudzenn...@gmail.com wrote:
 Hi,

 I install and configure autho.ini et server.ini followinng the movie
 of Eric Koleda, but i encounter a problem when i try to use the cmd
 command to test the file.

 In fact, when i try to open a file for as exemple the command : php
 GetAllCampaigns.php

 My cmd respon to me that php is not recognise as internal or external
 command 

 However i already install php with wampserver on my computer, so i
 don't understand where is the probleme.

 if you have any solution, thank you in advance.

 Best regards.

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: ReportDefinitionError.INVALID_FIELD_NAME_FOR_REPORT@PrimaryDisplayStatus

2011-08-11 Thread opalepatrick
Actually that is not strictly true Kevin. I re-created a report via
the API yesterday and it did exactly the same thing?

On Aug 11, 4:14 pm, Kevin Winter kevin.win...@google.com wrote:
 Hi All,
   I just wanted to let everyone know we are aware of the problem.  This only
 seems to affect reports that were created in the UI and are being downloaded
 via the API.  We're still researching the best solution given that some of
 the fields in the reports are not allowed in API reports.  In the meantime,
 redefining the report via the API and using that moving forward permanently
 fixes the issue for an individual report (since it will not longer have the
 fields that only the UI can add).

 We'll be sure to let you know when we have a fix.

 - Kevin Winter
 AdWords API Team

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: AdGroupCriterionOperations that fail in BulkMutateJobService but not AdGroupCriterionService

2011-08-11 Thread GregT
Hi, David.

It appears that the team found the problem and fixed it?  From our logs, it 
looks like this stopped happening a couple days ago.  Thanks for the help 
with this!

Greg

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: ReportDefinitionError.INVALID_FIELD_NAME_FOR_REPORT@PrimaryDisplayStatus

2011-08-11 Thread opalepatrick
Hi, straightforward keyword_performance_report with 13 fields as
required. Checked it just with GetReportDefinitions and it hasnt
changed.

I knew I would get asked for SOAP XML, never done it, so how doers one
turn on SOAP logging (for the record)?

Thanks

On Aug 11, 5:56 pm, Kevin Winter kevin.win...@google.com wrote:
 Hi,
   Could you provide the sanitized SOAP XML request that created the report?

 Also, if you use a GET to retrieve the reportDefinition, does it have the
 same fields as when you created it?

 - Kevin Winter

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: ReportDefinitionError.INVALID_FIELD_NAME_FOR_REPORT@PrimaryDisplayStatus

2011-08-11 Thread Kevin Winter
Hi,
  Which client library are you using?  They each have their own method of 
turning it on: http://code.google.com/apis/adwords/docs/clientlibraries.html

- Kevin Winter

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: ReportDefinitionError.INVALID_FIELD_NAME_FOR_REPORT@PrimaryDisplayStatus

2011-08-11 Thread opalepatrick
v201008 Kevin

On Aug 11, 7:37 pm, Kevin Winter kevin.win...@google.com wrote:
 Hi,
   Which client library are you using?  They each have their own method of
 turning it on:http://code.google.com/apis/adwords/docs/clientlibraries.html

 - Kevin Winter

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: ReportDefinitionError.INVALID_FIELD_NAME_FOR_REPORT@PrimaryDisplayStatus

2011-08-11 Thread opalepatrick
Sorry - PHP :-)

On Aug 11, 7:59 pm, opalepatrick ad...@patpatworks.com wrote:
 v201008 Kevin

 On Aug 11, 7:37 pm, Kevin Winter kevin.win...@google.com wrote:



  Hi,
    Which client library are you using?  They each have their own method of
  turning it on:http://code.google.com/apis/adwords/docs/clientlibraries.html

  - Kevin Winter

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: ReportDefinitionError.INVALID_FIELD_NAME_FOR_REPORT@PrimaryDisplayStatus

2011-08-11 Thread Kevin Winter
Hi,
  The README has instructions on how to do it: 
http://code.google.com/p/google-api-adwords-php/source/browse/trunk/README?r=196#130

- Kevin

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: ReportDefinitionError.INVALID_FIELD_NAME_FOR_REPORT@PrimaryDisplayStatus

2011-08-11 Thread khanh
We need to grab the report from the UI and download as the report has
a column (Phone Cost) that I can get from creating the report via the
API.

We are using .net client library: Google.Api.Ads.AdWords.v201101;


On Aug 11, 7:14 am, Kevin Winter kevin.win...@google.com wrote:
 Hi All,
   I just wanted to let everyone know we are aware of the problem.  This only
 seems to affect reports that were created in the UI and are being downloaded
 via the API.  We're still researching the best solution given that some of
 the fields in the reports are not allowed in API reports.  In the meantime,
 redefining the report via the API and using that moving forward permanently
 fixes the issue for an individual report (since it will not longer have the
 fields that only the UI can add).

 We'll be sure to let you know when we have a fix.

 - Kevin Winter
 AdWords API Team

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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


Getting a criterion's actual serving status (whether blocked at adGroup or campaign level)

2011-08-11 Thread Stephen Yeargin
I want to create a table view of criterions (keywords) that shows their 
*actual* serving status (criterion.status only tells me if I've 
paused/enabled that keyword) based on which level is preventing it from 
being shown. Is there a way to do this without making three API calls 
(loading a list of campaign statuses and ad group statuses into memory)?

https://skitch.com/stephenyeargin/fq413/screen-shot-2011-08-11-at-1.44.08-pm

- Stephen

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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


ReportDefinitionError.INVALID_REPORT_DEFINITION_ID@selector.selector

2011-08-11 Thread timp
Greetings,

I've been running tests of reporting.

On only one run, I received a CSV for one account with
|||  numbers ||| 
 ReportDefinitionError.INVALID_REPORT_DEFINITION_ID@selector.selector

as its only line.

On subsequent and previous runs that account ran correctly.

---

Is there any possible need for delay between the soap call to create a 
report definition and the http call to download the report?

If I get this error, is it safe to say that I should remove the report 
definition and recreate it?  
Or should I just try downloading the report again?
What does google suggest?

Thanks,

-tim

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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


AdGroup Keyword Limit

2011-08-11 Thread Ian
We have a client that has 3500+ keywords for an adgroup, which puts
them over the limit according to 
http://adwords.google.com/support/aw/bin/answer.py?hl=enanswer=40907
Occasionally when they are trying to update the keywords they get an
error, however this is inconsistent.  I have also been unable to repro
this on our production or sandbox accounts (updates/adds work fine
with the same keywords/ads). Is this limit flexible and if so can
you force it in the sandbox? or am I just chasing my tail here.

-Ian

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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


Placement Name (PlacementURL) max length or validation

2011-08-11 Thread Eric
Hi,
I tried to insert a placement with name:
www.thisplacementcontainsonehundredtotalcharacterstotestthemaxlengthtryag.com

The API Exception: System.Web.Services.Protocols.SoapException
Message: [CriterionError.INVALID_FORMAT_FOR_PLACEMENT_URL @
operations[0].operand.criterion.url;
trigger:'www.thisplacementcontainsonehundredtotalcharacterstotestthemaxlengthtryagain.com']
Source: System.Web.Services

I did not find any info for this validation in adwords doc.

Can you guys tell me where to find this information?

Thanks

Eric L.

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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


Notice: Undefined offset: 1 in AdsSoapClient.php on line 285 Could not connect to host

2011-08-11 Thread Oleg
I uploaded the entire PHP library, edited the two .ini files to look
like:
 auth.ini ---
email = m...@email.net
password = password
userAgent = HUZAA
applicationToken = INSERT_APPLICATION_TOKEN_HERE
developerToken = m...@email.net++USD

; Uncomment to make requests against a client account.
clientId = client_1...@email.net

; Uncomment the following to use an existing AuthToken.
; authToken = INSERT_AUTH_TOKEN_HERE

; Uncomment the following to use existing OAuth information.
; [OAUTH]
; oauth_consumer_key = INSERT_OAUTH_CONSUMER_KEY_HERE
; oauth_consumer_secret = INSERT_OAUTH_CONSUMER_SECRET_HERE
; oauth_token = INSERT_OAUTH_TOKEN_HERE
; oauth_token_secret = INSERT_OAUTH_TOKEN_SECRET_HERE

settings.ini
[LOGGING]
; Log directory is either an absolute path, or relative path to the
; AdWordsUser.php file.
PATH_RELATIVE = 1
LIB_LOG_DIR_PATH = ../../../../../../logs

[SERVER]
DEFAULT_VERSION = v201101

; Change to https://adwords-sandbox.google.com to work in the sandbox
; environment.
DEFAULT_SERVER = https://adwords-sandbox.google.com;

[SOAP]
; Enable/disable gzip compression on SOAP requests and responses.
COMPRESSION = 1

; The level of gzip compression to use, from 1 to 9. The higher the
level the
; greater the compression and time needed to perform the compression.
The
; recommended and default value is 1.
COMPRESSION_LEVEL = 1

; The type of WSDL caching to use. The possible values are 0 (none), 1
(disk),
; 2 (memory), or 3 (disk and memory). The default value is 0.
WSDL_CACHE = 0

; Other WSDL caching settings can be set in php.ini. See the following
page for
; the complete list: http://www.php.net/manual/en/soap.configuration.php

[PROXY]
; Proxy settings to be used by HTTP (and therefore SOAP) requests.
; HOST = HOST
; PORT = PORT
; USER = USER NAME
; PASSWORD = PASSWORD

[AUTH]
; The server to use when making ClientLogin or OAuth requests. This
normally
; doesn't need to be changed from the default value https://
www.google.com.
; AUTH_SERVER = SERVER

; The OAuthHandler class to use for OAuth flow.
; OAUTH_HANDLER_CLASS = CLASS NAME

[SSL]
; Enable/disable peer verification of SSL certificates. If enabled,
specify
; either CA_PATH or CA_FILE.
VERIFY_PEER = 0

; The certificate authority directory to search in when performing
peer
; validation. For example: /etc/ssl/certs
; CA_PATH = PATH TO CERTIFICATE AUTHORITY DIRECTORY

; The certificate authority file to use when performing peer
validation.
; CA_FILE = PATH TO CERTIFICATE AUTHORITY FILE


and when I run any of the example scripts, I get the error:

Notice: Undefined offset: 1 in /home2/mysite/public_html/keywordvalue/
src/Google/Api/Ads/Common/Lib/AdsSoapClient.php on line 285
Could not connect to host

---AdsSoapClient.php (lines 281-286)---
  public function GetServer() {
$hostMatches = array();
preg_match('/^.*Host:\\s(.*)Connection:.*$/s',
   $this-__getLastRequestHeaders(), $hostMatches);
return trim($hostMatches[1]);
  }


phpinfo() says I have curl, soap, OpenSSL/0.9.8b
- followed http://www.youtube.com/watch?v=Idvia4600_E

Any idea whats wrong?

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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


when will the adwords api support tablet targeting

2011-08-11 Thread Jin Yi
i just saw tablet targeting specified out in the adwords web ui as my
business partner instructed me to remove that target..  however, i
couldn't find where it's specified in the CampaignTargetingService.
so, i was wondering when this platform would be specified in the
platform types?

http://code.google.com/apis/adwords/docs/reference/latest/CampaignTargetService.PlatformType.html

thanks.

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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