How to create a product group uisng google adwords api php.

292 views
Skip to first unread message

ShareSoft Technology

unread,
Jul 16, 2018, 6:01:19 AM7/16/18
to AdWords API and Google Ads API Forum
I am new to google adwords. 
I need to create a new product group. I have used below library to do that process.
 I want to know if that method is correct or not . If the method is correct ,

const BUDGET_ID = 'INSERT_BUDGET_ID_HERE';
const MERCHANT_ID = 'INSERT_MERCHANT_ID_HERE';

I want to know where can i get "BUDGET Id".Otherwise please provide the sample code to create product group usinggoogle adwords api.

Dhanya Sundararaju (AdWords API Team)

unread,
Jul 16, 2018, 3:05:56 PM7/16/18
to AdWords API and Google Ads API Forum
Hi,

Yes, to create a new product group, you will need to create a Shopping Campaign, then create a SHOPPING_PRODUCT_ADS adgroup or SHOPPING_SHOWCASE_ADS adgroup. After that, you will be able to add ProductAd or a ShowcaseAd to your Ad group and then, decide which products to include and how much to bid for them. Please refer this section of guide for better clarity which has code samples as well. When you create a Shopping Campaign, you will need to set a budget. You will need to get this budget id and pass it when creating the Shopping Campaign. The MERCHANT_ID will be the Merchant Center Account ID that your products belong to. Please give it a try and let me know if you have any further questions.

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