AdWords API Invalid Keyword Text

2010-03-23 Thread Chris
Hi,

I'm getting the error message INVALID_KEYWORD_TEXT when trying to add
some of my keywords. I found this info on an old message, but the info
is several years old. Could anyone confirm if the following is still
true, or if there have been some changes.

Valid keywords are <= 80 characters, <= 10 words, and composed of
letters, numbers, and friends (' ', '#', '$', '&', '_', '-', '\"',
'[',
']', '\'', '+', '.', '/', ':', and '\u3000').

Non-ASCII characters should show up as references in your XML. E.g.:

æøåäü

-- Brian Kennish, Google

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
"REMOVE ME" as the subject.


AdWords API Re: AdGroupAd (missing Ad types) (v13 -> v2009)

2010-03-23 Thread Peer Jakobsen (AdWords API Guru)
CommerceAds were never available in production and have been
deprecated in V2009

VideoAds are deprecated but similar ads can be created using the
TemplateAd.

The details on how to use TemplateAds are not really documented (the
templateIds and what elements they take). So it will require a lot of
trial and error using live production accounts, where you first create
an ad using the Display Builder in adwords and then check what they
look like when retrieving them through the API.

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
"REMOVE ME" as the subject.


AdWords API AdGroupAd (missing Ad types) (v13 -> v2009)

2010-03-23 Thread BeeGeez
I don't have ad types for:
CommerceAd
VideoAd

I did in v13.  The other types are all there.  What can I use as a
replacement for these 2?

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
"REMOVE ME" as the subject.


AdWords API Re: ManualCPCAdGroupBids (3 types?)

2010-03-23 Thread BeeGeez
Yes, thank you, that's exactly what I'm doing.  It sounds like if
ManualCPMAdGroupBids is the type, then CPM is being used.  In v13, the
siteMaxCpmSpecified property signified this.

On Mar 23, 4:09 pm, "Peer Jakobsen (AdWords API Guru)"
 wrote:
> In V13 on CPC campaigns there was:
> siteMaxCpc
>
> on CPM there was:
> siteMaxCpm
> which is called maxCpm in V200909
>
> V200909 is much more clean on this as you have specific AdGroupBid
> types for CPC (ManualCPCAdGroupBids) and CPM (ManualCPMAdGroupBids).
>
> It sounds like you are using .NET so you could use something like this
> if (bids is ManualCPCAdGroupBids)
> {
> ... do something with
> keywordMaxCpc
> keywordContentMaxCpc
> siteMaxCpc
>
> }
>
> if (bids is ManualCPMAdGroupBids)
> {
> ... do something with
> maxCpm
>
>
>
> }- Hide quoted text -
>
> - Show quoted text -

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
"REMOVE ME" as the subject.


AdWords API Re: ManualCPCAdGroupBids (3 types?)

2010-03-23 Thread Peer Jakobsen (AdWords API Guru)
In V13 on CPC campaigns there was:
siteMaxCpc

on CPM there was:
siteMaxCpm
which is called maxCpm in V200909

V200909 is much more clean on this as you have specific AdGroupBid
types for CPC (ManualCPCAdGroupBids) and CPM (ManualCPMAdGroupBids).

It sounds like you are using .NET so you could use something like this
if (bids is ManualCPCAdGroupBids)
{
... do something with
keywordMaxCpc
keywordContentMaxCpc
siteMaxCpc
}

if (bids is ManualCPMAdGroupBids)
{
... do something with
maxCpm
}

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
"REMOVE ME" as the subject.


AdWords API Re: BulkMutateService - How to cancel or close a waiting job for more parts

2010-03-23 Thread Peer Jakobsen (AdWords API Guru)
There is no way to cancel jobs but you can get the jobs started by
setting

BulkMutateJob.numRequestParts = BulkMutateJob.numRequestPartsReceived

Cheers

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
"REMOVE ME" as the subject.


AdWords API Re: ManualCPCAdGroupBids (3 types?)

2010-03-23 Thread BeeGeez
Yes, but there's no siteMaxCpmSpecified property (v13 had this) so I'm
not sure if there was a bid on placements.  Will microAmountSpecified
tell me this?

On Mar 23, 3:49 pm, "Peer Jakobsen (AdWords API Guru)"
 wrote:
> All 3 can potentially be set.
>
> keywordMaxCpc = default bid on your keywords
> keywordContentMaxCpc = bid in content match
> siteMaxCpc = default bid on your placements
>
> Cheers

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
"REMOVE ME" as the subject.


AdWords API Re: Question with CaptchaRequired error code with ClientLogin authentication API

2010-03-23 Thread SEM
Hi Eric,

After the account is locked with "Error=CaptchaRequired", as per the
docs, we prefix the captcha url with https://www.google.com/accounts
and we get the captcha image.

e.g. we use
https://www.google.com/accounts/Captcha?ctoken=4MdDSDSmfdkmdsIazxK80fqXrRJX71AYcGebY_ybVwiyfu9MS6qviMskllskdlskdlskoatULEqrug0VX7RFD2qC2-9BJkfs4ebB_xA2e5rXFZQs%3AqdjhsjdVIGVRB-1cuEg

(ctoken value changed for privacy reasons)

However, after the first captcha url request, all subsequent requests
return an image that displays an error message in red text:
"Sorry, we are unable to handle your request at this time. Please try
again later.". Is this a bug or an intended feature?

If a bug, when will this be fixed?

If a feature, is there a limitation on the number of times the captcha
image is available for manual unlocking? Is our application expected
to cache the captcha image bytes or should the above captcha URL work?
Assuming that we cache this captcha image and allow the user to re-
enter his captcha text in a subsequent session, will his request
succeed? This seems like a lot of overkill for application developers
and a significant degradation of the end user experience.

Please let us know how this should be handled.

Thanks

On Mar 19, 12:21 pm, AdWords API Advisor
 wrote:
> Hi,
>
> I followed up with our authentication team, and they said that if you
> wait for about 10 minutes theCAPTCHAchallenges should be resolved on
> their own.  Let us know if you have any problems.
>
> Best,
> - Eric Koleda, AdWords API Team
>
> On Mar 18, 5:36 pm, SEM  wrote:
>
> > Eric:
>
> > We aren't assuming that 403/CAPTCHAerrors will resolve themselves
> > automatically.
> > Also, we understand that 403/CAPTCHAerrors could occur for a variety
> > of reasons.
>
> > Our situation is as follows:
> > We rolled out a production update to v200909 without ClientLogin /
> > authtoken caching resulting in a lot of 403/CAPTCHAlocks for our
> > customer base of several hundred customers (due to excessive logins).
> > We would prefer not to subject our customers to this inconvenience due
> > to this architectural change in authentication and unlock their
> > accounts on their behalf.
> > That said, if these specific 403/CAPTCHAerrors unlock themselves
> > after a period of a few hours (by which time our caching code goes
> > in), we can hold off on unlocking these errors manually.
> > Could you let us know what the duration is for theseCAPTCHAerrors
> > (for this specific reason - i.e. due to throttling restrictions) to
> > unlock automatically (if at all)?
>
> > Thanks.

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
"REMOVE ME" as the subject.


AdWords API Re: ManualCPCAdGroupBids (3 types?)

2010-03-23 Thread Peer Jakobsen (AdWords API Guru)
All 3 can potentially be set.

keywordMaxCpc = default bid on your keywords
keywordContentMaxCpc = bid in content match
siteMaxCpc = default bid on your placements

Cheers

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
"REMOVE ME" as the subject.


AdWords API ManualCPCAdGroupBids (3 types?)

2010-03-23 Thread BeeGeez
I want to get the maxCpc from the ManualCPCAdGroupBids object in
AdGroup.bids but there's 3 different ones:
keywordMaxCpc
keywordContentMaxCpc
siteMaxCpc

I want to use the correct one.  Will only one of these be greater than
0?  Or is there a potential for 2 or 3 of these to have values greater
than 0?

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
"REMOVE ME" as the subject.


AdWords API Re: Cannot Pause Keyword

2010-03-23 Thread Chris
Does this code actually update the Keyword Max CPC and Status for a
keyword? Or does it create a new keyword that overwrites the old one,
and therefore losing all data associated with it?

Chris

On Feb 12, 2:40 pm, Joe_Rocket  wrote:
> OK, I got it.  Code is almost correct.  Just needed PAUSED and Not
> PAUSE
>
> On Feb 12, 10:51 am, Joe_Rocket  wrote:
>
>
>
> > I have anupdatefunction that updatesKeywordMax CPC and Status.
> > The Max CPC updates fine.  But theKeywordStatus does not change.
> > Can you see anything wrong with this code?  Thanks in advance.
>
> >         /**
> >          *
> >          * @param int $belongsToAdGroupId
> >          * @param int $kwid
> >          * @param int $maxCPC
> >          * @param bool $pause
> >          * @return array
> >          */
> >         public function updateKeyword($belongsToAdGroupId, $kwid, $maxCPC,
> > $pause){
>
> >                 $result = null;
> >                 $adGroupCriteriaService = $this->adWordsUser-
>
> > >GetAdGroupCriterionService('v200909');
>
> >                 // Create ad group criterion.
> >                 $adGroupCriterion = new BiddableAdGroupCriterion();
> >                 $adGroupCriterion->adGroupId = (float)$belongsToAdGroupId;
> >                 $adGroupCriterion->criterion = new Criterion($kwid);
> >                 $adGroupCriterion->userStatus = ($pause) ? 'PAUSE' : 
> > 'ACTIVE';
>
> >                 // Create bids.
> >                 $bids = new ManualCPCAdGroupCriterionBids();
> >                 $bids->maxCpc = new Bid(new Money($maxCPC));
> >                 $adGroupCriterion->bids = $bids;
>
> >                 // Create operations.
> >                 $operation = new AdGroupCriterionOperation();
> >                 $operation->operand = $adGroupCriterion;
> >                 $operation->operator = 'SET';
>
> >                 $operations = array($operation);
>
> >                 try{
> >                         $keywords = 
> > $adGroupCriteriaService->mutate($operations);
> >                         $result = $this->packageResultsAsArray($keywords);
> >                 }catch (SoapFault $fault) {
> >                         //Extract error and place on fault stack
> >                         $this->checkFault($fault);
> >                 }
>
> >                 return $result;
> >         }

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
"REMOVE ME" as the subject.


AdWords API BulkMutateService - How to cancel or close a waiting job for more parts

2010-03-23 Thread shriny
Hi Guys,


We get the same error repeatedly when try to use BulkMutateService,


"JobError.TOO_MANY_JOBS_IN_QUEUE @ operation.operand"


But we don't have have more 2 or 3 jobs running, after some more
research we found that it could be due to some jobs waiting for
remaining parts.

We might have submitted a job with 4 parts but after submitting 3
parts the 4 th part might not have been submitted.

So this job seems to be waiting for ever in the queue, How to resolve
this  issue

Is there a way to cancel or remove or stop all jobs waiting
indefinitely.

Or how to resolve this issue?

-Shirny

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
"REMOVE ME" as the subject.


AdWords API Re: EntityNotFound.INVALID_ID

2010-03-23 Thread Morten Blinksbjerg Nielsen
On 18 Mar., 03:07, AdWords API Advisor 
wrote:
> Can you confirm that this ad group id is valid?

It's valid. The group was made with the same script, and I copied it
from adwords.google.com.

> Can you confirm that you are using the correct credentials?

I am. I can create groups, get lists and so on

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
"REMOVE ME" as the subject.


Re: AdWords API in PHP 5.3

2010-03-23 Thread aBsTrAcT
Anyone tried converting PHP Client Library to work with NuSOAP???
Or is there any hack to use PHP Client LIb with PHP 5.1.x?

Thanks
Hassan


On Feb 18, 10:21 am, Aleksander Cynarski 
wrote:
> [...]
>
> > Official lib work's with errors, you use oldNuSOAPwith eregi functions.
>
> > Eregi function is deprecated inphp5.3
>
> > I change some code innuSOAPand implement AdWords API - works fine, but
> > as i say - now its dirty (for me) implementation
>
> > I want use v13 not 200909 API they are different auth methods, and native
> >PHPsoapclienthave problems with auth headers.
>
> Ok, im stupid ;/
>
> I migrate my code to new v2009 API - works fine.
>
> what can i say RTFM :)
>
> Thx for help.
>
>         PretaSOFThttp://pretasoft.pl
> ul. Gruszczyñskiego 8/5 | 44-100 Gliwice

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
"REMOVE ME" as the subject.


AdWords API Re: Content Network Problem

2010-03-23 Thread Pete Lavetsky (AdWords API Guru)
NetworkCoverageType.CONTENT_CONTEXTUAL

Pete

On Mar 23, 1:18 pm, jakov34  wrote:
> Hi, i have a problem with network targets.
> Well, I want to target content network and in my system I'm setting
> the value for
> NetworkTarget: CONTENT_NETWORK
> but the result in Google's AdWords manager is:
> Content Network -> Relevant pages only on the placements I manage
>
> What should I do to get Content Network -> Relevant pages across the
> entire network?
>
> Best Regards
>
> Jakov

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
"REMOVE ME" as the subject.


AdWords API Re: Inconsistency in docs, or not understanding a selector

2010-03-23 Thread Joshua J. Kugler
On Tuesday 23 March 2010, Pete Lavetsky (AdWords API Guru) elucidated 
thus:
> I just create a new instance of a CampaignSelector and pass it in.
>
> public List getAllCampaigns() throws Exception {
> return get( new CampaignSelector() );
> }
>
> I don't know if you can approximate the same with PHP tho ...

Yeah, I tried that too, and it threw the same error.  Thanks for the 
tip, though.

j

>
> On Mar 23, 3:04 pm, "Joshua J. Kugler"  wrote:
> > The documentation for CampaignService.get() says:
> >
> > Parameters
> > selector CampaignSelector filter to run campaigns through. If
> > selector is empty, all campaigns are returned.
> >
> > But if I execute:
> > CampaignService.get()
> > or
> > CampaignService.get({})
> >
> > I get: Server raised fault: '[RequiredError.REQUIRED @ selector]'
> >
> > OK, so let's specify a selector. The docs for type CampaignSelector
> > say:
> >
> > ids: The list of possible campaigns to be selected. ***An empty
> > list indicates all account campaigns as possibly being selected.***
> > This field must contain distinct elements. This field must not
> > contain null elements.
> >
> > campaignStatuses: Only campaigns having these statuses are
> > selected. ***An empty list indicates all campaign statuses as being
> > selected.*** This field must contain distinct elements. This field
> > must not contain null elements.
> >
> > statsSelector: ***Indicates if stats should be returned; null will
> > not return stats.***
> >
> > paging: The starting index and number of results to return.
> >
> > So, with this selector:
> >
> > selector = {
> >     'ids': [],
> >     'campaignStatuses':[],
> >     'statsSelector': None,
> >     'paging':{
> >         'startIndex':0,
> >         'numberResults':9
> >         }
> >
> > }
> >
> > I still get: Server raised fault: '[RequiredError.REQUIRED @
> > selector]' Same error message if I leave out statsSelector
> > completely, or set it to {}
> >
> > What, exactly, is required?  It would be nice if the server fault
> > told me what was missing. :)
> >
> > Thanks!
> >
> > j
> >
> > --
> > Joshua Kugler
> > Part-Time System Admin/Programmerhttp://www.eeinternet.com
> > PGP Key:http://pgp.mit.edu/�ID 0x73B13B6A



-- 
Joshua Kugler
Part-Time System Admin/Programmer
http://www.eeinternet.com
PGP Key: http://pgp.mit.edu/  ID 0x73B13B6A

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
"REMOVE ME" as the subject.


Re: AdWords API Don't need to add clients to MCC in v2009

2010-03-23 Thread Peer Jakobsen (AdWords API Guru)
You have both options.

If the account is somehow linked in to your MCC then you authenticate
with the MCC login/password and pass the clientEmail or customerId in
the soap headers of the account you want to access.

If you use the login/password of the account to get your
authentication token, then you can access the account directly (no MCC
link needed). Don't set clientEmail or customerId in the soap headers
in that case.

