RE: Create Label example request
Hi Patrick, Thanks for reaching out. We do not currently have a code sample for creating a label, but you can reach out to the PHP GitHub client library owners if you need help on this. TextLabel is a field belonging to the Label resource. You must create a TextLabel instance, specifying values for its fields, and then include that TextLabel when creating the Label using LabelService.MutateLabels. Regards, Matt Google Ads API Team Matt Google Ads API Team ref:_00D1U1174p._5004Q2W4wzG: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 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/D_4DO0R6Y7TT00ybX_E3uBT36L79AmFjWRzA%40sfdc.net.
Re: Create Label example request
Also not entirely sure this Label documentation is entirely correct, it doesn't mention Label at all only TextLabel? https://developers.google.com/google-ads/api/docs/reporting/labels#create_labels On Monday, 7 February 2022 at 13:01:33 UTC Patrick wrote: > Hello, > > I can't seem to find an example of how to create a Label via the api. > There are examples on how to attach an already existing label but none on > how to create one from scratch. > > Could you point me in the right direction, otherwise please could an > example be created, it isn't that obvious (to me at least) the relationship > between Label TextLabel and the actual label in the UI. E.g. do you need a > TextLabel at all if you're just after a simple label with a name? > > I'm using the php library, but after a very quick look it doesn't look > like there are examples in other client libraries either. > > 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/ffcae5df-e5f7-4b3d-a45b-5f3d1ce03b18n%40googlegroups.com.
Create Label example request
Hello, I can't seem to find an example of how to create a Label via the api. There are examples on how to attach an already existing label but none on how to create one from scratch. Could you point me in the right direction, otherwise please could an example be created, it isn't that obvious (to me at least) the relationship between Label TextLabel and the actual label in the UI. E.g. do you need a TextLabel at all if you're just after a simple label with a name? I'm using the php library, but after a very quick look it doesn't look like there are examples in other client libraries either. 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/7598ed8e-913d-43fe-9c90-196398e985den%40googlegroups.com.
Create Label example
Hello, I can't seem to find an example of how to create a Label via the api. There are examples on how to attach an already existing label but none on how to create one from scratch. Could you point me in the right direction, otherwise please could an example be created, it isn't that obvious (to me at least) the relationship between Label TextLabel and the actual label in the UI. E.g. do you need a TextLabel at all if you're just after a simple label with a name? 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/b5ffda1c-ad7f-4522-91b5-e27e26aaa87bn%40googlegroups.com.