how to get youtube campaigns analytic using adwords account api? - google-ads-api

I want to find campaign performance parameters of campaign impression,clicks,cpc,...etc using adwords API?
How can i get these parameters programatically?
Thanks in advance.

The required information is available in the Video Performance Report.

Related

Get rental price from YouTube Data API

I'm currently using the YouTube Data API v3 for videos and I'd like to get pricing information from the API. I couldn't find anything regarding that in the API. Is there another API for this kind of information that I'm not aware of or some undocumented parameter?
Here's an example request to get information about a movie that can be rented and bought on YouTube:
https://www.googleapis.com/youtube/v3/videos?key=API_KEY_HERE&part=snippet&id=wz43PZMOrAM
There's a price visible on the site itself but no trace of it in the API:
https://www.youtube.com/watch?v=wz43PZMOrAM&app=desktop
Thanks!
This is beyond the Youtube Data API's scope. You can't fetch that information using the Youtube API yet.

Adwords api to fetch keywords associated with a google adwords account who can authoritize my app to get his google tracking id etc

I am a telephony based company. I would like my users to authenticate me using OAuth method to fetch their google adwords campaign details related to the google account. Which google adwords api should be used to achieve this requirement.
What do you mean by campaign details? There are many kinds of campaign-level report API that gives information about campaign like this performance report, for example: https://developers.google.com/adwords/api/docs/appendix/reports/campaign-performance-report

Is there an api for youtube ads?

I'm looking for a way to manage ads on youtube api. Is there a way for that? I found only adwords api. Can it be used for ytb ads?
There's currently no API to create Ads on Youtube. Adwords API does not allow you to create Video Campaigns, so the accepted answer is incorrect.
Youtube Video ad campaign metrics are available for retrieval in the Google Ads API. However, video campaigns cannot be mutated at all from the API, including simple operations such as pausing or enabling as well as complex operations like organizing, changing criteria, or adding ad groups.
For mutating Youtube ads, you can use Google Ads Scripts, but that too can't create a new campaign.
For creating a new youtube ad campaign, a user must use Google Ads UI as of today.
Yes, you can use AdWords API for Youtube Ads.

Unable to get subscription count using youtube data API v3

So I just signed up my app for Youtube Data API V3.. I currently have the API key on hand.
Now.. I don't need to do any auth. I only want to access public information about different youtube channels.. such as their subscriber count, likes/dislikes per video, comments per video.. and that's about it.
Can someone point me to an example of hitting an endpoint to get sub count using a sample youtube account?
Thanks. Any help is appreciated.

How to use the Youtube Analytics API to get the metric "earnings"?

I am a Youtube Partner and I have monetized videos on Youtube. Already receive a small monthly amount through some channels that have associated with my Google Adsense account.
Now, I would like to generate a report gathering the monetary values and views received from each channel.
I did the following question on Google Code, because I thought there was some problem in the API, but it happened that I was using the API incorrectly. See the link below.
http://code.google.com/p/gdata-issues/issues/detail?id=4826#makechanges
Now, I still could not make it work because I do not know where to find the requested data in the response I got from the link above.
Where do I find this CMS_ID? I have more than one channel, so I need to have each accepted as a Youtube Content Manager to use the API and retrieve the gains?
Someone here on Stack Overflow already managed to use the Youtube Analytics API using the metric "earnings"?
My code is in Python based on the example from Google here:
https://developers.google.com/youtube/analytics/v1/code_samples/python
I'm using the following scopes:
YOUTUBE_SCOPES = ["https://www.googleapis.com/auth/youtube.readonly",
"https://www.googleapis.com/auth/yt-analytics.readonly",
"https://www.googleapis.com/auth/youtubepartner",
"https://www.googleapis.com/auth/yt-analytics-monetary.readonly"]
As of right now, it's only possible to retrieve monetary information in YouTube Analytics API reports when those reports are run via the context of a content owner, as described in the documentation.
It is possible to have a monetized channel that is opted in for Google AdSense ads without having that channel managed by a content owner, in which case you would not be able to get those metrics via the YouTube Analytics API.
Let's use the issue you previously opened to track the request to open up this type of report to non-content owners as well, as that's a more appropriate place for feature requests than Stack Overflow.

Resources