Btw: something similar is possible in V13.

We prefer using MCCs as it saves you a bunch of quotas when running
MCC wide reports compared to running account specific reports. It also
avoids the hazzle of some user accidentially changing the account
login password.

Cheers

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
"REMOVE ME" as the subject.


AdWords API Re: Inconsistency in docs, or not understanding a selector

2010-03-23 Thread Pete Lavetsky (AdWords API Guru)
I just create a new instance of a CampaignSelector and pass it in.

public List getAllCampaigns() throws Exception {
return get( new CampaignSelector() );
}

I don't know if you can approximate the same with PHP tho ...

Pete

On Mar 23, 3:04 pm, "Joshua J. Kugler"  wrote:
> The documentation for CampaignService.get() says:
>
> Parameters
> selector CampaignSelector filter to run campaigns through. If selector
> is empty, all campaigns are returned.
>
> But if I execute:
> CampaignService.get()
> or
> CampaignService.get({})
>
> I get: Server raised fault: '[RequiredError.REQUIRED @ selector]'
>
> OK, so let's specify a selector. The docs for type CampaignSelector say:
>
> ids: The list of possible campaigns to be selected. ***An empty list
> indicates all account campaigns as possibly being selected.*** This
> field must contain distinct elements. This field must not contain null
> elements.
>
> campaignStatuses: Only campaigns having these statuses are selected.
> ***An empty list indicates all campaign statuses as being selected.***
> This field must contain distinct elements. This field must not contain
> null elements.
>
> statsSelector: ***Indicates if stats should be returned; null will not
> return stats.***
>
> paging: The starting index and number of results to return.
>
> So, with this selector:
>
> selector = {
>     'ids': [],
>     'campaignStatuses':[],
>     'statsSelector': None,
>     'paging':{
>         'startIndex':0,
>         'numberResults':9
>         }
>
> }
>
> I still get: Server raised fault: '[RequiredError.REQUIRED @ selector]'
> Same error message if I leave out statsSelector completely, or set it to
> {}
>
> What, exactly, is required?  It would be nice if the server fault told
> me what was missing. :)
>
> Thanks!
>
> j
>
> --
> Joshua Kugler
> Part-Time System Admin/Programmerhttp://www.eeinternet.com
> PGP Key:http://pgp.mit.edu/�ID 0x73B13B6A

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
"REMOVE ME" as the subject.


AdWords API Inconsistency in docs, or not understanding a selector

2010-03-23 Thread Joshua J. Kugler
The documentation for CampaignService.get() says:

Parameters
selector CampaignSelector filter to run campaigns through. If selector 
is empty, all campaigns are returned.

But if I execute:
CampaignService.get()
or
CampaignService.get({})

I get: Server raised fault: '[RequiredError.REQUIRED @ selector]'

OK, so let's specify a selector. The docs for type CampaignSelector say:

ids: The list of possible campaigns to be selected. ***An empty list 
indicates all account campaigns as possibly being selected.*** This 
field must contain distinct elements. This field must not contain null 
elements.

campaignStatuses: Only campaigns having these statuses are selected. 
***An empty list indicates all campaign statuses as being selected.*** 
This field must contain distinct elements. This field must not contain 
null elements.

statsSelector: ***Indicates if stats should be returned; null will not 
return stats.***

paging: The starting index and number of results to return.

So, with this selector:

selector = {
'ids': [],
'campaignStatuses':[],
'statsSelector': None,
'paging':{
'startIndex':0,
'numberResults':9
}
}

I still get: Server raised fault: '[RequiredError.REQUIRED @ selector]'
Same error message if I leave out statsSelector completely, or set it to 
{}

What, exactly, is required?  It would be nice if the server fault told 
me what was missing. :)

Thanks!

j

-- 
Joshua Kugler
Part-Time System Admin/Programmer
http://www.eeinternet.com
PGP Key: http://pgp.mit.edu/  ID 0x73B13B6A

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
"REMOVE ME" as the subject.


RE: AdWords API Don't need to add clients to MCC in v2009

2010-03-23 Thread Andy Doan
Can anyone help confirm this?  Appreciate it.

Andy Doan
iConvex, Inc.
Toll Free: (800) 360-2841 x20 
Direct Line: (714) 515-6620 
Email: a...@iconvex.com  
Find information about our services at  www.iconvex.com


-Original Message-
From: adwords-api@googlegroups.com [mailto:adwords-...@googlegroups.com] On
Behalf Of Andy Doan
Sent: Monday, March 22, 2010 2:24 AM
To: 'AdWords API Forum'
Subject: AdWords API Don't need to add clients to MCC in v2009

Since I switched to v2009 version, I no longer need to add clients to MCC. 
I need to login with client's username and password.
Please confirm?

Andy Doan
iConvex, Inc.
Toll Free: (800) 360-2841 x20 
Direct Line: (714) 515-6620 
Email: a...@iconvex.com  
Find information about our services at  www.iconvex.com



-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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

To unsubscribe from this group, send email to
adwords-api+unsubscribegooglegroups.com or reply to this email with the
words "REMOVE ME" as the subject.
No virus found in this incoming message.
Checked by AVG - www.avg.com 
Version: 9.0.791 / Virus Database: 271.1.1/2755 - Release Date: 03/21/10
12:33:00

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
"REMOVE ME" as the subject.


AdWords API Re: how can a get a TargetList using a Campaign? (v2009)

2010-03-23 Thread BeeGeez
Thanks.  Yeah...I saw that property when I couldn't find
setcampaignIds().

On Mar 23, 11:15 am, "Peer Jakobsen (AdWords API Guru)"
 wrote:
> I think setCampaignIds is some java way of setting properties. In .NET
> just do like this:
>
>                 CampaignTargetSelector campaignTargetSelector = new
> CampaignTargetSelector();
>                 campaignTargetSelector.campaignIds =
> idList.ToArray();

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
"REMOVE ME" as the subject.


AdWords API Re: how can a get a TargetList using a Campaign? (v2009)

2010-03-23 Thread Peer Jakobsen (AdWords API Guru)
I think setCampaignIds is some java way of setting properties. In .NET
just do like this:

CampaignTargetSelector campaignTargetSelector = new
CampaignTargetSelector();
campaignTargetSelector.campaignIds =
idList.ToArray();

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
"REMOVE ME" as the subject.


AdWords API Re: BillingException: Not agreed to latest AdWords terms and conditions

2010-03-23 Thread Peer Jakobsen (AdWords API Guru)
You have to login to this specific account and accept the terms and
conditions. If you login with a direct login, you should be presented
with a T&C screen right away.

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
"REMOVE ME" as the subject.


AdWords API Re: AdWords limits increaded by using the API?

2010-03-23 Thread Peer Jakobsen (AdWords API Guru)
The limits are the same using UI or API. You could ask your Google
Account representive to increase the limits.

Cheers

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
"REMOVE ME" as the subject.


AdWords API AdWords limits increaded by using the API?

2010-03-23 Thread Tadeu
We are hiting the limit of keywords here on my company, we were
wondering if by applying and using the API
the limits would be higher than the web/desktop editors?

Thanks,
Tadeu Maia

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
"REMOVE ME" as the subject.


AdWords API BillingException: Not agreed to latest AdWords terms and conditions

2010-03-23 Thread Alexander Furman
I'm using "Google Api Adowrds Dotnet" library and trying to generate/
download structure report for a few dozens of accounts. Here is the
code:

ReportService service =
(ReportService)user.GetService(AdWordsService.v13.ReportService);
DefinedReportJob reportJob = new v13.DefinedReportJob();
reportJob.name = "Export structure ads report (fixstatus=Completed)";
reportJob.selectedReportType = "Structure";
reportJob.aggregationTypes = new string[1] { "Creative" };
reportJob.selectedColumns = new String[] {
"AdGroupId", "DescriptionLine1", "DescriptionLine2",
"DescriptionLine3",
"CreativeId", "CreativeDestUrl", "CreativeType", "VisibleUrl",
"AdStatus"};
service.validateReportJob(reportJob);

This code had been working for a while until I linked new account
which crashes with BillingException: "Not agreed to latest AdWords
terms and conditions" in validateReportJob. For more than 20 other
accounts this code still works correctly. So what should I do to get
rid of this exception?

Thanks
Alexander

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
"REMOVE ME" as the subject.


AdWords API Re: how can a get a TargetList using a Campaign? (v2009)

2010-03-23 Thread BeeGeez
Yes, I got the latest .NET one.  It's not there.

On Mar 23, 10:35 am, AdWords API Advisor
 wrote:
> Hi,
>
> The link I provided above was to the client library.  Have you tried
> upgrading to the latest version?
>
> Best,
> - Eric
>
> On Mar 23, 12:13 pm, BeeGeez  wrote:
>
>
>
> > Sounds like an issue with the client library then.  The
> > CampaignTargetSelector class in the library doesn't have that
> > function.
>
> > On Mar 23, 9:09 am, AdWords API Advisor 
> > wrote:
>
> > > Hi,
>
> > > That method exists on the CampaignTargetSelector:
>
> > >  http://code.google.com/p/google-api-adwords-java/source/browse/trunk/...
>
> > > Best,
> > > - Eric Koleda, AdWords API Team
>
> > > On Mar 23, 11:53 am, BeeGeez  wrote:
>
> > > > Unfortunately, I get this error:
> > > > 'setCampaignIds' is not a member of
> > > > 'com.google.api.adwords.v200909.CampaignTargetSelector'
>
> > > > On Mar 23, 8:46 am, BeeGeez  wrote:
>
> > > > > Thanks!  :)
>
> > > > > On Mar 23, 5:25 am, "Pete Lavetsky (AdWords API Guru)"
>
> > > > >  wrote:
> > > > > > CampaignTargetSelector selector = new CampaignTargetSelector();
> > > > > > selector.setCampaignIds( new long[] { campaignId } );
>
> > > > > > Pete
>
> > > > > > On Mar 22, 12:33 pm, BeeGeez  wrote:
>
> > > > > > > I don't want to have to loop through every single TargetList to 
> > > > > > > check
> > > > > > > if the campaign id matches (GetAllCampaignTarget.cs shows an 
> > > > > > > example
> > > > > > > of this).  Are there any helper function in either v2009 or the 
> > > > > > > client
> > > > > > > libraries that will return the TargetList associated with a given
> > > > > > > campaign?- Hide quoted text -
>
> > > > > > - Show quoted text -- Hide quoted text -
>
> > > > > - Show quoted text -- Hide quoted text -
>
> > > - Show quoted text -- Hide quoted text -
>
> - Show quoted text -

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
"REMOVE ME" as the subject.


AdWords API Re: how can a get a TargetList using a Campaign? (v2009)

2010-03-23 Thread AdWords API Advisor
Hi,

The link I provided above was to the client library.  Have you tried
upgrading to the latest version?

Best,
- Eric

On Mar 23, 12:13 pm, BeeGeez  wrote:
> Sounds like an issue with the client library then.  The
> CampaignTargetSelector class in the library doesn't have that
> function.
>
> On Mar 23, 9:09 am, AdWords API Advisor 
> wrote:
>
>
>
> > Hi,
>
> > That method exists on the CampaignTargetSelector:
>
> >  http://code.google.com/p/google-api-adwords-java/source/browse/trunk/...
>
> > Best,
> > - Eric Koleda, AdWords API Team
>
> > On Mar 23, 11:53 am, BeeGeez  wrote:
>
> > > Unfortunately, I get this error:
> > > 'setCampaignIds' is not a member of
> > > 'com.google.api.adwords.v200909.CampaignTargetSelector'
>
> > > On Mar 23, 8:46 am, BeeGeez  wrote:
>
> > > > Thanks!  :)
>
> > > > On Mar 23, 5:25 am, "Pete Lavetsky (AdWords API Guru)"
>
> > > >  wrote:
> > > > > CampaignTargetSelector selector = new CampaignTargetSelector();
> > > > > selector.setCampaignIds( new long[] { campaignId } );
>
> > > > > Pete
>
> > > > > On Mar 22, 12:33 pm, BeeGeez  wrote:
>
> > > > > > I don't want to have to loop through every single TargetList to 
> > > > > > check
> > > > > > if the campaign id matches (GetAllCampaignTarget.cs shows an example
> > > > > > of this).  Are there any helper function in either v2009 or the 
> > > > > > client
> > > > > > libraries that will return the TargetList associated with a given
> > > > > > campaign?- Hide quoted text -
>
> > > > > - Show quoted text -- Hide quoted text -
>
> > > > - Show quoted text -- Hide quoted text -
>
> > - Show quoted text -

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
"REMOVE ME" as the subject.


AdWords API Re: ImageError.INVALID_IMAGE while publishing .SWF

2010-03-23 Thread AdWords API Advisor
Hi,

I talked to the core engineering team, and they said only SWF files
are not allowed for ImageAds in the sandbox.  All other supported
image formats are allowed in the Sandbox.

Best,
- Eric

On Mar 23, 10:50 am, AdWords API Advisor
 wrote:
