Re: Renamed status for Campaign and AdGroup name

2019-10-03 Thread Rosdyana Kusuma
Hi Nikisha,

Thank you for your response. how about the change history from this url ( 
https://ads.google.com/aw/changehistory ) , do you have API to get data 
from those page?

thank you,
have a good day

On Friday, October 4, 2019 at 3:36:51 AM UTC+8, adsapiforumadvisor wrote:
>
> Hello Rosdyana,
>
> Thank you for writing to us today. I'm afraid that the notification 
> feature is currently not supported via Google Ads API. However, you could 
> use Adwords Alerting Framework 
>  to generate 
> alerts for all the accounts under a specified manager account. Let us know 
> if you need any additional assistance.
>
> Regards,
> Nikisha Patel, Google Ads API Team
>
>
> ref:_00D1U1174p._5001UKM1wS:ref

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/c452d1dc-a1e1-4871-93be-92e895119aeb%40googlegroups.com.


RE: Adwords API at the MCC level set up conversion tracking account

2019-10-03 Thread Google Ads API Forum Advisor Prod
Hi Jessie,

Thank you for reaching out to our team.

Moving forward, if you are referring to setting up cross-account conversion 
tracking, then, the set up is currently not supported in the AdWords API. You 
would need to use the Google Ads UI for this. You may also keep an eye on our 
blog should there be any updates regarding this topic.

Thanks and regards,
Peter
Google Ads API Team
ref:_00D1U1174p._5001UKM6sO:ref

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/NrUKT0PYTWNX00Xne3_kPzT4q9oJDFA4Aokg%40sfdc.net.


RE: Need help debuging unauthorized error

2019-10-03 Thread Google Ads API Forum Advisor Prod
Hello,

Thank you for reaching out. To better investigate your issue, could you please 
share the complete request and response logs along with the client customer id? 
Please use Reply privately to author option while sharing the details.

Regards,
Nikisha Patel, Google Ads API Team
ref:_00D1U1174p._5001UKM8VM:ref

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/kLFjE0PYTH4W00P2Ukn7DET1qvDrRup310Og%40sfdc.net.


Need help debuging unauthorized error

2019-10-03 Thread Sifang Chu
Hi,

Our company is an existing user of ADWords API. I'm starting to experiment 
with Ads API. I have just downloaded the client library and trying out the 
first call to get campaign reports. I'm using the existing credentials that 
are working with ADWords API. 

I specified the MCC customer id inside ads.properties and the customer id 
associated with mcc account in the java call.  This did not work and I then 
tried all different combination of MCC customer id and customer id.  

Combinations include specifying the logincustomer id inside ads.properties 
file, with the mcc customer id, or a regular customer id belonging to that 
mcc account. And using either of the ids in the 
mvn exec:java 
-Dexec.mainClass="com.google.ads.googleads.examples.basicoperations.GetCampaigns"
  
   -Dexec.args="--customerId xxx"
call.

I have checked that the client id, client secret, developerToken and 
refreshToken are set correctly for the specific MCC account inside the 
ads.properties file. Still I'm getting the same 401 error.

If you could help me debug this issue, it would be very much appreciated!


Thanks,
Sifang

Status: Status{code=UNAVAILABLE, description=Credentials failed to obtain 
metadata, cause=com.google.api.client.http.HttpResponseException: 401 
Unauthorized
at com.google.api.client.http.HttpRequest.execute(HttpRequest.java:1094)
at 
com.google.auth.oauth2.UserCredentials.refreshAccessToken(UserCredentials.java:193)
at 
com.google.auth.oauth2.OAuth2Credentials.refresh(OAuth2Credentials.java:165)
at 
com.google.auth.oauth2.OAuth2Credentials.getRequestMetadata(OAuth2Credentials.java:151)
at com.google.auth.Credentials.blockingGetToCallback(Credentials.java:113)
at com.google.auth.Credentials$1.run(Credentials.java:99)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at 
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
at 
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/7d743e8d-2c2d-437e-bcf9-45c75944ef5d%40googlegroups.com.


RE: 'Unique Users' metric in Google Ads Reporting API

2019-10-03 Thread Google Ads API Forum Advisor Prod
Hello,

Unfortunately, the 'unique users' metric is not available in Adwords API. The 
feature request for your concern is already raised within our team, please keep 
an eye on our blog post for future updates and announcements. Let me know if 
you have any additional concerns.

Regards,
Nikisha Patel, Google Ads API Team
ref:_00D1U1174p._5001UKM21r:ref

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/leHDu0PYTDSX002iuf-tHSQbOSjw_IMzcM8g%40sfdc.net.


RE: Renamed status for Campaign and AdGroup name

2019-10-03 Thread Google Ads API Forum Advisor Prod
Hello Rosdyana,

Thank you for writing to us today. I'm afraid that the notification feature is 
currently not supported via Google Ads API. However, you could use Adwords 
Alerting Framework to generate alerts for all the accounts under a specified 
manager account. Let us know if you need any additional assistance.

Regards,
Nikisha Patel, Google Ads API Team
ref:_00D1U1174p._5001UKM1wS:ref

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/N6a0r0PYTD4S003UQnR7sFShuWJFedA_ZR_Q%40sfdc.net.


Adwords API at the MCC level set up conversion tracking account

2019-10-03 Thread Jessie Wu
Hi,
Is there any way to set 'Google Ads conversion account' of the customer 
account to the manager account via the 'ManagedCustomerService' API?
Right now I have to manually set it up, by going to the `MANAGEMENT` 
section in the Accounts page, and check the accounts I want to change then  
set the 'Google Ads conversion account' to 'This manager'.
But I will have many customer accounts in the future, so I want to set up 
the `Google Ads conversion account` once the account is created under the 
mcc.
Thanks!

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/de4c5f0b-349d-48ef-b52e-9040f33b303a%40googlegroups.com.


Re: How to fetch deivce and extensions statistics

2019-10-03 Thread Google Ads API Forum Advisor Prod
Hi Kuldeep,

It is not possible to retrieve the Level attribute directly. If the FeedItem is 
targeted to any specific ad group or campaign, the fields targeted_ad_group and 
targeted_campaign will return these details. Hope this helps!

Thanks,
Bharani, Google Ads API Team
ref:_00D1U1174p._5001UHHl07:ref

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/bklxf0PYTB6G00_5J3y31lT1OEAG5SgQTBuQ%40sfdc.net.


RE: update CpcBid By Audience

2019-10-03 Thread Google Ads API Forum Advisor Prod
Hi Snayder,

Thank you for reaching out. Can you please share the complete SOAP logs for 
your request so that we can investigate the error further using reply privately 
to author? See here for more details on how to enable logging.

Thanks,
Anthony
Google Ads API Team
ref:_00D1U1174p._5001UKM4Mz:ref

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/jVM400PYTACM00X6sR5g_QQ9qLHcNFmJzXXQ%40sfdc.net.


RE: Keyword planer

2019-10-03 Thread Google Ads API Forum Advisor Prod
Hi Duong,

Please find my response below:

1. any api to set set conversion rate and value per conversion?
I'm afraid, it is not possible to set the conversion rate and value per 
conversion through the API.

2. any api to get more forecast metric?
The fields that are currently supported are listed here. Please keep an eye on 
our blog for more updates.

Let me know if you have any further questions.

Thanks,
Bharani, Google Ads API Team
ref:_00D1U1174p._5001UKLzqU:ref

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/vvYE00PYT9EU00sWRu8R3oQPCyWED2tsm9pw%40sfdc.net.


RE: Keyword planer

2019-10-03 Thread Google Ads API Forum Advisor Prod
Hi Duong,

Please find my response below:

1. any api to set set conversion rate and value per conversion?
I'm afraid, it is not possible to set the conversion rate and value per 
conversion through the API.

2. any api to get more forecast metric?
The fields that are currently supported are listed here. Please keep an eye on 
our blog for more updates.

Thanks,
Bharani, Google Ads API Team
ref:_00D1U1174p._5001UKLzqU:ref

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/gC0WN0PYT99F0097hy7ZMIQbq75Vivbl9Nag%40sfdc.net.


RE: Google Ads API - Device type query is returning confusing results

2019-10-03 Thread Google Ads API Forum Advisor Prod
Hello Dylan,

A device criteria for each device implicitly exists in each campaign, so you 
won't be able to ADD or REMOVE those criteria. Could you please share the 
request and response logs, so I can take a closer look? You can share the 
details privately via Reply privately to author option.

Regards,
Bharani, Google Ads API Team
ref:_00D1U1174p._5001UKLysf:ref

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/ef78e0PYT76K00gfHxlJnCShe1hVrZ6mOh8g%40sfdc.net.


RE: How to get Google Ads accounts using API via Oauth2 Authentication.

2019-10-03 Thread Google Ads API Forum Advisor Prod
Hello Praduman,

If you are using AdWords API, you can use the ManagedcustomerService.get 
function to fetch all the clients under your manager account. You have to pass 
the manager customer id as the customerClientId for this specific API call as 
we are fetching all the clients linked to manager account.

If you are using Google Ads API, please use the below search query to get the 
client accounts linked to a specific manager account. Even here while making 
the API call you have to use manager customer id as the customerClient Id for 
this specific search query.

Query: "SELECT customer_client.client_customer, customer_client.currency_code, 
customer_client.descriptive_name, customer_client.hidden, customer_client.id, 
customer_client.level, customer_client.manager, customer_client.resource_name, 
customer_client.test_account, customer_client.time_zone  FROM customer_client"

Please let me know if you have any further questions.

Regards,
Sai Teja, Google Ads API Team
ref:_00D1U1174p._5001UKM2Ru:ref

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/PNWNd0PYT0M300C0JGELgwRkmmbfPSmtma9A%40sfdc.net.


update CpcBid By Audience

2019-10-03 Thread Snayder Acero
Good morning,

I generated a report of audiences with the api of GoogleAdwords PHP, I need 
to update the CPCMax of the hearings, but I can't find documentation about 
it. I tried to do it by directly updating the group, but it doesn't work 
correctly. I would like to know how I can adjust my code, to directly 
modify the audience!


// load AdGroup Service
$adGroupService= $adwServices->get($session, 
AdGroupService::class);
// convert Unit To Micro
$cpcBidMicroAmount = $this->convertUnitToMicro($newMaxCPC);
// set Id Group
$adGroup->setId($adGroupId);
// Update the CPC bid if specified.
if ($cpcBidMicroAmount > 0) {
// instance Class CpcBid
$bid   = new CpcBid();
// instance Class Money
$money = new Money();
$money->setMicroAmount($cpcBidMicroAmount);
$bid->setBid($money);
$biddingStrategyConfiguration = new 
BiddingStrategyConfiguration();
$biddingStrategyConfiguration->setBids([$bid]);

$adGroup->setBiddingStrategyConfiguration($biddingStrategyConfiguration);
}
// generate Mutate Operations
$operations = $this->generateMutateOperations($adGroup, 
$output);
// Update the ad group on the server.
$result  = $adGroupService->mutate($operations);

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/e8b82733-9e6b-4448-a0c7-79f2a0138648%40googlegroups.com.


How to get Google Ads accounts using API via Oauth2 Authentication.

2019-10-03 Thread Praduman Tiwari
Hello :),
I'm trying to access all the Google Ads accounts which are linked to my 
connected account.

I am developing an APP which is based on Ad creation, I have integrated the 
FB and currently stuck in Google Ads.


Please check my FB flow in my attachment. 

[image: image_2019_10_03T09_47_40_442Z.png]



And, I am trying to as it flows for Google Ad. I have already done Oauth2 
for an account and get the permission of "Manage your AdWords campaigns".

please suggest the best way to continue my

[image: Screenshot_1.png]



Thanks in advance.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/2cd203fc-5a85-4e9d-9fd5-ce760d2d1498%40googlegroups.com.


Re: Migrate field Criteria to Google Ads

2019-10-03 Thread Project YSS
Hi, 
Thank for your answer.
I tried like you said but I have some issues:

*- The campaign criterion field in Adwords API are mapped to the fields of 
campaign_criterion resource in Google Ads API.*1. The types: 
ProductPatition, PreferredContent, RunOfNetwork, InteractionType in 
AdWordAPI are which types in Google Ad API?
2. When I accessed API to get data of field 
campaign_criterion.location_group.geo_target_constants I got this message:
"The following field may not be used in SELECT clause: 
'campaign_criterion.location_group.geo_target_constants'."
The query I used: 
 "query" : "SELECT customer.id, campaign_criterion.criterion_id, 
campaign.id, campaign.name, campaign.status, campaign_criterion.type, 
campaign_criterion.negative, campaign_criterion.location_group, 
campaign_criterion.location_group.feed, 
campaign_criterion.location_group.geo_target_constants FROM 
campaign_criterion ",
 "page_token": ""}
