Ads Api PHP - Shopping Campaign - Product groups

49 views
Skip to first unread message

Paweł Jóźwik

unread,
Nov 22, 2018, 11:33:24 AM11/22/18
to AdWords API and Google Ads API Forum
Dear Members

I'm trying to use Ads API to create specific Shopping campaign structure. I need a separate ad group for each product from my Merchant Product Feed.
I'm stuck on ProductPartition.

I can't see in the docs and Api reference how to set up my divisions. I need to divide by offer id and then exclude all others. One product in each ad group - product group.

Can anybody confirm that its possible in current Ads Api with php client library?
Can anyone share an example code in PHP?


Screenshot 2018-11-22 at 17.32.37.png

Luis Xander Talag (AdWords API Team)

unread,
Nov 22, 2018, 10:18:30 PM11/22/18
to AdWords API and Google Ads API Forum
HI,

Could you confirm if what you meant by Ads API is you are using the AdWords API? If so, you could see here the complete guide on how to create the Shopping Campaigns which also includes this complete running sample codes in PHP. Also, you could see on this section about the information on product partitioning. You could also use the ProductOfferId object for creating offer id dimension.

Let me know if you need further clarifications.

Thanks and regards,
Luis
AdWords API Team

Paweł Jóźwik

unread,
Nov 23, 2018, 1:25:00 AM11/23/18
to AdWords API and Google Ads API Forum
Ok, now I see. I was reading ads (google-ads-php) documentation and tried to run it with AdWords (googleads/googleads-php-lib) api.

Is there a list of google-ads-php limitations?

Thank you.

Luis Xander Talag (AdWords API Team)

unread,
Nov 23, 2018, 2:57:43 AM11/23/18
to AdWords API and Google Ads API Forum
Hi,

I'm afraid we don't have a list of limitations for google-ads-php. However, what you could see on the Shopping Ads guide for Google Ads API Beta is only the available. 

Regards,
Luis
AdWords API Team
Reply all
Reply to author
Forward
0 new messages