Hello Jordan,

We currently do not have a direct code sample for this. However, I can 
suggest you on how to implement this. You could setup the partition tree 
with the NegativeAdGroupCriterion 
<https://developers.google.com/adwords/api/docs/guides/shopping#partitioning> 
where 
you can set the 'Everything else' partition to exclude the base node, which 
is a UNIT type. The NegativeAdGroupCriterion 
<https://developers.google.com/adwords/api/docs/reference/v201705/AdGroupCriterionService.NegativeAdGroupCriterion>
 indicates 
that you do not wish to bid for this particular leaf in the AdGroup.

You could refer to the PHP code sample by making a change on this line 
<https://github.com/googleads/googleads-php-lib/blob/master/src/Google/AdsApi/AdWords/Shopping/v201708/ProductPartitions.php#L120>
 as asNegativeAdGroupCriterion 
<https://github.com/googleads/googleads-php-lib/blob/master/src/Google/AdsApi/AdWords/Shopping/v201708/ProductPartitions.php#L151>.
 
You can also refer to this documentation about Partitions 
<https://developers.google.com/adwords/api/docs/guides/shopping#partitioning> 
for 
more information.

Thanks,
Bharani, AdWords API Team.

On Thursday, August 31, 2017 at 5:14:14 AM UTC-4, [email protected] wrote:
>
> Hi,
>
> I can't figure out how to exclude the "Everything Else" category when 
> partitioning products using the PHP library.
>
> Could anybody give me a pointer or a code sample on how to do this?
>
> Thanks,
> Jordan
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/f3fafa62-039c-4d9c-a274-ff1bb0f91601%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • Excluding &qu... jordan
    • Re: Excl... 'Bharani Cherukuri (AdWords API Team)' via AdWords API Forum

Reply via email to