Re: Webpage from API

2017-05-08 Thread 'Ivan Bautista' via AdWords API Forum
Hi Frank, You can't directly use the code samples in the PHP client library as webpages as these examples are meant to be run via the command line and not as a webpage . However, you may use the same code flow/logic from

Re: invalid grant when refreshing token.

2017-05-08 Thread 'Peter Oliquino' via AdWords API Forum
Hi Oak, Access tokens are refreshed automatically when you use any of the AdWords API client libraries. What is manually generated is the refresh token. This said, could you retry and regenerate only

invalid grant when refreshing token.

2017-05-08 Thread Oak Nguyen
I've read all the other threads of people getting invalid grant when trying to refresh their token but none of the resolution have helped me. The odd behavior here is that we have many other oauth tokens that are working seamlessly but this issue seems to only be happening with just one token.

API via PHP web page

2017-05-08 Thread Frank Bravo
I've been at this for days and still am really no closer to a solution. I've installed the googleads-php-lib via Composer onto a server and am (sort of) able to get data via command line and the example files, but I can't find any examples of how to turn this into a web application... and when

Web page API data example

2017-05-08 Thread Frank Bravo
I've been at this for days and still am really no closer to a solution. I've installed the googleads-php-lib via Composer onto a server and am (sort of) able to get data via command line and the example files, but I can't find any examples of how to turn this into a web application... and when

Webpage from API

2017-05-08 Thread Frank Bravo
I've been at this for days and still am really no closer to a solution. I've installed the googleads-php-lib via Composer onto a server and am (sort of) able to get data via command line and the example files, but I can't find any examples of how to turn this into a web application... and when

Re: Fail adding geo targeting location - EntityCountLimitExceeded.ACCOUNT_LIMIT

2017-05-08 Thread 'Shwetha Vastrad (AdWords API Team)' via AdWords API Forum
Hi Alon, Please see my answers below: 1. The limit of 1,000,000 campaign targeting items applies to all targeting types. 2. The targeting types listed here count towards this limit. Campaign-level crite

Re: Unexpected ApiError.fieldPathElements result (Perl v201702)

2017-05-08 Thread 'Josh Radcliff (AdWords API Team)' via AdWords API Forum
Hi Phil, We're actively working on a fix for this. I'll update this post as soon as it's in place. Thanks, Josh, AdWords API Team On Monday, May 8, 2017 at 10:14:52 AM UTC-4, Phillip Pegelow wrote: > > Any update on this? > > Thanks, > Phil > > On Thursday, May 4, 2017 at 3:53:58 PM UTC-4, Josh

Re: How to create dynamic Targeting 'All websites'

2017-05-08 Thread 'Shwetha Vastrad (AdWords API Team)' via AdWords API Forum
Hi Patrick, You'll need to create a Webpage criterion with the following WebpageParameter

Re: Geotargets list update

2017-05-08 Thread 'Shwetha Vastrad (AdWords API Team)' via AdWords API Forum
Hi Oskana, I would not recommend on using the static URLs. If the GeoTargets table is updated, it could be available at a different URL. Instead, you can use LocationCriteironService in AdWords API to

Re: Unexpected ApiError.fieldPathElements result (Perl v201702)

2017-05-08 Thread Phillip Pegelow
Any update on this? Thanks, Phil On Thursday, May 4, 2017 at 3:53:58 PM UTC-4, Josh Radcliff (AdWords API Team) wrote: > > Hi, > > Thanks for confirming. I tried this out as well and confirmed that there > is an extra *fieldPathElement* in errors from *BatchJobService*, but not > in errors fro

Batch job service returning file format error for CampaignSharedSetOperation

2017-05-08 Thread J. S.
Hi, I'm trying to associate SharedSet with campaign(s) and getting consistently FILE_FORMAT_ERROR from BatchJobService using BatchJobHelper with the latest version of Java ads-lib (3.2.0) INFO - AdHocEditor - Applying the following operations (entityType=sharedset) = OperationDefinition(None

Fail adding geo targeting location - EntityCountLimitExceeded.ACCOUNT_LIMIT

2017-05-08 Thread alon
Hello, I'm getting EntityCountLimitExceeded.ACCOUNT_LIMIT when trying to add new targeting location to a campaign. Per documentation the overall account limit is 1,000,000 campaign targeting: "1 million campaign targeting items per account (such as geo target and campaign-level negative keyword

How to create dynamic Targeting 'All websites'

2017-05-08 Thread bitsmuggler
Hi there I try to create the dynamic targeting 'All websites' via AdWords API. Unfortunately I only find the specific criterias for the dsas (https://developers.google.com/adwords/api/docs/guides/dynamic-search-ads?hl=en) and not the option 'All websites'. Could you help me? Thanks. Best, pa

Re: Geotargets list update

2017-05-08 Thread Oksana Sulyma
Additionally, can I rely on URl https://goo.gl/IoeiSx to get latest geotargeting file, or for new updated file there might be new URL? I see our product relies on https://storage.googleapis.com/adx-rtb-dictionaries/geo-table.csv to get geo-table and wonder if this URL is static. Thanks so much!

Geotargets list update

2017-05-08 Thread Oksana Sulyma
Hi guys, I'm looking for automatic opportunity to retrieve the latest version of geotargets list: https://developers.google.com/adwords/api/docs/appendix/geotargeting I can't see this information available to be loaded via API, am I missing something? Is there any way to know that geotargets we

Re: Clone a campaign using only API

2017-05-08 Thread Emanuele Bragagnolo
At the moment I am doing a research to understand if copying a campaign is doable using only API: In my use case I want to clone a campaign changing only few parameters and compare the performance to the original one. I am pretty new to AdWords system, but my idea is that copying a campaign is