> Hi,
>
> Let me look into this and I'll update the thread when I have more
> information.
>
> Best,
> - Eric
>
> On Mar 19, 3:39 pm, spongman  wrote:
>
>
>
> > yes, it works against production. but we don't want to develop/test
> > against production. is there any documentation anywhere that lists the
> > differences between the sandbox and production environments? can you
> > explain why the sandbox doesn't allow uploading SWFs?
>
> > On Mar 19, 11:41 am, AdWords API Advisor
>
> >  wrote:
> > > Hi,
>
> > > Certain image ad formats aren't accepted in the sandbox, and I believe
> > > flash is one of them.  Have you tried using this same code against a
> > > production account?
>
> > > Best,
> > > - Eric Koleda, AdWords API Team
>
> > > On Mar 18, 6:07 pm, spongman  wrote:
>
> > > > I'm trying to publish a SWF to sandbox, but I'm getting an
> > > > ImageError.INVALID_IMAGE error. what am I doing wrong?
>
> > > > here's my request:
>
> > > > 
> > > > http://schemas.xmlsoap.org/soap/envelope/";
> > > > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
> > > > xmlns:xsd="http://www.w3.org/2001/XMLSchema";>
> > > >         
> > > >                  > > > xmlns="https://adwords.google.com/api/adwords/cm/
> > > > v200909">
> > > >                         {my token{
> > > >                         client_1+{my email}
> > > >                         {my email}++USD
> > > >                         AWAPI DotNetLib 7.1 - {my 
> > > > company}
> > > >                 
> > > >         
> > > >         
> > > >                  > > > xmlns="https://adwords.google.com/api/adwords/cm/v200909";>
> > > >                         
> > > >                                 ADD
> > > >                                 
> > > >                                         
> > > > 3121619235
> > > >                                         
> > > >                                                 {click URL}
> > > >                                                 {click 
> > > > URL}
> > > >                                                 
> > > >                                                         
> > > > FLASH
> > > >                                                         {base-64 
> > > > encoded SWF}
> > > >                                                 
> > > >                                                 
> > > > New_Campaign_300x250_0
> > > >                                         
> > > >                                 
> > > >                         
> > > >                 
> > > >         
> > > > 
>
> > > > and here's the response:
>
> > > > http://schemas.xmlsoap.org/soap/envelope/";>
> > > >         
> > > >                  > > > xmlns="https://adwords.google.com/api/adwords/cm/
> > > > v200909">
> > > >                         
> > > > e038a885b90ce2a4b607d3dbb86c5df2
> > > >                         1
> > > >                         322
> > > >                         40
> > > >                 
> > > >         
> > > >         
> > > >                 
> > > >                         soap:Server
> > > >                         [ImageError.INVALID_IMAGE @
> > > > operations[0].operand.ad.image.data]
> > > >                         
> > > >                                  > > > xmlns="https://adwords.google.com/api/adwords/
> > > > cm/v200909">
> > > >                                         
> > > > [ImageError.INVALID_IMAGE @
> > > > operations[0].operand.ad.image.data]
> > > >                                         
> > > > ApiException > > > ApplicationException.Type>
> > > >                                          > > > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
> > > > xsi:type="ImageError">
> > > >                                                 
> > > > operations[0].operand.ad.image.data
> > > >                                                 
> > > >                                                 
> > > > ImageError
> > > >                                                 
> > > > INVALID_IMAGE
> > > >                                         
> > > >                                 
> > > >                         
> > > >                 
> > > >         
> > > > 

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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 a

Re: AdWords API Re: Lots of server faults while processing clients

2010-03-23 Thread Joshua J. Kugler
Pete -

Thanks for the quick response. I realize now that I don't want to be 
passing in the customer ID like that...I was staring at the problem too 
long last night, and parts of the docs just went right past me.

Thanks again!

j

On Tuesday 23 March 2010, Pete Lavetsky (AdWords API Guru) elucidated 
thus:
> You don't want to be setting the customerId in your
> CampaignSelector ...
>
> You want the procedure to be something similar to:
>
> Get client email + customerId
> Create AdWordsUser with the AuthToken and customer credentials
> ( including your appToken and username pass and other info )
> Get the CampaignService for that AdWordsUser:
> adWordsUser.getService( AdWordsService.V200909.CAMPAIGN_SERVICE ) )
> Get all campaigns for the user with an empty selector:
> campaignService.get( new CampaignSelector() );
>
> http://code.google.com/p/google-api-adwords-java/source/browse/trunk/
>examples/v200909/GetAllCampaigns.java
>
> Pete
>
> On Mar 22, 9:27 pm, "Joshua J. Kugler"  wrote:
> > I am doing an operation like this via the SOAP API.
> >
> > Get a list of client e-mails.
> > Get the client account (for their ID)
> > CampaignService.get() with the following selector:
> >
> > selector = {
> >             'ids': [client.customerId],
> >             'statsSelector': {}
> >
> > }
> >
> > Most of my calls to CampaignService.get() are returning:
> >
> > InternalApiError.UNEXPECTED_INTERNAL_API_ERROR
> >
> > Is there any way to debug this?  Some (very few) of my get()
> > queries succeed, but most of them return the given error.  I would
> > suspect I'm passing malformed parameters, but since some of the
> > queries work, I must be passing in OK parameters.
> >
> > Anyone know what is going on?
> >
> > j
> >
> > --
> > Joshua Kugler
> > Part-Time System Admin/Programmerhttp://www.eeinternet.com
> > PGP Key:http://pgp.mit.edu/ID 0x73B13B6A



-- 
Joshua Kugler
Part-Time System Admin/Programmer
http://www.eeinternet.com
PGP Key: http://pgp.mit.edu/  ID 0x73B13B6A

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
"REMOVE ME" as the subject.


AdWords API Re: Top performing keywords

2010-03-23 Thread AdWords API Advisor
Hi,

Unfortunately it is not possible to specify sorting options in your
request, and all sorting must be done client side.

Best,
- Eric Koleda, AdWords API Team

On Mar 22, 7:01 pm, section31  wrote:
> What's the most efficient way to fetch the top performing keywords for
> a particular campaign.
>
> I tried the method below but I could figure out how to sort so instead
> I have to fetch everything and sort myself.
>
> http://groups.google.com/group/adwords-api/browse_thread/thread/99ee6...

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
"REMOVE ME" as the subject.


AdWords API Re: Report service returning wrong results for March 12, 2010?

2010-03-23 Thread AdWords API Advisor
Hi Volker,

Can you post the SOAP XML request you are using to schedule your
report?  Perhaps there are some clues in there about why the report is
returning different data.

Best,
- Eric

On Mar 22, 6:37 pm, Volker Kueffel  wrote:
> Hi,
>
> I sent an email to the address you suggested and only got an auto-
> reply saying I can't send questions to that account. The email also
> suggests using the Contact Us link in Adwords, which unfortunately
> leads to very specific forms that do not apply in our case.
>
> Since the API reports different numbers than the Client Center I still
> believe it's an API issue, which is getting worse BTW. Interestingly
> those rows come in 4+ days after the date they are reported for...
> They are never reported earlier while the vast majority of report rows
> comes in the following day...
>
> Any other ideas?
>
> Thanks,
> Volker

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
"REMOVE ME" as the subject.


AdWords API Re: update a list of Campaigns (v2009)

2010-03-23 Thread Pete Lavetsky (AdWords API Guru)
You should only have to write the 4 service operations once in some
sort of Helper class ... its really not that much code at all

Pete

On Mar 23, 1:05 pm, BeeGeez  wrote:
> I see what you're saying.  Unfortunately, I'll have to do this for
> each type (Campaign, AdGroup, Criterion, Ad).  I wish there was a
> better way to fill up an operation array.  I'll be duplicating code
> everywhere.  I wish I could pass in an object and a type and pull out
> the entire array when I'm calling mutate.
>
> On Mar 23, 9:57 am, "Pete Lavetsky (AdWords API Guru)"
>
>  wrote:
> > CampaignService takes an array of CampaignOperation's for mutation.
>
> > You iterate over your campaigns, create a new CampaignOperation for
> > each one, add each CampaignOperation to the CampaignOperation array.
> > This one array of CampaignOperation's gets passed to mutate.  In a
> > single call all campaigns are operated on.
>
> > Pete
>
> > On Mar 23, 12:47 pm, BeeGeez  wrote:
>
> > > Yes, but you've shown that I can only store a single Campaign with
> > > each CampaignOperation, What I need to do is loop through the entire
> > > CampaignSelector to change the status (pausing some and unpausing
> > > others) of each Campaign then update these.  However, I will end up
> > > creating a new operation each time and end up update only a single
> > > Campaign.  Can the operation operand be a list of Campaign instead of
> > > just one?
>
> > > On Mar 23, 9:28 am, "Pete Lavetsky (AdWords API Guru)"
>
> > >  wrote:
> > > > CampaignOperation operation = new CampaignOperation();
> > > > operation.setOperand(campaign);
> > > > operation.setOperator(Operator.SET);
>
> > > > CampaignOperation[] operations = new CampaignOperation[] {operation};
>
> > > > As I'm sure you can see, CampaignOperation[] is an array that may take
> > > > multiple operations ... therefore you can iterate over your campaigns,
> > > > creating an operation for each one, and then making one call to the
> > > > campaign service.
>
> > > > Pete
>
> > > > On Mar 23, 12:07 pm, BeeGeez  wrote:
>
> > > > > This example only updates a single campaign.  I need to update a list
> > > > > of campaigns.  Is there a different example?  I don't want to have to
> > > > > resort to updating one campaign at a time as shown in the example you
> > > > > have provided...this will really slow things down since I used to be
> > > > > able to pause/unpause a large group of campaigns with a single API
> > > > > call.
>
> > > > > On Mar 23, 5:36 am, "Pete Lavetsky (AdWords API Guru)"
>
> > > > >  wrote:
> > > > > >http://code.google.com/p/google-api-adwords-java/source/browse/trunk/...
>
> > > > > > Pete
>
> > > > > > On Mar 22, 9:29 pm, BeeGeez  wrote:
>
> > > > > > > I have array of campaign IDs to pause/activate.
>
> > > > > > > Is there a method to get and update a list of Campaigns like in 
> > > > > > > v13:
> > > > > > > getCampaignList
> > > > > > > updateCampaignList
>
> > > > > > > If not, what's the best way to achieve this (I don't see an 
> > > > > > > example in
> > > > > > > the client library).  For example, is their a way to filter the
> > > > > > > CampaignSelecter by list of campaignId?- Hide quoted text -
>
> > > > > > - Show quoted text -- Hide quoted text -
>
> > > > - Show quoted text -- Hide quoted text -
>
> > - Show quoted text -

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
"REMOVE ME" as the subject.


AdWords API Content Network Problem

2010-03-23 Thread jakov34
Hi, i have a problem with network targets.
Well, I want to target content network and in my system I'm setting
the value for
NetworkTarget: CONTENT_NETWORK
but the result in Google's AdWords manager is:
Content Network -> Relevant pages only on the placements I manage

What should I do to get Content Network -> Relevant pages across the
entire network?

Best Regards

Jakov

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
"REMOVE ME" as the subject.


AdWords API Re: update a list of Campaigns (v2009)

2010-03-23 Thread BeeGeez
I see what you're saying.  Unfortunately, I'll have to do this for
each type (Campaign, AdGroup, Criterion, Ad).  I wish there was a
better way to fill up an operation array.  I'll be duplicating code
everywhere.  I wish I could pass in an object and a type and pull out
the entire array when I'm calling mutate.

On Mar 23, 9:57 am, "Pete Lavetsky (AdWords API Guru)"
 wrote:
> CampaignService takes an array of CampaignOperation's for mutation.
>
> You iterate over your campaigns, create a new CampaignOperation for
> each one, add each CampaignOperation to the CampaignOperation array.
> This one array of CampaignOperation's gets passed to mutate.  In a
> single call all campaigns are operated on.
>
> Pete
>
> On Mar 23, 12:47 pm, BeeGeez  wrote:
>
>
>
> > Yes, but you've shown that I can only store a single Campaign with
> > each CampaignOperation, What I need to do is loop through the entire
> > CampaignSelector to change the status (pausing some and unpausing
> > others) of each Campaign then update these.  However, I will end up
> > creating a new operation each time and end up update only a single
> > Campaign.  Can the operation operand be a list of Campaign instead of
> > just one?
>
> > On Mar 23, 9:28 am, "Pete Lavetsky (AdWords API Guru)"
>
> >  wrote:
> > > CampaignOperation operation = new CampaignOperation();
> > > operation.setOperand(campaign);
> > > operation.setOperator(Operator.SET);
>
> > > CampaignOperation[] operations = new CampaignOperation[] {operation};
>
> > > As I'm sure you can see, CampaignOperation[] is an array that may take
> > > multiple operations ... therefore you can iterate over your campaigns,
> > > creating an operation for each one, and then making one call to the
> > > campaign service.
>
> > > Pete
>
> > > On Mar 23, 12:07 pm, BeeGeez  wrote:
>
> > > > This example only updates a single campaign.  I need to update a list
> > > > of campaigns.  Is there a different example?  I don't want to have to
> > > > resort to updating one campaign at a time as shown in the example you
> > > > have provided...this will really slow things down since I used to be
> > > > able to pause/unpause a large group of campaigns with a single API
> > > > call.
>
> > > > On Mar 23, 5:36 am, "Pete Lavetsky (AdWords API Guru)"
>
> > > >  wrote:
> > > > >http://code.google.com/p/google-api-adwords-java/source/browse/trunk/...
>
> > > > > Pete
>
> > > > > On Mar 22, 9:29 pm, BeeGeez  wrote:
>
> > > > > > I have array of campaign IDs to pause/activate.
>
> > > > > > Is there a method to get and update a list of Campaigns like in v13:
> > > > > > getCampaignList
> > > > > > updateCampaignList
>
> > > > > > If not, what's the best way to achieve this (I don't see an example 
> > > > > > in
> > > > > > the client library).  For example, is their a way to filter the
> > > > > > CampaignSelecter by list of campaignId?- Hide quoted text -
>
> > > > > - Show quoted text -- Hide quoted text -
>
> > > - Show quoted text -- Hide quoted text -
>
> - Show quoted text -

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
"REMOVE ME" as the subject.


AdWords API Re: Alert: 30 days before major v13 sunset

2010-03-23 Thread leetee
What happens with the other services that haven't been upgraded yet?
My application uses the Report Service, but this hasn't been developed
in v2009.  Does this mean I don't need to do anything until this is
ready?

thanks

On Mar 23, 4:34 pm, AdWords API Advisor 
wrote:
> http://adwordsapi.blogspot.com/2010/03/alert-30-days-before-major-v13...
>
> Attention AdWords API developers: you now have just 30 days to migrate
> your application to the new AdWords API.
>
> – Jason Shafton, Product Marketing Manager

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
"REMOVE ME" as the subject.


AdWords API Re: Partially successful results

2010-03-23 Thread Pete Lavetsky (AdWords API Guru)
Thanks quaylar.

On Mar 23, 12:46 pm, quaylar  wrote:
> The only info in found was this:
>
> http://groups.google.com/group/adwords-api/browse_thread/thread/66e0a...
>
> Seems to answer the question, but it would have been nice if this had
> been pointed out somewhere in the API-docs..
>
> On 23 Mrz., 13:40, "Pete Lavetsky (AdWords API Guru)"
>
>  wrote:
> > Interested in this as well ... from what I've experienced so far, any
> > time a service experiences an error it throws it and does not complete
> > any mutation ... maybe a parameter needs to be passed in to the mutate
> > operation?
>
> > Would like to be pointed to some more documentation on this topic if
> > possible
>
> > Pete
>
> > On Mar 23, 5:25 am, quaylar  wrote:
>
> > > Hi all!
>
> > > I just read this in the migration-guide for 2009:
>
> > > "mutate performs addition, modification and deletion on the items, via
> > > the operator property and the list of operands. It can return a
> > > partially successful result set, so make sure your code can handle a
> > > return list with both successful and failed items."
>
> > > Does this mean, that _every_ mutate operation of every service will
> > > process all operations it is able to, and fail on the ones it is not?
> > > How do i recognize which ones failed? If i add campaigns, the
> > > resultset contains all the added campaigns, am i supposed to check
> > > which ones are missing in the returned result-set?
>
> > > Or are mutate-jobs atomic operations - all successful or all fail?
> > > Would be glad if anybody could shed some light on this...
>
> > > cheers,
>
> > > --qu

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
"REMOVE ME" as the subject.


AdWords API Re: Enhanced XML validation enabled in the sandbox

2010-03-23 Thread OneTime
I see you've released API 2.0.1.  Can I assume the "enhanced form of
XML validation" is now in the production environment?




On Mar 11, 7:13 am, AdWords API Advisor 
wrote:
> Hi All,
>
> Yesterday we enabled an enhanced form of XML validation on the AdWords
> API sandbox that returns more detailed error messages for incorrectly
> formatted SOAP XML requests.  This new validation mechanism is more
> strict and enforces rules that were previously ignored.  Most SOAP
> libraries already conform to these rules, but requests that are
> constructed manually may now return validation errors.  Some key
> changes in the validation logic are:
>
> * The fields of an object must be in the correct order.  The order of
> the fields is defined in the WSDL and reflected in our developer
> documentation.
>
> * The namespaces used in the request body must be declared on the
> method element (get, mutate, etc).  If all of the namespace prefixes
> are declared on the SOAP envelope element you must ensure they are re-
> defined on the method element.
>
> For right now this will only be enabled in the sandbox to give you
> time test your code against this new type of validation.  If you have
> any questions or issues please let us know.
>
> Best,
> - Eric Koleda, AdWords API Team

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
"REMOVE ME" as the subject.


AdWords API Re: update a list of Campaigns (v2009)

2010-03-23 Thread Pete Lavetsky (AdWords API Guru)
CampaignService takes an array of CampaignOperation's for mutation.

You iterate over your campaigns, create a new CampaignOperation for
each one, add each CampaignOperation to the CampaignOperation array.
This one array of CampaignOperation's gets passed to mutate.  In a
single call all campaigns are operated on.

Pete

On Mar 23, 12:47 pm, BeeGeez  wrote:
> Yes, but you've shown that I can only store a single Campaign with
> each CampaignOperation, What I need to do is loop through the entire
> CampaignSelector to change the status (pausing some and unpausing
> others) of each Campaign then update these.  However, I will end up
> creating a new operation each time and end up update only a single
> Campaign.  Can the operation operand be a list of Campaign instead of
> just one?
>
> On Mar 23, 9:28 am, "Pete Lavetsky (AdWords API Guru)"
>
>  wrote:
> > CampaignOperation operation = new CampaignOperation();
> > operation.setOperand(campaign);
> > operation.setOperator(Operator.SET);
>
> > CampaignOperation[] operations = new CampaignOperation[] {operation};
>
> > As I'm sure you can see, CampaignOperation[] is an array that may take
> > multiple operations ... therefore you can iterate over your campaigns,
> > creating an operation for each one, and then making one call to the
> > campaign service.
>
> > Pete
>
> > On Mar 23, 12:07 pm, BeeGeez  wrote:
>
> > > This example only updates a single campaign.  I need to update a list
> > > of campaigns.  Is there a different example?  I don't want to have to
> > > resort to updating one campaign at a time as shown in the example you
> > > have provided...this will really slow things down since I used to be
> > > able to pause/unpause a large group of campaigns with a single API
> > > call.
>
> > > On Mar 23, 5:36 am, "Pete Lavetsky (AdWords API Guru)"
>
> > >  wrote:
> > > >http://code.google.com/p/google-api-adwords-java/source/browse/trunk/...
>
> > > > Pete
>
> > > > On Mar 22, 9:29 pm, BeeGeez  wrote:
>
> > > > > I have array of campaign IDs to pause/activate.
>
> > > > > Is there a method to get and update a list of Campaigns like in v13:
> > > > > getCampaignList
> > > > > updateCampaignList
>
> > > > > If not, what's the best way to achieve this (I don't see an example in
> > > > > the client library).  For example, is their a way to filter the
> > > > > CampaignSelecter by list of campaignId?- Hide quoted text -
>
> > > > - Show quoted text -- Hide quoted text -
>
> > - Show quoted text -

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
"REMOVE ME" as the subject.


