Re: API to get discovery Ads

2021-10-07 Thread Soham Navadiya
How to get discovery Ads via APIs along with Ad images?

On Thursday, October 7, 2021 at 1:55:51 PM UTC+5:30 Soham Navadiya wrote:

> Hello,
>
> I am able to get search Ads via API but not able to find display ads via 
> Ads API.
>
> Qyery I have used to get search ads is
>
> SELECT
> ad_group.id,
> ad_group_ad.ad.id,
> ad_group_ad.ad.responsive_search_ad.headlines,
> ad_group_ad.ad.responsive_search_ad.descriptions,
> ad_group_ad.status
> FROM ad_group_ad
> WHERE ad_group_ad.ad.type = RESPONSIVE_SEARCH_AD
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/3c76404d-2a4b-4b32-8fe6-55980daaacb5n%40googlegroups.com.


API to get discovery Ads

2021-10-07 Thread Soham Navadiya
Hello,

I am able to get search Ads via API but not able to find display ads via 
Ads API.

Qyery I have used to get search ads is

SELECT
ad_group.id,
ad_group_ad.ad.id,
ad_group_ad.ad.responsive_search_ad.headlines,
ad_group_ad.ad.responsive_search_ad.descriptions,
ad_group_ad.status
FROM ad_group_ad
WHERE ad_group_ad.ad.type = RESPONSIVE_SEARCH_AD

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/7afb51ea-1c8c-4a72-b5f0-9e2a31d36d06n%40googlegroups.com.


API key for Test Account in Google Ad Manager Account

2021-09-18 Thread Soham Navadiya
Hello,

We are trying to build dashboard for our internal team to check all running 
campaing analytics in single dashboard, to achive it we were exploring 
google Ads API to fetch campaing, ad-group, ad stats data.

I am using google-ad python lib. I have shared code to get campaing and 
ad-group data.

https://github.com/googleads/google-ads-python/blob/868bf36689f1ca4310bdead9c46eed61b8ad1d11/examples/basic_operations/get_ad_groups.py

When I am trying to fetch receiving following error.

```
Request made: ClientCustomerId: 4777598049, Host: googleads.googleapis.com, 
Method: /google.ads.googleads.v8.services.GoogleAdsService/Search, 
RequestId: Oz0An5pqVcs1gImvkOfNWg, IsFault: True, FaultMessage: Developer 
token is not allowed with project '51683992676'.
Request with ID "Oz0An5pqVcs1gImvkOfNWg" failed with status 
"PERMISSION_DENIED" and includes the following errors:
Error with message "Developer token is not allowed with project 
'51683992676'.".
```

I have 2 quesiton.
1. How to get API key for Ad Manager Test Account
2. How to solve the error of Ad Group API

I have googled and spend 5 hours to resolve it but couldn't found solution. 
Please help me.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/640904c9-8e93-4a8f-968c-7d92e71fb5aen%40googlegroups.com.