user_location_view.country_criterion_id unable to translate to geo_target_constant

2021-05-05 Thread Todd Evans
We are running a gaql that has a resource of *user_location_view*.  We are 
trying to translate the *user_location_view.country_criterion_id* value to 
a *geo_target_constant.name.*

All the values translate fine except for the following 
user_location_view.country_criterion_id's

   - 2192
   - 2364
   - 2736
   - 2760

I am comparing *user_location_view.country_criterion_id* to 
*googleAdsRow.GeoTargetConstant.Id* 

Are these countries restricted? or is there another reason why they are not 
in geo_target_constant list.

Thank you in advance,
Todd

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/38c4fb47-c715-4e1d-973c-f007f7517dbcn%40googlegroups.com.


Service Account to access MCC that are not linked

2021-04-14 Thread Todd Evans
We have a scenario in which we need *ReadOnly *access to our customers MCC 
account that is not linked to our MCC account..  We are currently using an 
email address to access this account as ReadOnly and that works just fine.

We would like to use a Service Account *instead *of our email address.

We cannot link that MCC account to our MCC account as this would give us 
some level of Admin rights.

Will using a Service Account in this scenario work for us?


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/fc3a2237-d1e4-4975-aa8a-7209c8ac056bn%40googlegroups.com.


20 Account Limit

2021-04-05 Thread Todd Evans
I originally posted the below question to Google Ad Community.  After a 
couple rounds they referred me to this Forum.

Question: 
We have hit the limit of 20 accounts per email.  Our customer, Samsung, has 
42 accounts that I need *ReadOnly *access to.  We are unable to link to 
sub-accounts as this gives us some level of Admin rights.

How can 1 email account get access to 42 accounts with ReadOnly access.

Linking the accounts under MCC gives us some level of Admin rights to those 
accounts.  We need *ReadOnly *rights to 42 accounts to allow us to make 
ReadOnly API Calls.  How can we make this happen?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/f81c646b-518a-470c-81c6-5dea18846e49n%40googlegroups.com.


Geographic Cost value is off

2021-03-16 Thread Todd Evans
We are currently running the following gaql to acquire Geographic 
information.
The Cost data(metrics.cost_micros) returned from this gaql needs to be 
divided by 1,000,000 to get the "Real" Cost.  We feel this needs to be 
corrected in the API.

SELECT campaign.name ,ad_group.name, geographic_view.location_type 
,segments.ad_network_type ,segments.geo_target_city 
,segments.geo_target_state ,geographic_view.country_criterion_id 
,segments.geo_target_metro ,metrics.impressions, metrics.clicks, 
metrics.cost_micros FROM geographic_view  WHERE segments.date BETWEEN 
'2019-01-01' AND '2019-12-31' 


See attached screen shot of some data returned by the API






-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/0ff50479-3c9d-4494-af46-487075e25e6an%40googlegroups.com.


SearchGoogleAdsRequest multiple accounts

2021-03-09 Thread Todd Evans
We are using code like the following to make requests but it only handles 1 
account at time.
How can we perform the same gaql for multiple accounts(up to 150 accounts) 
for one of our clients.

We feel making these kinds queries many times in a short span of time if 
highly inefficient.
In the Reporting UI we can select multiple accounts and we want to 
replicate that feature.

SearchGoogleAdsRequest searchGoogleAdsRequest = new SearchGoogleAdsRequest()
{
CustomerId = CustomerID,
Query = gaql
 };

 var result = 
GoogleAdsServiceClient.Search(searchGoogleAdsRequest).ToList();

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/f272e0f9-a999-4c67-b60c-e94469adb092n%40googlegroups.com.


Google Ad API : We want to see Zero Impressions

2021-02-22 Thread Todd Evans
We have tried to run several Gaql's trying to return Zero Impressions, like 
the following.  But zero impressions are not returned.
We understand that segments in the Select statement will prevent zero 
impressions.
We also understand that queries will return zero impressions by default in 
Google Ads API

SELECT campaign.name, ad_group.name ,metrics.impressions, metrics.clicks, 
metrics.cost_micros FROM geographic_view 

We have compared our queries against the Google UI like Geographic report 
and it returns zero impressions.

What are we missing.
Your help would be greatly appreciated.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/4851d404-2718-48bb-9714-07c834c1db67n%40googlegroups.com.


Service Account: WaitingForActivation

2021-02-19 Thread Todd Evans
I have a Service Account setup and I am trying to get my app to 
authenticate against this Service Account and ultimately call SearchStream()

I have the following code.  Upon GetAccessTokenForRequestAsync() method 
being called we receive a Status = WaitingForActivation message.

I have checked this Service Account and it shows a green check for status.  
What am I missing?

GoogleAdsClient _client = 
GoogleServiceAccountAuthentication.GetGoogleAdsClient();
var clientToken = 
_client.Config.Credentials.GetAccessTokenForRequestAsync();

public static GoogleAdsClient GetGoogleAdsClient()
{   
return new GoogleAdsClient(GetGoogleAdsConfig());
}

/// 
/// Get the GoolgeAds Service Account Configuration
/// 
/// GoogleAdsConfig object containing configuration 
settings
public static GoogleAdsConfig GetGoogleAdsConfig()
{
GoogleAdsConfig config = new GoogleAdsConfig()
{
OAuth2SecretsJsonPath = "Keys/xx.json",
OAuth2Mode = OAuth2Flow.SERVICE_ACCOUNT
  
};

config.OAuth2ClientId = "";  
config.DeveloperToken = "xx";

return config;
}

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/d2d89a7c-0a18-4dee-9a22-98755e7d88a9n%40googlegroups.com.


Request AdvertisingChannelSubType field for reporting

2021-02-10 Thread Todd Evans
In the following document it states that AdvertisingChannelSubType 

 field 
is not available in the API.  We are not looking to change/mutate this 
field but only report on it like the Campaign subtype in the UI.

Would it be possible to add this feature to the Google Ads API?

https://developers.google.com/google-ads/api/docs/campaigns/overview#campaign_subtypes

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/820b8da0-f2f4-471f-8efb-b43b09aacb5cn%40googlegroups.com.