3. How can I get all data of AppPaymentModel, ListingGroup?


*- The criterion field in Adwords API are mapped to the fields of 
shared_criterion resource in Google Ads API.*in the document, 
shared_criterion.type contains many types like  AdSchedule, AgeRange ... 
but in shared_criterion resoucrce I can only get value of Keywrod and 
MobileAppCategory, YoutubeChannel, YoutubeVideo.
How can I get all data of shared_criterion like AdSchedule, AgeRange ...?
Thank you.

On Wednesday, October 2, 2019 at 9:53:17 PM UTC+7, adsapiforumadvisor wrote:
>
> Hello,
>
> The campaign criterion 
> 
>  
> field in Adwords API are mapped to the fields of campaign_criterion 
>  
> resource in Google Ads API. For reference, AdSchedule criterion in Adwords 
> API is mapped to 
> campaign_criterion.ad_schedule.day_of_week, 
> campaign_criterion.ad_schedule.end_hour, 
> campaign_criterion.ad_schedule.end_minute 
> and so on. Similarly, AgeRange is mapped 
> to campaign_criterion.age_range.type and rest of the fields can be mapped 
> in similar way. Let us know if this clarifies your concern.
>
> Regards,
> Nikisha Patel, Google Ads API Team
>
>
> ref:_00D1U1174p._5001UKLhIx:ref

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/56cf914e-b75d-4ac3-bf09-21001eb24752%40googlegroups.com.