AdWords API Re: update a list of Campaigns (v2009)

2010-03-23 Thread BeeGeez
Yes, but you've shown that I can only store a single Campaign with
each CampaignOperation, What I need to do is loop through the entire
CampaignSelector to change the status (pausing some and unpausing
others) of each Campaign then update these.  However, I will end up
creating a new operation each time and end up update only a single
Campaign.  Can the operation operand be a list of Campaign instead of
just one?

On Mar 23, 9:28 am, "Pete Lavetsky (AdWords API Guru)"
 wrote:
> CampaignOperation operation = new CampaignOperation();
> operation.setOperand(campaign);
> operation.setOperator(Operator.SET);
>
> CampaignOperation[] operations = new CampaignOperation[] {operation};
>
> As I'm sure you can see, CampaignOperation[] is an array that may take
> multiple operations ... therefore you can iterate over your campaigns,
> creating an operation for each one, and then making one call to the
> campaign service.
>
> Pete
>
> On Mar 23, 12:07 pm, BeeGeez  wrote:
>
>
>
> > This example only updates a single campaign.  I need to update a list
> > of campaigns.  Is there a different example?  I don't want to have to
> > resort to updating one campaign at a time as shown in the example you
> > have provided...this will really slow things down since I used to be
> > able to pause/unpause a large group of campaigns with a single API
> > call.
>
> > On Mar 23, 5:36 am, "Pete Lavetsky (AdWords API Guru)"
>
> >  wrote:
> > >http://code.google.com/p/google-api-adwords-java/source/browse/trunk/...
>
> > > Pete
>
> > > On Mar 22, 9:29 pm, BeeGeez  wrote:
>
> > > > I have array of campaign IDs to pause/activate.
>
> > > > Is there a method to get and update a list of Campaigns like in v13:
> > > > getCampaignList
> > > > updateCampaignList
>
> > > > If not, what's the best way to achieve this (I don't see an example in
> > > > the client library).  For example, is their a way to filter the
> > > > CampaignSelecter by list of campaignId?- Hide quoted text -
>
> > > - Show quoted text -- Hide quoted text -
>
> - Show quoted text -

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
"REMOVE ME" as the subject.


AdWords API Re: Partially successful results

2010-03-23 Thread quaylar
The only info in found was this:

http://groups.google.com/group/adwords-api/browse_thread/thread/66e0a761712d97e4/a41071329a281cb1?lnk=gst&q=mutate+partial#a41071329a281cb1

Seems to answer the question, but it would have been nice if this had
been pointed out somewhere in the API-docs..

On 23 Mrz., 13:40, "Pete Lavetsky (AdWords API Guru)"
 wrote:
> Interested in this as well ... from what I've experienced so far, any
> time a service experiences an error it throws it and does not complete
> any mutation ... maybe a parameter needs to be passed in to the mutate
> operation?
>
> Would like to be pointed to some more documentation on this topic if
> possible
>
> Pete
>
> On Mar 23, 5:25 am, quaylar  wrote:
>
> > Hi all!
>
> > I just read this in the migration-guide for 2009:
>
> > "mutate performs addition, modification and deletion on the items, via
> > the operator property and the list of operands. It can return a
> > partially successful result set, so make sure your code can handle a
> > return list with both successful and failed items."
>
> > Does this mean, that _every_ mutate operation of every service will
> > process all operations it is able to, and fail on the ones it is not?
> > How do i recognize which ones failed? If i add campaigns, the
> > resultset contains all the added campaigns, am i supposed to check
> > which ones are missing in the returned result-set?
>
> > Or are mutate-jobs atomic operations - all successful or all fail?
> > Would be glad if anybody could shed some light on this...
>
> > cheers,
>
> > --qu

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
"REMOVE ME" as the subject.


Re: AdWords API Re: Got this error "Separate content keyword bids is only applicable in campaigns with keyword cpc bids."

2010-03-23 Thread AdWords API Advisor
Hi Harald,

Can you link to the original thread so I can get more background
information on this problem?  Do you have the SOAP XML from your
request that generates this error?

Best,
- Eric Koleda, AdWords API Team

On Mar 22, 2:41 pm, Harald Bartel  wrote:
> Hello,
>
> this bug seems not to be fixed.
> What shoud I do if I have this problem?
>
> best regards
> Harald
>
> On Mar 4, 1:44 pm, AdWords API Advisor 
> wrote:
>  > Hello Xavier,
>  >
>  >  This is a bug that the engineering team is going to have to resolve.
>  >
>  >  I'll update this thread with more information when I have it, but
>  > they are actively looking into the issue.
>  >
>  > Cheers,
>  > -Jeff Posnick, AdWords API Team
>
> --
> Harald Bartel
>
> Prozentor GmbH |http://www.prozentor.de
> Brunnenstr. 4  | 10119 Berlin | Germany
> fon:+49 30 284459-42  fax:+49 30 284459-59
>
> Amtsgericht: Berlin-Charlottenburg HRB 70501
> Gesch ftsf hrerin: Stephanie Richter

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
"REMOVE ME" as the subject.


Re: AdWords API Re: Got this error "Separate content keyword bids is only applicable in campaigns with keyword cpc bids."

2010-03-23 Thread AdWords API Advisor
Hi Harald,

Can you link to the original thread so I can get more background
information on this problem?  Do you have the SOAP XML from your
request that generates this error?

Best,
- Eric Koleda, AdWords API Team

On Mar 22, 2:41 pm, Harald Bartel  wrote:
> Hello,
>
> this bug seems not to be fixed.
> What shoud I do if I have this problem?
>
> best regards
> Harald
>
> On Mar 4, 1:44 pm, AdWords API Advisor 
> wrote:
>  > Hello Xavier,
>  >
>  >  This is a bug that the engineering team is going to have to resolve.
>  >
>  >  I'll update this thread with more information when I have it, but
>  > they are actively looking into the issue.
>  >
>  > Cheers,
>  > -Jeff Posnick, AdWords API Team
>
> --
> Harald Bartel
>
> Prozentor GmbH |http://www.prozentor.de
> Brunnenstr. 4  | 10119 Berlin | Germany
> fon:+49 30 284459-42  fax:+49 30 284459-59
>
> Amtsgericht: Berlin-Charlottenburg HRB 70501
> Gesch ftsf hrerin: Stephanie Richter

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
"REMOVE ME" as the subject.


AdWords API German Postcodes over Adwords API

2010-03-23 Thread Daniel G
Hi,

I want to use German Postcodes as GeoTargets for my Campaigns. This is
possible with the AdWords Frontend but not with the API - at least I
don't see a direct way of doing this.
Did anybody else ran into this problem and maybe found a solution?

Thanks a lot

Daniel

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
"REMOVE ME" as the subject.


AdWords API SOAP erreor using php NoClientLibrary

2010-03-23 Thread mick...@lengow.com
hi i followed the example here : 
http://code.google.com/p/google-api-adwords-php/wiki/NoClientLibrary

but it gives to me a SoapFault Object error : Unmarshalling Error:
UndeclaredPrefix: Cannot resolve 'ns1:ManualCPC' as a QName: the
prefix 'ns1' is not declared.

i have tried to use an array instead of a SoapVar but it doesnt work
too:

$campaign = array(
'name' => 'Interplanetary Cruise #',
'status' => 'PAUSED',
'biddingStrategy' => new SoapVar(NULL, NULL, 'ManualCPC',
$namespace),
'budget' => array(
'period' => 'DAILY',
'amount' => array('microAmount' => 5000),
'deliveryMethod' => 'STANDARD'));

$campaign = array(
'name' => 'Interplanetary Cruise #',
'status' => 'PAUSED',
'biddingStrategy' => array('type' =>'ManualCPC'),
'budget' => array(
'period' => 'DAILY',
'amount' => array('microAmount' => 5000),
'deliveryMethod' => 'STANDARD'));
i have alos tried whith 'biddingStrategy' => array('xsi:type'
=>'ManualCPC') but nothing works

can somebody helps me?

thanks

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
"REMOVE ME" as the subject.


AdWords API Alert: 30 days before major v13 sunset

2010-03-23 Thread AdWords API Advisor
http://adwordsapi.blogspot.com/2010/03/alert-30-days-before-major-v13-sunset.html

Attention AdWords API developers: you now have just 30 days to migrate
your application to the new AdWords API.

– Jason Shafton, Product Marketing Manager

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
"REMOVE ME" as the subject.


AdWords API Re: Question on URL Tagging

2010-03-23 Thread Pete Lavetsky (AdWords API Guru)
My mistake, you're correct ... we just create our own param and tack
on our distinct keywordId at time of destinationUrl creation ...

I feel like the params you're looking for exist in some documentation
somewhere, but I'm not sure where as we've been rolling our own for so
long.

Pete

On Mar 23, 11:55 am, SEM  wrote:
> Pete:
>
> In the above URL, {keyword} returns the original search term.
> Is there any way we can get the keyword ID (like you provide the
> creative ID via {creative}) or the keyword match type via a dynamic
> insertion?
> This would be extremely useful (and has probably been requested
> hundreds of times) for app developers.
>
> Thanks.

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
"REMOVE ME" as the subject.


AdWords API Re: update a list of Campaigns (v2009)

2010-03-23 Thread Pete Lavetsky (AdWords API Guru)
CampaignOperation operation = new CampaignOperation();
operation.setOperand(campaign);
operation.setOperator(Operator.SET);

CampaignOperation[] operations = new CampaignOperation[] {operation};

As I'm sure you can see, CampaignOperation[] is an array that may take
multiple operations ... therefore you can iterate over your campaigns,
creating an operation for each one, and then making one call to the
campaign service.

Pete


On Mar 23, 12:07 pm, BeeGeez  wrote:
> This example only updates a single campaign.  I need to update a list
> of campaigns.  Is there a different example?  I don't want to have to
> resort to updating one campaign at a time as shown in the example you
> have provided...this will really slow things down since I used to be
> able to pause/unpause a large group of campaigns with a single API
> call.
>
> On Mar 23, 5:36 am, "Pete Lavetsky (AdWords API Guru)"
>
>  wrote:
> >http://code.google.com/p/google-api-adwords-java/source/browse/trunk/...
>
> > Pete
>
> > On Mar 22, 9:29 pm, BeeGeez  wrote:
>
> > > I have array of campaign IDs to pause/activate.
>
> > > Is there a method to get and update a list of Campaigns like in v13:
> > > getCampaignList
> > > updateCampaignList
>
> > > If not, what's the best way to achieve this (I don't see an example in
> > > the client library).  For example, is their a way to filter the
> > > CampaignSelecter by list of campaignId?- Hide quoted text -
>
> > - Show quoted text -

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
"REMOVE ME" as the subject.


AdWords API Re: UNEXPECTED_INTERNAL_API_ERROR when trying to request campaign or adgroup with stats (sandbox)

2010-03-23 Thread AdWords API Advisor
Hi,

It looks like you are running into the same problem that is being
discussed on this thread:

  
http://groups.google.com/group/adwords-api/browse_thread/thread/3ce79c6c3ba70f6d/

Best,
- Eric Koleda, AdWords API Team

On Mar 22, 1:37 pm, Evgeniy Silenko  wrote:
> UNEXPECTED_INTERNAL_API_ERROR when trying to request campaign or
> adgroup with stats (sandbox)
> Without statsSelector in Request all work perfect.
>
> Request:
> 
> http://schemas.xmlsoap.org/soap/
> envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema";
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
>  
>   https://adwords.google.com/api/adwords/cm/
> v200909">
>    xxx
>    xxx
>    client_1+xxx
>    xxx++USD
>    Mozzila 3.0
>   
>  
>  
>    https://adwords.google.com/api/adwords/cm/v200909";>
>     
>      
>       
>         20100301
>         20100323
>       
>      
>    
>   
>  
> 
>
> Requests for AdGroup Criteria or AdGroup Ads with statsSelector is OK
>
> Response:
> http://schemas.xmlsoap.org/soap/envelope/";>
>  
>   
>    soap:Server
>    InternalApiError.UNEXPECTED_INTERNAL_API_ERROR @ faultstring>
>    
>     https://adwords.google.com/api/adwords/
> cm/v200909">
>      InternalApiError.UNEXPECTED_INTERNAL_API_ERROR @ message>
>      ApiException ApplicationException.Type>
>      http://www.w3.org/2001/XMLSchema-instance";
> xsi:type="InternalApiError">
>       
>       
>       InternalApiError
>       UNEXPECTED_INTERNAL_API_ERROR
>      
>     
>    
>   
>  
> 

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
"REMOVE ME" as the subject.


AdWords API Re: AdGroupCriterionSelector#setUserStatuses does not work.

2010-03-23 Thread AdWords API Advisor
Hi,

Unfortunately the ability to retrieve DISABLED ads will not be
available until the next version of the API.  Until then you can use
the v13 ReportService to obtain information about deleted ads:

  
http://code.google.com/apis/adwords/docs/developer/adwords_api_report_structure.html#aggr_Creative

Best,
- Eric

