Checked the latest version of google-ads-php. No getStatusValue method exists
On Monday, June 24, 2019 at 4:26:19 PM UTC+3, integrations bidalgo wrote: > > Hi Ziv, > > There is no getStatusVlue method in CampaignCriterion: > > Call to undefined method > Google\Ads\GoogleAds\V1\Resources\CampaignCriterion::getStatusValue() > I'm using "googleads/google-ads-php": "^1.2.0" > Is it OK? > > > On Monday, June 24, 2019 at 10:18:17 AM UTC+3, adsapiforumadvisor wrote: >> >> Hi there, >> >> Thank you for reaching out to us. >> >> You may access the status field of CampaignCriterion >> <https://developers.google.com/google-ads/api/reference/rpc/google.ads.googleads.v1.resources#campaigncriterion>, >> >> which will then give you a CampaignCriterionStatus >> <https://developers.google.com/google-ads/api/reference/rpc/google.ads.googleads.v1.enums#google.ads.googleads.v1.enums.CampaignCriterionStatusEnum.CampaignCriterionStatus> >> >> enum to work with. Taking this sample code >> <https://github.com/googleads/google-ads-php/blob/master/examples/Targeting/GetCampaignTargetingCriteria.php> >> >> as an example, you may try using *getStatusValue()* to retrieve the >> CampaignCriterionStatus. >> >> Let me know if this works for you. >> >> Regards, >> Ziv Yves Sanchez >> Google Ads API Team >> >> ref:_00D1U1174p._5001UCZ1Mq:ref > > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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]. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/11581153-46c4-4c49-85ce-06e1141c1770%40googlegroups.com.