'Unique Users' metric in Google Ads Reporting API

2019-10-03 Thread 'Improvado Support' via AdWords API and Google Ads API Forum
Hello,
we are using Adwords Reporting API (v201809) 
https://developers.google.com/adwords/api/docs/appendix/reports/all-reports
 .

API doc contains a description of deprecated metric Unique Cookies 
(ImpressionReach):
[image: screenshot-ads.google.com-2019.10.02-18_08_05.png]


[image: screenshot-developers.google.com-2019.10.02-18_09_34.png]

 
but doesn't provide any info about metric Unique Users from UI:
[image: screenshot-ads.google.com-2019.10.02-18_07_18.png] 



Can you please advice, can we can pull this metric by API (for example, in 
Campaign Performance Report)? 
If it's not possible, do the developer team have any plans to add it?

King regards, 
Improvado Team

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/42c2f783-726f-4fc4-b610-83cb9017a372%40googlegroups.com.


Renamed status for Campaign and AdGroup name

2019-10-03 Thread Rosdyana Kusuma
Hello, 

Currently, I have situation that I need to create notification if the 
campaign name or adgroup name has been renamed. 
>From this documentation ( 
https://developers.google.com/google-ads/api/reference/rpc/google.ads.googleads.v2.enums#campaignstatusenum,
 
and 
https://developers.google.com/google-ads/api/reference/rpc/google.ads.googleads.v2.enums#adgroupstatusenum
 ) 