On Mar 22, 2:02 pm, sidd  wrote:
> Any progress on this issue?  We're approaching sunset of the v13 API,
> just wondering if this has been addressed yet.
>
> On Feb 18, 10:04 am, AdWords API Advisor
>
>
>
>  wrote:
> > Hi,
>
> > The issue list you pointed to is for the Java client library, and is
> > not meant to track generic API issues.  Unfortunately there is no
> > central place to get this information, and your best option is to ping
> > this thread and I can check on the progress.
>
> > Best,
> > - Eric
>
> > On Feb 18, 7:03 am, ryo  wrote:
>
> > > Hi Eric,
>
> > > When this issue is fixed, we want to know that infomation.
> > > How can we know that?
>
> > > The following issues 
> > > list?http://code.google.com/p/google-api-adwords-java/issues/list
>
> > > On 2月18日, 午前3:13, AdWords API Advisor 
> > > wrote:
>
> > > > Hi Almas,
>
> > > > This is a known issue, that the AdGroupAdService doesn't return
> > > >DISABLEDads.  Unfortunately I don't have a timeline for when a fix or
> > > > workaround will be made available.
>
> > > > Best,
> > > > - Eric
>
> > > > On Feb 16, 1:31 am, Almas Kanjiyani  wrote:
>
> > > > > Hi Eric,
>
> > > > > I had a question in mind. ForAdGroupAd'swhose status isDisabled, I
> > > > > am not able to retrieve it from Google with the get() API call.
>
> > > > > How can we get the AdGroupAds from Google whose Status="Disabled"?
>
> > > > > Thanks,
> > > > > Almas
>
> > > > > On Feb 9, 10:17 pm, AdWords API Advisor 
> > > > > wrote:
>
> > > > > > Hi,
>
> > > > > > Unfortunately this behavior hasn't been clearly documented yet, and 
> > > > > > I
> > > > > > apologize for any confusion.  AdGroupAds (Creatives) do not behave 
> > > > > > the
> > > > > > same, as even an ad with zero impressions will remain with the 
> > > > > > deleted
> > > > > > status.
>
> > > > > > Best,
> > > > > > - Eric
>
> > > > > > On Feb 9, 4:53 am, ryo  wrote:
>
> > > > > > > Oh, as you say, the keyword has never had an impression.
>
> > > > > > > Where this specification is published?
> > > > > > > I searched AdWords v2009 and google forum, however, I can't 
> > > > > > > find...
>
> > > > > > > And, the Creative is the same specification?
>
> > > > > > > On 2月9日, 午前1:29, AdWords API Advisor 
> > > > > > > 
> > > > > > > wrote:
>
> > > > > > > > Hi,
>
> > > > > > > > I just ran some tests and the selector appears to be working
> > > > > > > > correctly.  Please keep in mind that deleting a keyword can 
> > > > > > > > have two
> > > > > > > > different outcomes:
>
> > > > > > > > - If the keyword has never had an impression then it will be
> > > > > > > > completely removed from the ad group, and it will not be 
> > > > > > > > returned with
> > > > > > > > any get() requests.
> > > > > > > > - If the keyword has had some impressions then it will remain 
> > > > > > > > in the
> > > > > > > > ad group with the DELETED status.
>
> > > > > > > > It could be that your ad group just doesn't have any keywords 
> > > > > > > > in this
> > > > > > > > DELETED status.  You can verify this in the AdWords web 
> > > > > > > > interface.
>
> > > > > > > > Best,
> > > > > > > > - Eric Koleda, AdWords API Team
>
> > > > > > > > On Feb 8, 6:29 am, ryo  wrote:
>
> > > > > > > > > Hi.
>
> > > > > > > > > I use Java v200909.
>
> > > > > > > > > I have a question about
> > > > > > > > >AdGroupCriterionSelector#setUserStatuses(Userstatus[] 
> > > > > > > > >userStatuses).
> > > > > > > > > Userstatus.ACTIVE and Userstatus.PAUSED are well-functioning.
> > > > > > > > > However, Userstatus.DELETED is NOT well-functioning, I think.
> > > > > > > > > For example, the following code doesn't work.
>
> > > > > > > > > AdGroupCriterionServiceInterface adGroupCriterionService
> > > > > > > > >         =
> > > > > > > > > user.getService(AdWordsService.V200909.ADGROUP_CRITERION_SERVICE);
> > > > > > > > >AdGroupCriterionSelectorselector = 
> > > > > > > > >newAdGroupCriterionSelector();
> > > > > > > > > selector.setIdFilters(new AdGroupCriterionIdFilter[]{
> > > > > > > > >         new AdGroupCriterionIdFilter(12345L, 67890L, null)});
>
> > > > > > > > > selector.setCriterionUse(CriterionUse.BIDDABLE);
> > > > > > > > > selector.setUserStatuses(new 
> > > > > > > > > UserStatus[]{UserStatus.DELETED});
>
> > > > > > > > > adGroupCriterionService.get(selector).getEntries();
>
> > > > > > > > > A part of soap request is the following.
>
> > > > > > > > >     
> > > > > > > > >        > > > > > > > > xmlns="https://adwords.google.com/api/adwords/cm/v200909";>
> > > > > > > > >         
> > > > > > > > >           
> > > > > > > > >             12345
> > > > > > > > >             67890
> > > > > > > > >           
> > > > 

AdWords API Re: how can a get a TargetList using a Campaign? (v2009)

2010-03-23 Thread BeeGeez
Sounds like an issue with the client library then.  The
CampaignTargetSelector class in the library doesn't have that
function.

On Mar 23, 9:09 am, AdWords API Advisor 
wrote:
> Hi,
>
> That method exists on the CampaignTargetSelector:
>
>  http://code.google.com/p/google-api-adwords-java/source/browse/trunk/...
>
> Best,
> - Eric Koleda, AdWords API Team
>
> On Mar 23, 11:53 am, BeeGeez  wrote:
>
>
>
> > Unfortunately, I get this error:
> > 'setCampaignIds' is not a member of
> > 'com.google.api.adwords.v200909.CampaignTargetSelector'
>
> > On Mar 23, 8:46 am, BeeGeez  wrote:
>
> > > Thanks!  :)
>
> > > On Mar 23, 5:25 am, "Pete Lavetsky (AdWords API Guru)"
>
> > >  wrote:
> > > > CampaignTargetSelector selector = new CampaignTargetSelector();
> > > > selector.setCampaignIds( new long[] { campaignId } );
>
> > > > Pete
>
> > > > On Mar 22, 12:33 pm, BeeGeez  wrote:
>
> > > > > I don't want to have to loop through every single TargetList to check
> > > > > if the campaign id matches (GetAllCampaignTarget.cs shows an example
> > > > > of this).  Are there any helper function in either v2009 or the client
> > > > > libraries that will return the TargetList associated with a given
> > > > > campaign?- Hide quoted text -
>
> > > > - Show quoted text -- Hide quoted text -
>
> > > - Show quoted text -- Hide quoted text -
>
> - Show quoted text -

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
"REMOVE ME" as the subject.


AdWords API Re: DatabaseError.CONCURRENT_MODIFICATION errors while updating ad group criteria (keywords)

2010-03-23 Thread AdWords API Advisor
Hi,

The most common causes of this error are:

- Two threads working on the same account at the same time.
- Two updates to the same ad group or campaign in short succession.

In both cases the recommended reaction is to wait for a few seconds
and try the request again.

Best,
- Eric Koleda, AdWords API Team

On Mar 23, 8:27 am, "Pete Lavetsky (AdWords API Guru)"
 wrote:
> We used to get this when we tried running two mutate operations
> simultaneously on the same account ... could be any mix of
> services ... Campaign + AdGroup, Keyword + Keyword ... etc
>
> Pete
>
> On Mar 22, 12:58 pm, SEM  wrote:
>
>
>
> > Hi,
>
> > We are seeing this API error being thrown many times for some of our
> > clients with
> > com.google.api.adwords.cm.AdGroupCriterionServiceSoapBindingStub.mutate()
> > API call while trying to update ad group criteria (keywords). We are
> > using Google Adwords v200909 API.
>
> > Please let us know what is the cause for this error.
>
> > Thanks,
> > semdev
>
> > Error Stacktrace:
> > -
> > AxisFault
> >  faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server
> >  faultSubcode:
> >  faultString: DatabaseError.CONCURRENT_MODIFICATION @
> >  faultActor:
> >  faultNode:
> >  faultDetail:
> >         {https://adwords.google.com/api/adwords/cm/v200909}
> > ApiExceptionFault:DatabaseError.CONCURRENT_MODIFICATION @  > message>ApiException > ApplicationException.Type>http://www.w3.org/2001/
> > XMLSchema-instance" 
> > xsi:type="DatabaseError">DatabaseError 
> > 
> > ApiError.Type>CONCURRENT_MODIFICATION
>
> > DatabaseError.CONCURRENT_MODIFICATION @
> >         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
> > Method)
> >         at
> > sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAcce 
> > ssorImpl.java:
> > 39)
> >         at
> > sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstru 
> > ctorAccessorImpl.java:
> > 27)
> >         at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
> >         at java.lang.Class.newInstance0(Class.java:355)
> >         at java.lang.Class.newInstance(Class.java:308)
> >         at
> > org.apache.axis.encoding.ser.BeanDeserializer.(BeanDeserializer.java:
> > 104)
> >         at
> > org.apache.axis.encoding.ser.BeanDeserializer.(BeanDeserializer.java:
> > 90)
> >         at
> > com.google.api.adwords.cm.ApiException_Helper.getDeserializer(ApiException_ 
> > Helper.java:
> > 53)
> >         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >         at
> > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
> > 39)
> >         at
> > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImp 
> > l.java:
> > 25)
> >         at java.lang.reflect.Method.invoke(Method.java:597)
> >         at
> > org.apache.axis.encoding.ser.BaseDeserializerFactory.getSpecialized(BaseDes 
> > erializerFactory.java:
> > 154)
> >         at
> > org.apache.axis.encoding.ser.BaseDeserializerFactory.getDeserializerAs(Base 
> > DeserializerFactory.java:
> > 84)
> >         at
> > org.apache.axis.encoding.DeserializationContext.getDeserializer(Deserializa 
> > tionContext.java:
> > 464)
> >         at
> > org.apache.axis.encoding.DeserializationContext.getDeserializerForType(Dese 
> > rializationContext.java:
> > 547)
> >         at
> > org.apache.axis.message.SOAPFaultDetailsBuilder.onStartChild(SOAPFaultDetai 
> > lsBuilder.java:
> > 157)
> >         at
> > org.apache.axis.encoding.DeserializationContext.startElement(Deserializatio 
> > nContext.java:
> > 1035)
> >         at
> > com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(A 
> > bstractSAXParser.java:
> > 501)
> >         at
> > com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartE 
> > lement(XMLNSDocumentScannerImpl.java:
> > 400)
> >         at
> > com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl
> > $FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2747)
> >         at
> > com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocu 
> > mentScannerImpl.java:
> > 648)
> >         at
> > com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNS 
> > DocumentScannerImpl.java:
> > 140)
> >         at
> > com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scan 
> > Document(XMLDocumentFragmentScannerImpl.java:
> > 510)
> >         at
> > com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Co 
> > nfiguration.java:
> > 807)
> >         at
> > com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Co 
> > nfiguration.java:
> > 737)
> >         at
> > com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:
> > 107)
> >         at
> > com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Abstract 
> > SAXParser.java:
> > 1205)
> >         at com.sun.org.apache.xerces.internal.jaxp.

AdWords API Re: how can a get a TargetList using a Campaign? (v2009)

2010-03-23 Thread AdWords API Advisor
Hi,

That method exists on the CampaignTargetSelector:

  
http://code.google.com/p/google-api-adwords-java/source/browse/trunk/src/com/google/api/adwords/v200909/cm/CampaignTargetSelector.java#54

Best,
- Eric Koleda, AdWords API Team

On Mar 23, 11:53 am, BeeGeez  wrote:
> Unfortunately, I get this error:
> 'setCampaignIds' is not a member of
> 'com.google.api.adwords.v200909.CampaignTargetSelector'
>
> On Mar 23, 8:46 am, BeeGeez  wrote:
>
>
>
> > Thanks!  :)
>
> > On Mar 23, 5:25 am, "Pete Lavetsky (AdWords API Guru)"
>
> >  wrote:
> > > CampaignTargetSelector selector = new CampaignTargetSelector();
> > > selector.setCampaignIds( new long[] { campaignId } );
>
> > > Pete
>
> > > On Mar 22, 12:33 pm, BeeGeez  wrote:
>
> > > > I don't want to have to loop through every single TargetList to check
> > > > if the campaign id matches (GetAllCampaignTarget.cs shows an example
> > > > of this).  Are there any helper function in either v2009 or the client
> > > > libraries that will return the TargetList associated with a given
> > > > campaign?- Hide quoted text -
>
> > > - Show quoted text -- Hide quoted text -
>
> > - Show quoted text -

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
"REMOVE ME" as the subject.


AdWords API Re: update a list of Campaigns (v2009)

2010-03-23 Thread BeeGeez
This example only updates a single campaign.  I need to update a list
of campaigns.  Is there a different example?  I don't want to have to
resort to updating one campaign at a time as shown in the example you
have provided...this will really slow things down since I used to be
able to pause/unpause a large group of campaigns with a single API
call.

On Mar 23, 5:36 am, "Pete Lavetsky (AdWords API Guru)"
 wrote:
> http://code.google.com/p/google-api-adwords-java/source/browse/trunk/...
>
> Pete
>
> On Mar 22, 9:29 pm, BeeGeez  wrote:
>
>
>
> > I have array of campaign IDs to pause/activate.
>
> > Is there a method to get and update a list of Campaigns like in v13:
> > getCampaignList
> > updateCampaignList
>
> > If not, what's the best way to achieve this (I don't see an example in
> > the client library).  For example, is their a way to filter the
> > CampaignSelecter by list of campaignId?- Hide quoted text -
>
> - Show quoted text -

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
"REMOVE ME" as the subject.


AdWords API Re: AuthenticationError.CUSTOMER_NOT_FOUND

2010-03-23 Thread AdWords API Advisor
Hi Dawn,

Are you making a request against sandbox or production?  Do you have
the SOAP XML logs or a request ID from a failed request?

Best,
- Eric Koleda, AdWords API Team

On Mar 22, 11:11 am, dawn  wrote:
> Hi,
>
> when trying to make a request to the KeywordToolService, however I
> keep getting the error
>
> AuthenticationError.CUSTOMER_NOT_FOUND @ ; trigger:'mycustomerid'
>
> I've ensured that I'm using the right client ID by copying and pasting
> from the MCC's client list.  I've tried with and without the - marks
> in the ID, neither work.  I also know that this client is an adwords
> user, as I've logged into it in the past.
>
> I'm using the PHP version of the API.
>
> Do you have any pointers as to where I may be going wrong?
>
> Thanks,
> Dawn

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
"REMOVE ME" as the subject.


AdWords API Re: Question on URL Tagging

2010-03-23 Thread SEM
Pete:

In the above URL, {keyword} returns the original search term.
Is there any way we can get the keyword ID (like you provide the
creative ID via {creative}) or the keyword match type via a dynamic
insertion?
This would be extremely useful (and has probably been requested
hundreds of times) for app developers.

Thanks.

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
"REMOVE ME" as the subject.


AdWords API Re: how can a get a TargetList using a Campaign? (v2009)

2010-03-23 Thread BeeGeez
Unfortunately, I get this error:
'setCampaignIds' is not a member of
'com.google.api.adwords.v200909.CampaignTargetSelector'

On Mar 23, 8:46 am, BeeGeez  wrote:
> Thanks!  :)
>
> On Mar 23, 5:25 am, "Pete Lavetsky (AdWords API Guru)"
>
>
>
>  wrote:
> > CampaignTargetSelector selector = new CampaignTargetSelector();
> > selector.setCampaignIds( new long[] { campaignId } );
>
> > Pete
>
> > On Mar 22, 12:33 pm, BeeGeez  wrote:
>
> > > I don't want to have to loop through every single TargetList to check
> > > if the campaign id matches (GetAllCampaignTarget.cs shows an example
> > > of this).  Are there any helper function in either v2009 or the client
> > > libraries that will return the TargetList associated with a given
> > > campaign?- Hide quoted text -
>
> > - Show quoted text -- Hide quoted text -
>
> - Show quoted text -

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
"REMOVE ME" as the subject.


AdWords API Re: how can a get a TargetList using a Campaign? (v2009)

2010-03-23 Thread BeeGeez
Thanks!  :)

On Mar 23, 5:25 am, "Pete Lavetsky (AdWords API Guru)"
 wrote:
> CampaignTargetSelector selector = new CampaignTargetSelector();
> selector.setCampaignIds( new long[] { campaignId } );
>
> Pete
>
> On Mar 22, 12:33 pm, BeeGeez  wrote:
>
>
>
> > I don't want to have to loop through every single TargetList to check
> > if the campaign id matches (GetAllCampaignTarget.cs shows an example
> > of this).  Are there any helper function in either v2009 or the client
> > libraries that will return the TargetList associated with a given
> > campaign?- Hide quoted text -
>
> - Show quoted text -

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
"REMOVE ME" as the subject.


AdWords API Re: API developer tokens

2010-03-23 Thread AdWords API Advisor
Hi Tam,

Only one developer token is allowed per company, regardless of how
many MCC accounts there are.  More information is available in the
AdWords API Terms and Conditions:

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

Best,
- Eric Koleda, AdWords API Team

On Mar 22, 7:08 am, Tam  wrote:
> Hi there
>
> Can you please confirm it's possible to have multiple developer tokens
> corresponding to a single MCC account?  (since the developer token is
> used to identify unique developers, I'm assuming this is going to be
> so, but I need this confirmed)
>
> Kind Regards
>
> Tam

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
"REMOVE ME" as the subject.


AdWords API Re: Unable to get Adgroup/Campaign informations : CLIENT_EMAIL_INVALID

2010-03-23 Thread AdWords API Advisor
Hi,

