Re: How to retrieve ads Labels

2020-08-05 Thread Google Ads API Forum Advisor Prod
Hi,

Thank you for reaching out. You could refer to this code example on how to 
create a campaign label. Creating labels on the ad group is similar. You could 
also find sample codes with other languages here.

Thanks and regards,
Xiaoming, Google Ads API Team
ref:_00D1U1174p._5004Q22b6Hn: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 
"AdWords API and Google Ads 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/Xl82y0QELUH200rHyFBJK1Qe-V9quVXU2hJw%40sfdc.net.


Re: How to retrieve ads Labels

2020-08-05 Thread beyond Clicks
Hi Xiaoming,

I've looked around for how to "create labels using the TextLabel 
 
object. To create a TextLabel" as 
https://developers.google.com/google-ads/api/docs/reporting/labels this 
guide tells me and I can find no examples of its use or how it is written 
at all, the examples on the same page make no use of it which has left me 
completley baffled as to how it is practically used. The guide acts as if 
you already have the ID, but knowing you might need to make one gives NO 
example of actually making one at all, just references to disconnected 
objects and operations with no context at all.

On Tuesday, 4 August 2020 19:25:04 UTC+1, adsapiforumadvisor wrote:
>
> Hi,
>
> Thank you for reaching out. You could fetch all direct and indirect client 
> customers of the MCC account by querying the customer_client 
>  
> resource and then use CampaignLabelService 
> 
>  
> requests to assign labels to the campaigns.
>
> Thanks and regards,
> Xiaoming, Google Ads API Team
>
>  
>
> ref:_00D1U1174p._5004Q22b6Hn: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 
"AdWords API and Google Ads 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/6859ef38-c8a7-4f12-bd8c-1ce23f6b76c9o%40googlegroups.com.


Re: How to retrieve ads Labels

2020-08-04 Thread Google Ads API Forum Advisor Prod
Hi,

Thank you for reaching out. You could fetch all direct and indirect client 
customers of the MCC account by querying the customer_client resource and then 
use CampaignLabelService requests to assign labels to the campaigns.

Thanks and regards,
Xiaoming, Google Ads API Team
ref:_00D1U1174p._5004Q22b6Hn: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 
"AdWords API and Google Ads 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/ZfDi00QEJXT100AwU9tEfjTCmcMe0bvTQqfg%40sfdc.net.


Re: How to retrieve ads Labels

2020-08-04 Thread beyond Clicks
Hi Xiaoming.

The system I'm working on will have a large amount of accoutns under a 
variety of MCC's, Is there a way to CREATE the label if it isn't present in 
that clients account as a failsafe?

On Monday, 3 August 2020 16:38:41 UTC+1, adsapiforumadvisor wrote:
>
> Hi,
>
> Thank you for reaching out. You could query the label.id 
>  
> from the label 
>  resource 
> to get the id for a label.
>
> Thanks and regards,
> Xiaoming, Google Ads API Team
>
>
>  
>
> ref:_00D1U1174p._5004Q22b6Hn: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 
"AdWords API and Google Ads 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/c890f61a-8d71-4cfb-8ee6-0b556f02ac9do%40googlegroups.com.


RE: How to retrieve ads Labels

2020-08-03 Thread Google Ads API Forum Advisor Prod
Hi,

Thank you for reaching out. You could query the label.id from the label 
resource to get the id for a label.

Thanks and regards,
Xiaoming, Google Ads API Team
ref:_00D1U1174p._5004Q22b6Hn: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 
"AdWords API and Google Ads 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/cDT0W0QEHVFL00-sG6JXgNREq8yywvcaAdOg%40sfdc.net.