-
Notifications
You must be signed in to change notification settings - Fork 771
ProductPartitions for AdWords API
Thanet Knack Praneenararat edited this page Aug 31, 2018
·
1 revision
If you're using the AdWords API to manage your Shopping Campaigns,
check out the ProductPartitions utility to simplify maintaining your
ProductPartition trees.
-
ProductPartitions- Provides methods for managing product partitions via the following
methods:
-
createSubDivision: Creates a subdivision node (product partition). -
createUnit: Creates a unit node (product partition). -
asBiddableAdGroupCriterion: Returns the biddable ad group criterion based on the specified product partition and bid amount. -
asNegativeAdGroupCriterion: Returns the negative ad group criterion based on the specified product partition. -
createAddOperation: Creates an ADD operation for the given ad group criterion. -
createRemoveOperation: Creates a REMOVE operation for the given ad group criterion. -
createSetOperation: Creates a SET operation for the given ad group criterion. -
showAdGroupTree: Returns the string representation of ad group criteria of the specified ad group ID by showing them hierarchically.
-
- An implementation exists for each AdWords API version
Google\AdsApi\AdWords\Shopping\API_VERSION\ProductPartitions.
- Provides methods for managing product partitions via the following
methods:
The AddProductPartitionTree code example
uses the ProductPartitions class to create a product partition tree by
repeatedly creating either a subdivision (createSubDivision) or a unit
(createUnit). Each unit is in
turn used to create either a biddable ad group criterion
(asBiddableAdGroupCriterion) or a negative ad group
criterion (asNegativeAdGroupCriterion).