there's no status about 'renamed', is it possible to do it? 

thank you,
have a good day,
regards,
Ros.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/a337cc7c-25a7-43cd-8c92-c27c0fd9f651%40googlegroups.com.


Re: How to fetch deivce and extensions statistics

2019-10-03 Thread Kuldeep Kumar Patel

Thanks, I am able to get all the fields except LEVEL. Please help me to get 
this.

On Wednesday, 2 October 2019 00:21:19 UTC+5:30, adsapiforumadvisor wrote:
>
> Hello Kuldeep, 
>
> Thank you for clarifying this. You may use the extension_feed_item 
>  
> which 
> will support the metrics listed here 
> . 
> This will return the data at the feed item level. Please give this a try 
> and let us know if you have any issues. 
>
> Regards,
> Bharani, Google Ads API Team
>
> ref:_00D1U1174p._5001UHHl07:ref

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/d9f874ab-aa4d-40fd-9fb5-8613c8d352df%40googlegroups.com.


RE: Loading audiences via Adwords api/python SDK

2019-10-03 Thread Google Ads API Forum Advisor Prod
Hi Stephen,

Thank you for reaching out.

However, it appears that the issue you are encountering is more related to the 
Python client library. That said, I would recommend that you reach out directly 
to the client library owners via this link as they are better equipped to 
assist you regarding this matter.

I hope this helps.

