Hi Ryan,
What details are you trying to edit in a node of the product partition? Are
you trying to change the bid amount? If so, you can use the
AdGroupCriterionService.mutate()
<https://developers.google.com/adwords/api/docs/reference/v201809/AdGroupCriterionService#mutate>
and
modify the bids
<https://developers.google.com/adwords/api/docs/reference/v201809/AdGroupCriterionService.BiddingStrategyConfiguration#bids>
or
bid modifier
<https://developers.google.com/adwords/api/docs/reference/v201809/AdGroupCriterionService.BiddableAdGroupCriterion#bidmodifier>.
You can refer to the sample UpdateKeyword
<https://github.com/googleads/googleads-php-lib/blob/master/examples/AdWords/v201809/BasicOperations/UpdateKeyword.php>
to get an idea on how to perform this operation. You will need to filter
with the specific criterion (Type = PRODUCT_PARTITION
<https://developers.google.com/adwords/api/docs/reference/v201809/AdGroupCriterionService.ProductPartition>
and
criterion id). If you are trying to remove or add a node to a subdivision,
you could use the AdGroupCriterionService and perform the ADD or REMOVE
operation by specifying the parent criterion id of the parent node. If you
are trying to do something different could you share the specifics?
As mentioned above, it is not required to remove the entire ad group,
unless the ad group is really a new one. Are you making some updates to the
ad group level attributes? If so, you could use the AdGroupService.mutate()
<https://developers.google.com/adwords/api/docs/reference/v201809/AdGroupService#mutate>
and perform the updates. You can refer to the UpdateAdGroup
<https://github.com/googleads/googleads-php-lib/blob/master/examples/AdWords/v201809/BasicOperations/UpdateAdGroup.php>
sample for reference.
I believe, if you are not deleting the ad groups, you may be fine with your
current approach of reporting. But, if you need to get stats at Campaign
level, you will need to use the Campaign Performance Reports
<https://developers.google.com/adwords/api/docs/appendix/reports/campaign-performance-report>.
What specific metrics
<https://developers.google.com/adwords/api/docs/appendix/reports/all-reports>
are you interested in?
Thanks,
Sreelakshmi, AdWords API Team
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com/search/label/adwords_api
https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads 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/1a0iqh00000000010ue48k000bca62w70mjechp6ko30c1g68qj8d1i%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.