Re: Question About v201109 Campaign Targeting

2011-12-12 Thread Kevin Winter
Hi Pete,
  Thanks again for the feedback.  I'll bring it up to my team and get a 
discussion going on this.  One of the challenges of that approach is 
knowing the right list to use.  Previously everything fit neatly into a 
single list broken down by type.  Now there are a bunch of individual 
criteria and objects like the NegativeCampaignCriterion (
http://code.google.com/apis/adwords/docs/reference/latest/CampaignCriterionService.NegativeCampaignCriterion.html)
 
make it even trickier.

- Kevin Winter
AdWords API Team

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en


Re: Question About v201109 Campaign Targeting

2011-12-12 Thread Pete Lavetsky (AdWords API Guru)
Thanks Kevin,

It comes down to us thinking of targets / criteria as attributes of
objects that do not maintain state.  We don't locally persist a
Platform that a campaign is not targeting, we simply persist our own
object model representation of the list of Platforms a campaign *is*
targeting.  That way in the past when we needed to update the
PlatformTargetList we simply took our local representation of what the
Campaign was targeting and transformed it into the Google object,
shipped it off via the API and said "Here's the absolute
representation of Platform targets".

I can see how the paradigm is easier for people who used Targeting in
the example you gave, but my question is how did those developers even
know what needed to be added if they didn't already have in their
possession the existing list of targets?

Perhaps a dual paradigm can be used that incorporates SET in the way I
was hoping? For instance, you're only going to be ADDING / REMOVING
Criteria as it stands in v201109 right? A Platform criteria object
doesn't have anything you can mutate as I see it? It's pretty much
just straight:

Platform desktop = new Platform();
desktop.setId( 3L );

... and ADD / REMOVE it

If the SET operator is used then perhaps that can be interpreted as
the absolute list?

Pete

On Dec 12, 12:30 pm, Kevin Winter  wrote:
> Hi Pete,
>   Thanks for the feedback.  The move from Targets to Criteria made
> targeting for campaigns behave more similarly to targeting AdGroups using
> Criteria.  I know that a common complaint of the old way of handling
> targets that that incrementally adding a single Location was significantly
> harder - you needed to obtain the existing list of targets, add the new one
> and call SET rather than simply using an ADD (and the same for removing a
> single target).  I agree that the new approach requires a shift in
> thinking.  Can you elaborate on why specifically you think it will be more
> difficult to maintain targets given that managing keywords already required
> much of the same logic that Locations now need?
>
> - Kevin Winter
> AdWords API Team

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en


Re: Question About v201109 Campaign Targeting

2011-12-12 Thread Kevin Winter
Hi Pete,
  Thanks for the feedback.  The move from Targets to Criteria made 
targeting for campaigns behave more similarly to targeting AdGroups using 
Criteria.  I know that a common complaint of the old way of handling 
targets that that incrementally adding a single Location was significantly 
harder - you needed to obtain the existing list of targets, add the new one 
and call SET rather than simply using an ADD (and the same for removing a 
single target).  I agree that the new approach requires a shift in 
thinking.  Can you elaborate on why specifically you think it will be more 
difficult to maintain targets given that managing keywords already required 
much of the same logic that Locations now need?

- Kevin Winter
AdWords API Team

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en


Re: Question About v201109 Campaign Targeting

2011-12-12 Thread Pete Lavetsky (AdWords API Guru)
Kevin,

That's painful.

It's a lot easier for developers to just talk to the API and say "Hey,
we want to SET our criteria to this absolute array of Criteria" and
have Google worry about the management of ADD / REMOVE.

I can foresee tons of unintended targeting, and perhaps very
expensively through unwanted Geo targets.  I think this is definitely
the wrong direction to take and hope your team will think to
reconsider.

Pete

On Dec 12, 11:44 am, Kevin Winter  wrote:
> Hi Pete,
>   Due to the change in how these are now represented as Criteria, you will
> need to use a REMOVE operator to remove a Campaign Criteria (such as a
> Platform) rather than providing a list of just the ones you want via SET.
>
> - Kevin Winter
> AdWords API Team

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en


Re: Question About v201109 Campaign Targeting

2011-12-12 Thread Kevin Winter
Hi Pete,
  Due to the change in how these are now represented as Criteria, you will 
need to use a REMOVE operator to remove a Campaign Criteria (such as a 
Platform) rather than providing a list of just the ones you want via SET.

- Kevin Winter
AdWords API Team

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en


Re: Question About v201109 Campaign Targeting

2011-12-09 Thread Pete Lavetsky (AdWords API Guru)
Bump.

On Dec 8, 8:57 am, "Pete Lavetsky (AdWords API Guru)"
 wrote:
> Bump.
>
> On Dec 7, 10:27 am, "Pete Lavetsky (AdWords API Guru)"
>
>
>
>
>
>
>
>  wrote:
> > In prior API versions when operating on Campaign Targets a TargetList
> > was created with values and an Operator.SET operation was
> > implemented.  Whatever values were in the TargetList for that
> > TargetListType were the values set on the Campaign, Operator.ADD and
> > Operator.REMOVE didn't really need to be implemented
>
> > How should the same functionality be implemented in V201109? An
> > example 
> > (http://code.google.com/p/google-api-adwords-java/source/browse/trunk/...
> > ) shows how to Add CampaignTargetCriteria, but what about updates?
>
> > If we want to modify the Platform targets for example, do we need to
> > do a Operator.REMOVE operation on the Platform Criterion we want to
> > remove? Or can we create our CampaignCriterionOperation array that
> > contains only the Platform Criterion we want on the Campaign and use
> > the Operator.SET for each operation?
>
> > Thanks
> > Pete

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en


Re: Question About v201109 Campaign Targeting

2011-12-08 Thread Pete Lavetsky (AdWords API Guru)
Bump.

On Dec 7, 10:27 am, "Pete Lavetsky (AdWords API Guru)"
 wrote:
> In prior API versions when operating on Campaign Targets a TargetList
> was created with values and an Operator.SET operation was
> implemented.  Whatever values were in the TargetList for that
> TargetListType were the values set on the Campaign, Operator.ADD and
> Operator.REMOVE didn't really need to be implemented
>
> How should the same functionality be implemented in V201109? An
> example 
> (http://code.google.com/p/google-api-adwords-java/source/browse/trunk/...
> ) shows how to Add CampaignTargetCriteria, but what about updates?
>
> If we want to modify the Platform targets for example, do we need to
> do a Operator.REMOVE operation on the Platform Criterion we want to
> remove? Or can we create our CampaignCriterionOperation array that
> contains only the Platform Criterion we want on the Campaign and use
> the Operator.SET for each operation?
>
> Thanks
> Pete

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