My apologies for the confusion.  I looked up the client email address
that was generating the error and it's a legacy login.  In the AdWords
UI you can see this under "My account" -> "Account access" and in the
table under the "Access level" column will be "Your old, shared login"
for legacy logins.  Legacy logins aren't supported in v2009, which is
why you only got this error in v2009.  To use this API with this
account you will need to add a new login to the account and use that
email address in the API request.

Best,
- Eric

On Mar 22, 6:35 am, TompiT  wrote:
> Hi,
>
> Thanks for your help, this client account exists, the email used is
> correct and the token used for the MCC is valid and has access to this
> account from adwords web interface.
> Indeed, with v13 API all works fine with the same value, but it seems
> to be different under v200909.
>
> On 19 mar, 19:26, AdWords API Advisor 
> wrote:
>
>
>
> > Hi,
>
> > Can you confirm that this client account exists and that the MCC
> > account that the authToken was generated for has access to the
> > account?
>
> > Best,
> > - Eric Koleda, AdWords API Team
>
> > On Mar 19, 8:41 am, TompiT  wrote:
>
> > > Hi,
>
> > > While trying to get an adgroup informations by id adgroup using
> > > v200909 AdGroupServiceInterface we get the following exception from
> > > API :
> > > AuthenticationError.CLIENT_EMAIL_INVALID @ ; trigger:'gb-aw-
> > > bestoftheb...@shopping-engine.com'
> > > We have the same problem by trying to get data from different
> > > campaigns or adgroups.
> > > Note that our code is also used for other accounts and we don't have
> > > any issue, it just appears on one account.
>
> > > Could you help us to find what is wrong with that ?
> > > Thanks in advance,
>
> > > Find below the SOAP informations (request/response)
> > > --
> > > Request :
> > > --
> > > 
> > > http://schemas.xmlsoap.org/soap/
> > > envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema";
> > > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
> > >     
> > >         http://schemas.xmlsoap.org/
> > > soap/actor/next" soapenv:mustUnderstand="0" xmlns:ns1="https://
> > > adwords.google.com/api/adwords/cm/v200909">
> > >             https://adwords.google.com/api/
> > > adwords/cm/v200909">**gb-aw-
> > > bestoftheb...@shopping-engine.com > > ns1:clientEmail>myDevToken > > ns1:developerToken>AdWords API Java Client Library -
> > > v7.1.0 - myUserAgentfalse > > ns1:validateOnly>
> > >         
> > >     
> > >     
> > >         https://adwords.google.com/api/adwords/cm/
> > > v200909">
> > >             
> > >                 329941153
> > >             
> > >         
> > >     
> > > 
> > > --
> > > Response :
> > > --
> > > 
> > > http://schemas.xmlsoap.org/soap/envelope/";>
> > >     
> > >         https://adwords.google.com/api/adwords/
> > > cm/v200909">
> > >             2f53bc5eb69660a5636dfb67acfa9e0a > > requestId>0149 > > responseTime>0
> > >         
> > >     
> > >     
> > >         
> > >             soap:Server > > faultcode>AuthenticationError.CLIENT_EMAIL_INVALID @ ;
> > > trigger:'gb-aw-bestoftheb...@shopping-engine.com'
> > >             
> > >                 https://adwords.google.com/
> > > api/adwords/cm/v200909">
> > >                     AuthenticationError.CLIENT_EMAIL_INVALID
> > > @ ; trigger:'gb-aw-bestoftheb...@shopping-engine.com' > > message>ApiException > > ApplicationException.Type>
> > >                      > > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
> > >                         gb-aw-
> > > bestoftheb...@shopping-engine.com > > trigger>AuthenticationError > > ApiError.Type>CLIENT_EMAIL_INVALID
> > >                     
> > >                 
> > >             
> > >         
> > >     
> > > 

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
"REMOVE ME" as the subject.


AdWords API Re: traffic estimation service - problematic results when using proximity targets

2010-03-23 Thread AdWords API Advisor
Hi Guy,

ProximityTargets are not supported in the TrafficEstimatorService.
See the following thread for more details:

  
http://groups.google.com/group/adwords-api/browse_thread/thread/4bc5438e565bf135/

Best,
- Eric Koleda, AdWords API Team

On Mar 22, 6:26 am, Guy Zucker  wrote:
> Hi,
>
> I'm using the v13 traffic estimation service and I receive peculiar results
> when setting proximity targets  (radius geo targets).
>
> The following is example data I'm getting for a single keyword input (the
> output I get is max # clicks per month (aggregation of max daily clicks))
>
> keyword input: jordan shoes
>
>  geo-target input
> parameter                                            output
> no geo target
> 10018
> the
> US
>     9149
>
> TX
> 304
> Dallas Ft. Worth (Metro)                                                129
> 400 miles around 7826 la cabeza drive, Dallas                 10018
> 30 miles around 7826 la cabeza drive, Dallas                   10018
>
> Are proximity targets not supported for traffic estimation?
>
> Thanks,
>
> Guy

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
"REMOVE ME" as the subject.


AdWords API Re: Enum com.google.ads.api.services.campaignmgmt.criterion.campaigncriterion.v200909.jaxbgen.ContentLabelType does not have a constant corresponding to BELOW_THE_FOLD

2010-03-23 Thread AdWords API Advisor
Hi,

Unfortunately there are no updates at this time, but the core
engineering team is aware of the issue and working towards a solution.

Best,
- Eric

On Mar 22, 3:07 pm, SEM  wrote:
> Eric:
>
> Any update from the Google engineering team on this?
> How do we explain this issue to our customer who has run into this
> issue through our app?

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
"REMOVE ME" as the subject.


AdWords API Re: Fault occurred while processing in python call to TargetingIdeaService

2010-03-23 Thread AdWords API Advisor
Hi,

Please see my response on your other thread:

  
http://groups.google.com/group/adwords-api/browse_thread/thread/ad9bbd5ae29b64a9/

Best,
- Eric Koleda, AdWords API Team

