Comments (2)
I've observed that when I include the asset_group.status field in the AND clause of the query, it accurately selects the intended asset group, as evidenced by the correct asset group ID being returned in the response. Subsequently, this adjustment also results in the accurate representation of the listing group status.
Prior to incorporating the asset_group.status into the AND clause, the query was erroneously retrieving an asset group marked as "Removed". Despite this, the listing group associated with this incorrect asset group displayed metrics identical to those visible in the browser interface.
Could anyone shed light on why the query behaves differently without specifying the asset_group.status in the AND clause? Is this expected behavior, or might it indicate a potential issue with how the query filters based on the status field? Removed asset groups are not viewable within the browser UI.
Here's the new query:
SELECT
asset_group.name,
asset_group.resource_name,
asset_group_listing_group_filter.resource_name,
asset_group_listing_group_filter.type,
campaign.id,
asset_group.status
FROM asset_group_product_group_view
WHERE campaign.id = {campaign_id}
AND asset_group.status = 'ENABLED'
AND asset_group_listing_group_filter.case_value.product_item_id.value = '{product_id}'
AND asset_group.resource_name NOT IN ('{resource_name}')
LIMIT 1
from google-ads-python.
Hi @rdhmdhl - this looks like an issue with the API itself and not this library. I recommend reaching out to our API support channel here
from google-ads-python.
Related Issues (20)
- StatusCode.PERMISSION_DENIED HOT 1
- Keyword Historical Metric - RESOURCE_EXHAUSTED HOT 3
- Ad Accounts Suspensions Following Campaign Pausing HOT 1
- Response is None for offline_user_data_job_service_client.add_offline_user_data_job_operations HOT 1
- API GOOGLES ADS REAL-TIME HOT 1
- Adding Consent Field To OfflineUserDataJobOperation Job HOT 4
- Google Ads API: CUSTOMER_MATCH_WITH_ATTRIBUTES Job Type does not populate audience HOT 1
- Parameter to MergeFrom() must be instance of same class HOT 1
- Google Ads library version 23.1.0 has a compatibility issue with AWS lambda. HOT 1
- Get All Campaigns Based on Given Example returns Nothing HOT 2
- IsFault: True, FaultMessage: Combined audience ID is invalid HOT 1
- Google Ads API Python SDK v16 support HOT 2
- keyword ideas different results from the web interface HOT 1
- Campaign budget operation update results in SIGSEGV HOT 1
- Unable to clear portrait_marketing_images under discovery_multi_asset_ad HOT 1
- TypeError: exceptions must derive from BaseException HOT 2
- Cannot Remove Specific App Ad Asset under Campaign's AdGroup using AdService HOT 2
- Error with GenerateKeywordHistoricalMetricsRequest HOT 1
- Warning: Scope has changed from "https://www.googleapis.com/auth/adwords" to "https://www.googleapis.com/auth/userinfo.profile openid https://www.googleapis.com/auth/adwords https://www.googleapis.com/auth/userinfo.email".
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from google-ads-python.