Comments (4)
Thanks very much for ur work. Pulling adwords data is a quite Irritating thing, especially when in a smaller level, such as asset. This is a very tedious job. Your work is so awesome.
I think an issue is...
customer.report({
entity: 'video',
attributes: ['campaign.id', 'campaign.name', 'ad_group.id', 'ad_group.name', 'ad_group.status', 'video.id'],
metrics: ['metrics.impressions', 'metrics.clicks', 'metrics.conversions'],
segments: ['segments.date'],
from_date: '2019-05-22',
order_by: 'metrics.clicks',
sort_order: 'desc',
limit: 5,
}).then(data =>
console.log(data)
).catch(err =>
console.error(err)
)
This is normally executed code. Campaign id is correct, but adgroup id is different from what I see in backstage.
I'd like to see your reply and salute your work again.
from google-ads-api.
Hi @Ka6utack ! Thanks for the kind words :)
I'm not sure that I understand your question. Are you saying that the ad_group.id
in the result rows doesn't match what you expect? Where are you seeing a different AdGroup ID?
from google-ads-api.
Hi @Ka6utack ! Thanks for the kind words :)
I'm not sure that I understand your question. Are you saying that the
ad_group.id
in the result rows doesn't match what you expect? Where are you seeing a different AdGroup ID?
Thanks for your reply.
When we were on adwords' asset page. its url looks like https://ads.google.com/aw/adassets?campaignId=**********&adGroupId=***********&ocid=*********&__c=**********&authuser=1&__u=**********
these params are included in the url. the campaign id is same with the campaign.id
field data pulled with your work. bt adgroup_id
doesn't correspond to adGroupId
in the url. where i hover on a video asset. the link displayed is like https://www.youtube.com/watch?v=DR2***Ut7zk
. the video id is consistent with your video.id
field. I think there's something wrong with it, or it could be something wrong with my parameters.
thx! man!
from google-ads-api.
I'm not sure why those wouldn't match... We only do very light parsing of results, so it's very unlikely that we would be mixing up the adgroups. It's more likely that the AdWords UI's URLs don't work in quite the way we expect. It's a complicated Angular app, after all.
Still, if you would like to confirm that the AdGroups we're returning in this library are correct, here are two things you could do:
- Try using https://github.com/Opteo/google-ads-node to make the same GAQL query. That library does almost no parsing of results, so what you see is what you get. If the results (campaign-adgroup-video groups) are different to this library, then this library has a bug.
- Try getting the adgroup name. That's easier to cross check in the AdWords UI than the adgroup ID.
from google-ads-api.
Related Issues (20)
- Upgrade Google Ads to v14 HOT 9
- Export the function 'buildQuery'
- Can't create ad_group_ad_critetion with age and gender at the same time
- "The client has already been closed" Error thrown HOT 2
- Wait for response forever in Cloud Functions
- unable to compile with 13.0.1
- No information on documentation HOT 1
- Adding/Removing Criteria, and missing Documentation HOT 1
- OPERATION_NOT_PERMITTED_FOR_REMOVED_RESOURCE
- List customers with their descriptive names
- Why is `toJSON` required for `generateKeywordIdeas`?
- Authentication Error
- Upgrade Google Ads API to v15 HOT 19
- How to create a custom segment via the SDK? HOT 1
- Customer report showing previous day's data when date_constant is 'TODAY'
- Bad resource id in query from conversion_action HOT 1
- TypeError: this.auth.getUniverseDomain is not a function HOT 1
- Query returns campaign data, but report options does not based on TODAY date_constant
- size of module growing, making use with AWS lambda functions difficult HOT 2
- Can't change a Promotion Asset from "Money Amount Off" to "Percent Off".
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-api.