On Mar 23, 1:35 am, dsay  wrote:
> With changed headers , this is the dump
>
> *** Outgoing HTTP headers
> **
> POST /api/adwords/o/v200909/TargetingIdeaService HTTP/1.0
> Host: adwords-sandbox.google.com
> User-agent: SOAPpy 0.12.0 (http://pywebsvcs.sf.net)
> Content-type: text/xml; charset="UTF-8"
> Content-length: 1125
> SOAPAction: "get"
> 
> *** Outgoing SOAP
> **
> 
>    SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/";
>   xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/";
>
> 
> https://adwords.google.com/api/adwords/cm/
> v200909">
>         EMAIL
>         PW
>         UA
>         EMAIL++USD
>         
> 
> 
> https://adwords.google.com/api/adwords/o/
> v200909/">
> 
>         
>             RelatedToKeywordSearchParameter
>             
>                 Space
>                 BROAD
>             
>         
>         KEYWORD
>         IDEAS
>         
>             0
>             100
>         
>     
> 
> 
> 
> 
> *** Incoming HTTP headers
> **
> HTTP/1.? 500 Internal Server Error
> Content-Type: text/xml; charset=UTF-8
> Date: Tue, 23 Mar 2010 05:30:27 GMT
> Expires: Tue, 23 Mar 2010 05:30:27 GMT
> Cache-Control: private, max-age=0
> X-Content-Type-Options: nosniff
> X-Frame-Options: SAMEORIGIN
> Server: GSE
> X-XSS-Protection: 0
> 
> *** Incoming SOAP
> **
> http://schemas.xmlsoap.org/soap/
> envelope/">soap:Server faultcode>Fault occurred while processing. soap:Fault>
> 

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
"REMOVE ME" as the subject.


AdWords API Re: TargetingIdeaService does not work on python client

2010-03-23 Thread AdWords API Advisor
Hi,

There are a few problems with your request, mostly centered around
namespaces, etc.  Here is an example of a successful request:

  
  http://schemas.xmlsoap.org/soap/
envelope/" xmlns:o="https://adwords.google.com/api/adwords/o/v200909";
xmlns:cm="https://adwords.google.com/api/adwords/cm/v200909";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>

  
...
...
...
...
...
...
  


  https://adwords.google.com/api/adwords/o/
v200909" xmlns:cm="https://adwords.google.com/api/adwords/cm/v200909";>

  

  cat
  BROAD

  
  KEYWORD
  IDEAS
  
0
100
  

  

  

Best,
- Eric Koleda, AdWords API Team

On Mar 20, 3:00 pm, dsay  wrote:
> Hi,
>
> Heres the debug dump of the call. I am using SOAPpy on ubuntu. Please
> provide a sample working xml incase the below xml is faulty.
>
> *** Outgoing HTTP headers
> **
> POST /api/adwords/o/v200909/TargetingIdeaService HTTP/1.0
> Host: adwords-sandbox.google.com
> User-agent: SOAPpy 0.12.0 (http://pywebsvcs.sf.net)
> Content-type: text/xml; charset="UTF-8"
> Content-length: 1481
> SOAPAction: "get"
> 
> *** Outgoing SOAP
> **
> 
>    SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/";
>   xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/";
>
> https://adwords.google.com/api/adwords/cm/
> v200909">
> 
> AUTHTOK
> DEVTOK
> APPTOK
> EMAIL
> UA
> 1
> 
> 
> 
> https://adwords.google.com/api/adwords/o/v200909";>
> https://adwords.google.com/api/adwords/o/
> v200909">
>         
>             RelatedToKeywordSearchParameter
>             
>                 Space cruise
>                 BROAD
>         
>         KEYWORD
>         IDEAS
>         
>             0
>             100
>         
>     
> 
> 
> 
> 
> *** Incoming HTTP headers
> **
> HTTP/1.? 500 Internal Server Error
> Content-Type: text/xml; charset=UTF-8
> Date: Sat, 20 Mar 2010 18:37:18 GMT
> Expires: Sat, 20 Mar 2010 18:37:18 GMT
> Cache-Control: private, max-age=0
> X-Content-Type-Options: nosniff
> X-Frame-Options: SAMEORIGIN
> Server: GSE
> X-XSS-Protection: 0
> 
> *** Incoming SOAP
> **
> http://schemas.xmlsoap.org/soap/
> envelope/">soap:Server faultcode>Fault occurred while processing. soap:Fault>
> 

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
"REMOVE ME" as the subject.


AdWords API PHP: v13 to v2009. Api Units Usage per query

2010-03-23 Thread Alex
Hi,

Could you please clarify situation, how can I get API units usage per
query?

Before that (v13) for getting units usage I can use construction like
this:

$report_service->call('validateReportJob', $request_xml);
$report_service->responseHeader['units']['!']

or for Info Service:
$info_service->responseHeader['units']['!']

Thanks for advance

Alex

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
"REMOVE ME" as the subject.


AdWords API Re: BiddableAdGroupCriterion bids - default bid vs. not updated

2010-03-23 Thread AdWords API Advisor
Hi Peer,

Yes, like elsewhere in the API if you don't send a field in the
request then that field isn't updated.  So not including a bid field
in the request will leave the bid untouched.

To remove a bid set at the keyword level (bidSource = CRITERION) you
must set the bid amount to 0.  This will cause the ad group level bid
(bidSource = ADGROUP) to be used instead.

Best,
- Eric Koleda, AdWords API Team

On Mar 19, 7:27 pm, "Peer Jakobsen (AdWords API Guru)"
 wrote:
> Hi,
>
> If bids are not set on the BiddableAdGroupCriterion does that mean
> that the mutation does not change the bid? E.g. if I only want to
> change a keyword URL during a mutation can I just leave the bids not
> set?
>
> If this is the case, then what is the method to remove bids so that
> the BiddableAdGroupCriterion uses the adgroups default bids?
>
> Thanks

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
"REMOVE ME" as the subject.


AdWords API Re: Trouble getting reply from Sandbox

2010-03-23 Thread AdWords API Advisor
Hi Andy,

It looks like you are running into the same problem that is being
discussed on this thread:

  
http://groups.google.com/group/adwords-api/browse_thread/thread/3ce79c6c3ba70f6d/

Best,
- Eric Koleda, AdWords API Team

On Mar 19, 4:05 pm, Andy  wrote:
> Hey everyone,
>
> I'm pretty new to the Adwords API in general. I didn't work with any
> of the previous versions and am trying to get an issue resolved. I am
> using the latest Java client library (adwords-api-7.1.0-loner.jar).
>
> I have been trying to implement the v2009 CampaignService calls to get
> campaign data. I have it working when I don't use sandbox, however,
> because I have more work to do and need to use the Sandbox for obvious
> reasons. When I set the AdwordsUser to use sandbox, I get an error:
> InternalApiError.UNEXPECTED_INTERNAL_API_ERROR
>
> Here is the code that creates the User:
>
>         Map params = new HashMap();
>         params.put("version", "v200909");
>         params.put("email", account.getUserName());
>         params.put("password", account.getPassword());
>         params.put("developerToken", account.getDeveloperToken());
>         params.put("applicationToken", account.getApplicationToken());
>         params.put("useragent", account.getUserAgent());
>         params.put("clientId", account.getClientEmail());
>         if (account.isSandbox()) {
>             //params.put("alternateUrl",
> GoogleAdwordsAccount.SANDBOX_URL);
>             params.put("useSandbox", "true");
>         }
>
>         AdWordsUser user = new AdWordsUser(params);
>
> Here are some of the debug soap replies:
>
>  xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";
> xmlns:xsd="http://www.w3.org/2001/XMLSchema"; 
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";> soapenv:actor="http://schemas.xmlsoap.org/soap/actor/next";
> soapenv:mustUnderstand="0" xmlns:ns1="https://adwords.google.com/api/
> adwords/cm/v200909">[myAppToken] ns1:applicationToken>** ns1:authToken>client_1+[myEmail] ns1:clientEmail>[myDevToken] ns1:developerToken>AdWords API Java Client Library - v
> - Pythia 1.1false ns1:validateOnly> soapenv:Header>https://adwords.google.com/
> api/adwords/cm/v200909">ACTIVE campaignStatuses>20100318 min>20100318 soapenv:Body>
>
> [19 Mar 2010 14:45:36,951 - DEBUG]
>  xmlns:soap="http://schemas.xmlsoap.org/soap/
> envelope/">soap:Server faultcode>InternalApiError.UNEXPECTED_INTERNAL_API_ERROR
> @ InternalApiError.UNEXPECTED_INTERNAL_API_ERROR @  message>ApiException ApplicationException.Type> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>InternalApiError
> ApiError.Type>UNEXPECTED_INTERNAL_API_ERROR ApiExceptionFault>
>
> The request info debug:
> [19 Mar 2010 14:45:36,951 - DEBUG] email=[myEmail]
> effectiveUser=client_1+[myEmail[ service=CampaignService method=get
> operators={} responseTime=0 operations=0 units=0 requestId=
> server=https://adwords-sandbox.google.comisFault=true
> faultMessage=InternalApiError.UNEXPECTED_INTERNAL_API_ERROR @
>
> Any help would be much appreciated. It's been very frustrating trying
> to figure this out for Sandbox as I can already get results from live
> with the exact code minus the useSandbox set.
>
> Thanks,
> Andy

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
"REMOVE ME" as the subject.


AdWords API Re: ImageError.INVALID_IMAGE while publishing .SWF

2010-03-23 Thread AdWords API Advisor
Hi,

Let me look into this and I'll update the thread when I have more
information.

Best,
- Eric

On Mar 19, 3:39 pm, spongman  wrote:
> yes, it works against production. but we don't want to develop/test
> against production. is there any documentation anywhere that lists the
> differences between the sandbox and production environments? can you
> explain why the sandbox doesn't allow uploading SWFs?
>
> On Mar 19, 11:41 am, AdWords API Advisor
>
>
>
>  wrote:
> > Hi,
>
> > Certain image ad formats aren't accepted in the sandbox, and I believe
> > flash is one of them.  Have you tried using this same code against a
> > production account?
>
> > Best,
> > - Eric Koleda, AdWords API Team
>
> > On Mar 18, 6:07 pm, spongman  wrote:
>
> > > I'm trying to publish a SWF to sandbox, but I'm getting an
> > > ImageError.INVALID_IMAGE error. what am I doing wrong?
>
> > > here's my request:
>
> > > 
> > > http://schemas.xmlsoap.org/soap/envelope/";
> > > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
> > > xmlns:xsd="http://www.w3.org/2001/XMLSchema";>
> > >         
> > >                  > > xmlns="https://adwords.google.com/api/adwords/cm/
> > > v200909">
> > >                         {my token{
> > >                         client_1+{my email}
> > >                         {my email}++USD
> > >                         AWAPI DotNetLib 7.1 - {my 
> > > company}
> > >                 
> > >         
> > >         
> > >                  > > xmlns="https://adwords.google.com/api/adwords/cm/v200909";>
> > >                         
> > >                                 ADD
> > >                                 
> > >                                         3121619235
> > >                                         
> > >                                                 {click URL}
> > >                                                 {click 
> > > URL}
> > >                                                 
> > >                                                         
> > > FLASH
> > >                                                         {base-64 
> > > encoded SWF}
> > >                                                 
> > >                                                 
> > > New_Campaign_300x250_0
> > >                                         
> > >                                 
> > >                         
> > >                 
> > >         
> > > 
>
> > > and here's the response:
>
> > > http://schemas.xmlsoap.org/soap/envelope/";>
> > >         
> > >                  > > xmlns="https://adwords.google.com/api/adwords/cm/
> > > v200909">
> > >                         
> > > e038a885b90ce2a4b607d3dbb86c5df2
> > >                         1
> > >                         322
> > >                         40
> > >                 
> > >         
> > >         
> > >                 
> > >                         soap:Server
> > >                         [ImageError.INVALID_IMAGE @
> > > operations[0].operand.ad.image.data]
> > >                         
> > >                                  > > xmlns="https://adwords.google.com/api/adwords/
> > > cm/v200909">
> > >                                         
> > > [ImageError.INVALID_IMAGE @
> > > operations[0].operand.ad.image.data]
> > >                                         
> > > ApiException > > ApplicationException.Type>
> > >                                          > > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
> > > xsi:type="ImageError">
> > >                                                 
> > > operations[0].operand.ad.image.data
> > >                                                 
> > >                                                 
> > > ImageError
> > >                                                 
> > > INVALID_IMAGE
> > >                                         
> > >                                 
> > >                         
> > >                 
> > >         
> > > 

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
"REMOVE ME" as the subject.


AdWords API Same AdParam for different Criteria in same AdGroup: AD_PARAM_CANNOT_BE_SPECIFIED_MULTIPLE_TIMES

2010-03-23 Thread Kemal
Hello,

I am trying to set the same AdParams (AdParamId's are the same, so are
the values) for different criteria in the same AdGroup, all in one
mutate call. But it throws me a
AD_PARAM_CANNOT_BE_SPECIFIED_MULTIPLE_TIMES error.

The documentation states that "The same ad param cannot be specified
in multiple operations". Isn't this quite a bit limiting? How are we
supposed to set a bunch of AdParams for an entire AdGroup in one go?
Multiple calls to mutate() for each and every keyword would just kill
the backend. Or do I have to use the BulkMutateJob service, even if I
don't want to?

Or maybe (well, hopefully) I triggered a bug in the API. Any comments?

The data goes like this:
An array of AdParamOperations with 14 elements. Operator is SET. Each
AdParam with the same AdGroupId.
First 7 AdParams set the same paramIndex (1) and the same
insertionText ("4") but each with different criterionIds.
Second 7 AdParams set the other paramIndex (2) and the same
insertionText ("8" in this case) each with different criterionIds as
well. (Actually the order of criterionIds match the first 7
operations)

The result is an array of AdParamErrors:
[AdParamError.AD_PARAM_CANNOT_BE_SPECIFIED_MULTIPLE_TIMES @
operations[2].operand; trigger:'AdParam already defined at index 1',
AdParamError.AD_PARAM_CANNOT_BE_SPECIFIED_MULTIPLE_TIMES @
operations[3].operand; trigger:'AdParam already defined at index 1',
AdParamError.AD_PARAM_CANNOT_BE_SPECIFIED_MULTIPLE_TIMES @
operations[4].operand; trigger:'AdParam already defined at index 1',
AdParamError.AD_PARAM_CANNOT_BE_SPECIFIED_MULTIPLE_TIMES @
operations[5].operand; trigger:'AdParam already defined at index 1',
AdParamError.AD_PARAM_CANNOT_BE_SPECIFIED_MULTIPLE_TIMES @
operations[6].operand; trigger:'AdParam already defined at index 1',
AdParamError.AD_PARAM_CANNOT_BE_SPECIFIED_MULTIPLE_TIMES @
operations[9].operand; trigger:'AdParam already defined at index 8',
AdParamError.AD_PARAM_CANNOT_BE_SPECIFIED_MULTIPLE_TIMES @
operations[10].operand; trigger:'AdParam already defined at index 8',
AdParamError.AD_PARAM_CANNOT_BE_SPECIFIED_MULTIPLE_TIMES @
operations[11].operand; trigger:'AdParam already defined at index 8',
AdParamError.AD_PARAM_CANNOT_BE_SPECIFIED_MULTIPLE_TIMES @
operations[12].operand; trigger:'AdParam already defined at index 8',
AdParamError.AD_PARAM_CANNOT_BE_SPECIFIED_MULTIPLE_TIMES @
operations[13].operand; trigger:'AdParam already defined at index 8']


Best,
Kemal

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
"REMOVE ME" as the subject.


AdWords API Re: Sandbox error fpr campaign get call

2010-03-23 Thread AdWords API Advisor
Hi,

Thanks for brining this to our attention.  I was able to replicate the
problem and I've brought it to the attention of our core engineering
team.  I'll update this thread when I have more information.

Best,
- Eric Koleda, AdWords API Team

On Mar 19, 10:50 am, dzin dzintaras 
wrote:
> Suddenly such requests that include "statsSelector" began to return
> unexpected results. What has happend?
>
> Request:
>
> 
> http://schemas.xmlsoap.org/soap/envelope/";
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
> xmlns:xsd="http://www.w3.org/2001/XMLSchema";>
>     
>         https://adwords.google.com/api/adwords/
> cm/v200909">
>             appToken
>             authToken
>             clientemail+liuda...@adform.com
>             devToken
>         
>     
>     
>         https://adwords.google.com/api/adwords/cm/
> v200909">
>             
>                 ACTIVE
>                 DELETED
>                 
>                     
>                         20100120
>                         20100120
>                     
>                 
>                 
>                     1
>                 
>             
>         
>     
> 
>
> Response:
>
> http://schemas.xmlsoap.org/soap/envelope/";>
>     
>         
>             soap:Server
>
> InternalApiError.UNEXPECTED_INTERNAL_API_ERROR @  faultstring>
>             
>                 https://adwords.google.com/
> api/adwords/cm/v200909">
>
> InternalApiError.UNEXPECTED_INTERNAL_API_ERROR @ 
>                     ApiException ApplicationException.Type>
>                     http://www.w3.org/2001/
> XMLSchema-instance" xsi:type="InternalApiError">
>                         
>                         
>                         InternalApiError ApiError.Type>
>                         UNEXPECTED_INTERNAL_API_ERROR
>                     
>                 
>             
>         
>     
> 

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
"REMOVE ME" as the subject.


AdWords API Report Service and migrating to v2009

2010-03-23 Thread leetee
I have an application that only uses the Report Service of v13.  I
have just had a notice stating "you now have just 30 days to migrate
your application to the new AdWords API.  On April 22, most v13
services will be sunset"  In the documentation for migrating to v2009,
the Report Service has not been developed yet.  Therefore am I ok to
ignore this notice until the Report Service has been done for v2009?

many thanks

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
"REMOVE ME" as the subject.


AdWords API Duplicate Campaign Names in one request

2010-03-23 Thread carlinda
Hi,

I used CampaignService to add campaigns.
One of them was intentionally duplicated in the request (same Campaign
name). I was hoping to see an error in the response, but all campaigns
were successfully created, even the repeated one.

The request id is 55dfd70e6b34de2e4e601f78631c8919
Is this a bug?

I also read in this forum something similar happening with ad group
names.

Thank you in advance,

Carla

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
"REMOVE ME" as the subject.


AdWords API Re: Question on URL Tagging

2010-03-23 Thread Pete Lavetsky (AdWords API Guru)
You can get the adId that was clicked by appending this parameter to
your destUrl: {creative}

ie: http://www.mysite.com/?keyword={keyword}&creative={creative}

If you're storing your data in a local DB you should be able to use
those two values to get the rest of what you're looking for ( AdGroup
& Ad Copy )

Pete

On Mar 23, 12:13 am, mcl  wrote:
> Hi all,
>
> I am not a user of adwords api yet but I am designing our internal
> system in order to integrate it with adwords via api.  In the process,
> I have a question related to setting up destination urls.
>
> What we'd like to do is to be able to get from destination urls the
> following:
>
> 1.  Keyword that triggers the ad
> 2.  The type of keyword (broad, phrase, exact)
> 3.  Campaign/Ad group name
> 4.  Ad copy
>
> I know that if I set up destination urls from within each keyword (ie.
> destination url triggered depends on the keyword), I can tag the urls
> with information relating to no. 1, 2, and 3 above but not 4.  For
> example:http://www.mysite.com/?keyword={keyword}&keywordtype=exact&adgroup=widget
>
> On the other hand, if I set up destination urls from within ad copy
> (ie. url triggered depends on the ad displayed), I can tag the urls
> with information relating to no. 1, 3, and 4, but not no. 2.  For
> example:http://www.mysite.com/?keyword={keyword}&adgroup=widget&adcopy=adcopy1
>
> The above is the limitation of url tagging in adwords.  In the api, is
> there a way to tag the url so I can get all 4 of the information?
>
> Thank you!
>
> MCL

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
"REMOVE ME" as the subject.


AdWords API 502 Server Error for BulkMutateJob on sandbox

2010-03-23 Thread khelll
I'm getting this error from time to time when using the sandbox with
the same data set:

aw_api.Errors.Error: 502 Server Error. The server encountered a
temporary error and could not complete your request. Please try again
in 30 seconds.

This happens when I use BulkMutateJob to update around 40,000 keywords
in one account using one job divided to 40 parts, 1000 keywords for
each.   I have few questions here:

1-Why am I getting this error?
2-Would I have that kind of errors(502) on AdWords Production servers?
3-This statement is confusing me: "Please try again in 30 seconds.",
is the job still there and still processing or what?


Cheers,

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
"REMOVE ME" as the subject.


Re: AdWords API Cannot access client library in python

2010-03-23 Thread khelll
I'm using this in python and it works great for me:

# Initialize client object.
headers = {
'email': 'some_em...@gmail.com',
'password': 'mylovleypass',
'userAgent': 'Fetcher',
'clientEmail': 'client_1+some_em...@gmail.com',
'developerToken': 'some_em...@gmail.com++usd',
'validateOnly': 'n'
}


client = Client(headers=headers)


Things works smoothly after that:

campaign_service = client.GetCampaignService(
'https://adwords-sandbox.google.com', 'v200909')

# Construct selector and get all campaigns.
selector = {}
campaigns = campaign_service.Get(selector)[0]

# Display results.
if 'entries' in campaigns:
  for campaign in campaigns['entries']:
print ('Campaign with id \'%s\', name \'%s\', and status \'%s\'
was found.'
   % (campaign['id'], campaign['name'], campaign['status']))
else:
  print 'No campaigns were found.'

print
print ('Usage: %s units, %s operations' % (client.GetUnits(),
   client.GetOperations()))


On Mar 23, 8:13 am, dsay  wrote:
> Moreover the link that you have provided is for v12. Will it be same
> for v2009?
>
> On Mar 23, 7:27 am, AdWords API Advisor 
> wrote:
>
> > Hi,
>
> > This error is being returned because the header values you are using
> > are not valid for the sandbox.  More information on how to set headers
> > in the sandbox is available here:
>
> >  http://code.google.com/apis/adwords/docs/developer/adwords_api_sandbo...
> >  http://www.youtube.com/watch?v=cqVtUdB975M
>
> > Best,
> > - Eric Koleda, AdWords API Team
>
> > On Mar 20, 3:10 pm, dsay  wrote:
>
> > >         adwordsGoogleHeader = {}
> > >         adwordsGoogleHeader['applicationToken'] =
> > > Types.untypedType('TOK')
> > >         adwordsGoogleHeader['authToken'] = Types.untypedType('TOK')
> > >         adwordsGoogleHeader['clientEmail'] =
> > > Types.untypedType('EMAIL')
> > >         adwordsGoogleHeader['developerToken'] =
> > > Types.untypedType('TOK')
> > >         adwordsGoogleHeader['userAgent'] = Types.untypedType('UA')
> > >         adwordsGoogleHeader['validateOnly'] = Types.untypedType('1')
>
> > >         adwordsGoogleHeaderHOLD = Types.headerType()
>
> > > adwordsGoogleHeaderHOLD._addItem('RequestHeader',adwordsGoogleHeader)
> > >         #adwordsGoogleHeaderHOLD.__ns = 'https://adwords.google.com/
> > > api/adwords/cm/v200909'
> > >         adwordsGoogleHeaderHOLD._setAttr(
> > >           'xmlns',
> > >           'https://adwords.google.com/api/adwords/cm/v200909')
>
> > > On Mar 19, 11:41 pm, "Joshua J. Kugler"  wrote:
>
> > > > On Friday 19 March 2010,dsayelucidated thus:
>
> > > > > I am not sure if someone is able to use client library for python as
> > > > > I continue to get the following error
>
> > > > > Traceback (most recent call last):
> > > > >   File "get_related_keywords.py", line 53, in 
> > > > >     page = targeting_idea_service.Get(selector)[0]
> > > > >   File "../../aw_api/TargetingIdeaService.py", line 105, in Get
> > > > >     'TargetingIdea', self.__loc, request)
> > > > >   File "../../aw_api/WebService.py", line 350, in CallMethod
> > > > >     raise ValidationError(error['data'])
> > > > > aw_api.Errors.ValidationError: Invalid headers for 'https://adwords-
> > > > > sandbox.google.com', see
> > > > >http://code.google.com/apis/adwords/docs/developer/adwords_api_sandbo
> > > > >x.html#requestheaders.
>
> > > > > I have tried to run in python 2.5 and 2.6 and on ubuntu and fedora.
> > > > > Its giving same error everywhere.
>
> > > > What code are you using to set your headers?
>
> > > > j
>
> > > > --
> > > > Joshua Kugler
> > > > Part-Time System Admin/Programmerhttp://www.eeinternet.com
> > > > PGP Key:http://pgp.mit.edu/ID0x73B13B6A

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
"REMOVE ME" as the subject.


AdWords API PHP: v13 & v2009. Err: Cannot redeclare class SoapClientFactory

2010-03-23 Thread Alex
Hi,

I'm starting the process of migration from v13 to v2009.
As everybody knows, it is now necessary to use two services
simultaneously, yet not be ready missing services in v2009.

I am calling a function in PHP.

The issue I am having is that my script for v13 and v2009 is running
fine (separately) and not
returning any errors, but when I try to call v13 code (Report Service)
after v2009 code (Campaign Service - getting campaign ID ) I get the
following error:

Fatal error: Cannot redeclare class SoapClientFactory in Z:\www\app
\libs\nusoap\soapclientfactory.php  on line 30.

FYI:
in both functions in the beginning I am calling:

v2009:
require_once 'Google/Api/Ads/AdWords/Lib/AdWordsUser.php';

v13
require_once '../libs/nusoap/soapclientfactory.php';

As I understand correctly this is the reason of the problem, therefore
the question is how can I redeclare class SoapClientFactory (I've
tried to use "unset class" before next calling - not successful)

I would be very grateful if someone can help solve this problem.


Best Regards,
Alex

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
"REMOVE ME" as the subject.


AdWords API Re: Criterion Stats in PHP

2010-03-23 Thread prasad darla
Hi,

I was trying to write a very similar code to get Criterion stats. I
think I have it wrong. The below code is different from what I have
written. But I cannot get this to work because I am not sure what is
the object type of $selector variable. Can someone throw light on what
object type $selector is?

TIA
Prasad

On Mar 12, 3:07 am, Mike-Indiana  wrote:
> Many thanks Dan and Eric, I got it now.
>
> Solution (Displays first page min CPC, stats such as clicks,
> impressions, etc and quality score):
>
>         // Create id filter.
>         $idFilter = new AdGroupCriterionIdFilter();
>         $idFilter->adGroupId = $adGroupId;
>         $idFilter->criterionId = $criterionId;
>         $idFilter->qualityInfo = $criterionId;
>         $idFilter->firstPageCpc = $criterionId;
>
>         // Create selectors
>         $selector->idFilters = array($idFilter);
>         $selector->QualityInfo = $criterionId;
>         $selector->statsSelector->dateRange = new
> DateRange('20100310','20100310');
>
>         // Update ad group criteria.
>         $page = $adGroupCriteriaService->get($selector);
>                 if (isset($page->entries)) {
>                         foreach ($page->entries as $adGroupCriterion) {
> . etc.
>
> On Mar 10, 9:39 am, AdWords API Advisor 
> wrote:
>
> > Hi Mike,
>
> > The hierarchy of objects should be:
>
> > AdGroupCriterionSelector
> > |_ StatsSelector
> >    |_ DateRange
>
> > Here is an example:
>
> > $selector = new CampaignSelector();
> > $selector->statsSelector = new StatsSelector();
> > $selector->statsSelector->dateRange = new DateRange('20090101',
> > '20090131');
>
> > Best,
> > - Eric Koleda, AdWords API Team
>
> > On Mar 9, 5:06 pm, Mike-Indiana  wrote:
>
> > > Hi Eric, could you help me out with the dateRange for stats? This is
> > > still pulling all stats, and not the daterange. The log does not even
> > > show the daterange, so I know I'm getting this wrong.
>
> > > Thanks:
>
> > >         $selector->statsSelector = $criterionId;
> > >         $selector->statsSelector = new DateRange();
> > >         $selector->dateRange->min = '20100308';
> > >         $selector->dateRange->max = '20100309';
> > >         $selector->stats = $criterionId;

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
"REMOVE ME" as the subject.


AdWords API Migration to new API - problem in getting Criterion Stats

2010-03-23 Thread prasad darla
Hi All,

We recently undertook changes to move to the v2009 API. We use the PHP
library. Most of our code has been modified and it works fine. I was
able to create and update new Campaign etc. I also got Campaign stats
using the new CampaignService. However I am unable to get the
criterion stats as per the new API AdGroupCriterionService. I get
other information about the criteria including the text, its max bid
etc but the Criteria stats like Impressions, Clicks are always empty.

Here is my code snippet:


$newAdGroupCriteriaService = $user-
>GetAdGroupCriterionService('v200909');
$newAdGroupCriteriaService->statsSelector = new statsSelector();
$newAdGroupCriteriaService->statsSelector->dateRange = new
DateRange($startDate,$endDate);

$KIDSelector = new AdGroupCriterionSelector();
// Create id filter.
$idFilter = new AdGroupCriterionIdFilter();
$idFilter->criterionId = $KID;
$KIDSelector->idFilters = array($idFilter);

$keywordStats = $newAdGroupCriteriaService->get($KIDSelector);

print_r($keywordStats);


The KeywordStats printed contains relevant information about the
Criteria but no stats. The stat objects startDate amd endDate fields
are always empty and so are the stats.



AdGroupCriterionPage Object ( [entries] => Array ( [0] =>
BiddableAdGroupCriterion Object ( [userStatus] => ACTIVE
[systemServingStatus] => ELIGIBLE [approvalStatus] => APPROVED
[destinationUrl] => [bids] => ManualCPCAdGroupCriterionBids Object
( [maxCpc] => Bid Object ( [amount] => Money Object ( [microAmount] =>
66 [ComparableValueType] => Money [_parameterMap:private] => Array
( [ComparableValue.Type] => ComparableValueType ) ) ) [bidSource] =>
CRITERION [positionPreferenceBids] => [AdGroupCriterionBidsType] =>
ManualCPCAdGroupCriterionBids [_parameterMap:private] => Array
( [AdGroupCriterionBids.Type] => AdGroupCriterionBidsType ) )
[firstPageCpc] => Bid Object ( [amount] => Money Object
( [microAmount] => 1 [ComparableValueType] => Money
[_parameterMap:private] => Array ( [ComparableValue.Type] =>
ComparableValueType ) ) ) [qualityInfo] => QualityInfo Object
( [isKeywordAdRelevanceAcceptable] => 1
[isLandingPageQualityAcceptable] => 1 [isLandingPageLatencyAcceptable]
=> 1 [qualityScore] => 10 ) [stats] => Stats Object ( [startDate] =>
[endDate] => [network] => SEARCH [clicks] => [impressions] => [cost]
=> [averagePosition] => [averageCpc] => [averageCpm] => [ctr] =>
[conversions] => [conversionRate] => [costPerConversion] =>
[conversionsManyPerClick] => [conversionRateManyPerClick] =>
[costPerConversionManyPerClick] => [StatsType] => Stats
[_parameterMap:private] => Array ( [Stats.Type] => StatsType ) )
[adGroupId] => 98347538458[criterion] => Keyword Object ( [text] => my
keyword text [matchType] => PHRASE [id] => 634776627363
[CriterionType] => Keyword [_parameterMap:private] => Array
( [Criterion.Type] => CriterionType ) ) [AdGroupCriterionType] =>
BiddableAdGroupCriterion [_parameterMap:private] => Array
( [AdGroupCriterion.Type] => AdGroupCriterionType ) ) )
[totalNumEntries] => 1 [PageType] => AdGroupCriterionPage
[_parameterMap:private] => Array ( [Page.Type] => PageType ) )


Can anyone throw any light on this? I think its mostly a problem with
the AdGroupCriterionService usage and hence I am posting the query
here. Please let me know if you need any other information.


Thanks in advance,
Prasad

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
"REMOVE ME" as the subject.


AdWords API Question on URL Tagging

2010-03-23 Thread mcl
Hi all,

I am not a user of adwords api yet but I am designing our internal
system in order to integrate it with adwords via api.  In the process,
I have a question related to setting up destination urls.

What we'd like to do is to be able to get from destination urls the
following:

1.  Keyword that triggers the ad
2.  The type of keyword (broad, phrase, exact)
3.  Campaign/Ad group name
4.  Ad copy

I know that if I set up destination urls from within each keyword (ie.
destination url triggered depends on the keyword), I can tag the urls
with information relating to no. 1, 2, and 3 above but not 4.  For
example: 
http://www.mysite.com/?keyword={keyword}&keywordtype=exact&adgroup=widget

On the other hand, if I set up destination urls from within ad copy
(ie. url triggered depends on the ad displayed), I can tag the urls
with information relating to no. 1, 3, and 4, but not no. 2.  For
example: http://www.mysite.com/?keyword={keyword}&adgroup=widget&adcopy=adcopy1

The above is the limitation of url tagging in adwords.  In the api, is
there a way to tag the url so I can get all 4 of the information?

Thank you!

MCL

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
"REMOVE ME" as the subject.


AdWords API Re: Partially successful results

2010-03-23 Thread Pete Lavetsky (AdWords API Guru)
Interested in this as well ... from what I've experienced so far, any
time a service experiences an error it throws it and does not complete
any mutation ... maybe a parameter needs to be passed in to the mutate
operation?

Would like to be pointed to some more documentation on this topic if
possible

Pete

On Mar 23, 5:25 am, quaylar  wrote:
> Hi all!
>
> I just read this in the migration-guide for 2009:
>
> "mutate performs addition, modification and deletion on the items, via
> the operator property and the list of operands. It can return a
> partially successful result set, so make sure your code can handle a
> return list with both successful and failed items."
>
> Does this mean, that _every_ mutate operation of every service will
> process all operations it is able to, and fail on the ones it is not?
> How do i recognize which ones failed? If i add campaigns, the
> resultset contains all the added campaigns, am i supposed to check
> which ones are missing in the returned result-set?
>
> Or are mutate-jobs atomic operations - all successful or all fail?
> Would be glad if anybody could shed some light on this...
>
> cheers,
>
> --qu

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
"REMOVE ME" as the subject.


AdWords API Re: V13 gateway (502) errors?

2010-03-23 Thread Pete Lavetsky (AdWords API Guru)
Yes ... sporadic but getting better

Pete

On Mar 22, 11:09 am, Reed  wrote:
> Anyone else seeing lots of sporadic 502 errors from the V13 API?  Am
> seeing it across all services, both pulling data as well as changing
> data, and across multiple client logins.  They each go away when I
> retry the request. Have added code to trap and save the actual HTTP
> content the next time it happens, so for now all I have to go on is
> the 502 error code.
> thanks
> -reed

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
"REMOVE ME" as the subject.


AdWords API Re: update a list of Campaigns (v2009)

2010-03-23 Thread Pete Lavetsky (AdWords API Guru)
http://code.google.com/p/google-api-adwords-java/source/browse/trunk/examples/v200909/UpdateCampaign.java

Pete

On Mar 22, 9:29 pm, BeeGeez  wrote:
> I have array of campaign IDs to pause/activate.
>
> Is there a method to get and update a list of Campaigns like in v13:
> getCampaignList
> updateCampaignList
>
> If not, what's the best way to achieve this (I don't see an example in
> the client library).  For example, is their a way to filter the
> CampaignSelecter by list of campaignId?

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
"REMOVE ME" as the subject.


AdWords API Re: Lots of server faults while processing clients

2010-03-23 Thread Pete Lavetsky (AdWords API Guru)
You don't want to be setting the customerId in your
CampaignSelector ...

You want the procedure to be something similar to:

Get client email + customerId
Create AdWordsUser with the AuthToken and customer credentials
( including your appToken and username pass and other info )
Get the CampaignService for that AdWordsUser:
adWordsUser.getService( AdWordsService.V200909.CAMPAIGN_SERVICE ) )
Get all campaigns for the user with an empty selector:
campaignService.get( new CampaignSelector() );

http://code.google.com/p/google-api-adwords-java/source/browse/trunk/examples/v200909/GetAllCampaigns.java

Pete




On Mar 22, 9:27 pm, "Joshua J. Kugler"  wrote:
> I am doing an operation like this via the SOAP API.
>
> Get a list of client e-mails.
> Get the client account (for their ID)
> CampaignService.get() with the following selector:
>
> selector = {
>             'ids': [client.customerId],
>             'statsSelector': {}
>
> }
>
> Most of my calls to CampaignService.get() are returning:
>
> InternalApiError.UNEXPECTED_INTERNAL_API_ERROR
>
> Is there any way to debug this?  Some (very few) of my get() queries
> succeed, but most of them return the given error.  I would suspect I'm
> passing malformed parameters, but since some of the queries work, I
> must be passing in OK parameters.
>
> Anyone know what is going on?
>
> j
>
> --
> Joshua Kugler
> Part-Time System Admin/Programmerhttp://www.eeinternet.com
> PGP Key:http://pgp.mit.edu/ID 0x73B13B6A

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
"REMOVE ME" as the subject.


AdWords API Re: DatabaseError.CONCURRENT_MODIFICATION errors while updating ad group criteria (keywords)

2010-03-23 Thread Pete Lavetsky (AdWords API Guru)
We used to get this when we tried running two mutate operations
simultaneously on the same account ... could be any mix of
services ... Campaign + AdGroup, Keyword + Keyword ... etc

Pete

On Mar 22, 12:58 pm, SEM  wrote:
> Hi,
>
> We are seeing this API error being thrown many times for some of our
> clients with
> com.google.api.adwords.cm.AdGroupCriterionServiceSoapBindingStub.mutate()
> API call while trying to update ad group criteria (keywords). We are
> using Google Adwords v200909 API.
>
> Please let us know what is the cause for this error.
>
> Thanks,
> semdev
>
> Error Stacktrace:
> -
> AxisFault
>  faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server
>  faultSubcode:
>  faultString: DatabaseError.CONCURRENT_MODIFICATION @
>  faultActor:
>  faultNode:
>  faultDetail:
>         {https://adwords.google.com/api/adwords/cm/v200909}
> ApiExceptionFault:DatabaseError.CONCURRENT_MODIFICATION @  message>ApiException ApplicationException.Type>http://www.w3.org/2001/
> XMLSchema-instance" 
> xsi:type="DatabaseError">DatabaseError
> ApiError.Type>CONCURRENT_MODIFICATION
>
> DatabaseError.CONCURRENT_MODIFICATION @
>         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
> Method)
>         at
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:
> 39)
>         at
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:
> 27)
>         at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
>         at java.lang.Class.newInstance0(Class.java:355)
>         at java.lang.Class.newInstance(Class.java:308)
>         at
> org.apache.axis.encoding.ser.BeanDeserializer.(BeanDeserializer.java:
> 104)
>         at
> org.apache.axis.encoding.ser.BeanDeserializer.(BeanDeserializer.java:
> 90)
>         at
> com.google.api.adwords.cm.ApiException_Helper.getDeserializer(ApiException_Helper.java:
> 53)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
> 39)
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
> 25)
>         at java.lang.reflect.Method.invoke(Method.java:597)
>         at
> org.apache.axis.encoding.ser.BaseDeserializerFactory.getSpecialized(BaseDeserializerFactory.java:
> 154)
>         at
> org.apache.axis.encoding.ser.BaseDeserializerFactory.getDeserializerAs(BaseDeserializerFactory.java:
> 84)
>         at
> org.apache.axis.encoding.DeserializationContext.getDeserializer(DeserializationContext.java:
> 464)
>         at
> org.apache.axis.encoding.DeserializationContext.getDeserializerForType(DeserializationContext.java:
> 547)
>         at
> org.apache.axis.message.SOAPFaultDetailsBuilder.onStartChild(SOAPFaultDetailsBuilder.java:
> 157)
>         at
> org.apache.axis.encoding.DeserializationContext.startElement(DeserializationContext.java:
> 1035)
>         at
> com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:
> 501)
>         at
> com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:
> 400)
>         at
> com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl
> $FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2747)
>         at
> com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:
> 648)
>         at
> com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:
> 140)
>         at
> com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:
> 510)
>         at
> com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:
> 807)
>         at
> com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:
> 737)
>         at
> com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:
> 107)
>         at
> com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:
> 1205)
>         at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl
> $JAXPSAXParser.parse(SAXParserImpl.java:522)
>         at javax.xml.parsers.SAXParser.parse(SAXParser.java:395)
>         at
> org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:
> 227)
>         at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
>         at org.apache.axis.Message.getSOAPEnvelope(Message.java:435)
>         at
> org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:
> 62)
>         at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)
>         at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
>         at org.apache.axis.client.Call.invoke(Call.java:2767)
>         at org.