Best regards,
Peter
Google Ads API Team
ref:_00D1U1174p._5001UKM14S:ref

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/GDctU0PYSJ2M00nWayPA29ToWPJnKHQrnYgQ%40sfdc.net.


Re: Import costs for Adwords.

2019-10-03 Thread Иван Борейчук
Thank you so much!  

среда, 2 октября 2019 г., 13:28:10 UTC+3 пользователь adsapiforumadvisor 
написал:
>
> Hi,
>
> Thank you for clarifying your concern.
>
> Unfortunately, a customized output is currently not directly available in 
> the AdWords API's reports. You can, however, download the report as a 
> String then process the report into your desired output. You may refer to 
> the below sample code in Java, on how you can get the results :
>
> *//From the **report code examples* 
> 
>
>
>
> *ReportDownloadResponse response = 
> reportDownloader.downloadReport(query.toString(), 
> DownloadFormat.CSVFOREXCEL); //retrieve the data as a String String report 
> = response.getAsString();*
>
> You should then be able to implement this using your preferred client 
> library , 
> then afterwards, apply the format that you wish for the output. I hope this 
> helps.
>
> Best regards,
> Peter
> Google Ads API Team
>
> ref:_00D1U1174p._5001UKLrID:ref

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/65153c6f-c771-4f8e-9843-0a22e4d4a2b1%40googlegroups.com.


Loading audiences via Adwords api/python SDK

2019-10-03 Thread 'Stephen Waters' via AdWords API and Google Ads API Forum
Hi

I am trying to update some audiences (email/phone matches) from BigQuery to 
Google Ads
The largest are in the millions of rows, but less than 10 million for now
I am chunking them up to 1m row chunks but sometimes loading these 
consecutively takes a long time.

I have been dabbling with threading, trying to load different chunks of an 
audience concurrently & getting some XML_STREAM_EXC errors
I couldn't find much about this error but as things work without threading, 
I assume it's driven by trying to do much at once for the API to handle, or 
some mistake in the code on my part.
Is this threaded approach possible? Or is there another way to get to the 
same result (faster loads)? Below is what I got to, which didn't work.

Thanks

Stephen

# here's what we're going to do to each chunk
def google_stuff(chunkStart,chunkEnd):
add_to_audience = gAudienceService.mutateMembers([{'operand': 
{'userListId': this_audience_id,'membersList': [json.loads(x) for x in 
add_query_data[chunkStart:chunkEnd].to_dict(orient='list')['GOOGLE']]},'operator':
 
'ADD'}])

# Chunk up the volume
chunkStart = 0
chunkIncrement = 100
chunkEnd = chunkStart+chunkIncrement
threads = []
counter = 0

# make some threads
while True:
if add_len > 0 and chunkStart < add_len:
this_thread_name = 'add_users_'+str(counter)
this_thread = threading.Thread(name=this_thread_name, target=google_stuff, 
args=(chunkStart,chunkEnd,))
threads.append(this_thread)
this_thread.start()
time.sleep(5)
chunkStart += chunkIncrement
chunkEnd += chunkIncrement
counter += 1
else:
break

# wait till they all finish
for t in threads:
t.join()

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/00ca77ec-acde-4fc4-9c10-6017dfa3f444%40googlegroups.com.


Re: Criteria Report missing costs from Ad Performance Report

2019-10-03 Thread Google Ads API Forum Advisor Prod
Hi Ignacio,

Thank you for providing more insight about what you wish to achieve.

Firstly, UI and API reports at this point may not match 100% due to certain 
campaign types and ad types' statistics not being available in the AdWords API. 
Taking that into consideration, you may still be able to match UI and API 
reports by using the appropriate filters to separate those entities that are 
supported and those that are not.

Also, since you are interested in getting criteria level statistics, I would 
recommend that you use criteria specific reports, instead of the Criteria 
Performance Report. You can refer to this guide and to this section to map a 
specific Google Ads UI criteria view to its equivalent AdWords API report. 
Furthermore, for those other criteria that do not have a report type which 
specialize in their statistics, you may use instead the Google Ads UI view 
instead as a workaround to track the metrics of those criteria that are not 
available directly in the AdWords API's reports.

Let me know if this helps.

Best regards,
Peter
Google Ads API Team
ref:_00D1U1174p._5001UKLv4I:ref

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/wuYrC0PYSEX400nJTvf_0jRLO-6TZ6gOfSbQ%40sfdc.net.