Re: How to specify date range with geographic_view & segments.geo_target_city?

2019-03-28 Thread Nam Nguyen
Hi,

Thanks for your reply. Perhaps my explanation wasn't clear enough.

I'm looking for a way to filter segments.geo_target_city by date, not 
combining segments.geo_target_city and segments.date.

As far as I know, if I add "WHERE segments.date DURING TODAY" to the query, 
Google Ads API considers it as another segments and then combines it with 
segments.geo_target_city.

On Friday, March 29, 2019 at 4:09:40 AM UTC+7, Nam Nguyen wrote:
>
>
> Hi,
>
> (I'm using Google Ads API v1)
> I've read that segments.geo_target_city can't be selected with 
> segments.date (
> https://developers.google.com/google-ads/api/docs/fields/segments#segmentsgeo_target_city
> )
> However, using segments.date seems to be the only way to specify date 
> range in Google Ads API (
> https://developers.google.com/google-ads/api/docs/query/date-ranges)
>
> If I run the query without segments.date, it returns all my campaigns.
> I can add segments.week but that's not what I need.
>
> In AdWords API, this can be achieved (
> https://developers.google.com/adwords/api/docs/appendix/reports/geo-performance-report#date
> )
>
> Below is the log
> ---
> Method: /google.ads.googleads.v1.services.GoogleAdsService/Search
> Host: googleads.googleapis.com:443
> Headers: {
>   "developer-token": "REDACTED",
>   "login-customer-id": "*",
>   "x-goog-api-client": "gl-python/3.6.8 grpc/1.18.0 gax/1.7.0 gapic/1.1.1"
> }
> Request: {
>   "customerId": "**",
>   "query": "SELECT metrics.clicks, metrics.impressions, 
> segments.geo_target_city FROM geographic_view WHERE metrics.impressions > 0 
> AND segments.date DURING TODAY LIMIT 100",
>   "pageSize": 1000
> }
>
> Response
> ---
> Headers: {
>   "google.ads.googleads.v1.errors.googleadsfailure-bin": 
> "\np\n\u0002(\u001f\u0012jThe following pairs of fields may not be selected 
> together: 'segments.geo_target_city' and 'segments.date'",
>   "grpc-status-details-bin": "\b\u0003\u0012%Request contains an invalid 
> argument.\u001a\u0001\
> nCtype.googleapis.com/google.ads.googleads.v1.errors.GoogleAdsFailure\u0012r\np\n\u0002(\u001f\u0012jThe
>  
> 
>  
> following pairs of fields may not be selected together: 
> 'segments.geo_target_city' and 'segments.date'",
>   "request-id": "RSGT-rPdBugjlbJPK0sYFg"
> }
> Fault: {
>   "errors": [
> {
>   "errorCode": {
> "queryError": "PROHIBITED_FIELD_COMBINATION_IN_SELECT_CLAUSE"
>   },
>   "message": "The following pairs of fields may not be selected 
> together: 'segments.geo_target_city' and 'segments.date'"
> }
>   ]
> }
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/6938a3bd-01bf-4a2a-aa51-9267de0973c0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


RE: [6-2608000025997] Random RateExceededError with rateName=RATE_LIMIT using v201806

2019-03-28 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum


Hi Andreas,

This issue should be fixed. Can you please verify if you still experience
the same issue?


Thanks,
Poki, Google Ads API Team
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com/search/label/adwords_api
https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

On 03/13/19 02:57:22 aperico@gmail.com wrote:

Hello,
thank you for getting back to me!
I ran "Get keyword traffic estimates
"
SDK example 30 times about 10 seconds apart and got no rate exceeded. Then
I tried the GetKeywordIdeas SDK example and got rate exceeded RATE_LIMIT on
the second try.

I also started running new ads on the 726-xxx-xxx account (which is the
account I use for API queries now) three days ago to see if that would
indeed help. It has displayed about 20k ads by now (I do not want to spend
much money on ads before I get this sorted). It seems it did not help, are
there certain limits to spendings or number of ads displayed etc that need
to be met to unlock the API rate limit? If this is indeed the case that you
need active ads running?

On Tuesday, March 12, 2019 at 8:59:46 PM UTC+1, googleadsapi-forumadvisor
wrote:

Hi Andreas,

Would you mind running these examples and see if you get rate limited
errors?

- Get keyword traffic estimates

- Get campaigns


I'm trying to see if this is service specific issue.


Thanks,
Poki, AdWords API Team
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com/search/label/adwords_api
https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

On 03/07/19 01:38:33 aperi...@gmail.com wrote:

Thank you for your reply,
I had read that section a couple of times when searching for the problem. I
do not interpret the text the way that you need active ads? It only says
that new accounts can have this problem?

When you implement queuing or rate limiter strategies, it's important to
keep in mind that a new Google Ads account may have a significantly more
restrictive rate limit (i.e., lower QPS) than established accounts.



Typically, the more restrictive limits on new Google Ads accounts are
relaxed once the account has published ads.


Maybe I do not understand the definition of established account, two of the
accounts I am testing on are started years ago and have spent 10s of
thousands EUR on ads. Are they not considered established?  Would having an
active ad campaign solve this even though it is never mentioned in that
section? I don't want to be confronting, I just want to be sure if this is
indeed a fix.

Thank you!



On Thursday, March 7, 2019 at 1:51:49 AM UTC+1, googleadsapi-forumadvisor
wrote:

Hi Andreas,

I looked into your account from your SOAP XML and noticed the account does
not have any active ads. Please read this section
  
which

is relevant to your issue. My recommendation would be choosing an account
that has an active campaign with recent ad spend, or create a test account

to test the code sample.


Thanks,
Poki, AdWords API Team
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com/search/label/adwords_api
https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

On 03/05/19 01:38:25 aperi...@gmail.com wrote:

*edit*

I just saw that I am already using batching, in fact, your SDK example is
by default. I have not got further than to use your own SDK example:  
GetKeywordIdeas.java,

since I can not reliably use it without getting random rate exceeded errors.

// Create related to query search parameter.
RelatedToQuerySearchParameter relatedToQuerySearchParameter =
new RelatedToQuerySearchParameter();

relatedToQuerySearchParameter.setQueries(keywords.toArray(new String[0]));
searchParameters.add(relatedToQuerySearchParameter);




On Tuesday, March 5, 2019 at 7:10:25 AM UTC+1, Andreas Toresäter wrote:

Hello and thank you for the answer.
From the details I can read on all this there must then be a specific
problem with my dev token and a copy paste standard answer will not do?

Based on the details shared, it looks like you're receiving an error with
the rate scope as Account. This indicates that application is making a high
number 

RE: [2-4560000025717] How to specify date range with geographic_view & segments.geo_target_city?

2019-03-28 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum


Hi,

Thank you for giving us a detailed explanation of the issue. Unfortunately,
segments.geo_target_city and segments.date are not selectable with each
other in Google Ads API. You may refer to this link
  
to

see the fields that are selectable with segments.geo_target_city.

Let me know if you have any further concerns.

Regards,
Dave Paurillo
Google Ads API Team


=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com/search/label/adwords_api
https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

On 03/28/19 18:25:40 nt.nam.k54f...@gmail.com wrote:


Hi,

(I'm using Google Ads API v1)
I've read that segments.geo_target_city can't be selected with
segments.date (
https://developers.google.com/google-ads/api/docs/fields/segments#segmentsgeo_target_city
)
However, using segments.date seems to be the only way to specify date range
in Google Ads API (
https://developers.google.com/google-ads/api/docs/query/date-ranges)

If I run the query without segments.date, it returns all my campaigns.
I can add segments.week but that's not what I need.

In AdWords API, this can be achieved (
https://developers.google.com/adwords/api/docs/appendix/reports/geo-performance-report#date
)

Below is the log
---
Method: /google.ads.googleads.v1.services.GoogleAdsService/Search
Host: googleads.googleapis.com:443
Headers: {
  "developer-token": "REDACTED",
  "login-customer-id": "*",
  "x-goog-api-client": "gl-python/3.6.8 grpc/1.18.0 gax/1.7.0 gapic/1.1.1"
}
Request: {
  "customerId": "**",
  "query": "SELECT metrics.clicks, metrics.impressions,
segments.geo_target_city FROM geographic_view WHERE metrics.impressions > 0
AND segments.date DURING TODAY LIMIT 100",
  "pageSize": 1000
}

Response
---
Headers: {
  "google.ads.googleads.v1.errors.googleadsfailure-bin":
"\np\n\u0002(\u001f\u0012jThe following pairs of fields may not be selected
together: 'segments.geo_target_city' and 'segments.date'",
  "grpc-status-details-bin": "\b\u0003\u0012%Request contains an invalid
argument.\u001a\u0001\
nCtype.googleapis.com/google.ads.googleads.v1.errors.GoogleAdsFailure\u0012r\np\n\u0002(\u001f\u0012jThe

following pairs of fields may not be selected together:
'segments.geo_target_city' and 'segments.date'",
  "request-id": "RSGT-rPdBugjlbJPK0sYFg"
}
Fault: {
  "errors": [
{
  "errorCode": {
"queryError": "PROHIBITED_FIELD_COMBINATION_IN_SELECT_CLAUSE"
  },
  "message": "The following pairs of fields may not be selected
together: 'segments.geo_target_city' and 'segments.date'"
}
  ]
}

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/094cd6d4-a7c5-432f-a5a2-301b7f0a6817%40googlegroups.com

.
For more options, visit https://groups.google.com/d/optout.

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 

RE: Authorization error on basic access token

2019-03-28 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum


Hi,

I had to delete your initial post as you have included confidential
information. Please refer to our forum posting guidelines
  
to

avoid such instances.

Regarding your concern, could you send to me in private (via the *Reply
privately to author* option) your clientCustomerId and the complete SOAP
request and response logs so I can further investigate?

If you have not enabled SOAP logging, kindly refer to this guide
.

Thanks and regards,
Peter
Google Ads API Team

On 03/28/19 19:26:20 adpointbetreu...@gmail.com wrote:

Hi. I have an account with access to Ads API and developer token, approved
and having basic access level.

In documentation it means, that i have an access to production account.

I have built an application to generating reports for campaigns, but i
can't auhtenticate user. API throws AuthorizationError.NO_CUSTOMER_FOUND
error.

I use PHP 7.1.14. Inside the $token i have a response from google oauth
page.

Here is how i do request for get campaigns list.
$oAuthCreds = (new OAuth2TokenBuilder())
->withClientId(App::CLIENT_ID)
->withClientSecret(App::CLIENT_SECRET)
->withRefreshToken($token->refresh_token)
->build();


$session = (new AdWordsSessionBuilder())
->withOAuth2Credential($oAuthCreds)
->withDeveloperToken('Y9zu18RKfWDPpNVZRmNYmg')
->build();


$services = new AdWordsServices();


/** @var CampaignService $campaignService */
$campaignService = $services->get($session, CampaignService::class);
$selector = new Selector();
$selector->setFields(['Id', 'Name']);
$selector->setOrdering([new OrderBy('Name', SortOrder::ASCENDING)]);
$selector->setPaging(new Paging(0, 20));


/** @var CustomerService $customerService */
$customerService = $services->get($session, CustomerService::class);


try {
$canpaignList = $campaignService->get($selector)->getEntries();
} catch (Throwable $e) {
echo $e->getMessage();
}

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/02875b71-3522-49d8-9b59-f2ba1aa76157%40googlegroups.com

.
For more options, visit https://groups.google.com/d/optout.

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/19hee100gqv66k0015509ew60mjae1l60o30c1g68qjicpp%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


RE: [1-9318000025950] Ads API "Bad metadata value given"

2019-03-28 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum


Hi,

Thank you for reaching out. To further investigate, could you provide the
complete JSON request and response logs when you encountered the error?
Please reply via *Reply privately to author*. If you haven't enabled
logging yet, you may refer to this guide
 as to how.

Regards,
Dave Paurillo
Google Ads API Team


=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com/search/label/adwords_api
https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

On 03/28/19 16:46:49 re...@innomedia.nl wrote:


We've just started on testing out the new Google Ads API, and have ran into
the "Bad metadata value given" error message today. Yesterday, the
following code worked:

$configuration = new Configuration($iniFileContents);

$tokenBuilder = new OAuth2TokenBuilder();
$credentials = $tokenBuilder->from($configuration)->build();

$clientBuilder = new GoogleAdsClientBuilder();
$clientBuilder->from($configuration)
  ->withOAuth2Credential($credentials)
  ->withLoginCustomerId([customer ID as int]);

$client = $clientBuilder->build();

$client->getCustomerServiceClient()->listAccessibleCustomers();

But when I started on it again this morning, it threw the "Bad metadata
value given" error. I do not see why this has suddenly happened. Any ideas?

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/951a1ab2-1bc4-4ce0-981d-12327c69458f%40googlegroups.com

.
For more options, visit https://groups.google.com/d/optout.

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/180idg80ocm5ko0007qt32x64mjicph70o30c1g68qjid9g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


RE: [4-3907000025592] NotWhitelistedError CUSTOMER_NOT_WHITELISTED_FOR_API

2019-03-28 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum


Hi,

Thank you for reaching out. To provide you better assistance, could you
provide the account ID that you wish to be whitelisted? Please reply via  
*Reply

privately to author*.

Regards,
Dave Paurillo
Google Ads API Team


=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com/search/label/adwords_api
https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

On 03/29/19 00:02:47 odedm...@gmail.com wrote:

Hi,

I tried to upload sales transaction data to ad account in manager account
 using offline_data_upload_service with basic access (not a developer)

I got an error, googleads.errors.GoogleAdsServerFault:
[NotWhitelistedError.CUSTOMER_NOT_WHITELISTED_FOR_API @ ]
Could you please help me how to whitelist customer for API ?

thanks,
Oded

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/44e5ae9f-1d28-4241-80c7-59a43cb2077e%40googlegroups.com

.
For more options, visit https://groups.google.com/d/optout.

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/19h89501g27ufu0018c6o6x6gmj6e9g6so30c1g68qjae9i%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Create customer account using by ads API

2019-03-28 Thread Myung Ju Park
Hello Sai Teja.

Thanks for your help.
Your advise is very helpful to me.
I'll try to that.

Best regards.


2019년 3월 29일 금요일 오전 2시 43분 47초 UTC+9, googleadsapi-forumadvisor 님의 말:
>
> Hello Myung,
>
> You are trying to create a new account with the Alice's 
> credentials(assuming Alice is a brand new user does not have any Google Ads 
> account), which is causing the USER_PERMISSION_DENIED error. Via API you 
> cannot create client accounts directly, you will be be able to create 
> client accounts via manager account only. You have to use credentials of 
> the user having access to the manager account and the client customer id of 
> the manager account in your ManagedCustomerService API call. While creating 
> the managed account using ManagedCustomerService.Mutate 
> 
>  operation 
> you could use inviteeEmail 
> 
>  and inviteeRole 
> 
>  parameters 
> to invite Alice to the newly created managed client account. Also, in order 
> to user inviteeEmail in your API call you account should be whitelisted. 
> You can contact your account manager at google to raise a request for 
> whitelisting.
>
> By following the steps described above, Alice should be able to create a 
> new account under a manager account having access to create and modify Ads 
> in the newly created account. That should answer questions 1,2 and 5. 
>
> Regarding questions 3, creating merchant center to the Google Ads account 
> cannot be performed via AdWords API. If you want to know the feasibility of 
> performing these steps via Merchant center API, you could post the question 
> on their forum from here 
> 
> . 
>
> Regarding question 4, you need to send an invitation from the Merchant 
> Center UI to the Google Ads account then you can use AdWords API to accept 
> the invitation. You could refer this guide 
> 
>  for 
> more information.
>
> Regards,
> Sai Teja, Google Ads API Team
>
>
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
> Also find us on our blog and discussion group:
> http://googleadsdeveloper.blogspot.com/search/label/adwords_api
> https://developers.google.com/adwords/api/community/
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
>
> Was your question answered? Please rate your experience with us by taking 
> a short survey.
> If not -- reply to this email and tell us what else we can do to help.
>
> Take Survey 
> 
>
> Also find us on our blog and discussion group:
> http://googleadsdeveloper.blogspot.com/search/label/adwords_api
> https://developers.google.com/adwords/api/community/
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/a2873224-f831-4962-ae93-aa26ceb6f1c6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Organic Keywords with top ranking URL

2019-03-28 Thread karthick r
Hello,
Is there a report that can give me the organic keywords, organic ctr, 
organic clicks, organic impressions, organic position and the ranking url? 
I looked at 
https://developers.google.com/adwords/api/docs/appendix/reports/paid-organic-query-report
Paid and Organic Report seem to have all the details except the top ranking 
url..
Is there a way to combine the data from paid and organic report with the 
data from other reports?

Thanks!
Karthick

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/9854b7a9-a772-4432-a02d-c664b0aa79a2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Best practices on managing Ids?

2019-03-28 Thread Zweitze
So, my two cents - coding AdWords API for well over ten years.

Whatever you do, be prepared for change. The Google Ads eco system is very 
alive, every month features come and go. Some changes are big, some small. 
Once you implemented a feature (say Shopping campaigns or Education ad 
extensions or Campaign experiments or Shared budgets or MCC linking or 
Campaign groups or ...) you run the risk that Google changes it, leaving 
you a little time to drop whatever you're doing, and deal with that change.

So, to be prepared for future changes, I suggest to be conservative on 
implementing features of Google Ads.



On Thursday, March 28, 2019 at 9:11:44 PM UTC+1, F B wrote:
>
> Thank you for the reply. Jupp I am very much aware of this. Have been 
> reading the documentation right to left and top to bottom.
>
> Curious to hear what others here think, how much of the objects in an 
> account should be mirrored into a database.
>
> On Thursday, 28 March 2019 21:00:44 UTC+1, googleadsapi-forumadvisor wrote:
>>
>> Hello Fabian, 
>>
>> I think you may already be aware of this. If not, the hierarchy of the 
>> objects in Google ads are shown in this guide 
>> . 
>> I will let other users on th forum share their experience on this topic
>>
>> Thanks,
>> Bharani, Google Ads API Team
>>
>> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
>> Also find us on our blog and discussion group:
>> http://googleadsdeveloper.blogspot.com/search/label/adwords_api
>> https://developers.google.com/adwords/api/community/
>> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
>>
>> Was your question answered? Please rate your experience with us by taking 
>> a short survey.
>> If not -- reply to this email and tell us what else we can do to help.
>>
>> Take Survey 
>> 
>>
>> Also find us on our blog and discussion group:
>> http://googleadsdeveloper.blogspot.com/search/label/adwords_api
>> https://developers.google.com/adwords/api/community/
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/a29b70ee-fbe8-46ee-8597-c8d958cd0a14%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Authorization error on basic access token

2019-03-28 Thread Ad
Hi. I have an account with access to Ads API and developer token, approved 
and having basic access level. 

In documentation it means, that i have an access to production account.

I have built an application to generating reports for campaigns, but i 
can't auhtenticate user. API throws AuthorizationError.NO_CUSTOMER_FOUND  
error.

I use PHP 7.1.14. Inside the $token i have a response from google oauth 
page.

Here is how i do request for get campaigns list.
$oAuthCreds = (new OAuth2TokenBuilder())
->withClientId(App::CLIENT_ID)
->withClientSecret(App::CLIENT_SECRET)
->withRefreshToken($token->refresh_token)
->build();


$session = (new AdWordsSessionBuilder())
->withOAuth2Credential($oAuthCreds)
->withDeveloperToken('Y9zu18RKfWDPpNVZRmNYmg')
->build();


$services = new AdWordsServices();


/** @var CampaignService $campaignService */
$campaignService = $services->get($session, CampaignService::class);
$selector = new Selector();
$selector->setFields(['Id', 'Name']);
$selector->setOrdering([new OrderBy('Name', SortOrder::ASCENDING)]);
$selector->setPaging(new Paging(0, 20));


/** @var CustomerService $customerService */
$customerService = $services->get($session, CustomerService::class);


try {
$canpaignList = $campaignService->get($selector)->getEntries();
} catch (Throwable $e) {
echo $e->getMessage();
}

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/02875b71-3522-49d8-9b59-f2ba1aa76157%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Demographical report (AgeRanges + Gender)

2019-03-28 Thread pablo
Any advance on that?
It is really frustrating that this is available through the Google Ads 
panel and not through the API.
This makes our clients confused.

Pablo

Em quinta-feira, 12 de julho de 2018 16:18:11 UTC-3, Sreelakshmi Sasidharan 
(AdWords API Team) escreveu:
>
> Hello, 
>
> Our team is aware of this feature request. Unfortunately, I cannot comment 
> on the timeline for this to be available. My suggestion is to keep an eye 
> on our blog 
>  for any 
> updates and announcement about the future releases. Thank you for sharing 
> your feedback with us!
>
> Thanks,
> Sreelakshmi, AdWords API 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.
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/8d1eb5ea-cd2c-4edc-bfc1-d5360028a2e8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [8-5077000025924] get reports from different accounts

2019-03-28 Thread uatetracom3
Hi.
Please, help me to understand.
1. I had to register my aplication in console.developers.google.com
2. I got *client_id *and *client_secret*
3. using GetRefreshToken.php I got the *link*
4. went to link
5. applied permission
6. got *code*
7. with *code *I got a *refresh_token*
8. I written data to adsapi_php.ini

each of my clients will go to my link, apply permission, I will 
get refresh_token for each of my client, save refresh_token.
question: all data (like: client_id, client_secret, developerToken, 
clientCustomerId) have to be permanent but refresh_token have to be 
different to each of my client for each getting data from google adwords by 
api?

четвер, 28 березня 2019 р. 03:47:36 UTC+2 користувач 
googleadsapi-forumadvisor написав:
>
> Hi,
>
> Apologies for the confusion. In AdWords API 
> , the 
> DEVELOPER_TOKEN_NOT_APPROVED 
> 
>  occurs 
> when you try to use an unapproved developer token to make calls in a 
> production account. Take note that an unapproved developer token can only 
> make calls against a test Google Ads account. To be able to make calls 
> using your production account, you should apply for basic access as shown 
> in this guide 
> . 
> The compliance team will then contact you within 2 business days to update 
> you on the status. Once the access has been approved, you may then try to 
> make an API call using your production account.
>
> Let me know if you have any further concerns.
>
>
> Regards,
> Dave Paurillo
> Google Ads API Team
>
>
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
> Also find us on our blog and discussion group:
> http://googleadsdeveloper.blogspot.com/search/label/adwords_api
> https://developers.google.com/adwords/api/community/
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
>
> Was your question answered? Please rate your experience with us by taking 
> a short survey.
> If not -- reply to this email and tell us what else we can do to help.
>
> Take Survey 
> 
>
> Also find us on our blog and discussion group:
> http://googleadsdeveloper.blogspot.com/search/label/adwords_api
> https://developers.google.com/adwords/api/community/
> On 03/27/19 19:26:37 uatet...@gmail.com  wrote:
>
>   Thank you for the answer.
> I have 2 questions.
> You give me a link to google ads but I already installed google adwords 
> (installed library and get refresh_token). [1] Can I do all by google 
> adwords library?
> I already tried the first API call but have the answer: 
> "[QuotaCheckError.DEVELOPER_TOKEN_NOT_APPROVED @; trigger: ''] '. I 
> used the developer token with *Access level - Test Account*. 
> So, now I'm writing to apply developer token, but do not understand [2] 
> what I have to write in documentation in part *API Services Called.*
>
> середа, 27 березня 2019 р. 09:42:08 UTC+2 користувач 
> googleadsapi-forumadvisor написав:
>
> Hi,
>
> Thank you for reaching out. If you want to use the Google Ads API 
>  to generate 
> reports, first you have to apply for a developer token if you don't 
> already have one by following this guide 
> . 
> Then, you should download a client library 
> , set up 
> OAuth2 credentials by following this guide 
> 
>  and 
> get your refresh token by following this guide 
> 
> . 
>
> Once your setup has been completed, you may then make your first API call 
> using your test account. You may check this guide 
>  for 
> more information about the access level.
>
> Also, you should take note that test accounts can't be associated to a 
> production account. If you want to make an API call to a production 
> account, you should apply for basic access 
> .
>  
> The Compliance Team will contact you within 2 business days for its status. 
> Once access has been approved, you may then make an API call to your 
> production Google Account.
>
> Regards,
> Dave Paurillo
> Google Ads API Team
>
>
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
> Also find us on our blog and discussion group:
> http://googleadsdeveloper.blogspot.com/search/label/adwords_api
> https://developers.google.com/adwords/api/community/
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
>
> Was your 

Google Ads API segmentation

2019-03-28 Thread Greg Whyte
Is there anyway to mimic the AdWords reporting segmentation with the Google 
Ads API? My original AdWords query works great, something like:

SELECT HourOfDay, Cost FROM ACCOUNT_PERFORMANCE_REPORT DURING TODAY

I get a row back for each hour of the day that has data. My attempt at 
replicating this with the Ads API:

SELECT segments.hour, metrics.cost_micros FROM customer WHERE segments.date 
DURING TODAY

Only returns one row for the whole day. My search of the documentation 
hasn't turned up anything helpful. Basically looking for a GROUP BY? Is 
what I want even possible with the new API, or am I just out of luck? Will 
I need to issue 24 requests to get the days data now?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/2e5dda14-f1ad-436b-8464-ef93af84594e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


NotWhitelistedError CUSTOMER_NOT_WHITELISTED_FOR_API

2019-03-28 Thread Oded
Hi,

I tried to upload sales transaction data to ad account in manager account
 using offline_data_upload_service with basic access (not a developer)

I got an error, googleads.errors.GoogleAdsServerFault: 
[NotWhitelistedError.CUSTOMER_NOT_WHITELISTED_FOR_API @ ]
Could you please help me how to whitelist customer for API ?

thanks,
Oded

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/44e5ae9f-1d28-4241-80c7-59a43cb2077e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Google Ads API Super Slow

2019-03-28 Thread Haik
We manage adwords accounts for our clients.

Currently we use AdWords API, the rates that we log are around *20K-150K 
*Campaign 
Criterions created/removed per minute.
Now we implemented the V1 of Google Ads API, the rates that we log are 
around* 0.1K-2K* Campaign Criterions created/removed per minute.

So the new API is unusable for us at these speeds. Is there anything that 
can be done?


Basically this is the code:


var campaignCriterionServiceClient = new 
GoogleAdsClient().GetService(Services.V1.CampaignCriterionService);

var response = await campaignCriterionServiceClient.
MutateCampaignCriteriaAsync(customerId.ToString(), 
campaignCriterionOperationsList);




-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/c756dac8-f3c5-435a-8f51-bb24a6de50a0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


How to specify date range with geographic_view & segments.geo_target_city?

2019-03-28 Thread Nam Nguyen

Hi,

(I'm using Google Ads API v1)
I've read that segments.geo_target_city can't be selected with 
segments.date (
https://developers.google.com/google-ads/api/docs/fields/segments#segmentsgeo_target_city
)
However, using segments.date seems to be the only way to specify date range 
in Google Ads API (
https://developers.google.com/google-ads/api/docs/query/date-ranges)

If I run the query without segments.date, it returns all my campaigns.
I can add segments.week but that's not what I need.

In AdWords API, this can be achieved (
https://developers.google.com/adwords/api/docs/appendix/reports/geo-performance-report#date
)

Below is the log
---
Method: /google.ads.googleads.v1.services.GoogleAdsService/Search
Host: googleads.googleapis.com:443
Headers: {
  "developer-token": "REDACTED",
  "login-customer-id": "*",
  "x-goog-api-client": "gl-python/3.6.8 grpc/1.18.0 gax/1.7.0 gapic/1.1.1"
}
Request: {
  "customerId": "**",
  "query": "SELECT metrics.clicks, metrics.impressions, 
segments.geo_target_city FROM geographic_view WHERE metrics.impressions > 0 
AND segments.date DURING TODAY LIMIT 100",
  "pageSize": 1000
}

Response
---
Headers: {
  "google.ads.googleads.v1.errors.googleadsfailure-bin": 
"\np\n\u0002(\u001f\u0012jThe following pairs of fields may not be selected 
together: 'segments.geo_target_city' and 'segments.date'",
  "grpc-status-details-bin": "\b\u0003\u0012%Request contains an invalid 
argument.\u001a\u0001\nCtype.googleapis.com/google.ads.googleads.v1.errors.GoogleAdsFailure\u0012r\np\n\u0002(\u001f\u0012jThe
 
following pairs of fields may not be selected together: 
'segments.geo_target_city' and 'segments.date'",
  "request-id": "RSGT-rPdBugjlbJPK0sYFg"
}
Fault: {
  "errors": [
{
  "errorCode": {
"queryError": "PROHIBITED_FIELD_COMBINATION_IN_SELECT_CLAUSE"
  },
  "message": "The following pairs of fields may not be selected 
together: 'segments.geo_target_city' and 'segments.date'"
}
  ]
}

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/094cd6d4-a7c5-432f-a5a2-301b7f0a6817%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Ads API "Bad metadata value given"

2019-03-28 Thread Remco Aalderink

We've just started on testing out the new Google Ads API, and have ran into 
the "Bad metadata value given" error message today. Yesterday, the 
following code worked:

$configuration = new Configuration($iniFileContents);

$tokenBuilder = new OAuth2TokenBuilder();
$credentials = $tokenBuilder->from($configuration)->build();

$clientBuilder = new GoogleAdsClientBuilder();
$clientBuilder->from($configuration)
  ->withOAuth2Credential($credentials)
  ->withLoginCustomerId([customer ID as int]);

$client = $clientBuilder->build();

$client->getCustomerServiceClient()->listAccessibleCustomers();

But when I started on it again this morning, it threw the "Bad metadata 
value given" error. I do not see why this has suddenly happened. Any ideas?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/951a1ab2-1bc4-4ce0-981d-12327c69458f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Best practices on managing Ids?

2019-03-28 Thread F B
Thank you for the reply. Jupp I am very much aware of this. Have been 
reading the documentation right to left and top to bottom.

Curious to hear what others here think, how much of the objects in an 
account should be mirrored into a database.

On Thursday, 28 March 2019 21:00:44 UTC+1, googleadsapi-forumadvisor wrote:
>
> Hello Fabian, 
>
> I think you may already be aware of this. If not, the hierarchy of the 
> objects in Google ads are shown in this guide 
> . 
> I will let other users on th forum share their experience on this topic
>
> Thanks,
> Bharani, Google Ads API Team
>
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
> Also find us on our blog and discussion group:
> http://googleadsdeveloper.blogspot.com/search/label/adwords_api
> https://developers.google.com/adwords/api/community/
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
>
> Was your question answered? Please rate your experience with us by taking 
> a short survey.
> If not -- reply to this email and tell us what else we can do to help.
>
> Take Survey 
> 
>
> Also find us on our blog and discussion group:
> http://googleadsdeveloper.blogspot.com/search/label/adwords_api
> https://developers.google.com/adwords/api/community/
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/3e0e7e7b-7f3d-4832-92fe-4b95e8875072%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


RE: Best practices on managing Ids?

2019-03-28 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum


Hello Fabian,

I think you may already be aware of this. If not, the hierarchy of the
objects in Google ads are shown in this guide
. I
will let other users on th forum share their experience on this topic

Thanks,
Bharani, Google Ads API Team

=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com/search/label/adwords_api
https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/1a0kq2o0orce5eak54w60mj2e9h68o30c1g68qjae9o%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


RE: Google Ads API V1.0 - Occasional Internal Error

2019-03-28 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum


Hi Jason,

Are you still facing issues? If you could you please use the reply
privately to author option and share your CID as well?

Thanks,
Sreelakshmi, Google Ads API Team

=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com/search/label/adwords_api
https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/00d12hpr8o01g8m19e001l2kn8w6omj0chn6go30c1g68qjidpn%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


RE: Keyword Ideas

2019-03-28 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum


Hello Scott,

The new KeywordPlanIdeaService

results will be more close to the keyword planner UI tool but not exact.
You could refer in this release notes

to know more about the new keyword planning tool. Also the results from the
TargetingIdeaService

(AdWords API) may not match with the new API results as the new
KeywordPlanService is designed to be more close to the keyword planner UI
tool.

In the Adwords API the includeSubUrls

is allowed only for Placement

criterion. Setting this field without the Placement criterion will not
work. Please let me know if you have any further questions.

Regards,
Sai Teja, Google Ads API Team

=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com/search/label/adwords_api
https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/1a0l0h008lo8o00014retex74mjcd9m6oo30c1g68qjicpo%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


RE: I cannot set a custom date to campaign performance report in JAVA API

2019-03-28 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum


Hello,

Please find the code snippet below as a reference to set the CUSTOM_DATE.

ReportQuery query =
new ReportQuery.Builder()
.fields( "CampaignId, CampaignName" )
.from(ReportDefinitionReportType.CAMPAIGN_PERFORMANCE_REPORT)
.during(ReportDefinitionDateRangeType.CUSTOM_DATE)
.during(new LocalDate(2018, 11, 18), new LocalDate(2018, 11, 18))
.build();

Could you please give it a try? If you're still facing an issue, please get
back to us with the code snippet you're trying and the error you're
receiving.

Regards,
Bharani, Google Ads API Team

=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com/search/label/adwords_api
https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/1a0q0jo0ge8i46001fgv3ow60mjcd9p70o30c1g68qjgdpj%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


RE: Get Keyword Idea - return DeadlineExceededErrors

2019-03-28 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum


Hi Zied,

Can you please share your request and response through *reply privately to
author *so I can take a closer look?

Thanks,
Anthony
Google Ads API Team


=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com/search/label/adwords_api
https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

On 03/28/19 06:03:52 acteol.adv...@gmail.com wrote:

Hi all,

Sometimes when i'm trying to get keywords Idea, using
KeywordPlanIdeaServiceClient Service (Google Ads Api V1.0), I'm getting an
error saying DeadlineExceededError.
What should I do?

You can find my code bellow.

public dynamic searchKeyword(GoogleAdsClient client, string customerId,
string keywordTexts, string pageUrl)
{
List keyword_results = new List();
KeywordPlanIdeaServiceClient keywordPlanIdeaService =
client.GetService(Services.V1.KeywordPlanIdeaService);

GenerateKeywordIdeasRequest request = new
GenerateKeywordIdeasRequest()
{
CustomerId = customerId
};
if (keywordTexts.Length == 0)
{
request.UrlSeed = new UrlSeed()
{
Url = pageUrl
};
}
else if (string.IsNullOrEmpty(pageUrl))
{
request.KeywordSeed = new KeywordSeed();
request.KeywordSeed.Keywords.Add(keywordTexts);
}
else
{
request.KeywordAndUrlSeed = new KeywordAndUrlSeed();
request.KeywordAndUrlSeed.Url = pageUrl;
request.KeywordAndUrlSeed.Keywords.Add(keywordTexts);
}
request.Language = ResourceNames.LanguageConstant(1000);
try
{
GenerateKeywordIdeaResponse response =
keywordPlanIdeaService.GenerateKeywordIdeas(request);
foreach (GenerateKeywordIdeaResult result in
response.Results)
{
KeywordPlanHistoricalMetrics metrics =
result.KeywordIdeaMetrics;
dynamic keyword_result = new ExpandoObject();
keyword_result.Text = result.Text;
keyword_result.AvgMonthlySearches =
metrics.AvgMonthlySearches ?? 0;
keyword_result.Competition = metrics.Competition;
keyword_results.Add(keyword_result);
}
}
catch (Exception e)
{
throw;
}
return keyword_results.OrderByDescending(K =>
K.AvgMonthlySearches);
}


Thanks,
Zied

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/01456b2d-a07d-40e2-9553-721fa54854dc%40googlegroups.com

.
For more options, visit https://groups.google.com/d/optout.

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/186un5o001erb2001honikz6gmj4dpn64o30c1g68r34c1k%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Best practices on managing Ids?

2019-03-28 Thread F B
I guess I had that one coming for providing so few details.

I am totally in the clear about needing a "local" (which means running on a 
server) database.

*Consider the following scenario:*

I have items (~100k), of which each will be represented by an adgroup, they 
will be clustered within campaigns. For every item there will be roughly 5, 
later 10 languages.

Now when thinking about setting up a project of managing them all 
programatically, I am considering having a local representation of most 
objects. 
However, this makes for a plethora of objects and dependencies between 
them. It almost feels like I am building a light version of the Ads 
Ecosystem.
I am wondering if there are some established systems/best practices for 
this.

Does this make more sense?

Cheers
Fabian


On Thursday, 28 March 2019 12:39:55 UTC+1, F B wrote:
>
> Are there any good blogs or guides or best practices to managing the 
> representation of the Google Ads Objects locally.
>
> I.e. assuming I am creating 150 campaigns, all of them have adgroups, ads 
> and keywords. Now if I want to manage them based on our available 
> inventory, this means I will need some sort of "local" representation of my 
> google Ads objects. Such that I can use the API to enable or disable a 
> particular adgroup for example.
> I somehow feel like I am reinventing the wheel here.
>
> Cheers
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/b2fa0278-34ea-4759-b86a-5682a9490e56%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


RE: Problems to get local campaign type via API

2019-03-28 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum


Hello,

Regret the delay in responding. The Local campaigns are not yet supported
in AdWords API.

Thanks,
Sreelakshmi, Google Ads API Team


=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com/search/label/adwords_api
https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/1a0l0h008ri2nm0014k24aw6smjic9l6oo30c1g68qjgdpg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


RE: Adding Hotel AdGroupCriterion without bidding value

2019-03-28 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum


Hello Didier,

Glad you were able to solve it. Your second question is on the product
level. It will be better to ask this question in the Advertisers community
forum

instead. The product specialists there would be better equipped to answer
your question.

Regards,
Sai Teja, Google Ads API Team


=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com/search/label/adwords_api
https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/1a0l0h00873gic0014k4pux74mjed1k70o30c1g68qjac9h%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


RE: Dynamic HTML5 Ad preview

2019-03-28 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum


Hello Lorand,

Through the API, the Ad preview option is currently not available. We have
raised a feature request with the team. We will not be able to share a
definite timeline of when this feature will be available. Please keep an
eye on our blog
 for
more updates. To explore other options, you could try posting the concern
on the Advertisers Community form
  
to

see if the product experts have any suggestions.

Thanks,
Bharani, Google Ads API Team

=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com/search/label/adwords_api
https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/1a0l0h0086pkbq0014kdhoy70mj2d1n74o30c1g68qjidpm%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


RE: Create customer account using by ads API

2019-03-28 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum


Hello Myung,

You are trying to create a new account with the Alice's
credentials(assuming Alice is a brand new user does not have any Google Ads
account), which is causing the USER_PERMISSION_DENIED error. Via API you
cannot create client accounts directly, you will be be able to create
client accounts via manager account only. You have to use credentials of
the user having access to the manager account and the client customer id of
the manager account in your ManagedCustomerService API call. While creating
the managed account using ManagedCustomerService.Mutate
  
operation

you could use inviteeEmail

 and inviteeRole
  
parameters

to invite Alice to the newly created managed client account. Also, in order
to user inviteeEmail in your API call you account should be whitelisted.
You can contact your account manager at google to raise a request for
whitelisting.

By following the steps described above, Alice should be able to create a
new account under a manager account having access to create and modify Ads
in the newly created account. That should answer questions 1,2 and 5.

Regarding questions 3, creating merchant center to the Google Ads account
cannot be performed via AdWords API. If you want to know the feasibility of
performing these steps via Merchant center API, you could post the question
on their forum from here
.

Regarding question 4, you need to send an invitation from the Merchant
Center UI to the Google Ads account then you can use AdWords API to accept
the invitation. You could refer this guide
  
for

more information.

Regards,
Sai Teja, Google Ads API Team


=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com/search/label/adwords_api
https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/1a0o2hg18rpn1q000g3bd0y64mj8d9m68o30c1g68qj6chi%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Google Ads API V1.0 - CONTAINS operator

2019-03-28 Thread Martin
If you want to get campaigns whose names don't contain "Example", then you 
want to use:

 `WHERE campaign.name NOT LIKE "%Example%"`

On Tuesday, March 26, 2019 at 8:59:30 PM UTC, ja...@searchkings.ca wrote:
>
> Hi Google Ads team,
>
> I keep on running into an 'invalid argument' error whenever I try to build 
> a query using the CONTAINS operator (
> https://developers.google.com/google-ads/api/docs/query/grammar).
>
> e.g. WHERE campaign.name CONTAINS NONE ('Example')
>
> Referring to the interactive query builder, the filters don't seem to 
> support it (
> https://developers.google.com/google-ads/api/docs/query/interactive-gaql-builder).
>  
> Is this feature available?
>
> Regards,
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/d51a08b5-11bb-4ba1-a0c4-207ba7eb7113%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


RE: Google Ads - add language to campaign

2019-03-28 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum


Hi,

No problem. Glad to help. You will need to create a separate operation
  
for

each campaign criterion you are adding but multiple operations can be made
in a single API call. From the example I provided earlier, you'll see that
3 operations are being made for a single API call.

Regards,
Anthony
Google Ads API Team


=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com/search/label/adwords_api
https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

On 03/28/19 07:36:36 fbos...@gmail.com wrote:

Thank you! As always, your feedback is very appreciated!

I am wondering, does this mean I will have to create a CampaignCriterion
for every language for every campaign? Assuming I have like 150k Campaigns
and 20 languages each, then this alone would be 3 million objects. Or am I
missing something here?


On Wednesday, 27 March 2019 20:10:46 UTC+1, googleadsapi-forumadvisor wrote:

Hi,

You can add Languages
  
by

using the CampaignCriterionService
.
Although there are not specific examples for languages, you can have a look
at our client libraries
. There are
examples on how to add Campaign Criterions
  
such

as locations. You can use this as a reference for Languages.

Cheers,
Anthony
Google Ads API Team


=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com/search/label/adwords_api
https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

On 03/27/19 11:21:48 fbo...@gmail.com wrote:

How does one add languages to a campaign, can't really find anything in the
docs.

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/bb59eae2-2f83-4616-add4-bdafe29c7510%40googlegroups.com

.
For more options, visit https://groups.google.com/d/optout.

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/f44d1d0a-b85d-477c-8ee3-f9d6ebddd523%40googlegroups.com

.
For more options, visit https://groups.google.com/d/optout.

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 

Name resolution failure Google ads api

2019-03-28 Thread Swapnil Gaikwad
Hi Team,

I am consuming the new Google Ads Api using the .NET client library. I have
generated all configuration file using the ClientId and client_secretID and
have also enabled Google Ads APi in my console api library. However, I am
getting the following error messages.

"Status(StatusCode=Unavailable, Detail="Name resolution failure")"

Please find the code snippet below.


// Get the GoogleAdsService.
GoogleAdsServiceClient googleAdsService = client.GetService(
Services.V0.GoogleAdsService);

// Create a request that will retrieve all campaigns using
pages of the specified
// page size.
SearchGoogleAdsRequest request = new SearchGoogleAdsRequest()
{
PageSize = PAGE_SIZE,
Query = @"SELECT
campaign.id,
campaign.name,
campaign.network_settings.target_content_network
FROM campaign
Where segments.date DURING LAST_30_DAYS
ORDER BY campaign.id",
CustomerId = customerId.ToString()
};
//Where segments.date DURING LAST_30_DAYS

try
{
// Issue the search request.
PagedEnumerable
searchPagedResponse =
googleAdsService.Search(request);

foreach (SearchGoogleAdsResponse response in
searchPagedResponse.AsRawResponses())
{
Console.WriteLine(response.FieldMask.Paths);
foreach (GoogleAdsRow googleAdsRow in response.Results)
{
Console.WriteLine("Campaign with ID {0} and name
'{1}' was found.",
googleAdsRow.Campaign.Id
, googleAdsRow.Campaign.Name
);
}
}
// Iterate over all rows in all pages and prints the
requested field values for the
// campaign in each row.
foreach (GoogleAdsRow googleAdsRow in searchPagedResponse)
{
Console.WriteLine("Campaign with ID {0} and name '{1}'
was found.",
googleAdsRow.Campaign.Id
, googleAdsRow.Campaign.Name
);
}
}
catch (GoogleAdsException e)
{
Console.WriteLine("Failure:");
Console.WriteLine($"Message: {e.Message}");
Console.WriteLine($"Failure: {e.Failure}");
Console.WriteLine($"Request ID: {e.RequestId}");
}

Kindly assist me with this.

Thanks and Regards,
Swapnil Gaikwad

-- 


*“CONFIDENTIALITY
/ DISCLAIMER NOTICE*: The information in this e-mail 
and any attachments
is confidential and may be legally privileged. It is 
intended solely for the
addressee. If you are not the intended recipient 
and have received this
communication in error, please notify the sender 
immediately by return e-mail,
delete this e-mail and destroy any copies of 
it. Any unauthorized copying,
disclosure or distribution of the material in 
this e-mail is strictly
forbidden. Reasonable
precautions have been taken 
to ensure that this e-mail is virus-free. However,
Logicserve does not 
accept responsibility for any loss
or damage arising from the use of this 
e-mail or any attachments.”

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/CAFwwCxBAE0v_arPcuromyfB%3Dn6_nEoG7rJwsXJTEq2_teHc9dA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Name resolution failure Google Ads Api

2019-03-28 Thread facebook . logicserve
Hi Team,

I am consuming the new Google Ads Api using the .NET client library. I have 
generated all configuration file using the ClientId and client_secretID and 
have also enabled Google Ads APi in my console api library. However, I am 
getting the following error messages.

"Status(StatusCode=Unavailable, Detail="Name resolution failure")"

Please find the code snippet below.


// Get the GoogleAdsService.
GoogleAdsServiceClient googleAdsService = client.GetService(
Services.V0.GoogleAdsService);

// Create a request that will retrieve all campaigns using 
pages of the specified
// page size.
SearchGoogleAdsRequest request = new SearchGoogleAdsRequest()
{
PageSize = PAGE_SIZE,
Query = @"SELECT
campaign.id,
campaign.name,
campaign.network_settings.target_content_network
FROM campaign
Where segments.date DURING LAST_30_DAYS
ORDER BY campaign.id",
CustomerId = customerId.ToString()
};
//Where segments.date DURING LAST_30_DAYS

try
{
// Issue the search request.
PagedEnumerable 
searchPagedResponse =
googleAdsService.Search(request);

foreach (SearchGoogleAdsResponse response in 
searchPagedResponse.AsRawResponses())
{
Console.WriteLine(response.FieldMask.Paths);
foreach (GoogleAdsRow googleAdsRow in response.Results)
{
Console.WriteLine("Campaign with ID {0} and name 
'{1}' was found.",
googleAdsRow.Campaign.Id 
, googleAdsRow.Campaign.Name 
);
}
}
// Iterate over all rows in all pages and prints the 
requested field values for the
// campaign in each row.
foreach (GoogleAdsRow googleAdsRow in searchPagedResponse)
{
Console.WriteLine("Campaign with ID {0} and name '{1}' 
was found.",
googleAdsRow.Campaign.Id 
, googleAdsRow.Campaign.Name 
);
}
}
catch (GoogleAdsException e)
{
Console.WriteLine("Failure:");
Console.WriteLine($"Message: {e.Message}");
Console.WriteLine($"Failure: {e.Failure}");
Console.WriteLine($"Request ID: {e.RequestId}");
}

Kindly assist me with this.

Thanks and Regards,
Swapnil Gaikwad

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/16b93ef5-55a4-4440-b08d-da5a2fa17aef%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


RE: How to get Top of page bid

2019-03-28 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum


Hello,

Unfortunately, "Top of page bid" fields such as "Top of page bid (low
range)" and "Top of page bid (high range)" are currently not supported
through Google Ads API.

Please follow our blog  for any
updates.

Regards,
Anthony
Google Ads API Team


=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com/search/label/adwords_api
https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

On 03/27/19 21:12:47 qndq...@foresys.co.kr wrote:

hi

I'm trying to get a "Top of page bid" in the Google Ideas API, but I can
not find what I want

Could you tell me please?

thank you.

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/c0d7459c-1686-40a2-9359-e50e5789969f%40googlegroups.com

.
For more options, visit https://groups.google.com/d/optout.

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/00d12jef8800gamb7i001k5mgcx6kmjie9j6co30c1g68qjcdhg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Best practices on managing Ids?

2019-03-28 Thread Zweitze
So the question is, how to store those IDs and other intermediate results, 
so you can use them later?
Sorry, no hints for blogs or guides... your question is a general 
programming topic.

What to do? Basically you have "storage", which enable to store 
information, and retrieve that later.

For instance, you can write to a file, then save it. Later your program (or 
a different program) can open that file again and look for your 
information. This is easy to realize, you only have to make sure you have 
read and write access to the file.

When get a lot of things to store, say over 10,000, you should look into 
databases. At that point speed becomes an issue, you may want backups of 
the information, etc.etc. With databases you can have billions and billions 
of items. On the downside, it's a complicated topic - many libraries are 
filled with books on databases.

When you're in the cloud, you can't really have a local file to read from 
and write to. You may want to look at the solution seen in many AdWords 
scripts: information, settings etc. are stored in Google sheets.





On Thursday, March 28, 2019 at 12:39:55 PM UTC+1, F B wrote:
>
> Are there any good blogs or guides or best practices to managing the 
> representation of the Google Ads Objects locally.
>
> I.e. assuming I am creating 150 campaigns, all of them have adgroups, ads 
> and keywords. Now if I want to manage them based on our available 
> inventory, this means I will need some sort of "local" representation of my 
> google Ads objects. Such that I can use the API to enable or disable a 
> particular adgroup for example.
> I somehow feel like I am reinventing the wheel here.
>
> Cheers
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/357fd9d4-d516-484b-b64c-1d04512b1988%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Google Ads API: search_term_view missing criterion information

2019-03-28 Thread tim . wlcek
Hi,
to answer my own question, this is now possible with the newly released 
v1.1.0 
(http://ads-developers.googleblog.com/2019/03/announcing-v11-of-google-ads-api.html)

Regards
tim

On Monday, March 11, 2019 at 6:29:51 PM UTC+1, googleadsapi-forumadvisor 
wrote:
>
> Hello Tim, 
>
> I'm Dhanya's colleague addressing your concern on her behalf. The granular 
> data which returns the specific Keyword Id for the search term is not yet 
> supported. I have raised this as a feature request to the team. Please keep 
> an eye on our blog for more updates.
>
> Thanks,
> Bharani, Google Ads API Team.
>
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
> Also find us on our blog and discussion group:
> http://googleadsdeveloper.blogspot.com/search/label/adwords_api
> https://developers.google.com/adwords/api/community/
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
>
> Was your question answered? Please rate your experience with us by taking 
> a short survey.
> If not -- reply to this email and tell us what else we can do to help.
>
> Take Survey 
> 
>
> Also find us on our blog and discussion group:
> http://googleadsdeveloper.blogspot.com/search/label/adwords_api
> https://developers.google.com/adwords/api/community/
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/27d12031-fba8-4f1a-babd-0f9a9f494b2f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Best practices on managing Ids?

2019-03-28 Thread F B
Are there any good blogs or guides or best practices to managing the 
representation of the Google Ads Objects locally.

I.e. assuming I am creating 150 campaigns, all of them have adgroups, ads 
and keywords. Now if I want to manage them based on our available 
inventory, this means I will need some sort of "local" representation of my 
google Ads objects. Such that I can use the API to enable or disable a 
particular adgroup for example.
I somehow feel like I am reinventing the wheel here.

Cheers

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/ebd4cb2a-5b1d-4bad-8c23-4b543e553321%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Google Ads - add language to campaign

2019-03-28 Thread F B
Thank you! As always, your feedback is very appreciated!

I am wondering, does this mean I will have to create a CampaignCriterion 
for every language for every campaign? Assuming I have like 150k Campaigns 
and 20 languages each, then this alone would be 3 million objects. Or am I 
missing something here?


On Wednesday, 27 March 2019 20:10:46 UTC+1, googleadsapi-forumadvisor wrote:
>
> Hi,
>
> You can add Languages 
> 
>  by 
> using the CampaignCriterionService 
> .
>  
> Although there are not specific examples for languages, you can have a look 
> at our client libraries 
> . There 
> are examples on how to add Campaign Criterions 
> 
>  such 
> as locations. You can use this as a reference for Languages.
>
> Cheers,
> Anthony
> Google Ads API Team
>
>
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
> Also find us on our blog and discussion group:
> http://googleadsdeveloper.blogspot.com/search/label/adwords_api
> https://developers.google.com/adwords/api/community/
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
>
> On 03/27/19 11:21:48 fbo...@gmail.com  wrote:
>
> How does one add languages to a campaign, can't really find anything in 
> the docs.
>
> -- 
> -- 
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
> 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/bb59eae2-2f83-4616-add4-bdafe29c7510%40googlegroups.com
>  
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/f44d1d0a-b85d-477c-8ee3-f9d6ebddd523%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Adding Hotel AdGroupCriterion without bidding value

2019-03-28 Thread Didier Roy
Hello 

I have found the answer for question 1 : I use 
function $adGroupCriterion->setCpcBidMicros(new Int64Value(['value' => 
$bid*1]));

there is still pending question 
- When hotel group level bidding is disabled ("exclude" on Google Ads 
dash)  for a hotel selection. Is the Adgroup bidding value taken into 
account instead or is campaign closed for the hotel selection?

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.
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/2eaf557b-514e-4437-a1a8-b05f59a21869%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


I cannot set a custom date to campaign performance report in JAVA API

2019-03-28 Thread killop2000
 

import com.google.api.ads.adwords.lib.jaxb.v201809.Selector;

import com.google.api.ads.adwords.lib.jaxb.v201809.DateRange;

import com.google.api.ads.adwords.lib.jaxb.v201809.ReportDefinition;

import 
com.google.api.ads.adwords.lib.jaxb.v201809.ReportDefinitionDateRangeType;

import 
com.google.api.ads.adwords.lib.jaxb.v201809.ReportDefinitionReportType;

import com.google.api.ads.adwords.lib.jaxb.v201809.DownloadFormat;


DateRange dateRange = new DateRange();


dateRange.setMin("20190326");

dateRange.setMax("20190326");


Selector selector = new Selector();


selector.setDateRange(dateRange);


ReportDefinition reportDefinition = new ReportDefinition();

reportDefinition.setReportName("my_report");

reportDefinition.setDateRangeType(ReportDefinitionDateRangeType.CUSTOM_DATE);

reportDefinition.setReportType(ReportDefinitionReportType.valueOf("CAMPAIGN_PERFORMANCE_REPORT");

reportDefinition.setDownloadFormat(DownloadFormat.CSV);








However, I received all the reports regardless custom date...


please solve this problem :(

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/48daff3e-3bf2-49e3-b164-a51fcaab8608%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


RE: [1-4073000025608] How to pull conversion_actions from new google ads api?

2019-03-28 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum


Hello,

Could you share your customer ID as well, so I can pass it to the
engineering team for investigation?

Best,
Thanet, Google Ads API Team

=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com/search/label/adwords_api
https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

On 03/27/19 00:14:05 r...@jumpfly.com wrote:

Same here - I also cannot pull anything from the conversion_actions
interface. Literally no queries return anything.


On Monday, March 25, 2019 at 11:19:49 PM UTC-5, googleadsapi-forumadvisor
wrote:

Hello Tamar,

Sorry for keeping you waiting.
The engineer in charge told me that he would be able to have a look at this
in this week.

Best,
Thanet, Google Ads API Team

=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com/search/label/adwords_api
https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

On 03/22/19 23:02:49 dar...@companionlabs.com wrote:

Hi, please provide an update on this issue. We are waiting to retrieve this
info for our customer account.

Thanks,
Darshan.


On Friday, March 8, 2019 at 10:05:11 PM UTC-5, Darshan Pradhan wrote:

Hi Dannison,

I have sent over the info privately. Please let me know if you received it
or not.

Thanks for looking into this.
Darshan

On Friday, March 8, 2019 at 4:48:27 PM UTC+11, googleadsapi-forumadvisor
wrote:

Hi Darshan,

My apologies for the delayed response. To better investigate this, could
you provide your clientCustomerId so I could check this on my end (please
reply via *Reply privately to author*)?

Also just to let you know, Google Ads API is now in production and you may
want to use the Google Ads API production release. You may refer to our blog
  
for

more information.

Thanks and regards,
Dannison
Google Ads API Team


=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com/search/label/adwords_api
https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

On 03/08/19 08:33:51 dar...@companionlabs.com wrote:

Can somebody from Google Ads API Support answer this questions please?

On Tuesday, March 5, 2019 at 5:17:11 PM UTC+11, Darshan Pradhan wrote:

I am using the following query in search service to retrieve all the
conversion_actions

for my customer in context. But I am not getting anything back. Please
advice on how to pull conversion_actions using the Google Ads Beta API.

Select  conversion_action.app_id, conversion_action.attribution_
model_settings.attribution_model,conversion_action.attributi
on_model_settings.data_driven_model_status, conversion_action.category,con
version_action.click_through_lookback_window_days,conversion
_action.counting_type,conversion_action.id,conversion_action.include_in_
conversions_metric,conversion_action.name,
conversion_action.owner_customer,conversion_action.phone_cal
l_duration_seconds,conversion_action.status,conversion_action.tag_snippets
FROM conversion_action

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/ms
gid/adwords-api/9e75c39b-a06f-4c94-b362-ec8651ec12a5%40googlegroups.com

.
For more options, visit https://groups.google.com/d/optout.

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 

Get Keyword Idea - return DeadlineExceededErrors

2019-03-28 Thread Zied Chaari
Hi all,

Sometimes when i'm trying to get keywords Idea, using 
KeywordPlanIdeaServiceClient Service (Google Ads Api V1.0), I'm getting an 
error saying DeadlineExceededError.
What should I do?

You can find my code bellow.

public dynamic searchKeyword(GoogleAdsClient client, string customerId, 
> string keywordTexts, string pageUrl)
> {
> List keyword_results = new List();
> KeywordPlanIdeaServiceClient keywordPlanIdeaService = 
> client.GetService(Services.V1.KeywordPlanIdeaService);
> 
> GenerateKeywordIdeasRequest request = new 
> GenerateKeywordIdeasRequest()
> {
> CustomerId = customerId
> };
> if (keywordTexts.Length == 0)
> {
> request.UrlSeed = new UrlSeed()
> {
> Url = pageUrl
> };
> }
> else if (string.IsNullOrEmpty(pageUrl))
> {
> request.KeywordSeed = new KeywordSeed();
> request.KeywordSeed.Keywords.Add(keywordTexts);
> }
> else
> {
> request.KeywordAndUrlSeed = new KeywordAndUrlSeed();
> request.KeywordAndUrlSeed.Url = pageUrl;
> request.KeywordAndUrlSeed.Keywords.Add(keywordTexts);
> }
> request.Language = ResourceNames.LanguageConstant(1000);
> try
> {
> GenerateKeywordIdeaResponse response = 
> keywordPlanIdeaService.GenerateKeywordIdeas(request);
> foreach (GenerateKeywordIdeaResult result in 
> response.Results)
> {
> KeywordPlanHistoricalMetrics metrics = 
> result.KeywordIdeaMetrics;
> dynamic keyword_result = new ExpandoObject();
> keyword_result.Text = result.Text;
> keyword_result.AvgMonthlySearches = 
> metrics.AvgMonthlySearches ?? 0;
> keyword_result.Competition = metrics.Competition;
> keyword_results.Add(keyword_result);
> }
> }
> catch (Exception e)
> {
> throw;
> }
> return keyword_results.OrderByDescending(K => 
> K.AvgMonthlySearches);
> }


Thanks,
Zied 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/01456b2d-a07d-40e2-9553-721fa54854dc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Dynamic HTML5 Ad preview

2019-03-28 Thread Lóránd Balog
Hi Adwords Team!

I have created a campaign which is running based on the data from feeds. 

I would like to create a preview for the Dynamic HTML5 ad for my website, 
what is the best way for this? Could you please help me? 


Thanks,
Lorand

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/3354399b-2658-46f4-baaa-7280e753c3ac%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


How to get Top of page bid

2019-03-28 Thread qndqnfn
hi

I'm trying to get a "Top of page bid" in the Google Ideas API, but I can 
not find what I want

Could you tell me please?

thank you.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/c0d7459c-1686-40a2-9359-e50e5789969f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Keyword Ideas

2019-03-28 Thread scott . senkeresty
I have been trying both AdWords API and Google Ads API in an attempt to 
gather keyword ideas from a url... with varying success:

   - 
   
https://developers.google.com/adwords/api/docs/reference/v201809/TargetingIdeaService.TargetingIdeaSelector
   - 
   
https://developers.google.com/google-ads/api/reference/rpc/google.ads.googleads.v1.services#google.ads.googleads.v1.services.GenerateKeywordIdeasRequest


So far as I can tell, the results from these apis don't match what I see in 
the the current Keyword Planner ui tool, nor the previous version of the UI 
tool.
(side note: I couldn't get adwords api to work if I set includeSubUrls to 
true on the RelatedToUrlSearchParameter).

If my goal is simply to gather as many keyword ideas a possible from each 
Url that I pass into the api... what's my best plan?  (Helpful if the boss 
doesn't continue to ask "why do I see more keywords in the planning tool?").

-- 
This e-mail message is intended to be received only by persons entitled to 
receive the confidential information it may contain. E-mail messages sent 
from Agree Media may contain information that is confidential and may be 
legally privileged. Please do not read, copy, forward or store this message 
unless you are an intended recipient of it. If you received this 
transmission in error, please delete the message and any attachments.    

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/2a6c1684-1547-4ea3-9c10-2c16aac1c61f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Adding Hotel AdGroupCriterion without bidding value

2019-03-28 Thread Didier Roy
Hello Sai
>
>
thank you for your answar

I understand that PercentCpcBidMicros is mandatory when using 
PercentCpc bidding strategy.
- What to do if the campaign is on Manual CPC?
- When hotel group level bidding is disabled for a hotel selection. Is the 
Adgroup bidding value taken into account instead or is campaign closed for 
the hotel selection?

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.
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/35e7bebb-0dda-46d8-a31e-d827f30c3cdb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


RE: Google Ads API authentication error. No customer found for token with basic access level

2019-03-28 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum


Hi Сергей,

The AuthorizationError.NO_CUSTOMER_FOUND

error is occurring when you are passing an incorrect/non-existing client
customer ID on the request header of your transaction. With this, you may
try to confirm on your end if the client customer ID is existing. If you
can confirm that it is indeed existing and the error is still persisting,
kindly provide the client customer ID or provide the complete SOAP request
and response so I can further check.

If you haven't enable the SOAP logs yet, kindly enable it by following this
guide  for PHP
library supported by AdWords API.

Regards,
Ejay
Google Ads API Team

On 03/28/19 05:47:39 khomenko.m...@gmail.com wrote:

Hi. I have an account with access to Ads API and developer token, approved
and having basic access level.

In documentation it means, that i have an access to production account.

I have built an application to generating reports for campaigns, but i
can't auhtenticate user. API throws AuthorizationError.NO_CUSTOMER_FOUND
error.

I use PHP 7.1.14. Inside the $token i have a response from google oauth
page.

Here is how i do request for get campaigns list.

$oAuthCreds = (new OAuth2TokenBuilder())
 ->withClientId(App::CLIENT_ID)
 ->withClientSecret(App::CLIENT_SECRET)
 ->withRefreshToken($token->refresh_token)
 ->build();
 $session = (new AdWordsSessionBuilder())
 ->withOAuth2Credential($oAuthCreds)
 ->withDeveloperToken('X')
 ->build();

 $services = new AdWordsServices();

 /** @var CampaignService $campaignService */
 $campaignService = $services->get($session, CampaignService::class);
 $selector = new Selector();
 $selector->setFields(['Id', 'Name']);
 $selector->setOrdering([new OrderBy('Name', SortOrder::ASCENDING)]);
 $selector->setPaging(new Paging(0, 20));

 /** @var CustomerService $customerService */
 $customerService = $services->get($session, CustomerService::class);

 try {
 $campaignList = $campaignService->get($selector)->getEntries();

 } catch (Throwable $e) {
 echo $e->getMessage();
 }

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/2583aba9-e4ab-4450-a621-b24cdf5b1d8e%40googlegroups.com

.
For more options, visit https://groups.google.com/d/optout.

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/18i79lg10lsnco00149n8cz6smj0c1i6oo30c1g68qjee9l%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


RE: [4-7467000025911] Adwords API returning empty response on account when no campaigns are created

2019-03-28 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum


Hi,

Thank you for reaching out. To further investigate this, could you provide
the clientCustomerId you are using to download the reports and the
externalCustomerId included in your query? Please reply via *Reply
privately to author*.

Regards,
Dave Paurillo
Google Ads API Team


=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com/search/label/adwords_api
https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

On 03/27/19 22:42:04 k...@monkeyflux.com wrote:

Hi all:

When I try to fetch adwords api account performance report from an empty
account, it returns empty response.

This is my AWQL query:

SELECT  
AccountCurrencyCode,AccountTimeZone,ExternalCustomerId,CustomerDescriptiveName  
FROM ACCOUNT_PERFORMANCE_REPORT WHERE ExternalCustomerId  
= ''



This happens in a just created account, I'm not able to retrieve details
such as timezone.

Im using PHP SDK.

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.
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/7ae5af1a-8b1e-4403-a923-ef26a7338399%40googlegroups.com

.
For more options, visit https://groups.google.com/d/optout.

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/19h2pgo0ocj6io00049032y6gmjed1m6so30c1g68qjic9h%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


RE: [6-4744000025765] Obtain Campaign Statuses

2019-03-28 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum


Hi,

To give you more information about bidding strategies, you may refer to
this guide 
. For Bidding Strategy
  
resource,

you may refer to this link
  
to

see all the statuses you could get in Google Ads API. Other than this,
there is no way that I am aware of on how you could get the bidding
strategy statuses.

Let me know if this helps. Should you have clarifications, feel free to
write back.


Regards,
Dave Paurillo
Google Ads API Team


=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com/search/label/adwords_api
https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

On 03/27/19 16:47:38 dmitrii.stebl...@omio.com wrote:

Hi Dave,

Thank you for your answer.

I see in the documentation that for some bidding strategies eligibility is
looks to be just a simple predicate like "To use Target ROAS bidding, your
campaign must have at least 20 conversions in the past 45 days."

It works for me like that. Do you know if there is a better documentation
where I can understand if for other bidding strategies?

Limited by budget - probably should be accessible in Google Ads API
Recommendation Service (I need to check it)

But Learning status I can not find anywhere, not in BiddingStrategy
resource, not in old Google Adwords API documentation...
Do you know if there is any workaround to get it? Can I get it from another
resource like BiddingStrategy? or the old Adwords API?
Or may be I can calculate it somehow?

Thank you!


On Wednesday, 27 March 2019 07:31:43 UTC+1, googleadsapi-forumadvisor wrote:

Hi,

Thank you for reaching out. Unfortunately, these statuses cannot be
obtained via Google Ads API. You may refer to this guide
  
to

see the campaign statuses that are obtainable in the API.

Let me know if this helps. Should you have clarifications, feel free to
write back.


Regards,
Dave Paurillo
Google Ads API Team


=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com/search/label/adwords_api
https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

Was your question answered? Please rate your experience with us by taking a
short survey.
If not -- reply to this email and tell us what else we can do to help.

Take Survey


Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com/search/label/adwords_api
https://developers.google.com/adwords/api/community/
On 03/26/19 17:09:42 dmitrii@omio.com wrote:

Hello,

In the Google Ads UI I see different statuses:
- Eligible
- Eligible (Learning)
- Limited by Budget
How can I obtain all these statuses for a campaign with Google Ads API?

Thank you!

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/7b20f124-6dce-4430-8c48-c91bc6fee42d%40googlegroups.com

.
For more options, visit https://groups.google.com/d/optout.

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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