AdWords API Re: how can a get a TargetList using a Campaign? (v2009)

2010-03-23 Thread Pete Lavetsky (AdWords API Guru)
CampaignTargetSelector selector = new CampaignTargetSelector();
selector.setCampaignIds( new long[] { campaignId } );

Pete

On Mar 22, 12:33 pm, BeeGeez  wrote:
> I don't want to have to loop through every single TargetList to check
> if the campaign id matches (GetAllCampaignTarget.cs shows an example
> of this).  Are there any helper function in either v2009 or the client
> libraries that will return the TargetList associated with a given
> campaign?

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
"REMOVE ME" as the subject.


AdWords API Partially successful results

2010-03-23 Thread quaylar
Hi all!

I just read this in the migration-guide for 2009:

"mutate performs addition, modification and deletion on the items, via
the operator property and the list of operands. It can return a
partially successful result set, so make sure your code can handle a
return list with both successful and failed items."

Does this mean, that _every_ mutate operation of every service will
process all operations it is able to, and fail on the ones it is not?
How do i recognize which ones failed? If i add campaigns, the
resultset contains all the added campaigns, am i supposed to check
which ones are missing in the returned result-set?

Or are mutate-jobs atomic operations - all successful or all fail?
Would be glad if anybody could shed some light on this...

cheers,

--qu

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
"REMOVE ME" as the subject.