Re: creating single product listing groups through rest api

2023-05-29 Thread ma...@danzrust.cz
Yep, it's all good now. Thanks for support. DZ On Monday, May 29, 2023 at 9:14:58 PM UTC+2 Google Ads API Forum Advisor wrote: > Hi, > > Thanks for getting back with us. > > It seems that you already have figured out the answer to your concern. Can > you confirm if you have any more questions

Re: creating single product listing groups through rest api

2023-05-25 Thread ma...@danzrust.cz
quot;type": "LISTING_GROUP", "status": "PAUSED", "adGroup": "customers/7803661715/adGroups/150631446858", "cpcBidMicros": "1", "listingGroup": { "type": "UNIT", "caseValue": { "prod

Re: creating single product listing groups through rest api

2023-05-25 Thread ma...@danzrust.cz
Okay, so of course it works now but I do have a follow up question . I need to exclude the "everything else in All Products" listing group but the JSON is still generating both product groups as active. I was reading the REST documentation but could not find anything about the exclusions. I'm

Re: creating single product listing groups through rest api

2023-05-25 Thread ma...@danzrust.cz
Oh, damn, that might be it. I will try in a bit. I knew it was gonna be something super simple like this after seeing so many java/python hints. DZ On Thursday, May 25, 2023 at 8:47:16 PM UTC+2 Google Ads API Forum Advisor wrote: > Hello, > > Welcome to Google Ads API Support team. Thank you f

Re: Creating Single Product Listing Groups Through Rest API

2023-05-24 Thread ma...@danzrust.cz
ed 'customers/{customer_id}/adGroupCriteria/{ad_group_id}~{criterion_id}'. * I've seen multiple posts where people would use the* "~-1" *trick while doing multiple operations at once but it was always in a different language (Java, Python etc.). How can I replicate the &q

Re: Creating Single Product Listing Groups Through Rest API

2023-05-23 Thread ma...@danzrust.cz
"error": { "code": 400, "message": "Invalid JSON payload received. Unknown name \"parentAdGroupCriterion\" at 'operations[2].create': Cannot find field.", "status": "INVALID_ARGUMENT",

Creating Single Product Listing Groups Through Rest API

2023-05-23 Thread ma...@danzrust.cz
Hi guys, I'm trying to create new single product listing groups via Rest API but I'm just stuck - I don't know what mandatory information I need to provide. At this point, I am creating a new *ad_group_criterion:* POST https://googleads.googleapis.com/v12/customers/7803661715/adGroupCriteria:mu

Getting Cost for Local Services Ads Campaigns ONLY

2022-11-08 Thread ma...@danzrust.cz
Hi guys, any ideas how to get cost for Local Services Ads campaigns only? I'm running this query: 'SELECT '+ 'campaign.id, '+ 'campaign.status, '+ 'campaign_budget.id, '+ 'campaign_budget.period, '+ 'campaign_budget.amount_micros,