How can I get Traffic split percentage for specific experiment

2023-01-23 Thread Mahendra Garg
Hello Team

I'm upgrading the Ads API from v11 to v12,  As in v11 there were a campaign 
experiment service that has been removed, and Now experiment service is 
getting used, but I'm unable to fetch the traffic split percentage for an 
experiment.

I've tried with the experiment arm service as well, but it say `The 
following field may not be used in SELECT clause: 
'experiment_arm.traffic_split`

So please help me, how can I query it.

Thanks & Regards
Mahendra G

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
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 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/55d3b8cc-82fe-4712-8ff7-e177ae0dedffn%40googlegroups.com.


get all experiment whose end_date is greater than today in v12

2023-01-16 Thread Mahendra Garg
Hi guys

I'm facing an issue to query to get experiments. I want experiment whose 
end date is greater than today.
```
SELECT experiment_arm.campaigns,
experiment_arm.experiment,
experiment.end_date,
experiment.resource_name
FROM experiment_arm
WHERE experiment.status IN ('ENABLED')
AND experiment.end_date > '{today}' 
```
but in v12 `>` is not available, only available operators are `Valid 
operators: =, !=, LIKE, NOT LIKE, IN, NOT IN, IS NULL, IS NOT NULL, 
REGEXP_MATCH, NOT REGEXP_MATCH.`

please let me know if anyone have gone through by it.

Thanks

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
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 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/89190d2c-b7bf-4563-a247-5f64298ed145n%40googlegroups.com.