Hi Jason,

I was able to replicate the results on my test account. I will discuss this
concern with the team and provide you with updates once available.

Regards,
Dannison
Google Ads API Team


=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
    http://googleadsdeveloper.blogspot.com/search/label/adwords_api
    https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

On 03/15/19 23:43:53 ja...@searchkings.ca wrote:

Hi Google Ads Team,

In the old Adwords API, campaigns were able to access their own labels.
However, in the new Ads API, campaigns do not have access to their own
labels.

While fetching campaigns with specific labels is still straight forward,
it's now seems impossible to do the opposite (without specific labels). For
example, if we had a group of campaigns with the following labels:

   1. Label A
   2. Label B
   3. <No Label>

And I wanted to get all the campaigns WITHOUT Label A. In the old API, it
would simply be a query on campaigns WHERE labels CONTAINS NONE Label A and
will get campaigns returned with Label B and also <No label>.

Now with the Ads API, using the campaign_label resource, I can form a
similar query such as SELECT campaign.id FROM campaign_label WHERE
label.name != Label A, however it'll only return campaigns with Label B.

Is there another way to form this query?


--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit https://groups.google.com/d/
msgid/adwords-api/ccff375b-f60d-4f27-b2a6-bf57964f3a11%40googlegroups.com
<https://groups.google.com/d/msgid/adwords-api/ccff375b-f60d-4f27-b2a6-bf57964f3a11%40googlegroups.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/19hee4g00000000106ou5s0003n6bqx70mj4dhm60o30c1g68qj8dhj%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
  • Google ... jason
    • RE... googleadsapi-forumadvisor via AdWords API and Google Ads API Forum
    • RE... googleadsapi-forumadvisor via AdWords API and Google Ads API Forum

Reply via email to