Get refresh token

2019-05-27 Thread 'Jessie' via AdWords API and Google Ads API Forum
Hi,

I'm currently doing migration of AdWords api to GoogleAds api. Using the 
library below, I'm able to refresh the token with a single method.

*import com.google.api.client.googleapis.auth.oauth2.GoogleCredential;*

// Create object
GoogleCredential.Builder credentialBuilder = new 
GoogleCredential.Builder().setJsonFactory(JSON_FACTORY).setTransport(HTTP_TRANSPORT).setClientSecrets("CLIENT_ID",
 
"CLIENT_sECRET");

// Refresh token using the method
credential.refreshToken()

// Obtain Access Token and refresh token
credential.getAccessToken()
credential.getRefreshToken()


How can I implement the above code using the library below.

import com.google.api.client.auth.oauth2.Credential;
import com.google.api.ads.common.lib.auth.GoogleClientSecretsBuilder;



Thanks,
Jessie

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/3fe6ed4d-ad11-4e10-8d17-30fc977234f5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Google Ads API - Placement Detail Incomplete data

2019-05-16 Thread 'Jessie' via AdWords API and Google Ads API Forum
Hi,

I'm building an application (using Google ads library) that will retrieve 
data from detail_placement_view table. Unfortunately, the api doesn't 
return all the columns data for View rate, Avg. CPV and Cost (screenshot 
below) which opposite to UI that does return the required information. Is 
there a way on how to retrieve the data for the columns below?

[image: cols.JPG] 





Thanks,
Jessie

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/f78a60bf-576f-44e5-94b9-a256e91c6cb2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Google Ads API joining tables

2019-05-14 Thread 'Jessie' via AdWords API and Google Ads API Forum
Hi,

Is it possible to join two tables detail_placement_view and 
detail_placement_group? I'm trying to get the Placement (group) display 
name as well as Placement (detail) name with a single query using join 
statement.

Thanks,
Jessie

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/4ccc0f9d-f1c6-47cd-923f-8156057123f7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Google Ads API library page error

2019-05-10 Thread 'Jessie' via AdWords API and Google Ads API Forum
Hi,

I would like to enable the Google Ads API library, and when I clicked on 
the selected library, it redirects me to a page with an error message that 
says, API solution not found with service name: googleads.googleapis.com. 
Other user can enable the library using the same email address on different 
machine or computer. I tried Google incognito mode as what's suggested on 
different forums but same issue occurs.

Another issue is that Google Ads Api library page keeps loading (this is on 
a different project which the library is already enabled and not related 
above), and again user can view the library with same email address on 
different machine.

Thanks,
Jessie

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/654b043b-0975-4a0f-bf14-bd0fc8b5acc8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


How to get Placement Detail report

2019-05-08 Thread 'Jessie' via AdWords API and Google Ads API Forum
Hi,

Under Placements tab in the 'WHERE ADS SHOWED' tab, check the Placement 
checkbox and click the View details. Is there a way to download the report 
using Adwords api?

Thanks,
Jessie

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/15cddc98-d4d1-4a61-a94a-7ea554aac4ab%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.